From 191b69ad46bbe98ae4cccabd2bf6dad4ec28dc8d Mon Sep 17 00:00:00 2001 From: Supan Adit Pratama Date: Sat, 26 Oct 2024 17:31:59 +0700 Subject: [PATCH] chore: guidelines --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c17103c..a12cc42 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,18 @@ $ npm run start # watch mode $ npm run start:dev -# production mode -$ npm run start:prod +# build package +$ npm run build:lib:autocrud +``` + +## Generate new library + +```bash +# 1. Generate new libs +$ nest g lib +# 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