plop
plop copied to clipboard
Consistency Made Simple
Hi 👋🏼 I'm trying to do a vscode-extension which generate components based on a `plopfile.js` that I usefor a plop CLI. As it is mandatory to do it programmatically, I...
Currently plop relies entirely on the default handlebar implementation with `{{` and `}}` delimiting handlebars in template files. I want to create NextJs project generators. My nextjs template project however...
I have a monorepo (workspace), with multiple packages. The same layout as `plop` repo: ``` package/a/package.json package/b/package.json ``` When running `plop` from the root of the workspace (`./`), I'd like...
I know it worked on previous versions, and I suspect it might be my local setup, but want to raise an issue to see if there are any other leads,...
Pass configuration from main plop to loaded plops. Did not add tests, as I could not find anywhere to hook into to check the config values. Config is not exposed...
the modify and append pattern default values are switched, append has new line and modify has none
This PR adds the ability to set the display characters for any action type. It works both for custom action types and for built-in ones. Some notes: * I didn't...
When appending a link to a typescript type with `| null` included, plop borks the remaining conditional types in the type definition. Action: ``` hbs { type: 'append', path: 'src/context/AsyncStorage/AsyncStorage.context.types.tsx',...
In other generators, you can run something like: `$ whatever generate componentA componentB componentC` While trying to achieve this with plop, I got the following solution: ```js const page =...
Fixes #224 While #224 is closed with a workaround, that workaround does not work for me as I rely on a series of `list` prompts where the available choices depends...