In this video, you will see how to create an #angular #library and publish it in the #NPM.
More specifically, you will learn that the steps to publish and install and package from NPM, are the following:
Create a user
Login both in the NPM UI and in the terminal
Build the library
Publish the library
Install it
✨ Useful commands:
NPM login
npm adduser
NPM verify that you are logged in
npm whoami
To build a library
ng build my-lib
To publish a library
ng publish (please note that you have to "cd" into the dist directory of the library)
✨ Code: https://github.com/profanis/codeShots...
✨ Article: https://blog.profanis.me/blog/publish...
******************************************************
Let's connect
******************************************************
Twitter: / prodromouf
LinkedIn: / prodromouf
#angular #angularlibrary #library #angulartutorial #workspace #angularworkspace #polyrepo #npmproxy #npm