Thanks for helping out!
We have a three-way dependency scheme:
package.json:dependencies
: Production dependencies for the archetype installed in a project.package.json:devDependencies
: The development dependencies used internally for the this archetype during development (self tests, checks, etc.) that are not part of the overall archeype outside workflow.../builder-react-component-dev/package.json:dependencies
: Development dependencies for the archetype installed in a project.
Run npm run builder:check
To generate the usage snippet in the README.md
, first go to a project
that uses the archetype and then run:
$ builder help builder-react-component | egrep "^[^\[]|^$"
in any project where this archetype is installed and paste in the output.
For tagged official releases only, make sure to:
- Update appropriate
HISTORY.md
notes - Bump
package.json
version - Generate a new
ARCHETYPE-dev
package.json
at the exact same version - Add to git, tag, and publish
$ vim HISTORY.md # Version notes
$ vim package.json # Bump version
$ builder-support gen-dev # Generate `../builder-react-component-dev/` files
$ npm run builder:check # Last check!
$ git add package.json HISTORY.md
$ git commit -m "Version bump"
$ git tag -a "vNUMBER" -m "Version NUMBER"
$ git push && git push --tags
$ npm publish # Publish main project
$ cd ../builder-react-component-dev
$ git commit -m "Version bump"
$ git tag -a "vNUMBER" -m "Version NUMBER"
$ git push && git push --tags
$ npm publish # Publish dev project