CM Libs Context Aware Error
Common Libs Context Aware Error
Getting Started
This repository serve as a library for common context aware error handler.
How to setup environment?
-
Clone this repository.
-
Change directory to the repository.
-
Install package dependencies.
npm install
How to run unit-test?
-
Write test cases in a *.spec.ts
file under the same folder with the actual module file. For example, module file src/errors.ts
, unit-test file src/errors.spec.ts
.
-
Run unit-test command.
How to debug?
Please use unit-test method for debugging.
-
Set breakpoint on the source code by pressing F9
key.
-
Run unit-test command with debugging.
npm run debug-this src/errors.spec.ts
-
Start debugging by pressing F5
key.
How to release version?
Write commit message that contains keyword
run-release
to publish patch version.
run-prerelease
to publish prerelease version.