You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/nx-flutter/src/generators/preset/schema.json
+10-14
Original file line number
Diff line number
Diff line change
@@ -6,23 +6,24 @@
6
6
"cli": "nx",
7
7
"outputCapture": "pipe",
8
8
"properties": {
9
-
"prjName": {
10
-
"type": "string",
11
-
"description": "Name of the project to generate.",
12
-
"x-prompt": "What is the name of your project?",
13
-
"pattern": "^[a-zA-Z][^:]*$",
14
-
"x-priority": "important"
15
-
},
16
9
"directory": {
17
10
"type": "string",
18
11
"description": "The directory of the new project.",
19
-
"alias": "d",
12
+
"alias": "dir",
20
13
"$default": {
21
14
"$source": "argv",
22
15
"index": 0
23
16
},
24
17
"x-prompt": "Which directory do you want to create the project in?"
25
18
},
19
+
"name": {
20
+
"type": "string",
21
+
"description": "Name of the project to generate.",
22
+
"alias": "projectName",
23
+
"x-prompt": "What name would you like to use?",
24
+
"pattern": "^[a-zA-Z][^:]*$",
25
+
"x-priority": "important"
26
+
},
26
27
"org": {
27
28
"description": "name of the ",
28
29
"type": "string",
@@ -105,11 +106,6 @@
105
106
"type": "string",
106
107
"description": "Add tags to the project (used for linting)."
107
108
},
108
-
"projectNameAndRootFormat": {
109
-
"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`).",
110
-
"type": "string",
111
-
"enum": ["as-provided", "derived"]
112
-
},
113
109
"pub": {
114
110
"type": "boolean",
115
111
"description": "Whether or not to run 'flutter pub get' after the project has been created."
@@ -123,5 +119,5 @@
123
119
"description": "Whether or not to overwrite existing files when performing operations."
0 commit comments