Skip to content

Commit

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

fixes #2507
  • Loading branch information
Gi11i4m committed Sep 19, 2024
1 parent 4e3885f commit 0497d7a
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 0497d7a

Please sign in to comment.