Contributing to Nom Scripts
Follow this guide and learn how to test your forked
create-nom-app
/nom-scripts
package.
Summary
Use one of these methods to publish
nom-scripts
.Then install your package.
nom-scripts
Publishing These methods require:
You are running
make up
command, which runs Verdaccio.Your registries for NPM and Yarn are set to Verdaccio.
Make Command
From the root folder of your forked
create-nom-app
repository, run:make reup-packages nom-scripts
Manually
From your forked
packages/nom-scripts
directory, unpublish the currentnom-scripts
package from Verdaccio.npm unpublish --registry http://0.0.0.0:4873 --force
Build your forked
nom-scripts
package.yarn install yarn build
Publish
nom-scripts
to Verdaccio.npm publish --tag dev --registry http://0.0.0.0:4873 --verbose
nom-scripts
Installing Dependency Upgrade
Running create-nom-app
will install the nom-scripts
package you just
uploaded.
If you're already in a nom app, run:
yarn upgrade nom-scripts
Direct Call
From any create-nom-app
directory: where you would normally run yarn start
,
you can run:
/forked-repo/packages/nom-scripts/bin/nom-scripts.js [command | start | test | ...]
# example
.../nom-scripts.js start
forked-repo
is the path to your forked repo of create-nom-app
.