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
(cherry picked from commit c467129)
  • Loading branch information
ndcunningham authored and FrozenPandaz committed Jun 21, 2024
1 parent b099cd7 commit 5914863
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 5914863

Please sign in to comment.