From 004f0642e9cefe3b7431b4057acfafa40b5dfb0b Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 4 Apr 2025 13:26:00 -0700 Subject: [PATCH 1/2] fix(@schematics/angular): Remove experimental from zoneless This commit removes experimental from the option and provider names --- packages/angular/ssr/test/testing-utils.ts | 4 +-- .../src/app/app-module.ts.template | 6 ++-- .../module-files/src/app/app.spec.ts.template | 6 ++-- .../files/module-files/src/main.ts.template | 2 +- .../src/app/app.config.ts.template | 4 +-- .../src/app/app.spec.ts.template | 6 ++-- .../schematics/angular/application/index.ts | 4 +-- .../angular/application/index_spec.ts | 28 +++++++++---------- .../angular/application/schema.json | 2 +- packages/schematics/angular/ng-new/index.ts | 2 +- .../schematics/angular/ng-new/schema.json | 2 +- tests/legacy-cli/e2e/tests/build/wasm-esm.ts | 4 +-- 12 files changed, 35 insertions(+), 35 deletions(-) diff --git a/packages/angular/ssr/test/testing-utils.ts b/packages/angular/ssr/test/testing-utils.ts index 92521972ac58..9f1cd076e33e 100644 --- a/packages/angular/ssr/test/testing-utils.ts +++ b/packages/angular/ssr/test/testing-utils.ts @@ -11,7 +11,7 @@ import { EnvironmentProviders, Provider, Type, - provideExperimentalZonelessChangeDetection, + provideZonelessChangeDetection, } from '@angular/core'; import { bootstrapApplication } from '@angular/platform-browser'; import { RouterOutlet, Routes, provideRouter } from '@angular/router'; @@ -93,7 +93,7 @@ export function setAngularAppTestingManifest( bootstrap: async () => () => { return bootstrapApplication(rootComponent, { providers: [ - provideExperimentalZonelessChangeDetection(), + provideZonelessChangeDetection(), provideRouter(routes), provideServerRendering(withRoutes(serverRoutes)), ...extraProviders, diff --git a/packages/schematics/angular/application/files/module-files/src/app/app-module.ts.template b/packages/schematics/angular/application/files/module-files/src/app/app-module.ts.template index a9a5a07900cb..6adc80524f72 100644 --- a/packages/schematics/angular/application/files/module-files/src/app/app-module.ts.template +++ b/packages/schematics/angular/application/files/module-files/src/app/app-module.ts.template @@ -1,4 +1,4 @@ -import { NgModule, provideBrowserGlobalErrorListeners<% if(experimentalZoneless) { %>, provideExperimentalZonelessChangeDetection<% } %> } from '@angular/core'; +import { NgModule, provideBrowserGlobalErrorListeners<% if(zoneless) { %>, provideZonelessChangeDetection<% } %> } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; <% if (routing) { %> import { AppRoutingModule } from './app-routing-module';<% } %> @@ -13,8 +13,8 @@ import { App } from './app'; AppRoutingModule<% } %> ], providers: [ - provideBrowserGlobalErrorListeners()<% if (experimentalZoneless) { %>, - provideExperimentalZonelessChangeDetection()<% } %> + provideBrowserGlobalErrorListeners()<% if (zoneless) { %>, + provideZonelessChangeDetection()<% } %> ], bootstrap: [App] }) diff --git a/packages/schematics/angular/application/files/module-files/src/app/app.spec.ts.template b/packages/schematics/angular/application/files/module-files/src/app/app.spec.ts.template index d9e11422c77e..e3f5c5fff092 100644 --- a/packages/schematics/angular/application/files/module-files/src/app/app.spec.ts.template +++ b/packages/schematics/angular/application/files/module-files/src/app/app.spec.ts.template @@ -1,4 +1,4 @@ -<% if(experimentalZoneless) { %>import { provideExperimentalZonelessChangeDetection } from '@angular/core'; +<% if(zoneless) { %>import { provideZonelessChangeDetection } from '@angular/core'; <% } %>import { TestBed } from '@angular/core/testing';<% if (routing) { %> import { RouterModule } from '@angular/router';<% } %> import { App } from './app'; @@ -11,8 +11,8 @@ describe('App', () => { ],<% } %> declarations: [ App - ],<% if(experimentalZoneless) { %> - providers: [provideExperimentalZonelessChangeDetection()]<% } %> + ],<% if(zoneless) { %> + providers: [provideZonelessChangeDetection()]<% } %> }).compileComponents(); }); diff --git a/packages/schematics/angular/application/files/module-files/src/main.ts.template b/packages/schematics/angular/application/files/module-files/src/main.ts.template index 97d2d132989c..407a18d4a65d 100644 --- a/packages/schematics/angular/application/files/module-files/src/main.ts.template +++ b/packages/schematics/angular/application/files/module-files/src/main.ts.template @@ -3,7 +3,7 @@ import { AppModule } from './app/app-module'; platformBrowser().bootstrapModule(AppModule, { - <% if(!experimentalZoneless) { %>ngZoneEventCoalescing: true,<% } %><% if(!!viewEncapsulation) { %> + <% if(!zoneless) { %>ngZoneEventCoalescing: true,<% } %><% if(!!viewEncapsulation) { %> defaultEncapsulation: ViewEncapsulation.<%= viewEncapsulation %><% } %> }) .catch(err => console.error(err)); diff --git a/packages/schematics/angular/application/files/standalone-files/src/app/app.config.ts.template b/packages/schematics/angular/application/files/standalone-files/src/app/app.config.ts.template index d45afde0b35e..638b2acd363a 100644 --- a/packages/schematics/angular/application/files/standalone-files/src/app/app.config.ts.template +++ b/packages/schematics/angular/application/files/standalone-files/src/app/app.config.ts.template @@ -1,4 +1,4 @@ -import { ApplicationConfig, provideBrowserGlobalErrorListeners, <% if(!experimentalZoneless) { %>provideZoneChangeDetection<% } else { %>provideExperimentalZonelessChangeDetection<% } %> } from '@angular/core';<% if (routing) { %> +import { ApplicationConfig, provideBrowserGlobalErrorListeners, <% if(!zoneless) { %>provideZoneChangeDetection<% } else { %>provideZonelessChangeDetection<% } %> } from '@angular/core';<% if (routing) { %> import { provideRouter } from '@angular/router'; import { routes } from './app.routes';<% } %> @@ -6,7 +6,7 @@ import { routes } from './app.routes';<% } %> export const appConfig: ApplicationConfig = { providers: [ provideBrowserGlobalErrorListeners(), - <% if(experimentalZoneless) { %>provideExperimentalZonelessChangeDetection()<% } else { %>provideZoneChangeDetection({ eventCoalescing: true })<% } %>, + <% if(zoneless) { %>provideZonelessChangeDetection()<% } else { %>provideZoneChangeDetection({ eventCoalescing: true })<% } %>, <% if (routing) {%>provideRouter(routes)<% } %> ] }; diff --git a/packages/schematics/angular/application/files/standalone-files/src/app/app.spec.ts.template b/packages/schematics/angular/application/files/standalone-files/src/app/app.spec.ts.template index 8d52e127f1dd..eb529a1df3c7 100644 --- a/packages/schematics/angular/application/files/standalone-files/src/app/app.spec.ts.template +++ b/packages/schematics/angular/application/files/standalone-files/src/app/app.spec.ts.template @@ -1,12 +1,12 @@ -<% if(experimentalZoneless) { %>import { provideExperimentalZonelessChangeDetection } from '@angular/core'; +<% if(zoneless) { %>import { provideZonelessChangeDetection } from '@angular/core'; <% } %>import { TestBed } from '@angular/core/testing'; import { App } from './app'; describe('App', () => { beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [App],<% if(experimentalZoneless) { %> - providers: [provideExperimentalZonelessChangeDetection()]<% } %> + imports: [App],<% if(zoneless) { %> + providers: [provideZonelessChangeDetection()]<% } %> }).compileComponents(); }); diff --git a/packages/schematics/angular/application/index.ts b/packages/schematics/angular/application/index.ts index 1a39e397a90b..e84c5ba7a121 100644 --- a/packages/schematics/angular/application/index.ts +++ b/packages/schematics/angular/application/index.ts @@ -258,7 +258,7 @@ function addAppToWorkspaceFile( options: { index: `${sourceRoot}/index.html`, browser: `${sourceRoot}/main.ts`, - polyfills: options.experimentalZoneless ? [] : ['zone.js'], + polyfills: options.zoneless ? [] : ['zone.js'], tsConfig: `${projectRoot}tsconfig.app.json`, inlineStyleLanguage, assets: [{ 'glob': '**/*', 'input': `${projectRoot}public` }], @@ -297,7 +297,7 @@ function addAppToWorkspaceFile( : { builder: Builders.BuildKarma, options: { - polyfills: options.experimentalZoneless ? [] : ['zone.js', 'zone.js/testing'], + polyfills: options.zoneless ? [] : ['zone.js', 'zone.js/testing'], tsConfig: `${projectRoot}tsconfig.spec.json`, inlineStyleLanguage, assets: [{ 'glob': '**/*', 'input': `${projectRoot}public` }], diff --git a/packages/schematics/angular/application/index_spec.ts b/packages/schematics/angular/application/index_spec.ts index f1e39307e4e9..0607a20b766e 100644 --- a/packages/schematics/angular/application/index_spec.ts +++ b/packages/schematics/angular/application/index_spec.ts @@ -745,70 +745,70 @@ describe('Application Schematic', () => { ); }); - it('should add provideExperimentalZonelessChangeDetection() in app-module.ts when experimentalZoneless is true', async () => { + it('should add provideZonelessChangeDetection() in app-module.ts when zoneless is true', async () => { const tree = await schematicRunner.runSchematic( 'application', { ...defaultOptions, - experimentalZoneless: true, + zoneless: true, standalone: false, }, workspaceTree, ); const path = '/projects/foo/src/app/app-module.ts'; const fileContent = tree.readContent(path); - expect(fileContent).toContain('provideExperimentalZonelessChangeDetection()'); + expect(fileContent).toContain('provideZonelessChangeDetection()'); }); - it('should not add provideExperimentalZonelessChangeDetection() in app-module.ts when experimentalZoneless is false', async () => { + it('should not add provideZonelessChangeDetection() in app-module.ts when zoneless is false', async () => { const tree = await schematicRunner.runSchematic( 'application', { ...defaultOptions, - experimentalZoneless: false, + zoneless: false, standalone: false, }, workspaceTree, ); const path = '/projects/foo/src/app/app-module.ts'; const fileContent = tree.readContent(path); - expect(fileContent).not.toContain('provideExperimentalZonelessChangeDetection()'); + expect(fileContent).not.toContain('provideZonelessChangeDetection()'); }); - it('should add provideExperimentalZonelessChangeDetection() when experimentalZoneless is true', async () => { + it('should add provideZonelessChangeDetection() when zoneless is true', async () => { const tree = await schematicRunner.runSchematic( 'application', { ...defaultOptions, - experimentalZoneless: true, + zoneless: true, }, workspaceTree, ); const path = '/projects/foo/src/app/app.config.ts'; const fileContent = tree.readContent(path); - expect(fileContent).toContain('provideExperimentalZonelessChangeDetection()'); + expect(fileContent).toContain('provideZonelessChangeDetection()'); }); - it('should not add provideExperimentalZonelessChangeDetection() when experimentalZoneless is false', async () => { + it('should not add provideZonelessChangeDetection() when zoneless is false', async () => { const tree = await schematicRunner.runSchematic( 'application', { ...defaultOptions, - experimentalZoneless: false, + zoneless: false, }, workspaceTree, ); const path = '/projects/foo/src/app/app.config.ts'; const fileContent = tree.readContent(path); - expect(fileContent).not.toContain('provideExperimentalZonelessChangeDetection()'); + expect(fileContent).not.toContain('provideZonelessChangeDetection()'); }); - it('should not add provideZoneChangeDetection when experimentalZoneless is true', async () => { + it('should not add provideZoneChangeDetection when zoneless is true', async () => { const tree = await schematicRunner.runSchematic( 'application', { ...defaultOptions, - experimentalZoneless: true, + zoneless: true, }, workspaceTree, ); diff --git a/packages/schematics/angular/application/schema.json b/packages/schematics/angular/application/schema.json index 7a6ea47a2020..c711f4602c78 100644 --- a/packages/schematics/angular/application/schema.json +++ b/packages/schematics/angular/application/schema.json @@ -118,7 +118,7 @@ "default": false, "x-user-analytics": "ep.ng_ssr" }, - "experimentalZoneless": { + "zoneless": { "description": "Generate an application that does not use `zone.js`.", "type": "boolean", "default": false diff --git a/packages/schematics/angular/ng-new/index.ts b/packages/schematics/angular/ng-new/index.ts index f5e37ccccf40..e9362726d4d1 100644 --- a/packages/schematics/angular/ng-new/index.ts +++ b/packages/schematics/angular/ng-new/index.ts @@ -57,7 +57,7 @@ export default function (options: NgNewOptions): Rule { minimal: options.minimal, standalone: options.standalone, ssr: options.ssr, - experimentalZoneless: options.experimentalZoneless, + zoneless: options.zoneless, }; return chain([ diff --git a/packages/schematics/angular/ng-new/schema.json b/packages/schematics/angular/ng-new/schema.json index be65f561bc88..e4948f449fcd 100644 --- a/packages/schematics/angular/ng-new/schema.json +++ b/packages/schematics/angular/ng-new/schema.json @@ -139,7 +139,7 @@ "type": "boolean", "x-user-analytics": "ep.ng_ssr" }, - "experimentalZoneless": { + "zoneless": { "description": "Create an initial application that does not utilize `zone.js`.", "type": "boolean", "default": false diff --git a/tests/legacy-cli/e2e/tests/build/wasm-esm.ts b/tests/legacy-cli/e2e/tests/build/wasm-esm.ts index 134584d40716..43d3708c2c36 100644 --- a/tests/legacy-cli/e2e/tests/build/wasm-esm.ts +++ b/tests/legacy-cli/e2e/tests/build/wasm-esm.ts @@ -65,12 +65,12 @@ export default async function () { await replaceInFile( 'src/app/app.config.ts', 'provideZoneChangeDetection', - 'provideExperimentalZonelessChangeDetection', + 'provideZonelessChangeDetection', ); await replaceInFile( 'src/app/app.config.ts', 'provideZoneChangeDetection({ eventCoalescing: true })', - 'provideExperimentalZonelessChangeDetection()', + 'provideZonelessChangeDetection()', ); await ng('build'); From 08ba711b0a73adf98897ade192a8e527a8c253e1 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 4 Apr 2025 14:07:28 -0700 Subject: [PATCH 2/2] 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. --- .../angular/application/schema.json | 1 + .../schematics/angular/ng-new/schema.json | 1 + pnpm-lock.yaml | 50 +++++++++---------- .../application/application-zoneless.ts | 11 +--- 4 files changed, 29 insertions(+), 34 deletions(-) diff --git a/packages/schematics/angular/application/schema.json b/packages/schematics/angular/application/schema.json index c711f4602c78..85952ef00e3c 100644 --- a/packages/schematics/angular/application/schema.json +++ b/packages/schematics/angular/application/schema.json @@ -120,6 +120,7 @@ }, "zoneless": { "description": "Generate an application that does not use `zone.js`.", + "x-prompt": "Do you want to create a 'zoneless' application without zone.js (Developer Preview)?", "type": "boolean", "default": false } diff --git a/packages/schematics/angular/ng-new/schema.json b/packages/schematics/angular/ng-new/schema.json index e4948f449fcd..d6381afce198 100644 --- a/packages/schematics/angular/ng-new/schema.json +++ b/packages/schematics/angular/ng-new/schema.json @@ -141,6 +141,7 @@ }, "zoneless": { "description": "Create an initial application that does not utilize `zone.js`.", + "x-prompt": "Do you want to create a 'zoneless' application without zone.js (Developer Preview)?", "type": "boolean", "default": false } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1d0be357a7f..076dfa64b571 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1018,8 +1018,8 @@ packages: '@angular/core': 20.0.0-next.8 rxjs: ^6.5.3 || ^7.4.0 - '@asamuzakjp/css-color@3.1.2': - resolution: {integrity: sha512-nwgc7jPn3LpZ4JWsoHtuwBsad1qSSLDDX634DdG0PBJofIuIEtSWk4KkRmuXyu178tjuHAbwiMNNzwqIyLYxZw==} + '@asamuzakjp/css-color@3.1.4': + resolution: {integrity: sha512-SeuBV4rnjpFNjI8HSgKUwteuFdkHwkboq31HWzznuqgySQir+jSTczoWVVL4jvOjKjuH80fMDG0Fvg1Sb+OJsA==} '@babel/code-frame@7.26.2': resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} @@ -1536,15 +1536,15 @@ packages: resolution: {integrity: sha512-JqWH1vsgdGcw2RR6VliXXdA0/59LttzlU8UlRT/iUUsEeWfYq8I+K0yhihEUTTHLRm1EXvpsCx3083EU15ecsA==} engines: {node: '>=18'} - '@csstools/css-calc@2.1.2': - resolution: {integrity: sha512-TklMyb3uBB28b5uQdxjReG4L80NxAqgrECqLZFQbyLekwwlcDDS8r3f07DKqeo8C4926Br0gf/ZDe17Zv4wIuw==} + '@csstools/css-calc@2.1.3': + resolution: {integrity: sha512-XBG3talrhid44BY1x3MHzUx/aTG8+x/Zi57M4aTKK9RFB4aLlF3TTSzfzn8nWVHWL3FgAXAxmupmDd6VWww+pw==} engines: {node: '>=18'} peerDependencies: '@csstools/css-parser-algorithms': ^3.0.4 '@csstools/css-tokenizer': ^3.0.3 - '@csstools/css-color-parser@3.0.8': - resolution: {integrity: sha512-pdwotQjCCnRPuNi06jFuP68cykU1f3ZWExLe/8MQ1LOs8Xq+fTkYgd+2V8mWUWMrOn9iS2HftPVaMZDaXzGbhQ==} + '@csstools/css-color-parser@3.0.9': + resolution: {integrity: sha512-wILs5Zk7BU86UArYBJTPy/FMPPKVKHMj1ycCEyf3VUptol0JNRLFU/BZsJ4aiIHJEbSLiizzRrw8Pc1uAEDrXw==} engines: {node: '>=18'} peerDependencies: '@csstools/css-parser-algorithms': ^3.0.4 @@ -2041,8 +2041,8 @@ packages: cpu: [x64] os: [win32] - '@mdn/browser-compat-data@6.0.8': - resolution: {integrity: sha512-l21VIVT7ozAQJFT16HHmCndeNMhMuYMlhRA8+W59cCsorW6oXZDm3v+lQKxIZwTLHnKfAt0i6f2ih6h9GS0OaQ==} + '@mdn/browser-compat-data@6.0.6': + resolution: {integrity: sha512-awlDnCGbtdkyLieMpIKJQEgK7mxnL3he4UHm5AGn+asofiemlx4LVHM0FsYmp6O1irAClPNS135zZLhD2SZi+A==} '@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.3': resolution: {integrity: sha512-QZHtlVgbAdy2zAqNA9Gu1UpIuI8Xvsd1v8ic6B2pZmeFnFcMWiPLfWXh7TVw4eGEZ/C9TH281KwhVoeQUKbyjw==} @@ -3992,8 +3992,8 @@ packages: engines: {node: '>=4'} hasBin: true - cssstyle@4.3.0: - resolution: {integrity: sha512-6r0NiY0xizYqfBvWp1G7WXJ06/bZyrk7Dc6PHql82C/pKGUTKu4yAX4Y8JPamb1ob9nBKuxWzCGTRuGwU3yxJQ==} + cssstyle@4.3.1: + resolution: {integrity: sha512-ZgW+Jgdd7i52AaLYCriF8Mxqft0gD/R9i9wi6RWBhs1pqdPEzPjym7rvRKi397WmQFf3SlyUsszhw+VVCbx79Q==} engines: {node: '>=18'} custom-event@1.0.1: @@ -7929,8 +7929,8 @@ packages: weak-lru-cache@1.2.2: resolution: {integrity: sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==} - web-features@2.34.0: - resolution: {integrity: sha512-jv8rxEhmj0UcQ3v5EyH9cNN6ztyNjUZJfImgUdGtxYYYRi3BKWw00LPQ2HQn7Y61kxEbah5G1SQaXz+yskKLUA==} + web-features@2.33.0: + resolution: {integrity: sha512-oLzTO29Ax9TyQGNoNxpC+2Hj9if7lm2tuuAiEAb01BxcBt7yH40LAmIDg5PtuJ39lnwqm4wELATIKhj6WlJJpQ==} web-streams-polyfill@3.3.3: resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} @@ -8374,10 +8374,10 @@ snapshots: rxjs: 7.8.2 tslib: 2.8.1 - '@asamuzakjp/css-color@3.1.2': + '@asamuzakjp/css-color@3.1.4': dependencies: - '@csstools/css-calc': 2.1.2(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3) - '@csstools/css-color-parser': 3.0.8(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3) + '@csstools/css-calc': 2.1.3(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3) + '@csstools/css-color-parser': 3.0.9(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3) '@csstools/css-parser-algorithms': 3.0.4(@csstools/css-tokenizer@3.0.3) '@csstools/css-tokenizer': 3.0.3 lru-cache: 10.4.3 @@ -9049,15 +9049,15 @@ snapshots: '@csstools/color-helpers@5.0.2': {} - '@csstools/css-calc@2.1.2(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3)': + '@csstools/css-calc@2.1.3(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3)': dependencies: '@csstools/css-parser-algorithms': 3.0.4(@csstools/css-tokenizer@3.0.3) '@csstools/css-tokenizer': 3.0.3 - '@csstools/css-color-parser@3.0.8(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3)': + '@csstools/css-color-parser@3.0.9(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3)': dependencies: '@csstools/color-helpers': 5.0.2 - '@csstools/css-calc': 2.1.2(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3) + '@csstools/css-calc': 2.1.3(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3) '@csstools/css-parser-algorithms': 3.0.4(@csstools/css-tokenizer@3.0.3) '@csstools/css-tokenizer': 3.0.3 @@ -9505,7 +9505,7 @@ snapshots: '@lmdb/lmdb-win32-x64@3.2.6': optional: true - '@mdn/browser-compat-data@6.0.8': {} + '@mdn/browser-compat-data@6.0.6': {} '@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.3': optional: true @@ -11242,8 +11242,8 @@ snapshots: baseline-browser-mapping@2.2.2: dependencies: - '@mdn/browser-compat-data': 6.0.8 - web-features: 2.34.0 + '@mdn/browser-compat-data': 6.0.6 + web-features: 2.33.0 basic-ftp@5.0.5: {} @@ -11817,9 +11817,9 @@ snapshots: cssesc@3.0.0: {} - cssstyle@4.3.0: + cssstyle@4.3.1: dependencies: - '@asamuzakjp/css-color': 3.1.2 + '@asamuzakjp/css-color': 3.1.4 rrweb-cssom: 0.8.0 custom-event@1.0.1: {} @@ -13542,7 +13542,7 @@ snapshots: jsdom@26.1.0: dependencies: - cssstyle: 4.3.0 + cssstyle: 4.3.1 data-urls: 5.0.0 decimal.js: 10.5.0 html-encoding-sniffer: 4.0.0 @@ -16342,7 +16342,7 @@ snapshots: weak-lru-cache@1.2.2: optional: true - web-features@2.34.0: {} + web-features@2.33.0: {} web-streams-polyfill@3.3.3: {} diff --git a/tests/legacy-cli/e2e/tests/generate/application/application-zoneless.ts b/tests/legacy-cli/e2e/tests/generate/application/application-zoneless.ts index 8f92eac3e7cf..b7ceaddf3cb1 100644 --- a/tests/legacy-cli/e2e/tests/generate/application/application-zoneless.ts +++ b/tests/legacy-cli/e2e/tests/generate/application/application-zoneless.ts @@ -2,19 +2,12 @@ import { ng } from '../../../utils/process'; import { useCIChrome } from '../../../utils/project'; export default async function () { - await ng('generate', 'app', 'standalone', '--experimental-zoneless', '--standalone'); + await ng('generate', 'app', 'standalone', '--zoneless', '--standalone'); await useCIChrome('standalone', 'projects/standalone'); await ng('test', 'standalone', '--watch=false'); await ng('build', 'standalone'); - await ng( - 'generate', - 'app', - 'ngmodules', - '--experimental-zoneless', - '--no-standalone', - '--skip-install', - ); + await ng('generate', 'app', 'ngmodules', '--zoneless', '--no-standalone', '--skip-install'); await useCIChrome('ngmodules', 'projects/ngmodules'); await ng('test', 'ngmodules', '--watch=false'); await ng('build', 'ngmodules');