easybrainbet-schematics v1.0.1
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:
- 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
- Upgrade the version in package.json
- Commit the changes and push them to the repository on the master branch
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago