1.0.0 • Published 2 years ago
@byndyusoft/nest-schematics v1.0.0
nest-schematics
NestJS schematics
Requirements
- Node.js v18 LTS or later
- Yarn
Install
yarn add -D @byndyusoft/nest-schematicsUsage
NestJS CLI
Use @byndyusoft/nest-schematics instead of @nestjs/schematics in nest-cli.json:
- "collection": "@nestjs/schematics",
+ "collection": "@byndyusoft/nest-schematics",Generate new application
corepack yarn@stable dlx -p @byndyusoft/nest-schematics -p @nestjs/cli nest g app -c @byndyusoft/nest-schematics app-nameGenerate new application locally
corepack yarn@stable dlx -p @byndyusoft/nest-schematics@portal:/path/to/nest-schematics -p @nestjs/cli nest g app -c @byndyusoft/nest-schematics app-nameAdd TypeOrm
yarn nest g typeormAdd new schema
- The "Angular schematics" is taken as a basis
- Add a new schema by analogy and register it in collection.json
Maintainers
License
This repository is released under version 2.0 of the Apache License.
1.0.0
2 years ago