Skip to content

Commit f0bd4c2

Browse files
committed
chore: update command for create lib
1 parent 80f2753 commit f0bd4c2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README-NX.MD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
```
66
./node_modules/.bin/nx g @nestjs-mod/schematics:library --buildable --publishable --directory=libs/infrastructure/docker-compose --simpleName=true --strict=true
77
8+
./node_modules/.bin/nx g @nestjs-mod/schematics:library --name=feature-name --buildable --publishable --directory=libs/feature-name --simpleName=true --strict=true --linter=eslint --unitTestRunner=jest
9+
810
./node_modules/.bin/nx g @nestjs-mod/schematics:library --buildable --publishable --directory=libs/core/keyv --simpleName=true --strict=true
911
1012
./node_modules/.bin/nx g @nx/angular:library --directory=libs/core/sso-angular

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Commands for create empty NestJS-mod library
6464

6565
```bash
6666
# Create NestJS-mod library
67-
./node_modules/.bin/nx g @nestjs-mod/schematics:library --linter=eslint --unitTestRunner=jest --buildable --publishable --directory=libs/feature-name --simpleName=true --strict=true
67+
./node_modules/.bin/nx g @nestjs-mod/schematics:library --name=feature-name --buildable --publishable --directory=libs/feature-name --simpleName=true --strict=true --linter=eslint --unitTestRunner=jest
6868
```
6969

7070
Add created library to `apps/app-name/src/main.ts`

0 commit comments

Comments
 (0)