Skip to content

Commit

Permalink
fix(vd-board): add vue, pinia, and @vue-dapp/core as peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson86tw committed Nov 4, 2023
1 parent bad36e7 commit ffd1848
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
15 changes: 9 additions & 6 deletions packages/vd-board/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue-dapp/vd-board",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"type": "module",
"files": [
"dist"
Expand All @@ -22,17 +22,20 @@
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@vue-dapp/core": "workspace:^",
"pinia": "^2.1.7",
"vue": "^3.3.6"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"@vue-dapp/core": "workspace:^",
"pinia": "^2.1.7",
"typescript": "^5.1.3",
"vite": "^4.5.0",
"vite-plugin-dts": "^3.6.2",
"vite-plugin-style-inject": "^0.0.1",
"vue": "^3.3.6",
"vue-tsc": "^0.29.8"
},
"peerDependencies": {
"@vue-dapp/core": "workspace:^",
"pinia": "^2.1.7",
"vue": "^3.3.6"
}
}
2 changes: 1 addition & 1 deletion packages/vd-board/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default defineConfig({
output: {
dir: 'dist',
globals: {
vue: 'Vue',
vue: 'vue',
pinia: 'pinia',
'@vue-dapp/core': 'core',
},
Expand Down
16 changes: 7 additions & 9 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 ffd1848

Please sign in to comment.