Skip to content

Commit

Permalink
chore: add angular core as optional peer to styles package (#3168)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfellerph authored Jun 24, 2024
1 parent 4897e0f commit 5236aad
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 35 deletions.
5 changes: 5 additions & 0 deletions .changeset/bright-forks-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Added @angular/core as an optional peer dependency to the styles package to indicate the Angular versions that are compatible with the current version of the styles.
4 changes: 4 additions & 0 deletions packages/styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,16 @@
},
"peerDependencies": {
"@ng-bootstrap/ng-bootstrap": "^15.0.0 || ^16.0.0",
"@angular/core": "^16.0.0 || ^17.0.0",
"bootstrap": "~5.3.0"
},
"peerDependenciesMeta": {
"@ng-bootstrap/ng-bootstrap": {
"optional": true
},
"@angular/core": {
"optional": true
},
"bootstrap": {
"optional": true
}
Expand Down
53 changes: 18 additions & 35 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5236aad

Please sign in to comment.