Skip to content

Releases: plopjs/plop

Grab Bag of Fun and Fixes

09 Aug 13:19
9acb5d5
Compare
Choose a tag to compare
  • 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

Everyone likes new stuff

05 Mar 16:35
Compare
Choose a tag to compare

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)

Offramp

02 Oct 15:19
Compare
Choose a tag to compare

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

addMany bugfix

23 Aug 18:05
Compare
Choose a tag to compare

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

Custom (and 3rd party) Action Support

01 Jun 11:28
Compare
Choose a tag to compare

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

Fixes For plop.load

26 Jan 18:46
Compare
Choose a tag to compare

node-plop hotfix

06 Dec 14:11
Compare
Choose a tag to compare

Node 4 babel compatibility hotfix added in node-plop

Defective Package

28 Nov 16:32
Compare
Choose a tag to compare
  • fixed pkg helper functionality
  • explicitly set plopfilePath to process.cwd() if it's not provided

Release Defect Cleanup

21 Nov 14:53
Compare
Choose a tag to compare
  • fixes a defect with path resolution on Windows
  • fixes syntax error on older versions of node

Fully Loaded

18 Nov 17:42
Compare
Choose a tag to compare

Added plop.load feature 💥