Skip to content

Commit 5914863

Browse files
ndcunninghamFrozenPandaz
authored andcommitted
fix(nest): Add missing props (#26534)
Add missing props back to the schema so that they can be defaulted/overwritten. closes: #26384 (cherry picked from commit c467129)
1 parent b099cd7 commit 5914863

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

docs/generated/packages/nest/generators/resolver.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
"alias": "p",
2323
"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."
2424
},
25+
"nameAndDirectoryFormat": {
26+
"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`).",
27+
"type": "string",
28+
"enum": ["as-provided", "derived"]
29+
},
2530
"directory": {
2631
"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.",
2732
"type": "string",

docs/generated/packages/nest/generators/resource.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
"alias": "p",
2323
"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."
2424
},
25+
"nameAndDirectoryFormat": {
26+
"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`).",
27+
"type": "string",
28+
"enum": ["as-provided", "derived"]
29+
},
2530
"directory": {
2631
"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.",
2732
"type": "string",

packages/nest/src/generators/resolver/schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
"alias": "p",
2525
"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."
2626
},
27+
"nameAndDirectoryFormat": {
28+
"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`).",
29+
"type": "string",
30+
"enum": ["as-provided", "derived"]
31+
},
2732
"directory": {
2833
"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.",
2934
"type": "string",

packages/nest/src/generators/resource/schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
"alias": "p",
2525
"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."
2626
},
27+
"nameAndDirectoryFormat": {
28+
"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`).",
29+
"type": "string",
30+
"enum": ["as-provided", "derived"]
31+
},
2732
"directory": {
2833
"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.",
2934
"type": "string",

0 commit comments

Comments
 (0)