3.0.20 • Published 4 years ago
@lava-x/nest-cli v3.0.20
LxNestGenerator
NestJs automation cli from Lava X
Available features
- Enum generator
- module generator
- redis-cache generator
Getting started
# Install package
yarn add -D @lava-x/nest-cli
# Add the this line under the scripts section in package.json file
"generate": "./node_modules/.bin/plop --plopfile ./node_modules/@lava-x/nest-cli/dist/generate/index.js",
# Run the generator
yarn generate
Guide
Enum generator
- generates enum which also registers to graphql
Enum name: order-status
Module generator
- Prompts 2 types of modules (with-nest-query & without-nest-query)
- with-nest-query : Builds module with nest-query package (automated CRUD resolvers).
- without-nest-query : Builds module without nest-query package.
- with-relation : If the module has relationship such as (ManyToOne, OneToMany, OneToOne, ManyToMany) with other modules.
- without-relation : If the module has no relationship with other modules (stand-alone).
- Does the module needs customized services? : If the module needs additional business logic service, (yes,no).
- Does the Relation Module exist? : If the relation module exists in the src/modules directory. (yes,no)
Redis-module generator
- Uses the Cache module from the Nestjs and takes advantage by using 3rd-party stores. Ex: Redis.
- Sets up the redis module into the project.
3.0.20
4 years ago
3.0.19
4 years ago
3.0.18
4 years ago
3.0.17
4 years ago
3.0.16
4 years ago
3.0.15
4 years ago
3.0.14
4 years ago
3.0.13
4 years ago
3.0.12
4 years ago
3.0.11
4 years ago
3.0.10
4 years ago
3.0.9
4 years ago
3.0.8
4 years ago
3.0.7
4 years ago
3.0.6
4 years ago
3.0.5
4 years ago
3.0.4
4 years ago
3.0.3
4 years ago
3.0.2
4 years ago
3.0.1
4 years ago
2.0.0
4 years ago
1.1.15
4 years ago
1.1.14
4 years ago
1.1.13
4 years ago
1.1.12
4 years ago
1.1.11
4 years ago
1.1.10
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago