@omniaz/vue-component-library
v0.6.18
Published
- 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` in `package.json`, - run `npm run build`, - execute `npm publish
Downloads
1,014
Readme
Development:
- 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.
Testing local version of the package in other project:
- execute
npm link
in this package folder to create global link to local package version (only once), - execute
npm link @omniaz/vue-component-library
in other project (e.g. FMCG platform) to use local version of the package instead of remote one (every time, to test changes), - you may need to delete
package-lock.json
in other project and runnpm run dev
again to see changes.
Reverting to package from npm repository
- just run
npm install
ornpm update
in the other project to revert back to using package version from node_modules.