- Please enable
yarn
workspaces
yarn config set workspaces-experimental true
- Add npm registry Token via edit
.npmrc
file
//registry.npmjs.org/:_authToken=npm_My_Token
- Publish Packages
npx lerna publish --no-private
- Link all
npx lerna exec -- yarn link
- Unlink all
npx lerna exec -- yarn unlink
yarn link "@ringuniversus/settings"
yarn link "@ringuniversus/contracts"
yarn link "@ringuniversus/types"
npx lerna exec -- yarn prepublishOnly