Skip to content

Commit bb3129c

Browse files
committed
feat(@schematics/angular): Add prompt for new apps to be zoneless
This commit adds a prompt to ask if the user wants to generate the app as zoneless.
1 parent 4c27493 commit bb3129c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: packages/schematics/angular/application/schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
},
121121
"zoneless": {
122122
"description": "Generate an application that does not use `zone.js`.",
123+
"x-prompt": "Do you want to create the application without zone.js (zoneless, Developer Preview)?",
123124
"type": "boolean",
124125
"default": false
125126
}

Diff for: packages/schematics/angular/ng-new/schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
},
142142
"zoneless": {
143143
"description": "Create an initial application that does not utilize `zone.js`.",
144+
"x-prompt": "Do you want to create the application without zone.js (zoneless, Developer Preview)?",
144145
"type": "boolean",
145146
"default": false
146147
}

0 commit comments

Comments
 (0)