Skip to content

Commit 07bba34

Browse files
committed
fix(schematics): provide default path value
Closes #473
1 parent 767598e commit 07bba34

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

packages/schematics/component/schema.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"type": "string",
99
"format": "path",
1010
"description": "The path to create the page",
11-
"visible": false
11+
"visible": false,
12+
"$default": {
13+
"$source": "workingDirectory"
14+
}
1215
},
1316
"project": {
1417
"type": "string",

packages/schematics/page/schema.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"type": "string",
99
"format": "path",
1010
"description": "The path to create the page",
11-
"visible": false
11+
"visible": false,
12+
"$default": {
13+
"$source": "workingDirectory"
14+
}
1215
},
1316
"project": {
1417
"type": "string",

0 commit comments

Comments
 (0)