Pingy Cli Versions Save

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

@pingy/[email protected]

6 years ago

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

image

@pingy/[email protected]

6 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/[email protected]

6 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/[email protected]

6 years ago

@pingy/[email protected]

6 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/[email protected]

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

@pingy/[email protected]

6 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/[email protected]

6 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/[email protected]

6 years ago
  • Fix for write after end error [instant] (#27)

@pingy/[email protected]

6 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