Skip to content

Commit

Permalink
build: add RC releases to framework peer deps
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dgp1130 authored and alan-agius4 committed Jan 25, 2022
1 parent ae0931a commit fc839e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/angular_devkit/build_angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
"esbuild": "0.14.13"
},
"peerDependencies": {
"@angular/compiler-cli": "^13.0.0 || ^13.2.0-next",
"@angular/localize": "^13.0.0 || ^13.2.0-next",
"@angular/service-worker": "^13.0.0 || ^13.2.0-next",
"@angular/compiler-cli": "^13.0.0 || ^13.2.0-next || ^13.2.0-rc",
"@angular/localize": "^13.0.0 || ^13.2.0-next || ^13.2.0-rc",
"@angular/service-worker": "^13.0.0 || ^13.2.0-next || ^13.2.0-rc",
"karma": "^6.3.0",
"ng-packagr": "^13.0.0 || ^13.2.0-next",
"ng-packagr": "^13.0.0 || ^13.2.0-next || ^13.2.0-rc",
"protractor": "^7.0.0",
"tailwindcss": "^2.0.0 || ^3.0.0",
"typescript": ">=4.4.3 <4.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/ngtools/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"homepage": "https://github.com/angular/angular-cli/tree/master/packages/@ngtools/webpack",
"dependencies": {},
"peerDependencies": {
"@angular/compiler-cli": "^13.0.0 || ^13.2.0-next",
"@angular/compiler-cli": "^13.0.0 || ^13.2.0-next || ^13.2.0-rc",
"typescript": ">=4.4.3 <4.6",
"webpack": "^5.30.0"
},
Expand Down

0 comments on commit fc839e1

Please sign in to comment.