Releases: plopjs/plop
Releases · plopjs/plop
Wrap God
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
class CLITool extends Plop {}
- Fixes various typing issues
- Remove packages with stub typings
- Enables CLI tools to merge the props before and after the
--
. See the docs for more: https://github.com/plopjs/plop#wrapping-plop
This does not change the default behavior of Plop itself
Asking Transformative Questions
- 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
Infinate Infinate Knights
- fixed issues with using .ts files
- fixed typescript typings
Infinite Knight (one-more-time)
- more typescript updates
Infinite Knight (remix)
- fixes TypeScript export
Infinite Knight
- fixes issue with
unique
behavior ofappend
action whenpattern
is a string
Critical Stardust
- 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
Many Roads to Plop
- Adds new way to bypass prompts (by Name)
- Fixes issue with action data leaking to future actions
Insatiable Questers
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 newverbose
option that can be set tofalse
to prevent the actions from listing all files that it adds. Instead it only reports the number of files added.