Skip to content

Commit d4277c6

Browse files
authored
chore: Update to Angular v17 (#788)
1 parent e6d2c99 commit d4277c6

File tree

3 files changed

+2084
-1275
lines changed

3 files changed

+2084
-1275
lines changed

angular.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,18 @@
5959
"serve": {
6060
"builder": "@angular-devkit/build-angular:dev-server",
6161
"options": {
62-
"browserTarget": "sample-app-angular:build"
62+
"buildTarget": "sample-app-angular:build"
6363
},
6464
"configurations": {
6565
"production": {
66-
"browserTarget": "sample-app-angular:build:production"
66+
"buildTarget": "sample-app-angular:build:production"
6767
}
6868
}
6969
},
7070
"extract-i18n": {
7171
"builder": "@angular-devkit/build-angular:extract-i18n",
7272
"options": {
73-
"browserTarget": "sample-app-angular:build"
73+
"buildTarget": "sample-app-angular:build"
7474
}
7575
},
7676
"test": {
@@ -118,4 +118,4 @@
118118
"cli": {
119119
"analytics": false
120120
}
121-
}
121+
}

package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,28 @@
66
"checkPeerDependencies": {
77
"ignore": [
88
"ajv",
9-
"postcss"
9+
"postcss",
10+
"terser"
1011
]
1112
},
1213
"scripts": {
1314
"ng": "ng",
14-
"start": "ng serve --configuration production --source-map",
15-
"build": "ng build --configuration production --source-map",
15+
"start": "ng serve --configuration production",
16+
"build": "ng build --configuration production",
1617
"test": "npm run build && cypress-runner run",
1718
"test:open": "npm run build && cypress-runner open",
1819
"e2e": "npm run test",
1920
"gh-pages": "ng build --base-href=/sample-app-angular/ && shx rm -rf pages && shx mkdir pages && cd pages && git init && git remote add pages [email protected]:ui-router/sample-app-angular.git && git fetch pages && git checkout gh-pages && git rm -rf * && shx mv ../dist/* . && git add . && git commit -m 'Update gh-pages' . && git push && cd .. && shx rm -rf pages"
2021
},
2122
"private": true,
2223
"dependencies": {
23-
"@angular/common": "^16.0.0",
24-
"@angular/compiler": "^16.0.0",
25-
"@angular/core": "^16.0.0",
26-
"@angular/forms": "^16.0.0",
27-
"@angular/platform-browser": "^16.0.0",
28-
"@angular/platform-browser-dynamic": "^16.0.0",
29-
"@uirouter/angular": "^11.0.0",
24+
"@angular/common": "^17.0.9",
25+
"@angular/compiler": "^17.0.9",
26+
"@angular/core": "^17.0.9",
27+
"@angular/forms": "^17.0.9",
28+
"@angular/platform-browser": "^17.0.9",
29+
"@angular/platform-browser-dynamic": "^17.0.9",
30+
"@uirouter/angular": "^12.0.0",
3031
"@uirouter/core": "6.0.8",
3132
"@uirouter/rx": "1.0.0",
3233
"@uirouter/visualizer": "^7.2.1",
@@ -35,19 +36,18 @@
3536
"rxjs-compat": "^6.6.7",
3637
"ts-helpers": "^1.1.2",
3738
"tslib": "^2.3.1",
38-
"zone.js": "~0.11.4"
39+
"zone.js": "~0.14.3"
3940
},
4041
"devDependencies": {
41-
"@angular-devkit/build-angular": "^16.0.0",
42-
"@angular/animations": "^16.0.0",
43-
"@angular/cli": "^16.0.0",
44-
"@angular/compiler-cli": "^16.0.0",
42+
"@angular-devkit/build-angular": "^17.0.0",
43+
"@angular/animations": "^17.0.9",
44+
"@angular/cli": "^17.0.10",
45+
"@angular/compiler-cli": "^17.0.9",
4546
"@types/jasmine": "~3.10.2",
4647
"@uirouter/cypress-runner": "^3.0.0",
47-
"fibers": "5.0.0",
4848
"html-webpack-plugin": "5.5.0",
4949
"shx": "^0.3.3",
5050
"tslint": "6.1.3",
51-
"typescript": "~4.9.5"
51+
"typescript": "~5.2.2"
5252
}
5353
}

0 commit comments

Comments
 (0)