Skip to content

Commit 9ff2923

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 2bfc5ae commit 9ff2923

File tree

4 files changed

+41
-39
lines changed

4 files changed

+41
-39
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@
4747
"homepage": "https://github.com/angular/angular-cli",
4848
"devDependencies": {
4949
"@angular/animations": "20.0.0-next.8",
50-
"@angular/cdk": "20.0.0-next.7",
50+
"@angular/cdk": "20.0.0-next.8",
5151
"@angular/common": "20.0.0-next.8",
5252
"@angular/compiler": "20.0.0-next.8",
5353
"@angular/compiler-cli": "20.0.0-next.8",
5454
"@angular/core": "20.0.0-next.8",
5555
"@angular/forms": "20.0.0-next.8",
5656
"@angular/localize": "20.0.0-next.8",
57-
"@angular/material": "20.0.0-next.7",
57+
"@angular/material": "20.0.0-next.8",
5858
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#a2f15a74df60d01395a3694ea1b7f9572f75343e",
5959
"@angular/platform-browser": "20.0.0-next.8",
6060
"@angular/platform-server": "20.0.0-next.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
}

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)