Multi-package repository for Angular library packages. So far, there is only one package.
The main app
angular-lib-app is a demo app for contained Angular library packages.
Angular library for common tasks
External links with
After importing this module, a directive will be applied to all your links, making them
safe by applying
You can configure the module with various options.
E.g., you can configure it to apply
target="blank" to all external links, potentially
relieving you from verbosity as in
<a href="http://my-url.com" target="_blank" rel="noopener noreferrer">
See the code documentation for details about usage and configuration:
npm run verify to build, lint and test everything and also build the documentation.
For finer-grained commands, see the scripts in
Note that broken library build output has been observed in the past, probably due to a bug in
You may only notice this when you try to build the main/demo app.
npm run verify (or a finer-grained build command) multiple times (typically twice) may help.
After building, run
npm start to run and open the demo app.
Before bumping the version, make sure the copyright year range in the license file is up to date.
You have to set the next version manually in the library packages'
npm run standard-version instead of
npm version to bump the version.
Make sure the manually and automatically set versions match.
npm run publish-lib to verify and publish the libraries to npm.