1.0.1 • Published 2 years ago

easybrainbet-schematics v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

1.0.0

2 years ago

0.0.26

2 years ago

0.0.25

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago