Skip to content

Commit e57184f

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 004f064 commit e57184f

File tree

3 files changed

+27
-25
lines changed

3 files changed

+27
-25
lines changed

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 a 'zoneless' application without zone.js (Developer Preview)?",
123124
"type": "boolean",
124125
"default": false
125126
}

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 a 'zoneless' application without zone.js (Developer Preview)?",
144145
"type": "boolean",
145146
"default": false
146147
}

pnpm-lock.yaml

+25-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)