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/qwik-nx/src/generators/application/schema.json
+7-13Lines changed: 7 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,9 @@
6
6
"properties": {
7
7
"name": {
8
8
"type": "string",
9
-
"description": "",
10
-
"$default": {
11
-
"$source": "argv",
12
-
"index": 0
13
-
},
14
-
"x-prompt": "What name would you like to use?"
9
+
"description": "The name of the application.",
10
+
"pattern": "^[a-zA-Z][^:]*$",
11
+
"x-priority": "important"
15
12
},
16
13
"tags": {
17
14
"type": "string",
@@ -20,7 +17,9 @@
20
17
},
21
18
"directory": {
22
19
"type": "string",
23
-
"description": "A directory where the project is placed"
20
+
"description": "A directory where the project is placed",
21
+
"$default": { "$source": "argv", "index": 0 },
22
+
"x-prompt": "Which directory do you want to create the application in?"
24
23
},
25
24
"style": {
26
25
"description": "The file extension to be used for style files.",
@@ -51,11 +50,6 @@
51
50
"default": "css"
52
51
}
53
52
},
54
-
"projectNameAndRootFormat": {
55
-
"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`).",
56
-
"type": "string",
57
-
"enum": ["as-provided", "derived"]
58
-
},
59
53
"linter": {
60
54
"description": "The tool to use for running lint checks.",
Copy file name to clipboardExpand all lines: packages/qwik-nx/src/generators/host/schema.json
+10-12Lines changed: 10 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -7,23 +7,21 @@
7
7
"properties": {
8
8
"name": {
9
9
"type": "string",
10
-
"description": "",
11
-
"$default": {
12
-
"$source": "argv",
13
-
"index": 0
14
-
},
15
-
"x-prompt": "What name would you like to use?"
10
+
"description": "The name of the application.",
11
+
"pattern": "^[a-zA-Z][^:]*$",
12
+
"x-priority": "important"
13
+
},
14
+
"directory": {
15
+
"type": "string",
16
+
"description": "A directory where the project is placed",
17
+
"$default": { "$source": "argv", "index": 0 },
18
+
"x-prompt": "Which directory do you want to create the application in?"
16
19
},
17
20
"tags": {
18
21
"type": "string",
19
22
"description": "Add tags to the project (used for linting)",
20
23
"alias": "t"
21
24
},
22
-
"directory": {
23
-
"type": "string",
24
-
"description": "A directory where the project is placed",
25
-
"x-priority": "important"
26
-
},
27
25
"projectNameAndRootFormat": {
28
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`).",
Copy file name to clipboardExpand all lines: packages/qwik-nx/src/generators/integrations/react-library/schema.json
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,16 +8,16 @@
8
8
"name": {
9
9
"type": "string",
10
10
"description": "Library name.",
11
+
"x-priority": "important"
12
+
},
13
+
"directory": {
14
+
"type": "string",
15
+
"description": "A directory where the lib is placed.",
11
16
"$default": {
12
17
"$source": "argv",
13
18
"index": 0
14
19
},
15
-
"x-prompt": "What name would you like to use for the library?",
16
-
"pattern": "^[a-zA-Z].*$"
17
-
},
18
-
"directory": {
19
-
"type": "string",
20
-
"description": "A directory where the lib is placed."
20
+
"x-prompt": "Which directory do you want to create the library in?"
21
21
},
22
22
"projectNameAndRootFormat": {
23
23
"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`).",
0 commit comments