Skip to content

Commit

Permalink
chore: use pnpm catalog for shared deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 11, 2024
1 parent 92ed1a0 commit 0735e18
Show file tree
Hide file tree
Showing 14 changed files with 225 additions and 130 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
"tsx": "^4.15.5",
"typescript": "^5.4.5",
"unbuild": "2.0.0",
"vite": "^5.3.5",
"vite": "catalog:",
"vitest": "^1.6.0",
"vue": "^3.4.29"
"vue": "catalog:"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false"
Expand All @@ -88,7 +88,7 @@
"eslint --cache --fix"
]
},
"packageManager": "pnpm@9.3.0",
"packageManager": "pnpm@9.7.0",
"pnpm": {
"overrides": {
"@vitejs/plugin-vue": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vue-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@vue/babel-plugin-jsx": "^1.2.2"
},
"devDependencies": {
"vite": "^5.3.5"
"vite": "catalog:"
},
"peerDependencies": {
"vite": "^5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"rollup": "^4.19.2",
"slash": "^5.1.0",
"source-map-js": "^1.2.0",
"vite": "^5.3.5",
"vue": "^3.4.29"
"vite": "catalog:",
"vue": "catalog:"
}
}
4 changes: 2 additions & 2 deletions playground/ssr-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"@vitejs/test-example-external-component": "file:example-external-component",
"pinia": "^2.1.7",
"vue": "^3.4.29",
"vue-router": "^4.3.3"
"vue": "catalog:",
"vue-router": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-vue": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions playground/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"dependencies": {
"autoprefixer": "^10.4.19",
"tailwindcss": "^3.4.4",
"vue": "^3.4.29",
"vue-router": "^4.3.3"
"vue": "catalog:",
"vue-router": "catalog:"
},
"devDependencies": {
"@types/node": "^20.14.2",
Expand Down
2 changes: 1 addition & 1 deletion playground/vue-asset-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-vue": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion playground/vue-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-vue": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion playground/vue-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-vue": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion playground/vue-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build-consumer": "vite build --config ./vite.config.consumer.ts"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-vue": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion playground/vue-server-origin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-vue": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion playground/vue-sourcemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"sass": "^1.77.5"
},
"dependencies": {
"vue": "^3.4.29"
"vue": "catalog:"
}
}
2 changes: 1 addition & 1 deletion playground/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"lodash-es": "^4.17.21",
"vue": "^3.4.29"
"vue": "catalog:"
},
"devDependencies": {
"@vitejs/plugin-vue": "workspace:*",
Expand Down
Loading

0 comments on commit 0735e18

Please sign in to comment.