@byndyusoft/nest-schematics
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

nest-schematics

npm@latest test code style: prettier semantic-release

NestJS schematics

Requirements

  • Node.js v18 LTS or later
  • Yarn

Install

yarn add -D @byndyusoft/nest-schematics

Usage

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-name

Generate 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-name

Add TypeOrm

yarn nest g typeorm

Add 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.

Dependencies (6)

Dev Dependencies (20)

Package Sidebar

Install

npm i @byndyusoft/nest-schematics

Weekly Downloads

15

Version

1.0.0

License

Apache-2.0

Unpacked Size

6.49 MB

Total Files

387

Last publish

Collaborators

  • alexanderbyndyu
  • sadcitizen
  • dmitriy.litichevskiy
  • razonrus