pingy-cli

The Simple Frontend Build Tool. No Configuration, No Plugins.

MIT License

Downloads
97
Stars
382
Committers
7
pingy-cli - CLI 0.10.4 Latest Release

Published by davej almost 7 years ago

This release contains a nicer scaffolding dialog and will abort without writing files (see #73, thanks @filtercake):

image

pingy-cli - CLI 0.10.1

Published by davej almost 7 years ago

You can now pass a github token to Pingy CLI. This will help if you're rate limited on the Github API. Get a Github Personal Access Token here You can do this in two ways:

  1. Add "githubToken" key to your global config file at ~/.config/configstore/@pingy/cli.json:
{
  "githubToken": "961990a44422b5a9b07279a1d7c70949c5fXXXXX"
}
  1. Create a PINGY_GITHUB_TOKEN environmental variable
export PINGY_GITHUB_TOKEN=961990a44422b5a9b07279a1d7c70949c5fXXXXX

You will need to set the token if you see this error:

image

pingy-cli - CLI 0.10.0

Published by davej almost 7 years ago

Pingy CLI now supports custom scaffolds!

See: #35.

Usage: scaffold [options] <url>

Scaffold a new website using a third-party project template


Options:

  --yarn          Use Yarn instead of NPM for installing packages
  --global-pingy  Don't install local version of Pingy CLI, use global version instead
  -h, --help      output usage information

<url> can be:

  • Git URL: https://github.com/pingyhq/pingy-scaffold-bootstrap-jumbotron.git
  • Shorthand GitHub URL: pingyhq/bootstrap-jumbotron
  • Filesystem path: /Users/dave/code/pingy-scaffolds/bootstrap-jumbotron

So a typical scaffold command would be pingy scaffold pingyhq/bootstrap-jumbotron

If you are interested in creating your own scaffold then here are some instructions. You can also join me in the new Gitter chat channel for some help. I've also created a reference scaffold: bootstrap-jumbotron.

pingy scaffold pingyhq/bootstrap-jumbotron

pingy-cli - CLI 0.9.5

Published by davej almost 7 years ago

pingy-cli - CLI 0.9.4

Published by davej almost 7 years ago

  • Default to pingy.json, instead of .pingy.json (Closes #57)
  • Remove Chokidar dependency and replace with fs.watch (Closes #56)
  • Better CLI output on export errors
  • Fix for invalid source map path '$stdin' (Fix #15)
  • Fix for autoprefixer running twice on compiled files
pingy-cli - CLI 0.9.3

Published by davej about 7 years ago

  • Fixed bug where export didn't respect sourceMap: false from .pingy.json.
  • Lots of 3rd-party dependency updates
pingy-cli - CLI 0.9.2

Published by davej about 7 years ago

  • Bugix: Files didn't get scaffolded if you choose the 'same options as last time' option
  • Lots of under-the-covers changes in preparation for custom scaffolds support
pingy-cli - CLI 0.9.1

Published by davej about 7 years ago

  • Don't prompt for export folder name, just assume 'dist' (can still be configured in .pingy.json)
  • Remember last settings used and allow quick initialisation of new projects using existing settings
    image
  • npm install --save-dev @pingy/[email protected] to update/install local version
  • npm install --global @pingy/[email protected] to update/install global version
pingy-cli - CLI 0.8.2

Published by davej about 7 years ago

  • Fix for write after end error [instant] (#27)
pingy-cli - CLI 0.8.0

Published by davej about 7 years ago

  • Lots and lots of minor bug fixes
  • End-to-end (command-line to browser) tests that work on Mac, Windows & Linux
  • Autoprefixer CSS support (#9)
  • npm install --save-dev @pingy/[email protected] to update/install local version
  • npm install --global @pingy/[email protected] to update/install global version
pingy-cli - CLI 0.6.13

Published by davej over 7 years ago

  • Added typescript to pingy init
pingy-cli - CLI 0.6.12

Published by davej over 7 years ago

Features

  1. Support globally installed modules (Re: #8)

Just add globalModuleSearch to your .pingy.json.

{
  "name": "my-site",
  "foo": "bar",
  "globalModuleSearch": true
}
pingy-cli - CLI 0.6.11

Published by davej over 7 years ago

Bugfix

Document root not being served if it's compiled. Fixes #44.

pingy-cli - CLI 0.6.10

Published by davej over 7 years ago

Features

  • Add Yarn install support. You can now do pingy init --yarn to install packages with Yarn instead of NPM. (#26)
pingy-cli - CLI 0.6.9

Published by davej over 7 years ago

Features

  • Detect existing package.json and ask user to confirm if they wish to continue (#29)

Fixes

  • Add script object to package.json if none exist (fixes #32)
  • Use tab-indentation for package.json
pingy-cli - CLI 0.6.8

Published by davej over 7 years ago

Features

  • Switch to npm init --yes (#18)

Fixes

  • Live reload on change of Pug/Jade Partials bug (#19)
  • LESS mapping doesn't work in Chrome DevTools bug (#30)
  • 'path' -> 'upath' (#31)
  • Options in .pingy.json are now respected (mentioned in #34)
pingy-cli - CLI 0.7.0 Beta

Published by davej over 7 years ago

What's New

  • Added pre-release autoprefixing support

How do I install

You can install it using:

npm install @pingy/cli@next

Note the @next at the end because I want more people using it before I release to the main channel.

Notes

To enable autoprefix then just add the following entry to your .pingy.json:

{
  //...
  "autoprefix": true,
  //...
}

This will default to autoprefixing for the last 2 browser versions if set to true. But you can also set it to a string or an array of strings (e.g.. ["> 5%", "last 1 version"]). More info on available queries here.

Remaining Issues

If you're using Less/Sass/Stylus/etc.. then you don't need to worry about the following, it is only an issue for those using vanilla (no-compiler) CSS.

If you're using vanilla CSS then autoprefixing won't work for pingy dev, it will only work for pingy export. This is due to the way that I have architected Pingy CLI internally to serve uncompiled files directly from disk. More time is needed to re-architect Pingy CLI and get this working cleanly.

Reporting Bugs

If you are having issues related to autoprefix support then please comment on this issue.

Package Rankings
Top 6.8% on Npmjs.org
Badges
Extracted from project README
Join the chat at https://gitter.im/pingy-cli/Lobby npm Build Status: Linux & Mac Build Status: Windows