8000 GitHub - Rukkyaa/custom-schematics: Custom NestJS Schematics 🎬
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rukkyaa/custom-schematics

 
 

Repository files navigation

Custom NestJS Schematics

This project is a fork of NestJS Schematics, the schematic collection for the NestJS framework. This fork includes additional custom schematics aimed at extending the functionality to better fit our specific development needs.

Additional Schematics

In this fork, we have added two custom schematics:

  • custom-resource: This schematic generates a new resource with extended configurations and options tailored to our project's architecture and best practices.
  • s3-custom: This schematic provides templates for integrating Amazon S3 services more seamlessly into our NestJS applications, including customized service modules and controllers.

Installation

To use these custom schematics, you need to install this package instead of the standard @nestjs/schematics. You can install it using npm:

$ npm i -g @galadrim/schematics

Setup

To use the custom-schematics, you have to put a nest-cli.json file in the root of your project with the following content:

{
  "collection": "@galadrim/schematics",
  "sourceRoot": "apps/backend/src",
  "compilerOptions": {
    "deleteOutDir": true
  }
}

Usage

You can now use the custom schematics in the same way as the standard NestJS schematics. For example, to generate a new resource, you can run:

$ nest g res-custom api/users --no-spec

About

Custom NestJS Schematics 🎬

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.6%
  • JavaScript 3.4%
0