@aastrika_npmjs/comptency
v2.1.0
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
Readme
CompetencyUi
This library was generated with Angular CLI version 8.2.14.
Code scaffolding
Run ng generate component component-name --project competency-ui to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project competency-ui.
Note: Don't forget to add
--project competency-uior else it will be added to the default project in yourangular.jsonfile.
Build
Run ng build competency-ui to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
This library is published to npm as @aastrika_npmjs/comptency. Publishing is manual
(no CI). See RELEASE_NOTES/ for per-release notes (RELEASE_NOTES/TEMPLATE.md to start
a new one).
- Bump the version in
projects/competency-ui/package.json— this is the library manifest ng-packagr publishes. The root workspacepackage.jsonis marked"private": trueand is not the published package. npm refuses to republish an existing version, so this bump is required. - Build:
npm run build-lib(runsng build+ copies assets intodist/competency-ui). Confirmdist/competency-ui/package.jsonshows the new version. - Publish from the built package:
Requirescd dist/competency-ui npm publish --access public # add --otp=<code> if your npm account has 2FAnpm loginwith publish rights to the@aastrika_npmjsscope. - Roll into consumers: bump eagle-fusion's dependency to the new
^X.Y.Z, runyarn install(updates the lockfile), commit, and redeploy.
To hand a build to whoever holds publish rights instead of publishing yourself, run
npm pack in dist/competency-ui to produce aastrika_npmjs-comptency-<X.Y.Z>.tgz, which
they publish with npm publish <tarball> --access public.
Running unit tests
Run ng test competency-ui to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
