mir-angular-library
v0.0.4
Published
ng build
Downloads
9
Readme
How to update the library
1 - create your component store it in lib
2 - add your component into the public-api.ts angular-workspace/projetcs/mir-angular-library/public-api.ts
3 - into the directory angular-workspace run
ng build
4 - after that the build is done go into directory angular-workspace/dist/mir-angular-library
cd dist/mir-angular-library
5 - update the version this does it automaticly
minor bug fix and add feature USE THIS ONE 99% of time
npm version patch
backward-compatible. compatible
npm version minor
backward-compatible. NOT compatible
npm version major
6 - make sure everything is good then log into npm account and then publish it.
npm pkg fix
npm login
npm publish
7 - to use the library on another project you can see it in npm its this command for now its public
npm install mir-angular-library