1.0.1 • Published 12 months ago

easybrainbet-schematics v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

Easybrainbet Schematics

Easybrainbet Schematics is a collection of custom schematics for NestJS that simplifies and streamlines the development process.

Features

  • Generate commands, handlers, builders, Gherkin feature files, and test files with just a single command.
  • Maintain consistency across your project with naming conventions and file structure.
  • Easily extend and customize the schematics to fit your project's needs.

Installation

To install Easybrainbet Schematics with your NestJS project, follow these steps:

  1. Install the schematics package:
npm install --save-dev easybrainbet-schematics

Usage

To use the Easybrainbet Schematics, run the following command:

    nest generate -c easybrainbet-schematics <schematic name> <options>

Replace <schematic name> with the name of the schematic you want to create, and <options> with the relevant options for that command.

For example, to generate a delete-bankroll command:

    nest generate -c easybrainbet-schematics command delete-bankroll

Schematics

Command

generate the following files:

  • Command file
  • Command handler file
  • Command handler test file
  • Command builder file
  • Gherkin feature file

Query

generate the following files:

  • Query file
  • Query handler file

Event

generate the following files:

  • Event file

To generate a new version

  1. Upgrade the version in package.json
  2. Commit the changes and push them to the repository on the master branch
1.0.1

12 months ago

1.0.0

12 months ago

0.0.26

12 months ago

0.0.25

12 months ago

0.0.23

12 months ago

0.0.22

12 months ago

0.0.21

12 months ago

0.0.20

12 months ago

0.0.19

12 months ago

0.0.18

12 months ago

0.0.17

12 months ago

0.0.16

12 months ago

0.0.15

12 months ago

0.0.14

12 months ago

0.0.13

12 months ago

0.0.12

12 months ago

0.0.11

12 months ago

0.0.10

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago