Skip to content

Commit fc839e1

Browse files
dgp1130alan-agius4
authored andcommitted
build: add RC releases to framework peer deps
This will allow `13.2.0-rc` CLI packages like `@angular-devkit/build-angular` to depend on RC versions of FW packages like `@angular/compiler-cli`. As it stands, `next` releases are allowed, but `rc` aren't, which makes prerelease testing more difficult than it needs to be.
1 parent ae0931a commit fc839e1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/angular_devkit/build_angular/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@
7575
"esbuild": "0.14.13"
7676
},
7777
"peerDependencies": {
78-
"@angular/compiler-cli": "^13.0.0 || ^13.2.0-next",
79-
"@angular/localize": "^13.0.0 || ^13.2.0-next",
80-
"@angular/service-worker": "^13.0.0 || ^13.2.0-next",
78+
"@angular/compiler-cli": "^13.0.0 || ^13.2.0-next || ^13.2.0-rc",
79+
"@angular/localize": "^13.0.0 || ^13.2.0-next || ^13.2.0-rc",
80+
"@angular/service-worker": "^13.0.0 || ^13.2.0-next || ^13.2.0-rc",
8181
"karma": "^6.3.0",
82-
"ng-packagr": "^13.0.0 || ^13.2.0-next",
82+
"ng-packagr": "^13.0.0 || ^13.2.0-next || ^13.2.0-rc",
8383
"protractor": "^7.0.0",
8484
"tailwindcss": "^2.0.0 || ^3.0.0",
8585
"typescript": ">=4.4.3 <4.6"

packages/ngtools/webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"homepage": "https://github.com/angular/angular-cli/tree/master/packages/@ngtools/webpack",
2323
"dependencies": {},
2424
"peerDependencies": {
25-
"@angular/compiler-cli": "^13.0.0 || ^13.2.0-next",
25+
"@angular/compiler-cli": "^13.0.0 || ^13.2.0-next || ^13.2.0-rc",
2626
"typescript": ">=4.4.3 <4.6",
2727
"webpack": "^5.30.0"
2828
},

0 commit comments

Comments
 (0)