diff --git a/examples/angular/basic/angular.json b/examples/angular/basic/angular.json index 1256bd97842..1fa5e384628 100644 --- a/examples/angular/basic/angular.json +++ b/examples/angular/basic/angular.json @@ -45,7 +45,7 @@ "prefix": "app", "architect": { "build": { - "builder": "@angular-devkit/build-angular:application", + "builder": "@angular/build:application", "options": { "outputPath": "dist/basic", "index": "src/index.html", @@ -81,7 +81,7 @@ "defaultConfiguration": "production" }, "serve": { - "builder": "@angular-devkit/build-angular:dev-server", + "builder": "@angular/build:dev-server", "configurations": { "production": { "buildTarget": "basic:build:production" @@ -93,7 +93,7 @@ "defaultConfiguration": "development" }, "extract-i18n": { - "builder": "@angular-devkit/build-angular:extract-i18n", + "builder": "@angular/build:extract-i18n", "options": { "buildTarget": "basic:build" } diff --git a/examples/angular/basic/package.json b/examples/angular/basic/package.json index d022433ad1e..fe1d0b8694e 100644 --- a/examples/angular/basic/package.json +++ b/examples/angular/basic/package.json @@ -9,20 +9,20 @@ }, "private": true, "dependencies": { - "@angular/common": "^17.3.12", - "@angular/compiler": "^17.3.12", - "@angular/core": "^17.3.12", - "@angular/platform-browser": "^17.3.12", - "@angular/platform-browser-dynamic": "^17.3.12", + "@angular/common": "^19.0.0", + "@angular/compiler": "^19.0.0", + "@angular/core": "^19.0.0", + "@angular/platform-browser": "^19.0.0", + "@angular/platform-browser-dynamic": "^19.0.0", "@tanstack/angular-query-experimental": "^5.61.3", "rxjs": "^7.8.1", "tslib": "^2.6.3", - "zone.js": "^0.14.8" + "zone.js": "^0.15.0" }, "devDependencies": { - "@angular-devkit/build-angular": "^17.3.8", - "@angular/cli": "^17.3.8", - "@angular/compiler-cli": "^17.3.12", - "typescript": "5.4.5" + "@angular/build": "^19.0.1", + "@angular/cli": "^19.0.1", + "@angular/compiler-cli": "^19.0.0", + "typescript": "5.6.3" } } diff --git a/examples/angular/basic/src/app/app.component.ts b/examples/angular/basic/src/app/app.component.ts index deb2fe24b20..b7b2185e6b7 100644 --- a/examples/angular/basic/src/app/app.component.ts +++ b/examples/angular/basic/src/app/app.component.ts @@ -3,11 +3,10 @@ import { PostComponent } from './components/post.component' import { PostsComponent } from './components/posts.component' @Component({ - changeDetection: ChangeDetectionStrategy.OnPush, - selector: 'basic-example', - standalone: true, - templateUrl: './app.component.html', - imports: [PostComponent, PostsComponent], + changeDetection: ChangeDetectionStrategy.OnPush, + selector: 'basic-example', + templateUrl: './app.component.html', + imports: [PostComponent, PostsComponent] }) export class BasicExampleComponent { postId = signal(-1) diff --git a/examples/angular/devtools-panel/angular.json b/examples/angular/devtools-panel/angular.json index c0add710b87..16c89203435 100644 --- a/examples/angular/devtools-panel/angular.json +++ b/examples/angular/devtools-panel/angular.json @@ -45,7 +45,7 @@ "prefix": "app", "architect": { "build": { - "builder": "@angular-devkit/build-angular:application", + "builder": "@angular/build:application", "options": { "outputPath": "dist/devtools-panel", "index": "src/index.html", @@ -79,7 +79,7 @@ "defaultConfiguration": "production" }, "serve": { - "builder": "@angular-devkit/build-angular:dev-server", + "builder": "@angular/build:dev-server", "configurations": { "production": { "buildTarget": "devtools-panel:build:production" @@ -91,7 +91,7 @@ "defaultConfiguration": "development" }, "extract-i18n": { - "builder": "@angular-devkit/build-angular:extract-i18n", + "builder": "@angular/build:extract-i18n", "options": { "buildTarget": "devtools-panel:build" } diff --git a/examples/angular/devtools-panel/package.json b/examples/angular/devtools-panel/package.json index 0ee95c8be64..d7892714b6f 100644 --- a/examples/angular/devtools-panel/package.json +++ b/examples/angular/devtools-panel/package.json @@ -9,22 +9,22 @@ }, "private": true, "dependencies": { - "@angular/common": "^17.3.12", - "@angular/compiler": "^17.3.12", - "@angular/core": "^17.3.12", - "@angular/platform-browser": "^17.3.12", - "@angular/platform-browser-dynamic": "^17.3.12", - "@angular/router": "^17.3.12", + "@angular/common": "^19.0.0", + "@angular/compiler": "^19.0.0", + "@angular/core": "^19.0.0", + "@angular/platform-browser": "^19.0.0", + "@angular/platform-browser-dynamic": "^19.0.0", + "@angular/router": "^19.0.0", "@tanstack/angular-query-devtools-experimental": "^5.61.3", "@tanstack/angular-query-experimental": "^5.61.3", "rxjs": "^7.8.1", "tslib": "^2.6.3", - "zone.js": "^0.14.8" + "zone.js": "^0.15.0" }, "devDependencies": { - "@angular-devkit/build-angular": "^17.3.8", - "@angular/cli": "^17.3.8", - "@angular/compiler-cli": "^17.3.12", - "typescript": "5.4.5" + "@angular/build": "^19.0.1", + "@angular/cli": "^19.0.1", + "@angular/compiler-cli": "^19.0.0", + "typescript": "5.6.3" } } diff --git a/examples/angular/devtools-panel/src/app/app.component.ts b/examples/angular/devtools-panel/src/app/app.component.ts index 803805f8603..823bfc3c378 100644 --- a/examples/angular/devtools-panel/src/app/app.component.ts +++ b/examples/angular/devtools-panel/src/app/app.component.ts @@ -3,10 +3,9 @@ import { RouterLink, RouterOutlet } from '@angular/router' import { ExampleQueryComponent } from './components/example-query.component' @Component({ - changeDetection: ChangeDetectionStrategy.OnPush, - selector: 'app-root', - standalone: true, - template: ` + changeDetection: ChangeDetectionStrategy.OnPush, + selector: 'app-root', + template: `