Skip to content

Commit 47f755e

Browse files
feat: support Angular 10 and Angular 11 (Drop support for 9 and below) (#489)
1 parent 8a5520b commit 47f755e

File tree

4 files changed

+917
-574
lines changed

4 files changed

+917
-574
lines changed

downstream_projects.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"example": "./example",
3-
"sample-app-angular-hybrid": "https://github.com/ui-router/sample-app-angular-hybrid.git"
3+
"sample-app-angular-hybrid": "https://github.com/ui-router/sample-app-angular-hybrid.git@update-to-angular-11"
44
}

example/package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,21 @@
99
"test:ui": "npm run build && cypress-runner open --path ."
1010
},
1111
"dependencies": {
12-
"@angular/animations": "10.0.4",
13-
"@angular/common": "^10.0.4",
14-
"@angular/compiler": "^10.0.4",
15-
"@angular/core": "^10.0.4",
16-
"@angular/platform-browser": "^10.0.4",
17-
"@angular/platform-browser-dynamic": "^10.0.4",
18-
"@angular/router": "^10.0.4",
19-
"@angular/upgrade": "^10.0.4",
12+
"@angular/animations": "^11.0.0",
13+
"@angular/common": "^11.0.0",
14+
"@angular/compiler": "^11.0.0",
15+
"@angular/core": "^11.0.0",
16+
"@angular/platform-browser": "^11.0.0",
17+
"@angular/platform-browser-dynamic": "^11.0.0",
18+
"@angular/upgrade": "^11.0.0",
2019
"@types/angular": "^1.6.39",
2120
"@types/jquery": "^3.2.16",
22-
"@uirouter/angular": "7.0.0",
21+
"@uirouter/angular": "^8.0.0",
2322
"@uirouter/angular-hybrid": "latest",
2423
"angular": "1.8.0",
2524
"rxjs": "^6.5.3",
2625
"tslib": "1.13.0",
27-
"typescript": "~3.8.3",
26+
"typescript": "~4.0.0",
2827
"zone.js": "^0.10.3"
2928
},
3029
"devDependencies": {

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,37 +13,37 @@
1313
},
1414
"license": "MIT",
1515
"peerDependencies": {
16-
"@angular/core": "^9.0.0 || ^10.0.0",
17-
"@angular/upgrade": "^9.0.0 || ^10.0.0",
18-
"@uirouter/angular": "^7.0.0",
16+
"@angular/core": "^10.0.0 || ^11.0.0",
17+
"@angular/upgrade": "^10.0.0 || ^11.0.0",
18+
"@uirouter/angular": "^8.0.0",
1919
"@uirouter/angularjs": "^1.0.26",
2020
"angular": "^1.5.0"
2121
},
2222
"devDependencies": {
23-
"@angular/animations": "9.1.12",
24-
"@angular/common": "^9.0.0",
25-
"@angular/compiler": "^9.0.0",
26-
"@angular/compiler-cli": "^9.0.0",
27-
"@angular/core": "^9.0.0",
28-
"@angular/platform-browser": "^9.0.0",
29-
"@angular/platform-browser-dynamic": "^9.0.0",
30-
"@angular/upgrade": "^9.0.0",
23+
"@angular/animations": "^10.0.0",
24+
"@angular/common": "^10.0.0",
25+
"@angular/compiler": "^10.0.0",
26+
"@angular/compiler-cli": "^10.0.0",
27+
"@angular/core": "^10.0.0",
28+
"@angular/platform-browser": "^10.0.0",
29+
"@angular/platform-browser-dynamic": "^10.0.0",
30+
"@angular/upgrade": "^10.0.0",
3131
"@types/angular": "^1.7.0",
3232
"@types/jquery": "^3.5.5",
33-
"@uirouter/angular": "^7.0.0",
34-
"@uirouter/angularjs": "^1.0.27",
35-
"@uirouter/core": "^6.0.6",
33+
"@uirouter/angular": "^8.0.0",
34+
"@uirouter/angularjs": "^1.0.29",
35+
"@uirouter/core": "6.0.7",
3636
"@uirouter/publish-scripts": "^2.5.4",
3737
"@uirouter/rx": "^0.6.5",
3838
"angular": "^1.8.1",
3939
"husky": "^4.3.6",
40-
"ng-packagr": "^9.0.0",
40+
"ng-packagr": "^10.0.0",
4141
"prettier": "^2.2.1",
4242
"pretty-quick": "^2.0.1",
4343
"rxjs": "^6.5.5",
4444
"rxjs-compat": "^6.5.5",
4545
"shx": "^0.3.3",
46-
"typescript": "~3.8.3",
46+
"typescript": "~4.0.0",
4747
"zone.js": "^0.10.3"
4848
},
4949
"distDir": "dist",

0 commit comments

Comments
 (0)