Skip to content

Commit

Permalink
chore: bump dependencies (#8)
Browse files Browse the repository at this point in the history
1. 更新所有依赖的 patch 版本。
2. 更新 `@halo-dev/components` 至 1.5.0 以优化最终产物大小。

/kind improvement

```release-note
None
```
  • Loading branch information
ruibaby committed Jun 1, 2023
1 parent f0c4748 commit 6e67d4d
Show file tree
Hide file tree
Showing 8 changed files with 1,594 additions and 1,665 deletions.
29 changes: 15 additions & 14 deletions package.json
Expand Up @@ -20,28 +20,29 @@
"keywords": [],
"license": "GPL-3.0",
"dependencies": {
"pinia": "^2.0.31",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
"pinia": "^2.1.3",
"vue": "^3.3.4",
"vue-router": "^4.2.2"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.2.0",
"@rushstack/eslint-patch": "^1.3.0",
"@types/jsdom": "^20.0.1",
"@types/node": "^18.14.0",
"@types/node": "^18.16.16",
"@vitejs/plugin-vue": "^2.3.4",
"@vue/compiler-sfc": "^3.2.47",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/test-utils": "^2.3.0",
"@vue/compiler-sfc": "^3.3.4",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/test-utils": "^2.3.2",
"@vue/tsconfig": "^0.1.3",
"eslint": "^8.34.0",
"eslint-plugin-vue": "^9.9.0",
"eslint": "^8.41.0",
"eslint-plugin-vue": "^9.14.1",
"jsdom": "^19.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.3.0",
"typescript": "~4.7.4",
"vite": "^2.9.15",
"vite": "^4.3.9",
"vitest": "^0.28.5",
"vue-tsc": "^1.1.5"
"vue-tsc": "^1.6.5"
}
}
14 changes: 7 additions & 7 deletions packages/search-widget/package.json
Expand Up @@ -21,17 +21,17 @@
"release": "release-it"
},
"dependencies": {
"@halo-dev/components": "1.0.0",
"@vueuse/core": "^9.4.0",
"axios": "^1.1.3",
"@halo-dev/components": "^1.5.0",
"@vueuse/core": "^9.13.0",
"axios": "^1.4.0",
"lodash.debounce": "^4.0.8"
},
"devDependencies": {
"@types/lodash.debounce": "^4.0.7",
"autoprefixer": "^10.4.12",
"postcss": "^8.4.18",
"release-it": "^15.5.0",
"tailwindcss": "^3.2.1"
"autoprefixer": "^10.4.14",
"postcss": "^8.4.24",
"release-it": "^15.10.3",
"tailwindcss": "^3.3.2"
},
"exports": {
".": {
Expand Down
3 changes: 2 additions & 1 deletion packages/search-widget/src/components/SearchWidget.vue
Expand Up @@ -127,6 +127,7 @@ const onVisibleChange = (visible: boolean) => {
:body-class="['!p-0']"
:width="650"
:centered="false"
layer-closable
@update:visible="onVisibleChange"
>
<div id="search-input" class="border-b border-gray-100 px-4 py-2.5">
Expand Down Expand Up @@ -161,7 +162,7 @@ const onVisibleChange = (visible: boolean) => {
@click="handleOpenLink(item)"
>
<div
class="rounded-md px-2 py-2.5 bg-gray-50 hover:bg-gray-100 flex flex-col gap-1"
class="flex flex-col gap-1 rounded-md bg-gray-50 px-2 py-2.5 hover:bg-gray-100"
:class="{
'!bg-gray-100': selectedIndex === itemIndex,
}"
Expand Down
2 changes: 1 addition & 1 deletion packages/widget/vite.config.ts
Expand Up @@ -24,7 +24,7 @@ export default defineConfig({
name: "SearchWidget",
fileName: (format) => `search-widget.${format}.js`,
},
sourcemap: true,
sourcemap: false,
},
optimizeDeps: {
include: ["vue"],
Expand Down

0 comments on commit 6e67d4d

Please sign in to comment.