Skip to content

Commit

Permalink
fix(nest): Add missing props (#26534)
Browse files Browse the repository at this point in the history
Add missing props back to the schema so that they can be
defaulted/overwritten.


closes: #26384
  • Loading branch information
ndcunningham authored Jun 17, 2024
1 parent 15b7e9f commit c467129
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/generated/packages/nest/generators/resolver.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20."
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).",
"type": "string",
"enum": ["as-provided", "derived"]
},
"directory": {
"description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.",
"type": "string",
Expand Down
5 changes: 5 additions & 0 deletions docs/generated/packages/nest/generators/resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20."
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).",
"type": "string",
"enum": ["as-provided", "derived"]
},
"directory": {
"description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.",
"type": "string",
Expand Down
5 changes: 5 additions & 0 deletions packages/nest/src/generators/resolver/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20."
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).",
"type": "string",
"enum": ["as-provided", "derived"]
},
"directory": {
"description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.",
"type": "string",
Expand Down
5 changes: 5 additions & 0 deletions packages/nest/src/generators/resource/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"alias": "p",
"x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. It will be removed in Nx v20."
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).",
"type": "string",
"enum": ["as-provided", "derived"]
},
"directory": {
"description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.",
"type": "string",
Expand Down

0 comments on commit c467129

Please sign in to comment.