Skip to content

Commit

Permalink
chore[fix]: peer dependency resolution error for angular projects ver…
Browse files Browse the repository at this point in the history
…sion >=17 (#3330)

## Description

supports version `>=16.2.0` from now

_Screenshot_
If relevant, add a screenshot or two of the changes you made.

---------

Co-authored-by: Sami Jaber <me@sami.website>
  • Loading branch information
sidmohanty11 and samijaber committed Jun 13, 2024
1 parent bcea498 commit de5d272
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-bugs-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@builder.io/sdk-angular": patch
---

Fix: expand Angular peer dependency from `^16.2.0` to `>=16.2.0`
4 changes: 2 additions & 2 deletions packages/sdks/output/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"tslib": "^2.3.0"
},
"peerDependencies": {
"@angular/common": "^16.2.0",
"@angular/core": "^16.2.0"
"@angular/common": ">=16.2.0",
"@angular/core": ">=16.2.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.2.12",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3711,8 +3711,8 @@ __metadata:
typescript: ~5.1.3
zone.js: ~0.13.0
peerDependencies:
"@angular/common": ^16.2.0
"@angular/core": ^16.2.0
"@angular/common": ">=16.2.0"
"@angular/core": ">=16.2.0"
languageName: unknown
linkType: soft

Expand Down

0 comments on commit de5d272

Please sign in to comment.