This project was generated with Angular CLI version 7.0.3.
All the subsequent instructions will assume you are in the angular.src dir so:
- Clone the repo
cd angular.src
npm installng serve- Open http://localhost:4200 in browser. This is the showcase app.
Modify the sources in ./src directory. If ng serve is running the app should be recompiled automatically.
Important
- Keep the showcase app up-to-date.
- Include examples that might help the users to handle different kinds of feature's configurations (if any).
To build the lsn-libs library project run:
npm run libs:build
or
npm run libs:build-watch
to keep watching for changes.
- Add the features in respective subdirectories in
./projects/lsn-libs/src/lib(components | directives). - Each feature should have its own module, readme file and unit tests.
- Export the features module in
./projects/lsn-libs/src/lib/public_api.ts
To run the library's unit test run npm run libs:test
- Set a proper version in
./projects/lsn-libs/package.json. - Run
npm run package. This will build the library and copy the compiled files to root directory. - Commit changed files to PR in repository.
- Once the PR is merged, tag the proper commit with the same version number as in
./projects/lsn-libs/package.json.