2.3.0 • Published 2 years ago
tm-shared-lib v2.3.0
TmSharedLib
This library was generated with Angular CLI version 13.2.0.
Build
Run ng build tm-shared-lib to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
After building your library with ng build tm-shared-lib, go to the dist folder cd dist/tm-shared-lib and run npm publish.
Add the shared lib
Build it from tm-lib-workspace
npm run pack-tsl
Add to your project
yarn add ../tm-lib-workspace/dist/tm-shared-lib --force
Be sure the delete output when the shared lib changes our your could end up with stale version.
ng build --delete-output-path -c development
Update the shared lib
Update tm-shared-lib version in package.json.
Delete dist folder.
Delete tm-shared-lib from node_modules
Run yarn add ../tm-lib-workspace/dist/tm-shared-lib --force