Skip to content

Commit

Permalink
fix(node): set x-dropdown in app generator to enable autocomplete in …
Browse files Browse the repository at this point in the history
…console (#19105)
  • Loading branch information
MaxKless authored Sep 14, 2023
1 parent 993b6fd commit abf3ac6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/generated/packages/node/generators/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"frontendProject": {
"type": "string",
"description": "Frontend project that needs to access this application. This sets up proxy configuration.",
"x-priority": "important"
"x-priority": "important",
"x-dropdown": "projects"
},
"swcJest": {
"type": "boolean",
Expand Down
3 changes: 2 additions & 1 deletion docs/generated/packages/node/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"directory": {
"type": "string",
"description": "A directory where the lib is placed",
"alias": "dir"
"alias": "dir",
"x-priority": "important"
},
"projectNameAndRootFormat": {
"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`).",
Expand Down
3 changes: 2 additions & 1 deletion packages/node/src/generators/application/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"frontendProject": {
"type": "string",
"description": "Frontend project that needs to access this application. This sets up proxy configuration.",
"x-priority": "important"
"x-priority": "important",
"x-dropdown": "projects"
},
"swcJest": {
"type": "boolean",
Expand Down
3 changes: 2 additions & 1 deletion packages/node/src/generators/library/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"directory": {
"type": "string",
"description": "A directory where the lib is placed",
"alias": "dir"
"alias": "dir",
"x-priority": "important"
},
"projectNameAndRootFormat": {
"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`).",
Expand Down

1 comment on commit abf3ac6

@vercel
Copy link

@vercel vercel bot commented on abf3ac6 Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-dev-nrwl.vercel.app
nx-five.vercel.app

Please sign in to comment.