chore: guidelines

This commit is contained in:
Supan Adit Pratama 2024-10-26 17:31:59 +07:00
parent cd19e4228c
commit 191b69ad46

View File

@ -41,8 +41,18 @@ $ npm run start
# watch mode # watch mode
$ npm run start:dev $ npm run start:dev
# production mode # build package
$ npm run start:prod $ npm run build:lib:autocrud
```
## Generate new library
```bash
# 1. Generate new libs
$ nest g lib <name>
# 2. Modify the generated library tsconfig.lib.json like existing one
# 3. Add the build tools to the package.json following the existing one
# 4. Register dist to index.js
``` ```
## Run tests ## Run tests