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

Replace plop with hygen (http://hygen.io). #229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jondot
Copy link

@jondot jondot commented Jan 21, 2018

This tackles a few of the issues that were pointed out with plop and adds lots of scalability for this kind of project (a modular architecture).

Generating a new module now becomes:

$ yarn hygen -- module new --name myNewModule

(see more in docs/ARCHITECTURE.md)

A bit about hygen

  • Speed is a first-class concern (and is regularly tested)
  • Developer ergonomics are first-class concern
  • Scalable - should serve modular projects best, and for multiple teams (not a one big file that's error prone)
  • Contextual - can have multiple generators based on where the user is running it from

In terms of features, it has CLI arguments, prompts, smart code injection, and a ton of productivity helpers (dev ergonomics).

This tackles a few of the issues that were pointed out with plop and adds lots of scalability for this kind of project (a modular architecture).

A bit about hygen

- Speed is a first-class concern (and is regularly tested)
- Developer ergonomics are first-class concern
- Scalable - should serve modular projects best, and for multiple teams (not a one big file that's error prone)
- Contextual - can have multiple generators based on where the user is running it from

In terms of features, it has CLI arguments, prompts, smart code injection, and a ton of productivity helpers (dev ergonomics).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant