NestJS schematics
- Node.js v18 LTS or later
- Yarn
yarn add -D @byndyusoft/nest-schematics
Use @byndyusoft/nest-schematics
instead of @nestjs/schematics
in nest-cli.json
:
- "collection": "@nestjs/schematics",
+ "collection": "@byndyusoft/nest-schematics",
corepack yarn@stable dlx -p @byndyusoft/nest-schematics -p @nestjs/cli nest g app -c @byndyusoft/nest-schematics app-name
corepack yarn@stable dlx -p @byndyusoft/nest-schematics@portal:/path/to/nest-schematics -p @nestjs/cli nest g app -c @byndyusoft/nest-schematics app-name
yarn nest g typeorm
- The "Angular schematics" is taken as a basis
- Add a new schema by analogy and register it in collection.json
This repository is released under version 2.0 of the Apache License.