reactioncommerce / generator-reaction

Project generator for Reaction NodeJS projects. Built with Yeoman.
Other
5 stars 3 forks source link

Improve Composability and Expose Generators #22

Closed ticean closed 5 years ago

ticean commented 5 years ago

Exposes sub generators so that they can be run independently of the main generator. This provides flexibility to pull in a small part of generated code without having to buy into a whole project.

Subgenerators can be used to start a project, or append granular functionality into an existing one.

New Tasks

After this PR, we can put thought into which functionality to extract into sub generators and expose.

CLI Options

CLI options are also now supported and will be merged into the context. Options provided on the CLI will supersede prompts. Prompts will not appear for those options.

Example usage:

yo reaction --project-name my-project --project-type backend [...]

rc-publisher commented 5 years ago

:tada: This PR is included in version 1.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: