This document describes how you can lint, test, build and publish this project.
Before you can start you must install and configure the following products on your development machine:
You will then need to clone this project and install the required dependencies:
git clone <repository_url> <dir_name>
cd <dir_name>
npm install
Check that the code is properly formatted and adheres to coding style.
npm run lint -w projects/lib
Ensure that each unit of the library performs as expected.
npm run test -w projects/lib
You can test the library while developing it, as follow:
npm run start -w projects/lib
And then:
npm run start -w projects/tests
The library will be built in the ./dist
directory.
npm run build -w projects/lib
This project comes with automatic continuous delivery (CD) using GitHub Actions.
- Bump the library version in
./projects/lib/package.json
- Push the changes
- Create a new GitHub release
- Watch the results in: Actions
npm run start --prefix=projects/docs
This project comes with automatic continuous delivery (CD) using GitHub Actions.
- Make any changes under
./projects/docs/
- Push the changes
- Watch the results in: Actions