Skip to content

Commit

Permalink
fix: re-add peer dependencies but with wider range (vuejs#2507)
Browse files Browse the repository at this point in the history
- no peer dependencies causes @vue/test-utils to import stuff from the wrong Vue version in monorepos with multiple Vue versions
- too specific peer dependencies causes dependant projects not to be updated or find a valid Vue version so the range has been widened

closes 2507
  • Loading branch information
Gi11i4m committed Sep 19, 2024
1 parent 4e3885f commit 6162002
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@
"vue-tsc": "2.1.6",
"vuex": "4.1.0"
},
"peerDependencies": {
"@vue/server-renderer": "3.x",
"vue": "3.x"
},
"peerDependenciesMeta": {
"@vue/server-renderer": {
"optional": true
}
},
"author": {
"name": "Lachlan Miller",
"email": "[email protected]"
Expand Down

0 comments on commit 6162002

Please sign in to comment.