diff --git a/modules/testing/builder/projects/hello-world-app/src/app/app.component.ts b/modules/testing/builder/projects/hello-world-app/src/app/app.component.ts index 5fd7d4fed2bc..93a041e8aec7 100644 --- a/modules/testing/builder/projects/hello-world-app/src/app/app.component.ts +++ b/modules/testing/builder/projects/hello-world-app/src/app/app.component.ts @@ -10,6 +10,7 @@ import { Component } from '@angular/core'; @Component({ selector: 'app-root', + standalone: false, templateUrl: './app.component.html', styleUrls: ['./app.component.css'], }) diff --git a/package.json b/package.json index 7db57e2cdaf0..98f3864fce67 100644 --- a/package.json +++ b/package.json @@ -52,23 +52,23 @@ }, "devDependencies": { "@ampproject/remapping": "2.3.0", - "@angular/animations": "19.0.0-next.9", + "@angular/animations": "19.0.0-next.10", "@angular/bazel": "patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=07617f0f8540d27f8895b1820a6f994e1e5b7277#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch", "@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#2692c81ef1068e15c7b7eaf3ecc7a65cbdd25c9f", "@angular/cdk": "19.0.0-next.8", - "@angular/common": "19.0.0-next.9", - "@angular/compiler": "19.0.0-next.9", - "@angular/compiler-cli": "19.0.0-next.9", - "@angular/core": "19.0.0-next.9", - "@angular/forms": "19.0.0-next.9", - "@angular/localize": "19.0.0-next.9", + "@angular/common": "19.0.0-next.10", + "@angular/compiler": "19.0.0-next.10", + "@angular/compiler-cli": "19.0.0-next.10", + "@angular/core": "19.0.0-next.10", + "@angular/forms": "19.0.0-next.10", + "@angular/localize": "19.0.0-next.10", "@angular/material": "19.0.0-next.8", "@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#2659cef857ffd127dbbbcbb28bb2dc4ca8625b50", - "@angular/platform-browser": "19.0.0-next.9", - "@angular/platform-browser-dynamic": "19.0.0-next.9", - "@angular/platform-server": "19.0.0-next.9", - "@angular/router": "19.0.0-next.9", - "@angular/service-worker": "19.0.0-next.9", + "@angular/platform-browser": "19.0.0-next.10", + "@angular/platform-browser-dynamic": "19.0.0-next.10", + "@angular/platform-server": "19.0.0-next.10", + "@angular/router": "19.0.0-next.10", + "@angular/service-worker": "19.0.0-next.10", "@babel/core": "7.25.8", "@babel/generator": "7.25.7", "@babel/helper-annotate-as-pure": "7.25.7", diff --git a/packages/angular/build/src/builders/application/tests/behavior/rebuild-errors_spec.ts b/packages/angular/build/src/builders/application/tests/behavior/rebuild-errors_spec.ts index 3153e0bd659a..196cbf4e6b5d 100644 --- a/packages/angular/build/src/builders/application/tests/behavior/rebuild-errors_spec.ts +++ b/packages/angular/build/src/builders/application/tests/behavior/rebuild-errors_spec.ts @@ -27,7 +27,7 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { const goodDirectiveContents = ` import { Directive, Input } from '@angular/core'; - @Directive({ selector: 'dir' }) + @Directive({ selector: 'dir', standalone: false }) export class Dir { @Input() foo: number; } @@ -66,6 +66,7 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { import { Component } from '@angular/core' @Component({ selector: 'app-root', + standalone: false, template: '', }) export class AppComponent { } @@ -87,7 +88,7 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { 'src/app/dir.ts', ` import { Directive, Input } from '@angular/core'; - @Directive({ selector: 'dir' }) + @Directive({ selector: 'dir', standalone: false }) export class Dir { @Input() foo: string; } diff --git a/packages/angular/build/src/builders/application/tests/behavior/rebuild-general_spec.ts b/packages/angular/build/src/builders/application/tests/behavior/rebuild-general_spec.ts index efa632bf6574..ca88f94e5b63 100644 --- a/packages/angular/build/src/builders/application/tests/behavior/rebuild-general_spec.ts +++ b/packages/angular/build/src/builders/application/tests/behavior/rebuild-general_spec.ts @@ -38,6 +38,7 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { import './file-a'; @Component({ selector: 'app-root', + standalone: false, template: 'App component', }) export class AppComponent { } diff --git a/packages/angular/build/src/builders/application/tests/behavior/rebuild-web-workers_spec.ts b/packages/angular/build/src/builders/application/tests/behavior/rebuild-web-workers_spec.ts index 00385d7e8793..421e51f99f5b 100644 --- a/packages/angular/build/src/builders/application/tests/behavior/rebuild-web-workers_spec.ts +++ b/packages/angular/build/src/builders/application/tests/behavior/rebuild-web-workers_spec.ts @@ -47,6 +47,7 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { import { Component } from '@angular/core' @Component({ selector: 'app-root', + standalone: false, template: '

Worker Test

', }) export class AppComponent { diff --git a/packages/angular/build/src/builders/application/tests/behavior/web-workers-application_spec.ts b/packages/angular/build/src/builders/application/tests/behavior/web-workers-application_spec.ts index e42c5c5fd0df..135d5ff68165 100644 --- a/packages/angular/build/src/builders/application/tests/behavior/web-workers-application_spec.ts +++ b/packages/angular/build/src/builders/application/tests/behavior/web-workers-application_spec.ts @@ -42,6 +42,7 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { import { Component } from '@angular/core' @Component({ selector: 'app-root', + standalone: false, template: '

Worker Test

', }) export class AppComponent { diff --git a/packages/angular/build/src/builders/application/tests/options/app-shell_spec.ts b/packages/angular/build/src/builders/application/tests/options/app-shell_spec.ts index 4964aacc59ea..afcc67e189aa 100644 --- a/packages/angular/build/src/builders/application/tests/options/app-shell_spec.ts +++ b/packages/angular/build/src/builders/application/tests/options/app-shell_spec.ts @@ -16,6 +16,7 @@ const appShellRouteFiles: Record = { @Component({ selector: 'app-app-shell', + standalone: false, styles: ['div { color: #fff; }'], template: '

app-shell works!

', }) diff --git a/packages/angular/build/src/builders/application/tests/options/external-dependencies_spec.ts b/packages/angular/build/src/builders/application/tests/options/external-dependencies_spec.ts index 27106874bca6..feb9b6447c3b 100644 --- a/packages/angular/build/src/builders/application/tests/options/external-dependencies_spec.ts +++ b/packages/angular/build/src/builders/application/tests/options/external-dependencies_spec.ts @@ -61,6 +61,7 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => { import { Component } from '@angular/core' @Component({ selector: 'app-root', + standalone: false, template: '

Worker Test

', }) export class AppComponent { diff --git a/packages/angular/ssr/package.json b/packages/angular/ssr/package.json index 408e1acb6813..af3108f8b38e 100644 --- a/packages/angular/ssr/package.json +++ b/packages/angular/ssr/package.json @@ -22,12 +22,12 @@ "@angular/router": "^19.0.0-next.0" }, "devDependencies": { - "@angular/common": "19.0.0-next.9", - "@angular/compiler": "19.0.0-next.9", - "@angular/core": "19.0.0-next.9", - "@angular/platform-browser": "19.0.0-next.9", - "@angular/platform-server": "19.0.0-next.9", - "@angular/router": "19.0.0-next.9", + "@angular/common": "19.0.0-next.10", + "@angular/compiler": "19.0.0-next.10", + "@angular/core": "19.0.0-next.10", + "@angular/platform-browser": "19.0.0-next.10", + "@angular/platform-server": "19.0.0-next.10", + "@angular/router": "19.0.0-next.10", "@bazel/runfiles": "^5.8.1" }, "schematics": "./schematics/collection.json", diff --git a/packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts b/packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts index b40e1d60a9d9..3174a7db82e7 100644 --- a/packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/app-shell/app-shell_spec.ts @@ -34,6 +34,7 @@ describe('AppShell Builder', () => { @Component({ selector: 'app-app-shell', + standalone: false, templateUrl: './app-shell.component.html', }) export class AppShellComponent implements OnInit { diff --git a/packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts b/packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts index 9856bff2adb0..b2e79124c40c 100644 --- a/packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts @@ -73,6 +73,7 @@ describe('Browser Builder styles', () => { @Component({ selector: 'app-root', + standalone: false, templateUrl: './app.component.html', styleUrls: [] }) @@ -92,6 +93,7 @@ describe('Browser Builder styles', () => { @Component({ selector: 'app-root', + standalone: false, templateUrl: './app.component.html', styles: ['div { mask-composite: add; }'], }) @@ -118,6 +120,7 @@ describe('Browser Builder styles', () => { @Component({ selector: 'app-root', + standalone: false, templateUrl: './app.component.html', styles: ['div { mask-composite: add; }'], }) @@ -637,6 +640,7 @@ describe('Browser Builder styles', () => { @Component({ selector: 'app-root', + standalone: false, templateUrl: './app.component.html', styleUrls: ['../styles.css'] }) diff --git a/packages/angular_devkit/build_angular/src/builders/browser/specs/svg_spec.ts b/packages/angular_devkit/build_angular/src/builders/browser/specs/svg_spec.ts index 2a8f9d8b7726..92f5fd0cda7b 100644 --- a/packages/angular_devkit/build_angular/src/builders/browser/specs/svg_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/browser/specs/svg_spec.ts @@ -33,6 +33,7 @@ describe('Browser Builder allow svg', () => { @Component({ selector: 'app-root', + standalone: false, templateUrl: './app.component.svg', styleUrls: [] }) diff --git a/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/rebuild-errors_spec.ts b/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/rebuild-errors_spec.ts index 903668643ae2..ea4501600bab 100644 --- a/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/rebuild-errors_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/rebuild-errors_spec.ts @@ -22,7 +22,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => { const goodDirectiveContents = ` import { Directive, Input } from '@angular/core'; - @Directive({ selector: 'dir' }) + @Directive({ selector: 'dir', standalone: false }) export class Dir { @Input() foo: number; } @@ -61,6 +61,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => { import { Component } from '@angular/core' @Component({ selector: 'app-root', + standalone: false, template: '', }) export class AppComponent { } @@ -82,7 +83,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => { 'src/app/dir.ts', ` import { Directive, Input } from '@angular/core'; - @Directive({ selector: 'dir' }) + @Directive({ selector: 'dir', standalone: false }) export class Dir { @Input() foo: string; } @@ -162,7 +163,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => { 'src/app/dir.ts', ` import { Directive, Input } from '@angular/core'; - @Directive({ selector: 'dir' }) + @Directive({ selector: 'dir', standalone: false }) export class Dir { @Input() foo: number; } @@ -172,7 +173,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => { // Same selector with a different type on the `foo` property but initially no `@Input` const goodDirectiveContents = ` import { Directive } from '@angular/core'; - @Directive({ selector: 'dir' }) + @Directive({ selector: 'dir', standalone: false }) export class Dir2 { foo: string; } @@ -210,6 +211,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => { import { Component } from '@angular/core' @Component({ selector: 'app-root', + standalone: false, template: '', }) export class AppComponent { } @@ -231,7 +233,7 @@ describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => { 'src/app/dir2.ts', ` import { Directive, Input } from '@angular/core'; - @Directive({ selector: 'dir' }) + @Directive({ selector: 'dir', standalone: false }) export class Dir2 { @Input() foo: string; } diff --git a/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/fake-async_spec.ts b/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/fake-async_spec.ts index 463dd625ac7f..355ddda8ed43 100644 --- a/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/fake-async_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/karma/tests/behavior/fake-async_spec.ts @@ -22,6 +22,7 @@ describeKarmaBuilder(execute, KARMA_BUILDER_INFO, (harness, setupTarget) => { @Component({ selector: 'app-root', + standalone: false, template: '', }) export class AppComponent { diff --git a/packages/angular_devkit/build_angular/src/builders/karma/tests/options/assets_spec.ts b/packages/angular_devkit/build_angular/src/builders/karma/tests/options/assets_spec.ts index a1a2005c8ab0..058facf64a84 100644 --- a/packages/angular_devkit/build_angular/src/builders/karma/tests/options/assets_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/karma/tests/options/assets_spec.ts @@ -47,6 +47,7 @@ describeKarmaBuilder(execute, KARMA_BUILDER_INFO, (harness, setupTarget) => { @Component({ selector: 'app-root', + standalone: false, template: '

{{ asset.content }}

' }) export class AppComponent { diff --git a/packages/angular_devkit/build_angular/src/builders/karma/tests/options/code-coverage_spec.ts b/packages/angular_devkit/build_angular/src/builders/karma/tests/options/code-coverage_spec.ts index 109cc30a4b56..a8849ba643ef 100644 --- a/packages/angular_devkit/build_angular/src/builders/karma/tests/options/code-coverage_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/karma/tests/options/code-coverage_spec.ts @@ -79,6 +79,7 @@ describeKarmaBuilder(execute, KARMA_BUILDER_INFO, (harness, setupTarget) => { @Component({ selector: 'app-root', + standalone: false, templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) diff --git a/packages/angular_devkit/build_angular/src/builders/karma/tests/options/styles_spec.ts b/packages/angular_devkit/build_angular/src/builders/karma/tests/options/styles_spec.ts index 909fcb1a1e09..6ede50e6945c 100644 --- a/packages/angular_devkit/build_angular/src/builders/karma/tests/options/styles_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/karma/tests/options/styles_spec.ts @@ -23,6 +23,7 @@ describeKarmaBuilder(execute, KARMA_BUILDER_INFO, (harness, setupTarget) => { @Component({ selector: 'app-root', + standalone: false, template: '

Hello World

' }) export class AppComponent { @@ -79,6 +80,7 @@ describeKarmaBuilder(execute, KARMA_BUILDER_INFO, (harness, setupTarget) => { import { HttpClient } from '@angular/common/http'; @Component({ selector: 'app-root', + standalone: false, template: '

{{ asset.content }}

' }) export class AppComponent { diff --git a/packages/angular_devkit/build_angular/src/builders/karma/tests/options/web-worker-tsconfig_spec.ts b/packages/angular_devkit/build_angular/src/builders/karma/tests/options/web-worker-tsconfig_spec.ts index 6c3b74cf0a5e..9c1d6af166d0 100644 --- a/packages/angular_devkit/build_angular/src/builders/karma/tests/options/web-worker-tsconfig_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/karma/tests/options/web-worker-tsconfig_spec.ts @@ -45,6 +45,7 @@ describeKarmaBuilder(execute, KARMA_BUILDER_INFO, (harness, setupTarget, isAppli @Component({ selector: 'app-root', + standalone: false, template: '' }) export class AppComponent { diff --git a/packages/angular_devkit/build_angular/src/builders/prerender/works_spec.ts b/packages/angular_devkit/build_angular/src/builders/prerender/works_spec.ts index c54f4c434e7c..abc9fc483554 100644 --- a/packages/angular_devkit/build_angular/src/builders/prerender/works_spec.ts +++ b/packages/angular_devkit/build_angular/src/builders/prerender/works_spec.ts @@ -27,6 +27,7 @@ describe('Prerender Builder', () => { @Component({ selector: 'app-foo', + standalone: false, template: '

foo works!

', }) export class FooComponent {} diff --git a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.module.ts b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.module.ts deleted file mode 100644 index 33f5b7a71126..000000000000 --- a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/lib/lib.module.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.dev/license - */ - -import { NgModule } from '@angular/core'; -import { LibComponent } from './lib.component'; -import { LibService } from './lib.service'; - -@NgModule({ - imports: [ - ], - declarations: [LibComponent], - providers: [LibService] -}) -export class LibModule { } diff --git a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/public-api.ts b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/public-api.ts index 0df48c2f1f1d..b641e95d8900 100644 --- a/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/public-api.ts +++ b/packages/angular_devkit/build_angular/test/hello-world-lib/projects/lib/src/public-api.ts @@ -12,4 +12,3 @@ export * from './lib/lib.service'; export * from './lib/lib.component'; -export * from './lib/lib.module'; diff --git a/packages/angular_devkit/build_webpack/test/angular-app/src/app/app.component.ts b/packages/angular_devkit/build_webpack/test/angular-app/src/app/app.component.ts index 5fd7d4fed2bc..93a041e8aec7 100644 --- a/packages/angular_devkit/build_webpack/test/angular-app/src/app/app.component.ts +++ b/packages/angular_devkit/build_webpack/test/angular-app/src/app/app.component.ts @@ -10,6 +10,7 @@ import { Component } from '@angular/core'; @Component({ selector: 'app-root', + standalone: false, templateUrl: './app.component.html', styleUrls: ['./app.component.css'], }) diff --git a/packages/ngtools/webpack/package.json b/packages/ngtools/webpack/package.json index 74c7190827a9..d5f3b92ae9c7 100644 --- a/packages/ngtools/webpack/package.json +++ b/packages/ngtools/webpack/package.json @@ -27,8 +27,8 @@ }, "devDependencies": { "@angular-devkit/core": "0.0.0-PLACEHOLDER", - "@angular/compiler": "19.0.0-next.9", - "@angular/compiler-cli": "19.0.0-next.9", + "@angular/compiler": "19.0.0-next.10", + "@angular/compiler-cli": "19.0.0-next.10", "typescript": "5.6.3", "webpack": "5.95.0" } diff --git a/tests/legacy-cli/e2e/ng-snapshot/package.json b/tests/legacy-cli/e2e/ng-snapshot/package.json index 5f8fffece73f..9cd110a971df 100644 --- a/tests/legacy-cli/e2e/ng-snapshot/package.json +++ b/tests/legacy-cli/e2e/ng-snapshot/package.json @@ -2,21 +2,21 @@ "description": "snapshot versions of Angular for e2e testing", "private": true, "dependencies": { - "@angular/animations": "github:angular/animations-builds#a6515a9123c48cd4d9ee31daa69ded6b8b357872", + "@angular/animations": "github:angular/animations-builds#ef3ce5e787d5f870c0f7c21510706400fa11722e", "@angular/cdk": "github:angular/cdk-builds#376404c773bc651f313e7d5e0f42dd6fabfb55db", - "@angular/common": "github:angular/common-builds#faf058aea686cb610b9c75cd98aba047154533c4", - "@angular/compiler": "github:angular/compiler-builds#395e6976d7b1c04978ed31f3170a336722ffd09d", - "@angular/compiler-cli": "github:angular/compiler-cli-builds#0259f5b926a6ce5dd876647d4efbc8f3ffea161c", - "@angular/core": "github:angular/core-builds#74c060d5d256a166378c2f90a56ed3d17d7fee59", - "@angular/forms": "github:angular/forms-builds#12f75f8344cd94bdcefff7daee7a97c73a06c0ba", - "@angular/language-service": "github:angular/language-service-builds#8c45bf63422029cdaa203183860d4186cdd57d94", - "@angular/localize": "github:angular/localize-builds#b156942dac5030f1fa39f4230cec96de895f9b9f", + "@angular/common": "github:angular/common-builds#049304f01a5bc5e758539932769598d13c72ab4c", + "@angular/compiler": "github:angular/compiler-builds#c487461b6699cba896b46bef755c0b0d5452ba8e", + "@angular/compiler-cli": "github:angular/compiler-cli-builds#e47428be5964227c77a133e1d8f5ab791cba9d20", + "@angular/core": "github:angular/core-builds#dab315712fdf6edcf7a1e15a8b04180df014de7b", + "@angular/forms": "github:angular/forms-builds#2e42a6e88be33a5931aee21bf53d0a08a70ab04f", + "@angular/language-service": "github:angular/language-service-builds#2d1d429c1a5d043966ad12dadb06c1e6c02dce90", + "@angular/localize": "github:angular/localize-builds#ef01885e209ca3e94e450695af8f42623fb92718", "@angular/material": "github:angular/material-builds#051bc235964598b6a616a52510217c9e5fea9c46", "@angular/material-moment-adapter": "github:angular/material-moment-adapter-builds#d6c95738690917961d6c0d3ff1759ca707b696bf", - "@angular/platform-browser": "github:angular/platform-browser-builds#691e91fffa748582a74896e98b65de4d30f01116", - "@angular/platform-browser-dynamic": "github:angular/platform-browser-dynamic-builds#e7ec7c4ecfcc1be1d88090d5743e93085641acfe", - "@angular/platform-server": "github:angular/platform-server-builds#63dcbb67c5582b8ed2d347b3168acf643658d834", - "@angular/router": "github:angular/router-builds#5d188935296281cc596afc3d50c1d0d73c0dd5bd", - "@angular/service-worker": "github:angular/service-worker-builds#4baac08899ac332404262b8252de24950e89498a" + "@angular/platform-browser": "github:angular/platform-browser-builds#cd5b7869733a23f948158c8490f1a52807c14023", + "@angular/platform-browser-dynamic": "github:angular/platform-browser-dynamic-builds#5978ab37e4047188628783eba84ebca1596ce9d1", + "@angular/platform-server": "github:angular/platform-server-builds#17444a8ea00f2c0d67783056590ef77f54ffcae7", + "@angular/router": "github:angular/router-builds#17d028eade1086859bbb05e7f9c9f79db4faabff", + "@angular/service-worker": "github:angular/service-worker-builds#a585fa97bfcdbdc0bbf6d088ccdd1610eb2aa35c" } } diff --git a/tests/legacy-cli/e2e/tests/basic/standalone.ts b/tests/legacy-cli/e2e/tests/basic/standalone.ts deleted file mode 100644 index 79471b00a4ba..000000000000 --- a/tests/legacy-cli/e2e/tests/basic/standalone.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.dev/license - * - * @fileoverview - * Tests the minimal conversion of a newly generated application - * to use a single standalone component. - */ - -import { writeFile } from '../../utils/fs'; -import { ng } from '../../utils/process'; - -/** - * An application main file that uses a standalone component with - * bootstrapApplication to start the application. `ng-template` and - * `ngIf` are used to ensure that `CommonModule` and `imports` are - * working in standalone mode. - */ -const STANDALONE_MAIN_CONTENT = ` -import { Component } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { bootstrapApplication, provideProtractorTestingSupport } from '@angular/platform-browser'; - -@Component({ - selector: 'app-root', - standalone: true, - template: \` - -
-

Hello, {{name}}

-
-
- \`, - imports: [CommonModule], -}) -export class AppComponent { - name = 'test-project'; - isVisible = true; -} - -bootstrapApplication(AppComponent, { - providers: [ provideProtractorTestingSupport() ], -}); -`; - -export default async function () { - // Update to a standalone application - await writeFile('src/main.ts', STANDALONE_MAIN_CONTENT); - - // Execute a production build - await ng('build'); - - // Perform the default E2E tests - await ng('e2e', 'test-project'); -} diff --git a/tests/legacy-cli/e2e/tests/misc/trusted-types.ts b/tests/legacy-cli/e2e/tests/misc/trusted-types.ts index a820dd8b419d..3c927f15ad8d 100644 --- a/tests/legacy-cli/e2e/tests/misc/trusted-types.ts +++ b/tests/legacy-cli/e2e/tests/misc/trusted-types.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.dev/license */ -import { appendToFile, prependToFile, replaceInFile, writeFile } from '../../utils/fs'; +import { replaceInFile, writeFile } from '../../utils/fs'; import { ng } from '../../utils/process'; import { updateJsonFile } from '../../utils/project'; diff --git a/yarn.lock b/yarn.lock index 5d8ad77da8f0..daf0bc4aa3e0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -245,14 +245,14 @@ __metadata: languageName: unknown linkType: soft -"@angular/animations@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/animations@npm:19.0.0-next.9" +"@angular/animations@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/animations@npm:19.0.0-next.10" dependencies: tslib: "npm:^2.3.0" peerDependencies: - "@angular/core": 19.0.0-next.9 - checksum: 10c0/ddf350f623a49b45a6e10e6cc687441b0974106aab03606e54c2b610bcf5fc49eb27be0ab26620eb593d45629ca5a7ed091643c149c8739abfaa68b212996891 + "@angular/core": 19.0.0-next.10 + checksum: 10c0/332065e9833b6e876008aa345a55c8621b7cc3dee51734eb57b1181bf6db9325210cb4715de58dbdc0ac04dded94db556d43783f2f082f8b11e40bbe88447fd6 languageName: node linkType: hard @@ -542,21 +542,21 @@ __metadata: languageName: unknown linkType: soft -"@angular/common@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/common@npm:19.0.0-next.9" +"@angular/common@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/common@npm:19.0.0-next.10" dependencies: tslib: "npm:^2.3.0" peerDependencies: - "@angular/core": 19.0.0-next.9 + "@angular/core": 19.0.0-next.10 rxjs: ^6.5.3 || ^7.4.0 - checksum: 10c0/3f1c4e15c70b821a4b908e236897f11cb776e8c8be52f71ad408978bd2ec26d277e8d022916e28937c1465967b387fefa561ff58c51bc57f739b9629df8ed205 + checksum: 10c0/d9af4fa90ac321745131b4be3430cda36cb7976290a15cafec4b859413687b3f097a8ebe3d550b86a836506e5ffdf497cf21c9e968a9c89402f161192ef718d0 languageName: node linkType: hard -"@angular/compiler-cli@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/compiler-cli@npm:19.0.0-next.9" +"@angular/compiler-cli@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/compiler-cli@npm:19.0.0-next.10" dependencies: "@babel/core": "npm:7.25.2" "@jridgewell/sourcemap-codec": "npm:^1.4.14" @@ -567,39 +567,39 @@ __metadata: tslib: "npm:^2.3.0" yargs: "npm:^17.2.1" peerDependencies: - "@angular/compiler": 19.0.0-next.9 + "@angular/compiler": 19.0.0-next.10 typescript: ">=5.5 <5.7" bin: ng-xi18n: bundles/src/bin/ng_xi18n.js ngc: bundles/src/bin/ngc.js ngcc: bundles/ngcc/index.js - checksum: 10c0/3c0dd266e0b004f7d66d84235b77ff71b521324d572ea5f104e7e1a5aba8aa7454896104d6df2dfe765ea8899399f8a6410b420a1091f4711b5afcbbbdaffcc4 + checksum: 10c0/5518bb05917a3c76d12f7edea200701d38370301ee433bd6f41ad6d6f449c78f91a303cd229cddc44dfd5a717d17935d4eb0edb317f8d006d67a45fa1da928fe languageName: node linkType: hard -"@angular/compiler@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/compiler@npm:19.0.0-next.9" +"@angular/compiler@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/compiler@npm:19.0.0-next.10" dependencies: tslib: "npm:^2.3.0" peerDependencies: - "@angular/core": 19.0.0-next.9 + "@angular/core": 19.0.0-next.10 peerDependenciesMeta: "@angular/core": optional: true - checksum: 10c0/a59171fd1ed2d14ca781e272a2763fc176d72090f27a7c2fcdabe148900926b4b7ec1dc362d7e182fa77ff297d80b7b1110204b2056bb878d0de0ca787522576 + checksum: 10c0/d47bea126b88ca1c69128afc75c0594a956440814d1f90f6a35244df571f21d154597a9e41dcb276e799453f9c4278318a648546d1a4ab317f698d88d1b38c04 languageName: node linkType: hard -"@angular/core@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/core@npm:19.0.0-next.9" +"@angular/core@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/core@npm:19.0.0-next.10" dependencies: tslib: "npm:^2.3.0" peerDependencies: rxjs: ^6.5.3 || ^7.4.0 zone.js: ~0.15.0 - checksum: 10c0/80d0052e1b10dccc6652ef07755451158611ee7675c493c803d7f4021f41a4ab4c05e27af374064c8a74e12703f73697a19b24d650aa9eb5306f8c9d067ab304 + checksum: 10c0/2f5bd110ed0ded090f5b096207ac269bdf10de7f95880a60a35b2eaab911475ddd1226c16979aecce2dd4119f7369c2994a5341e86fc7fa8bebf54f55cd693cc languageName: node linkType: hard @@ -630,23 +630,23 @@ __metadata: resolution: "@angular/devkit-repo@workspace:." dependencies: "@ampproject/remapping": "npm:2.3.0" - "@angular/animations": "npm:19.0.0-next.9" + "@angular/animations": "npm:19.0.0-next.10" "@angular/bazel": "patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=07617f0f8540d27f8895b1820a6f994e1e5b7277#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch" "@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#2692c81ef1068e15c7b7eaf3ecc7a65cbdd25c9f" "@angular/cdk": "npm:19.0.0-next.8" - "@angular/common": "npm:19.0.0-next.9" - "@angular/compiler": "npm:19.0.0-next.9" - "@angular/compiler-cli": "npm:19.0.0-next.9" - "@angular/core": "npm:19.0.0-next.9" - "@angular/forms": "npm:19.0.0-next.9" - "@angular/localize": "npm:19.0.0-next.9" + "@angular/common": "npm:19.0.0-next.10" + "@angular/compiler": "npm:19.0.0-next.10" + "@angular/compiler-cli": "npm:19.0.0-next.10" + "@angular/core": "npm:19.0.0-next.10" + "@angular/forms": "npm:19.0.0-next.10" + "@angular/localize": "npm:19.0.0-next.10" "@angular/material": "npm:19.0.0-next.8" "@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#2659cef857ffd127dbbbcbb28bb2dc4ca8625b50" - "@angular/platform-browser": "npm:19.0.0-next.9" - "@angular/platform-browser-dynamic": "npm:19.0.0-next.9" - "@angular/platform-server": "npm:19.0.0-next.9" - "@angular/router": "npm:19.0.0-next.9" - "@angular/service-worker": "npm:19.0.0-next.9" + "@angular/platform-browser": "npm:19.0.0-next.10" + "@angular/platform-browser-dynamic": "npm:19.0.0-next.10" + "@angular/platform-server": "npm:19.0.0-next.10" + "@angular/router": "npm:19.0.0-next.10" + "@angular/service-worker": "npm:19.0.0-next.10" "@babel/core": "npm:7.25.8" "@babel/generator": "npm:7.25.7" "@babel/helper-annotate-as-pure": "npm:7.25.7" @@ -800,36 +800,36 @@ __metadata: languageName: unknown linkType: soft -"@angular/forms@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/forms@npm:19.0.0-next.9" +"@angular/forms@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/forms@npm:19.0.0-next.10" dependencies: tslib: "npm:^2.3.0" peerDependencies: - "@angular/common": 19.0.0-next.9 - "@angular/core": 19.0.0-next.9 - "@angular/platform-browser": 19.0.0-next.9 + "@angular/common": 19.0.0-next.10 + "@angular/core": 19.0.0-next.10 + "@angular/platform-browser": 19.0.0-next.10 rxjs: ^6.5.3 || ^7.4.0 - checksum: 10c0/aaa3d7332e52a32c8eade8a4db830447cfb16787f187dcf744b0fba069c787231899a92cacfb06ead53bb10bfca586e594f0df364d29aaf0e90d4f61e964efab + checksum: 10c0/8aca3d4cf90599498571cbaddea67d79f07283a610758a020330d56274222ce77b85f71dd46ba40d22854e07805acb327072564fa9bc14539c189bb5f78084d1 languageName: node linkType: hard -"@angular/localize@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/localize@npm:19.0.0-next.9" +"@angular/localize@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/localize@npm:19.0.0-next.10" dependencies: "@babel/core": "npm:7.25.2" "@types/babel__core": "npm:7.20.5" fast-glob: "npm:3.3.2" yargs: "npm:^17.2.1" peerDependencies: - "@angular/compiler": 19.0.0-next.9 - "@angular/compiler-cli": 19.0.0-next.9 + "@angular/compiler": 19.0.0-next.10 + "@angular/compiler-cli": 19.0.0-next.10 bin: localize-extract: tools/bundles/src/extract/cli.js localize-migrate: tools/bundles/src/migrate/cli.js localize-translate: tools/bundles/src/translate/cli.js - checksum: 10c0/523ba4e0f538780b4fe2f1e984dade05a72040b1e9d717271054743104bdbdac3d1edd6b8ad92ffa289ac04b0190667b2919fc88c2bd5a0bb285ff94eb30022e + checksum: 10c0/f91c6dea65cddf030b1ed5168ee2e0bd4bb9aec53a3f79d9b6e824da31765bcf9d5570097c9b4d7c87b313a4dfd19961c0ea76279ad8112b71d8286d3cc95f9b languageName: node linkType: hard @@ -870,49 +870,49 @@ __metadata: languageName: node linkType: hard -"@angular/platform-browser-dynamic@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/platform-browser-dynamic@npm:19.0.0-next.9" +"@angular/platform-browser-dynamic@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/platform-browser-dynamic@npm:19.0.0-next.10" dependencies: tslib: "npm:^2.3.0" peerDependencies: - "@angular/common": 19.0.0-next.9 - "@angular/compiler": 19.0.0-next.9 - "@angular/core": 19.0.0-next.9 - "@angular/platform-browser": 19.0.0-next.9 - checksum: 10c0/0b8c8723fc4810985ad19eb38a1adc79ffccdd9f88e0ba3d3ae24a5996b855d5fa41c1c05bcd233d0f9755435933c280ebe486b5bd8a0cd7a1145dffc4d7a9e9 + "@angular/common": 19.0.0-next.10 + "@angular/compiler": 19.0.0-next.10 + "@angular/core": 19.0.0-next.10 + "@angular/platform-browser": 19.0.0-next.10 + checksum: 10c0/ddf9e23b6ea1fb272d6a4e5884703ca5aa97306632dd86ba8346fdd54ffdb99c0b17629d88ea22aa7e67d30cf6687964bf35f3312b180b129c4e7b12410c91d2 languageName: node linkType: hard -"@angular/platform-browser@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/platform-browser@npm:19.0.0-next.9" +"@angular/platform-browser@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/platform-browser@npm:19.0.0-next.10" dependencies: tslib: "npm:^2.3.0" peerDependencies: - "@angular/animations": 19.0.0-next.9 - "@angular/common": 19.0.0-next.9 - "@angular/core": 19.0.0-next.9 + "@angular/animations": 19.0.0-next.10 + "@angular/common": 19.0.0-next.10 + "@angular/core": 19.0.0-next.10 peerDependenciesMeta: "@angular/animations": optional: true - checksum: 10c0/a02b48878bb4b2dd624232bded002ceb025c88c443327ce1d3462d99b0534d3554f767a1842abde3d19840a23ec90cc602585e18853171ea171f9b74e5473037 + checksum: 10c0/fec51e3465b51acdf91791e67a182d53ef3646d3a2535b2efdbfb7a2471dc85aba11d6d5542802fc100abb62358e3a6795253bed78a00cd335201fa55aa5d0fa languageName: node linkType: hard -"@angular/platform-server@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/platform-server@npm:19.0.0-next.9" +"@angular/platform-server@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/platform-server@npm:19.0.0-next.10" dependencies: tslib: "npm:^2.3.0" xhr2: "npm:^0.2.0" peerDependencies: - "@angular/animations": 19.0.0-next.9 - "@angular/common": 19.0.0-next.9 - "@angular/compiler": 19.0.0-next.9 - "@angular/core": 19.0.0-next.9 - "@angular/platform-browser": 19.0.0-next.9 - checksum: 10c0/ca2c901481354ba49e8f3528ed1b6e65490850bb0b6bb23609da034af1e6f8f2ceea574309b58c80c437c4b2ab2dcc47d08c0993ef4f3b88fbc1cfcabb32feb1 + "@angular/animations": 19.0.0-next.10 + "@angular/common": 19.0.0-next.10 + "@angular/compiler": 19.0.0-next.10 + "@angular/core": 19.0.0-next.10 + "@angular/platform-browser": 19.0.0-next.10 + checksum: 10c0/ca6e4973ca5160c4d4dd51acd12e92e7c848c2a3a25ef03b6fa8f209a9f6a7452483dad45b0ea2a845beb66932bdfaab2bf411d48e0bdb0e6068b7022c03920c languageName: node linkType: hard @@ -931,31 +931,31 @@ __metadata: languageName: unknown linkType: soft -"@angular/router@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/router@npm:19.0.0-next.9" +"@angular/router@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/router@npm:19.0.0-next.10" dependencies: tslib: "npm:^2.3.0" peerDependencies: - "@angular/common": 19.0.0-next.9 - "@angular/core": 19.0.0-next.9 - "@angular/platform-browser": 19.0.0-next.9 + "@angular/common": 19.0.0-next.10 + "@angular/core": 19.0.0-next.10 + "@angular/platform-browser": 19.0.0-next.10 rxjs: ^6.5.3 || ^7.4.0 - checksum: 10c0/97522b51507cb53671cc410c1db115a8f593bf3eb263692bd6052c8a0c2fe9df0e5141412ca3a6eab8c2295d75dbb803b2e631ae5a25665985897ed858a2845d + checksum: 10c0/39e163cd6148f4298517f4bd5c0bc1488e93a765041a51b0d5e81fd05fde4897e422e64f1956debf4d365e912e955314f59a853df8d85b9da31e8eb3de4c40bb languageName: node linkType: hard -"@angular/service-worker@npm:19.0.0-next.9": - version: 19.0.0-next.9 - resolution: "@angular/service-worker@npm:19.0.0-next.9" +"@angular/service-worker@npm:19.0.0-next.10": + version: 19.0.0-next.10 + resolution: "@angular/service-worker@npm:19.0.0-next.10" dependencies: tslib: "npm:^2.3.0" peerDependencies: - "@angular/common": 19.0.0-next.9 - "@angular/core": 19.0.0-next.9 + "@angular/common": 19.0.0-next.10 + "@angular/core": 19.0.0-next.10 bin: ngsw-config: ngsw-config.js - checksum: 10c0/0548cc25a68fa67e4803b1459265aa8222932ae87ba4e6b00e19e665259f2cfed27017fba268580a073d6da8084da7ff214546437cc30e0642eaed344985984e + checksum: 10c0/0db1691e0e1217548e18d4c3d76e1aad9de61aca0984d15196c205cb6beb21dcc297b7c14f1b76e07aace369cae8b5b7b43fa1e7187fbf20b05b77536ead3b69 languageName: node linkType: hard @@ -963,12 +963,12 @@ __metadata: version: 0.0.0-use.local resolution: "@angular/ssr@workspace:packages/angular/ssr" dependencies: - "@angular/common": "npm:19.0.0-next.9" - "@angular/compiler": "npm:19.0.0-next.9" - "@angular/core": "npm:19.0.0-next.9" - "@angular/platform-browser": "npm:19.0.0-next.9" - "@angular/platform-server": "npm:19.0.0-next.9" - "@angular/router": "npm:19.0.0-next.9" + "@angular/common": "npm:19.0.0-next.10" + "@angular/compiler": "npm:19.0.0-next.10" + "@angular/core": "npm:19.0.0-next.10" + "@angular/platform-browser": "npm:19.0.0-next.10" + "@angular/platform-server": "npm:19.0.0-next.10" + "@angular/router": "npm:19.0.0-next.10" "@bazel/runfiles": "npm:^5.8.1" tslib: "npm:^2.3.0" peerDependencies: @@ -3470,8 +3470,8 @@ __metadata: resolution: "@ngtools/webpack@workspace:packages/ngtools/webpack" dependencies: "@angular-devkit/core": "npm:0.0.0-PLACEHOLDER" - "@angular/compiler": "npm:19.0.0-next.9" - "@angular/compiler-cli": "npm:19.0.0-next.9" + "@angular/compiler": "npm:19.0.0-next.10" + "@angular/compiler-cli": "npm:19.0.0-next.10" typescript: "npm:5.6.3" webpack: "npm:5.95.0" peerDependencies: