Skip to content

Commit 14eb0df

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 af2ccfb commit 14eb0df

File tree

4 files changed

+215
-94
lines changed

4 files changed

+215
-94
lines changed

package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@
4646
},
4747
"homepage": "https://github.com/angular/angular-cli",
4848
"devDependencies": {
49-
"@angular/animations": "20.0.0-next.7",
50-
"@angular/cdk": "20.0.0-next.7",
51-
"@angular/common": "20.0.0-next.7",
52-
"@angular/compiler": "20.0.0-next.7",
53-
"@angular/compiler-cli": "20.0.0-next.7",
54-
"@angular/core": "20.0.0-next.7",
55-
"@angular/forms": "20.0.0-next.7",
56-
"@angular/localize": "20.0.0-next.7",
57-
"@angular/material": "20.0.0-next.7",
49+
"@angular/animations": "20.0.0-next.8",
50+
"@angular/cdk": "20.0.0-next.8",
51+
"@angular/common": "20.0.0-next.8",
52+
"@angular/compiler": "20.0.0-next.8",
53+
"@angular/compiler-cli": "20.0.0-next.8",
54+
"@angular/core": "20.0.0-next.8",
55+
"@angular/forms": "20.0.0-next.8",
56+
"@angular/localize": "20.0.0-next.8",
57+
"@angular/material": "20.0.0-next.8",
5858
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#94729f43b53fb611c71c695733d2fb3d873cd25d",
59-
"@angular/platform-browser": "20.0.0-next.7",
60-
"@angular/platform-server": "20.0.0-next.7",
61-
"@angular/router": "20.0.0-next.7",
62-
"@angular/service-worker": "20.0.0-next.7",
59+
"@angular/platform-browser": "20.0.0-next.8",
60+
"@angular/platform-server": "20.0.0-next.8",
61+
"@angular/router": "20.0.0-next.8",
62+
"@angular/service-worker": "20.0.0-next.8",
6363
"@bazel/bazelisk": "1.26.0",
6464
"@bazel/buildifier": "8.0.3",
6565
"@eslint/compat": "1.2.8",

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
}

0 commit comments

Comments
 (0)