- get the code of the project from repository,
- make changes to package code if needed,
- run
npm adduser
to login to your npm account (create it if needed), - change
version
inpackage.json
, - run
npm run build
, - execute
npm publish --access public
to publish new version of the package.
- execute
npm link
in package folder to create global link to local package version, - execute
npm link @omniaz/vue-component-library
in other project to use local version of the package instead of remote one (to test changes), - you may need to delete
package-lock.json
in other project and runnpm install
again to see changes.
- just run
npm install
in the project.