Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nx-plugin): add nameAndDirectoryFormat to schema for generator,ex… #19710

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/generated/packages/plugin/generators/executor.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"description": "Do not add an eslint configuration for plugin json files."
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).",
"description": "Whether to generate the executor in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).",
"type": "string",
"enum": ["as-provided", "derived"]
},
Expand Down
5 changes: 5 additions & 0 deletions docs/generated/packages/plugin/generators/generator.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
"default": false,
"description": "Do not format files with prettier.",
"x-priority": "internal"
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the generator in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).",
"type": "string",
"enum": ["as-provided", "derived"]
}
},
"required": ["name"],
Expand Down
5 changes: 5 additions & 0 deletions docs/generated/packages/plugin/generators/migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
"type": "boolean",
"default": false,
"description": "Do not eslint configuration for plugin json files."
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the migration in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).",
"type": "string",
"enum": ["as-provided", "derived"]
}
},
"required": ["packageVersion"],
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/src/generators/executor/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"description": "Do not add an eslint configuration for plugin json files."
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).",
"description": "Whether to generate the executor in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).",
"type": "string",
"enum": ["as-provided", "derived"]
},
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin/src/generators/generator/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
"default": false,
"description": "Do not format files with prettier.",
"x-priority": "internal"
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the generator in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).",
"type": "string",
"enum": ["as-provided", "derived"]
}
},
"required": ["name"],
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin/src/generators/migration/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@
"type": "boolean",
"default": false,
"description": "Do not eslint configuration for plugin json files."
},
"nameAndDirectoryFormat": {
"description": "Whether to generate the migration in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).",
"type": "string",
"enum": ["as-provided", "derived"]
}
},
"required": ["packageVersion"],
Expand Down