Skip to content

Simply a project to store and share all my personal Angular libraries!

Notifications You must be signed in to change notification settings

ThomasIommi/bibliotheca

Repository files navigation

Bibliotheca

Simply a project to store and share all my personal Angular libraries!

Instructions

All commands and file path assume that you are in the root folder of the project bibliotheca

Generate a new library

ng g library @<scope>/<library-name>

Delete a library

  1. Delete its folders in the folder ./projects
  2. Delete its references in the file ./tsconfig.json
  3. Delete its references in the file ./angular.json
  4. Check if there are some unused dependencies in the file './package.json'

Build a library

ng build -- prod @<scope>/<library-name>

Publish a library

You need to be registered on NPMJS, then log in with npm login on your terminal.

If your packages are scoped you'll need to register your organization too, check here for more informations.

cd ./dist/<scope>/<library-name>
npm publish     // add '--access public' if you have a free org 

Authors

  • Thomas Iommi - Initial work - GitHub

About

Simply a project to store and share all my personal Angular libraries!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published