Skip to content

Commit

Permalink
fix: avoid npm bug when resolving optional deps
Browse files Browse the repository at this point in the history
this makes the package require vue 2.7 but has no code changes
  • Loading branch information
posva committed Nov 22, 2024
1 parent 31fbff1 commit ec56622
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 1 addition & 5 deletions packages/pinia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,12 @@
"vue-demi": "^0.14.10"
},
"peerDependencies": {
"@vue/composition-api": "^1.4.0",
"typescript": ">=4.4.4",
"vue": "^2.6.14 || ^3.5.11"
"vue": "^2.7.0 || ^3.5.11"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
},
"@vue/composition-api": {
"optional": true
}
},
"repository": {
Expand Down
6 changes: 2 additions & 4 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 ec56622

Please sign in to comment.