Skip to content

Commit

Permalink
fix(console): dedupe vue version to avoid dev runtime errors
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed May 13, 2022
1 parent 7b0b4e0 commit 5cbfbf5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"@koishijs/utils": "^5.4.3",
"cosmotype": "^1.0.9",
"cosmotype": "^1.0.10",
"fastest-levenshtein": "^1.0.12",
"ns-require": "^1.1.2"
}
Expand Down
4 changes: 2 additions & 2 deletions plugins/database/mysql/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-database-mysql",
"description": "MySQL support for Koishi",
"version": "4.3.2",
"version": "4.3.3",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down Expand Up @@ -33,6 +33,6 @@
"koishi": "^4.6.3"
},
"dependencies": {
"@cosmotype/driver-mysql": "^1.0.5"
"@cosmotype/driver-mysql": "^1.0.6"
}
}
2 changes: 1 addition & 1 deletion plugins/frontend/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"marked": "^4.0.15",
"sass": "^1.51.0",
"schemastery": "^3.3.3",
"vite": "^2.9.7",
"vite": "^2.9.8",
"vue": "^3.2.33",
"vue-router": "^4.0.14"
}
Expand Down
1 change: 1 addition & 0 deletions plugins/frontend/console/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class HttpService extends DataService<string[]> {
},
plugins: [vue()],
resolve: {
dedupe: ['vue'],
alias: {
'../client.js': '@koishijs/client',
'../vue.js': 'vue',
Expand Down

0 comments on commit 5cbfbf5

Please sign in to comment.