Skip to content

Commit

Permalink
fix: add peerDependenciesMeta marking peer deps optional (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored Jan 22, 2024
1 parent 3135a37 commit 1796587
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 76 deletions.
26 changes: 19 additions & 7 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,24 @@
"vue": "^3",
"vue-router": "^4"
},
"optionalDependencies": {
"@sveltejs/kit": "^1",
"next": ">= 13",
"react": "^18 || ^19",
"svelte": "^4",
"vue": "^3",
"vue-router": "^4"
"peerDependenciesMeta": {
"@sveltejs/kit": {
"optional": true
},
"next": {
"optional": true
},
"react": {
"optional": true
},
"svelte": {
"optional": true
},
"vue": {
"optional": true
},
"vue-router": {
"optional": true
}
}
}
Loading

0 comments on commit 1796587

Please sign in to comment.