plop

Consistency Made Simple

MIT License

Downloads
7.2M
Stars
6.9K
Committers
78

Bot releases are hidden (Show)

plop - Wrap God

Published by crutchcorn over 4 years ago

This release enables easier wrapping around the plop utility in another CLI tool. Follow the documentation for more

  • Add export of run, progress spinner functions
  • Add export of Liftoff type in typescript
plop - class CLITool extends Plop {}

Published by crutchcorn over 4 years ago

This does not change the default behavior of Plop itself

plop - Asking Transformative Questions

Published by crutchcorn over 4 years ago

  • typescript typings have been improved
  • added an optional transform function for add, addMany, and modify that allows the action output to be transformed before writing the file to disk.
  • the modify action now can accept one or both of pattern and transform but fails with a useful error if neither are provided.
  • adds an optional skip function for all actions. Check the README for further documentation

Huge thank you to @jacksteamdev for making this release possible

plop - Infinate Infinate Knights

Published by crutchcorn over 4 years ago

  • fixed issues with using .ts files
  • fixed typescript typings
plop - Infinite Knight (one-more-time)

Published by amwmedia almost 5 years ago

  • more typescript updates
plop - Infinite Knight (remix)

Published by amwmedia about 5 years ago

  • fixes TypeScript export
plop - Infinite Knight

Published by amwmedia about 5 years ago

  • fixes issue with unique behavior of append action when pattern is a string
plop - Critical Stardust

Published by amwmedia about 5 years ago

  • adds --dest CLI switch to allow users to use a destination base path other than the plopfile folder.
  • improved support for Windows
  • fixes for bypass incompatibility with inquirer prompt functions
  • adds TypeScript definitions from node-plop
  • updates many dependencies
plop - Many Roads to Plop

Published by amwmedia over 5 years ago

  • Adds new way to bypass prompts (by Name)
  • Fixes issue with action data leaking to future actions
plop - Insatiable Questers

Published by amwmedia almost 6 years ago

General Improvements

  • Action status is now reported as it comes in, instead of being logged all at once after everything is complete. This is particularly nice if you have async actions.
  • Adds support for comments in the actions array that are outputted to the results screen.
  • Now uses ora to output action results and show spinners.
  • Shortens built-in action names in the results output to a 2 character abbreviation (param available to show full action type names)
  • Various bug fixes

Updated Actions

  • addMany has a new verbose option that can be set to false to prevent the actions from listing all files that it adds. Instead it only reports the number of files added.
plop - Grab Bag of Fun and Fixes

Published by amwmedia about 6 years ago

  • add and addMany now support binary files. Binary files will be copied to the destination folder, but not processed by handlebars.
  • pattern attribute of append action is now optional. If not supplied, the template will be appended to the end of the file.
  • The data property of the ActionConfig interface can now be a function that returns an Object or a Promise that resolves with an Object.

Fixes

  • Answer data can once again be changed from within an action function
  • Prompt validate functions now run against bypass data
plop - Everyone likes new stuff

Published by amwmedia over 6 years ago

Major version changed due to inquirer.js changing its node version requirements. Plop 2.x now requires Node 8.9.4 or greater. There should be no breaking changes in the API itself.

  • added optional data property for all actions that can be used in the template
  • added force option for all actions with CLI ability to run actions forcibly
  • added skipIfExists option for add and addMany actions
  • added append action (similar to modify)
plop - Offramp

Published by amwmedia about 7 years ago

Big thanks to @nicoespeon and @Tsur for their help with this release!

plop - addMany bugfix

Published by amwmedia about 7 years ago

the addMany action was choking on a globby array, now it does not 🙂

plop - Custom (and 3rd party) Action Support

Published by amwmedia over 7 years ago

Big thanks to @nicoespeon and @filipemir for their help in getting this together.

plop - Fixes For plop.load

Published by amwmedia over 7 years ago

plop - node-plop hotfix

Published by amwmedia almost 8 years ago

Node 4 babel compatibility hotfix added in node-plop

plop - Defective Package

Published by amwmedia almost 8 years ago

  • fixed pkg helper functionality
  • explicitly set plopfilePath to process.cwd() if it's not provided
plop - Release Defect Cleanup

Published by amwmedia almost 8 years ago

  • fixes a defect with path resolution on Windows
  • fixes syntax error on older versions of node
plop - Fully Loaded

Published by amwmedia almost 8 years ago

Added plop.load feature 💥