@nitrofi/cli-utils
v0.0.19
Published
Nitro CLI utilities
Downloads
27
Readme
Nitro CLI utility collection
A collection of helpful CLI utilities
Features
- Scaffold React component files for DatoCMS
- Block
- UI component
- Storybook story
- GraghQL fragment
- CSS Module
- Automated package update
Install
Install the CLI tool globally
npm i -g @nitrofi/cli-utilsUse
Access the tool via terminal
nitro-cliContributing for a release
Easiest way to contribute is to open new issues for API suggestions and bugs.
git clone [email protected]:nitrofi/nitro-cli-utils.git
cd nitro-cli-utils
git switch dev # or alternatively create a feature branch
npm run devmain branch should only be merged to via pull requests.
Run build:
npm run startWhen all changes are done:
$ npm run create-release
$ git add . && git commit && git pushCreate PR on GitHub or with GitHub CLI
gh pr create --base main --head devIf the PR needs changes before a merge to main can be made, push more changes to the working branch until the PR can be merged.
