Skip to content

Commit

Permalink
fix: more precise peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 12, 2024
1 parent b714ee1 commit b3c77f0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/vike-vue-pinia/integration/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type _ from 'vike-vue/config' // Needed for declaration merging of Config
const config = {
name: 'vike-vue-pinia',
require: {
'vike-vue': '>=0.7.0',
'vike-vue': '^0.7.0 || ^0.8.0',
},
passToClient: ['_piniaInitialState'],
onCreateApp: 'import:vike-vue-pinia/__internal/integration/onCreateApp:onCreateApp',
Expand Down
6 changes: 3 additions & 3 deletions packages/vike-vue-pinia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
}
},
"peerDependencies": {
"pinia": ">=2.0.0",
"vike-vue": ">=0.7.0",
"vue": ">=3.0.0"
"pinia": "^2.0.0",
"vike-vue": "^0.7.0 || ^0.8.0",
"vue": "^3.0.0"
},
"devDependencies": {
"@brillout/release-me": "^0.3.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/vike-vue-query/integration/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type _ from 'vike-vue/config' // Needed for declaration merging of Config
const config = {
name: 'vike-vue-query',
require: {
'vike-vue': '>=0.7.0',
'vike-vue': '^0.7.0 || ^0.8.0',
},
passToClient: ['_vueQueryInitialState'],
onCreateApp: 'import:vike-vue-query/__internal/integration/onCreateApp:onCreateApp',
Expand Down
6 changes: 3 additions & 3 deletions packages/vike-vue-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
}
},
"peerDependencies": {
"@tanstack/vue-query": ">=5.0.0",
"vike-vue": ">=0.7.0",
"vue": ">=3.0.0"
"@tanstack/vue-query": "^5.0.0",
"vike-vue": "^0.7.0 || ^0.8.0 ",
"vue": "^3.0.0"
},
"devDependencies": {
"@brillout/release-me": "^0.3.8",
Expand Down
4 changes: 2 additions & 2 deletions packages/vike-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
},
"dependencies": {},
"peerDependencies": {
"vike": ">=0.4.191",
"vue": ">=3.0.0"
"vike": "^0.4.191",
"vue": "^3.0.0"
},
"scripts": {
"dev": "vite build --watch",
Expand Down
2 changes: 1 addition & 1 deletion packages/vike-vue/src/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ssrEffect } from './integration/ssrEffect.js'
const config = {
name: 'vike-vue',
require: {
vike: '>=0.4.191',
vike: '^0.4.191',
},

// https://vike.dev/onRenderHtml
Expand Down

0 comments on commit b3c77f0

Please sign in to comment.