Skip to content

Commit 618fdea

Browse files
committed
build: update Angular versions to 19.0.0-next.0
1 parent 3344d57 commit 618fdea

32 files changed

+1175
-196
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,23 @@
5252
},
5353
"devDependencies": {
5454
"@ampproject/remapping": "2.3.0",
55-
"@angular/animations": "18.2.0-rc.0",
55+
"@angular/animations": "19.0.0-next.0",
5656
"@angular/bazel": "patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=71bd2e043e076365effdb6076f33b2d8d6bd6d02#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch",
5757
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#77f89d89f65ef2d3f2b33991eff98839c2f9d704",
5858
"@angular/cdk": "18.1.3",
59-
"@angular/common": "18.2.0-rc.0",
60-
"@angular/compiler": "18.2.0-rc.0",
61-
"@angular/compiler-cli": "18.2.0-rc.0",
62-
"@angular/core": "18.2.0-rc.0",
63-
"@angular/forms": "18.2.0-rc.0",
64-
"@angular/localize": "18.2.0-rc.0",
59+
"@angular/common": "19.0.0-next.0",
60+
"@angular/compiler": "19.0.0-next.0",
61+
"@angular/compiler-cli": "19.0.0-next.0",
62+
"@angular/core": "19.0.0-next.0",
63+
"@angular/forms": "19.0.0-next.0",
64+
"@angular/localize": "19.0.0-next.0",
6565
"@angular/material": "18.1.3",
6666
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#871fbcb75819dba4dfc6c8971c7aec1c57a8de0c",
67-
"@angular/platform-browser": "18.2.0-rc.0",
68-
"@angular/platform-browser-dynamic": "18.2.0-rc.0",
69-
"@angular/platform-server": "18.2.0-rc.0",
70-
"@angular/router": "18.2.0-rc.0",
71-
"@angular/service-worker": "18.2.0-rc.0",
67+
"@angular/platform-browser": "19.0.0-next.0",
68+
"@angular/platform-browser-dynamic": "19.0.0-next.0",
69+
"@angular/platform-server": "19.0.0-next.0",
70+
"@angular/router": "19.0.0-next.0",
71+
"@angular/service-worker": "19.0.0-next.0",
7272
"@babel/core": "7.25.2",
7373
"@babel/generator": "7.25.0",
7474
"@babel/helper-annotate-as-pure": "7.24.7",
@@ -164,7 +164,7 @@
164164
"magic-string": "0.30.11",
165165
"mini-css-extract-plugin": "2.9.0",
166166
"mrmime": "2.0.0",
167-
"ng-packagr": "18.2.0-next.0",
167+
"ng-packagr": "19.0.0-next.0",
168168
"npm": "^10.8.1",
169169
"npm-package-arg": "11.0.3",
170170
"npm-pick-manifest": "9.1.0",

packages/angular/build/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
"watchpack": "2.4.2"
4646
},
4747
"peerDependencies": {
48-
"@angular/compiler-cli": "^18.0.0 || ^18.2.0-next.0",
49-
"@angular/localize": "^18.0.0 || ^18.2.0-next.0",
50-
"@angular/platform-server": "^18.0.0 || ^18.2.0-next.0",
51-
"@angular/service-worker": "^18.0.0 || ^18.2.0-next.0",
48+
"@angular/compiler-cli": "^19.0.0-next.0",
49+
"@angular/localize": "^19.0.0-next.0",
50+
"@angular/platform-server": "^19.0.0-next.0",
51+
"@angular/service-worker": "^19.0.0-next.0",
5252
"@angular/ssr": "^0.0.0-PLACEHOLDER",
5353
"less": "^4.2.0",
5454
"postcss": "^8.4.0",

packages/angular/pwa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"parse5-html-rewriting-stream": "7.0.0"
1818
},
1919
"peerDependencies": {
20-
"@angular/cli": "^18.0.0 || ^18.2.0-next.0"
20+
"@angular/cli": "^19.0.0-next.0"
2121
},
2222
"peerDependenciesMeta": {
2323
"@angular/cli": {

packages/angular/ssr/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
"tslib": "^2.3.0"
1818
},
1919
"peerDependencies": {
20-
"@angular/common": "^18.0.0 || ^18.2.0-next.0",
21-
"@angular/core": "^18.0.0 || ^18.2.0-next.0",
22-
"@angular/router": "^18.0.0 || ^18.2.0-next.0"
20+
"@angular/common": "^19.0.0-next.0",
21+
"@angular/core": "^19.0.0-next.0",
22+
"@angular/router": "^19.0.0-next.0"
2323
},
2424
"devDependencies": {
25-
"@angular/common": "18.2.0-rc.0",
26-
"@angular/compiler": "18.2.0-rc.0",
27-
"@angular/core": "18.2.0-rc.0",
28-
"@angular/platform-browser": "18.2.0-rc.0",
29-
"@angular/platform-server": "18.2.0-rc.0",
30-
"@angular/router": "18.2.0-rc.0",
25+
"@angular/common": "19.0.0-next.0",
26+
"@angular/compiler": "19.0.0-next.0",
27+
"@angular/core": "19.0.0-next.0",
28+
"@angular/platform-browser": "19.0.0-next.0",
29+
"@angular/platform-server": "19.0.0-next.0",
30+
"@angular/router": "19.0.0-next.0",
3131
"zone.js": "^0.14.0"
3232
},
3333
"schematics": "./schematics/collection.json",

packages/angular_devkit/build_angular/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,17 @@
7676
"undici": "6.19.7"
7777
},
7878
"peerDependencies": {
79-
"@angular/compiler-cli": "^18.0.0 || ^18.2.0-next.0",
80-
"@angular/localize": "^18.0.0 || ^18.2.0-next.0",
81-
"@angular/platform-server": "^18.0.0 || ^18.2.0-next.0",
82-
"@angular/service-worker": "^18.0.0 || ^18.2.0-next.0",
79+
"@angular/compiler-cli": "^19.0.0-next.0",
80+
"@angular/localize": "^19.0.0-next.0",
81+
"@angular/platform-server": "^19.0.0-next.0",
82+
"@angular/service-worker": "^19.0.0-next.0",
8383
"@angular/ssr": "^0.0.0-PLACEHOLDER",
8484
"@web/test-runner": "^0.18.0",
8585
"browser-sync": "^3.0.2",
8686
"jest": "^29.5.0",
8787
"jest-environment-jsdom": "^29.5.0",
8888
"karma": "^6.3.0",
89-
"ng-packagr": "^18.0.0 || ^18.2.0-next.0",
89+
"ng-packagr": "^19.0.0-next.0",
9090
"protractor": "^7.0.0",
9191
"tailwindcss": "^2.0.0 || ^3.0.0",
9292
"typescript": ">=5.4 <5.6"

packages/ngtools/webpack/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
},
2222
"homepage": "https://github.com/angular/angular-cli/tree/main/packages/ngtools/webpack",
2323
"peerDependencies": {
24-
"@angular/compiler-cli": "^18.0.0 || ^18.2.0-next.0",
24+
"@angular/compiler-cli": "^19.0.0-next.0",
2525
"typescript": ">=5.4 <5.6",
2626
"webpack": "^5.54.0"
2727
},
2828
"devDependencies": {
2929
"@angular-devkit/core": "0.0.0-PLACEHOLDER",
30-
"@angular/compiler": "18.2.0-rc.0",
31-
"@angular/compiler-cli": "18.2.0-rc.0",
30+
"@angular/compiler": "19.0.0-next.0",
31+
"@angular/compiler-cli": "19.0.0-next.0",
3232
"typescript": "5.5.4",
3333
"webpack": "5.93.0"
3434
}

packages/schematics/angular/utility/latest-versions/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"comment": "This file is needed so that dependencies are synced by Renovate.",
44
"private": true,
55
"dependencies": {
6-
"@angular/core": "^18.2.0-next.0",
6+
"@angular/core": "^19.0.0-next.0",
77
"@types/express": "^4.17.17",
88
"@types/jasmine": "~5.1.0",
99
"@types/node": "^18.18.0",
@@ -17,7 +17,7 @@
1717
"karma-jasmine": "~5.1.0",
1818
"karma": "~6.4.0",
1919
"less": "^4.2.0",
20-
"ng-packagr": "^18.2.0-next.0",
20+
"ng-packagr": "^19.0.0-next.0",
2121
"postcss": "^8.4.38",
2222
"protractor": "~7.0.0",
2323
"rxjs": "~7.8.0",
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# Compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/bazel-out
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
14+
# IDEs and editors
15+
.idea/
16+
.project
17+
.classpath
18+
.c9/
19+
*.launch
20+
.settings/
21+
*.sublime-workspace
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/cache
33+
.sass-cache/
34+
/connect.lock
35+
/coverage
36+
/libpeerconnection.log
37+
testem.log
38+
/typings
39+
40+
# System files
41+
.DS_Store
42+
Thumbs.db
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# 17SsrProjectWebpack
2+
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.10.
4+
5+
## Development server
6+
7+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
8+
9+
## Code scaffolding
10+
11+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12+
13+
## Build
14+
15+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
16+
17+
## Running unit tests
18+
19+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20+
21+
## Running end-to-end tests
22+
23+
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
24+
25+
## Further help
26+
27+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview](https://angular.dev/tools/cli) and [Command Reference](https://angular.dev/cli) pages.
Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"18-ssr-project-webpack": {
7+
"projectType": "application",
8+
"schematics": {},
9+
"root": "",
10+
"sourceRoot": "src",
11+
"prefix": "app",
12+
"architect": {
13+
"build": {
14+
"builder": "@angular-devkit/build-angular:browser",
15+
"options": {
16+
"outputPath": "dist/18-ssr-project-webpack/browser",
17+
"index": "src/index.html",
18+
"main": "src/main.ts",
19+
"polyfills": [
20+
"zone.js"
21+
],
22+
"tsConfig": "tsconfig.app.json",
23+
"assets": [
24+
"src/favicon.ico",
25+
"src/assets"
26+
],
27+
"styles": [
28+
"src/styles.css"
29+
],
30+
"scripts": []
31+
},
32+
"configurations": {
33+
"production": {
34+
"budgets": [
35+
{
36+
"type": "initial",
37+
"maximumWarning": "500kb",
38+
"maximumError": "1mb"
39+
},
40+
{
41+
"type": "anyComponentStyle",
42+
"maximumWarning": "2kb",
43+
"maximumError": "4kb"
44+
}
45+
],
46+
"outputHashing": "all"
47+
},
48+
"development": {
49+
"buildOptimizer": false,
50+
"optimization": false,
51+
"vendorChunk": true,
52+
"extractLicenses": false,
53+
"sourceMap": true,
54+
"namedChunks": true
55+
}
56+
},
57+
"defaultConfiguration": "production"
58+
},
59+
"serve": {
60+
"builder": "@angular-devkit/build-angular:dev-server",
61+
"configurations": {
62+
"production": {
63+
"buildTarget": "18-ssr-project-webpack:build:production"
64+
},
65+
"development": {
66+
"buildTarget": "18-ssr-project-webpack:build:development"
67+
}
68+
},
69+
"defaultConfiguration": "development"
70+
},
71+
"extract-i18n": {
72+
"builder": "@angular-devkit/build-angular:extract-i18n",
73+
"options": {
74+
"buildTarget": "18-ssr-project-webpack:build"
75+
}
76+
},
77+
"test": {
78+
"builder": "@angular-devkit/build-angular:karma",
79+
"options": {
80+
"polyfills": [
81+
"zone.js",
82+
"zone.js/testing"
83+
],
84+
"tsConfig": "tsconfig.spec.json",
85+
"assets": [
86+
"src/favicon.ico",
87+
"src/assets"
88+
],
89+
"styles": [
90+
"src/styles.css"
91+
],
92+
"scripts": []
93+
}
94+
},
95+
"server": {
96+
"builder": "@angular-devkit/build-angular:server",
97+
"options": {
98+
"outputPath": "dist/18-ssr-project-webpack/server",
99+
"main": "server.ts",
100+
"tsConfig": "tsconfig.server.json"
101+
},
102+
"configurations": {
103+
"production": {
104+
"outputHashing": "media"
105+
},
106+
"development": {
107+
"buildOptimizer": false,
108+
"optimization": false,
109+
"sourceMap": true,
110+
"extractLicenses": false,
111+
"vendorChunk": true
112+
}
113+
},
114+
"defaultConfiguration": "production"
115+
},
116+
"serve-ssr": {
117+
"builder": "@angular-devkit/build-angular:ssr-dev-server",
118+
"configurations": {
119+
"development": {
120+
"browserTarget": "18-ssr-project-webpack:build:development",
121+
"serverTarget": "18-ssr-project-webpack:server:development"
122+
},
123+
"production": {
124+
"browserTarget": "18-ssr-project-webpack:build:production",
125+
"serverTarget": "18-ssr-project-webpack:server:production"
126+
}
127+
},
128+
"defaultConfiguration": "development"
129+
},
130+
"prerender": {
131+
"builder": "@angular-devkit/build-angular:prerender",
132+
"options": {
133+
"routes": [
134+
"/"
135+
]
136+
},
137+
"configurations": {
138+
"production": {
139+
"browserTarget": "18-ssr-project-webpack:build:production",
140+
"serverTarget": "18-ssr-project-webpack:server:production"
141+
},
142+
"development": {
143+
"browserTarget": "18-ssr-project-webpack:build:development",
144+
"serverTarget": "18-ssr-project-webpack:server:development"
145+
}
146+
},
147+
"defaultConfiguration": "production"
148+
}
149+
}
150+
}
151+
}
152+
}

0 commit comments

Comments
 (0)