@@ -26,14 +26,14 @@ Creates and initializes a new Nest project. Prompts for package manager.
26
26
27
27
##### Options
28
28
29
- | Option | Description |
30
- | ------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
31
- | ` --dry-run ` | Reports changes that would be made, but does not change the filesystem.<br /> Alias: ` -d ` |
32
- | ` --skip-git ` | Skip git repository initialization.<br /> Alias: ` -g ` |
33
- | ` --skip-install ` | Skip package installation.<br /> Alias: ` -s ` |
34
- | ` --package-manager [package-manager] ` | Specify package manager. Use ` npm ` , ` yarn ` , or ` pnpm ` . Package manager must be installed globally.<br /> Alias: ` -p ` |
35
- | ` --language [language] ` | Specify programming language (` TS ` or ` JS ` ).<br /> Alias: ` -l ` |
36
- | ` --collection [collectionName] ` | Specify schematics collection. Use package name of installed npm package containing schematic.<br /> Alias: ` -c ` |
29
+ | Option | Description |
30
+ | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
31
+ | ` --dry-run ` | Reports changes that would be made, but does not change the filesystem.<br /> Alias: ` -d ` |
32
+ | ` --skip-git ` | Skip git repository initialization.<br /> Alias: ` -g ` |
33
+ | ` --skip-install ` | Skip package installation.<br /> Alias: ` -s ` |
34
+ | ` --package-manager [package-manager] ` | Specify package manager. Use ` npm ` , ` yarn ` , or ` pnpm ` . Package manager must be installed globally.<br /> Alias: ` -p ` |
35
+ | ` --language [language] ` | Specify programming language (` TS ` or ` JS ` ).<br /> Alias: ` -l ` |
36
+ | ` --collection [collectionName] ` | Specify schematics collection. Use package name of installed npm package containing schematic.<br /> Alias: ` -c ` |
37
37
38
38
#### nest generate
39
39
@@ -53,25 +53,25 @@ $ nest g <schematic> <name> [options]
53
53
54
54
##### Schematics
55
55
56
- | Name | Alias | Description |
57
- | ------------- | ----- | --------------------------------------------------------------------------------------------------- |
58
- | ` app ` | | Generate a new application within a monorepo (converting to monorepo if it's a standard structure). |
59
- | ` library ` | ` lib ` | Generate a new library within a monorepo (converting to monorepo if it's a standard structure). |
60
- | ` class ` | ` cl ` | Generate a new class. |
61
- | ` controller ` | ` co ` | Generate a controller declaration. |
62
- | ` decorator ` | ` d ` | Generate a custom decorator. |
63
- | ` filter ` | ` f ` | Generate a filter declaration. |
64
- | ` gateway ` | ` ga ` | Generate a gateway declaration. |
65
- | ` guard ` | ` gu ` | Generate a guard declaration. |
66
- | ` interface ` | | Generate an interface. |
67
- | ` interceptor ` | ` in ` | Generate an interceptor declaration. |
68
- | ` middleware ` | ` mi ` | Generate a middleware declaration. |
69
- | ` module ` | ` mo ` | Generate a module declaration. |
70
- | ` pipe ` | ` pi ` | Generate a pipe declaration. |
71
- | ` provider ` | ` pr ` | Generate a provider declaration. |
72
- | ` resolver ` | ` r ` | Generate a resolver declaration.
73
- | ` resource ` | ` res ` | Generate a new CRUD resource. See the [ CRUD (resource) generator] ( /recipes/crud-generator ) for more details. |
74
- | ` service ` | ` s ` | Generate a service declaration. |
56
+ | Name | Alias | Description |
57
+ | ------------- | ----- | ------------------------------------------------------------------------------------------------------------ |
58
+ | ` app ` | | Generate a new application within a monorepo (converting to monorepo if it's a standard structure). |
59
+ | ` library ` | ` lib ` | Generate a new library within a monorepo (converting to monorepo if it's a standard structure). |
60
+ | ` class ` | ` cl ` | Generate a new class. |
61
+ | ` controller ` | ` co ` | Generate a controller declaration. |
62
+ | ` decorator ` | ` d ` | Generate a custom decorator. |
63
+ | ` filter ` | ` f ` | Generate a filter declaration. |
64
+ | ` gateway ` | ` ga ` | Generate a gateway declaration. |
65
+ | ` guard ` | ` gu ` | Generate a guard declaration. |
66
+ | ` interface ` | | Generate an interface. |
67
+ | ` interceptor ` | ` in ` | Generate an interceptor declaration. |
68
+ | ` middleware ` | ` mi ` | Generate a middleware declaration. |
69
+ | ` module ` | ` mo ` | Generate a module declaration. |
70
+ | ` pipe ` | ` pi ` | Generate a pipe declaration. |
71
+ | ` provider ` | ` pr ` | Generate a provider declaration. |
72
+ | ` resolver ` | ` r ` | Generate a resolver declaration. |
73
+ | ` resource ` | ` res ` | Generate a new CRUD resource. See the [ CRUD (resource) generator] ( /recipes/crud-generator ) for more details. |
74
+ | ` service ` | ` s ` | Generate a service declaration. |
75
75
76
76
##### Options
77
77
@@ -158,10 +158,10 @@ Updates `@nestjs` dependencies in the `package.json` `"dependencies"` list to th
158
158
159
159
##### Options
160
160
161
- | Option | Description |
162
- | --------- | ------------------------------------------------------------------------ |
163
- | ` --force ` | Do ** upgrade** instead of update <br />Alias ` -f ` |
164
- | ` --tag ` | Update to tagged version (use ` @latest ` , ` @<tag> ` , etc) <br />Alias ` -t ` | |
161
+ | Option | Description |
162
+ | --------- | ----------------------------------------------------------------------- |
163
+ | ` --force ` | Do ** upgrade** instead of update <br />Alias ` -f ` |
164
+ | ` --tag ` | Update to tagged version (use ` @latest ` , ` @<tag> ` , etc) <br />Alias ` -t ` |
165
165
166
166
#### nest info
167
167
0 commit comments