Skip to content

Commit

Permalink
fix(components-angular): add components package as peer dependency in…
Browse files Browse the repository at this point in the history
… components-angular package (#3116)
  • Loading branch information
oliverschuerch authored May 29, 2024
1 parent ed45421 commit b523bde
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-lemons-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components-angular': patch
---

Added `@swisspost/design-system-components` package as a peer dependency as recommended by stenciljs. This way, installing `@swisspost/design-system-components` package as a direct dependency should not be necessary anymore in consumer projects.
6 changes: 2 additions & 4 deletions packages/components-angular/projects/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@
"dependencies": {
"tslib": "2.6.2"
},
"devDependencies": {
"@swisspost/design-system-components": "workspace:7.1.0"
},
"peerDependencies": {
"@angular/common": "^16.0.0 || ^17.0.0",
"@angular/core": "^16.0.0 || ^17.0.0"
"@angular/core": "^16.0.0 || ^17.0.0",
"@swisspost/design-system-components": "workspace:7.1.0"
},
"sideEffects": false
}
11 changes: 5 additions & 6 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 b523bde

Please sign in to comment.