Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Code Generation] add plop-scripts #45

Closed
Tracked by #39
psimk opened this issue Apr 19, 2022 · 0 comments · Fixed by #46
Closed
Tracked by #39

[Code Generation] add plop-scripts #45

psimk opened this issue Apr 19, 2022 · 0 comments · Fixed by #46
Assignees
Labels
enhancement New feature or request

Comments

@psimk
Copy link

psimk commented Apr 19, 2022

@pota/plop-scripts

Commands

  • plop - runs plop

Description

We have already been using a setup similar to this in most of our templates, for example the @pota/muban-template:

package.json

"scripts": { 
  "plop": "node --loader ts-node/esm ./scripts/plop.ts",
},

We are not going to be generalizing plop into a code-gen command as the plop templates and plopfiles are specific to plop itself, so if we ever want to switch to a different package, we would have to throw everything out and start from scratch.


See #39 for context

@psimk psimk mentioned this issue Apr 19, 2022
7 tasks
@psimk psimk self-assigned this Apr 19, 2022
@psimk psimk linked a pull request Apr 19, 2022 that will close this issue
@psimk psimk added new-feature enhancement New feature or request and removed new-feature labels Apr 22, 2022
@psimk psimk closed this as completed in #46 May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant