In this document
lerna exec --scope @deriv/[Package] -- npm install [Package] --save
For example
lerna exec --scope @deriv/shared -- npm install sax --save
- In root directory run update command
lerna exec --scope @deriv/[Package] -- npm update [package]
- update the version in
package.json
for the package
For Example if you want update moment in core package:
lerna exec --scope @deriv/core -- npm update moment
- upate the
package.json
lerna exec --scope @deriv/[Package] -- npm uninstall [package]
For example:
npx lerna exec --scope @deriv/shared -- npm uninstall sax --save
npm install package-name --save-dev
For example:
npm install --save-dev commitizen
npm update package-name
For example:
npm update eslint
npm uninstall package-name
For example:
npm uninstall commitizen