@kalacs/schematics

Schematics for Nest js

Usage no npm install needed!

<script type="module">
  import kalacsSchematics from 'https://cdn.skypack.dev/@kalacs/schematics';
</script>

README

Useful Schematics for Nest JS

Description

In order to help people manage their projects, the CLI tool has been created. It helps on many grounds at once, from scaffolding the project to build well-structured applications. The Nest CLI is based on the @angular-devkit package. Also, there're special schematics that are dedicated to the Nest development @nestjs/schematics.

Installation

Requirement:

It has to be installed @angular-devkit/schematics-cli package:

npm install -g @angular-devkit/schematics-cli

NPM:

npm install -g @kalacs/schematics

Usage

schematics @kalacs/schematics:rest_module --no-dry-run --spec --language="ts" --sourceRoot="src" --name="cat" --attributes='name:string:Min(10, 20);age:number:IsUUID('3'):Max(20);breed:string:IsUUID("1")'

Usage

Roadmap:

  • move common components (eg. PaginationInterceptor) to separate repository
  • make database service selectable
  • make swagger module optional

Stay in touch