This is a Yeoman generator plugin used by Reaction Commerce developers. The main generator creates a new project. There are also subgenerators for creating a new NPM package project and for quickly adding GraphQL files to the main Reaction project.
npm install -g yo generator-reaction
If you are adding or modifying generators in this package, you can test them prior to publishing by running
npm link in the generator project's root directory to make the template available globally on your system.
Generate a new frontend or backend Node project
mkdir project-name cd project-name yo reaction
Generate a new NPM package project
mkdir package-name cd package-name yo reaction:npm
Generate GraphQL files in the main Reaction app
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
Examples of commit messages: https://github.com/semantic-release/semantic-release
Publication to NPM
generator-reaction package is automatically published by CI when commits are merged or pushed to the
master branch. This is done using semantic-release, which also determines version bumps based on conventional Git commit messages.
GPL-3.0 © Reaction Commerce, Inc.