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.
Publishing nom-scripts
These methods require:
You are running
make upcommand, which runs Verdaccio.Your registries for NPM and Yarn are set to Verdaccio.
Make Command
From the root folder of your forked
create-nom-apprepository, run:make reup-packages nom-scripts
Manually
From your forked
packages/nom-scriptsdirectory, unpublish the currentnom-scriptspackage from Verdaccio.npm unpublish --registry http://0.0.0.0:4873 --forceBuild your forked
nom-scriptspackage.yarn install yarn buildPublish
nom-scriptsto Verdaccio.npm publish --tag dev --registry http://0.0.0.0:4873 --verbose
Installing nom-scripts
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.