Skip to content

Commit 67ec10d

Browse files
authored
💍 chore: upgrade deps & naiveui 2.41 (#21)
1 parent a246d39 commit 67ec10d

File tree

6 files changed

+958
-853
lines changed

6 files changed

+958
-853
lines changed

.eslintrc-auto-import.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@
319319
"MaybeRefOrGetter": true,
320320
"BusinessState": true,
321321
"usePreferredReducedTransparency": true,
322-
"useSSRWidth": true
322+
"useSSRWidth": true,
323+
"onElementRemoval": true
323324
}
324325
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# chatgpt-vue3-light-mvp
22

3-
💭 一个可二次开发 Chat Bot 对话 Web 端原型模板, 基于 Vue3、Vite 5、TypeScript、Naive UI 、UnoCSS 等主流技术构建, 🧤简单集成大模型 API, 采用单轮 AI 问答对话模式, 每次提问独立响应, 无需上下文, 支持打字机效果流式输出, 集成 markdown-it, highlight.js 语法高亮预览, 💼 易于定制和快速搭建 Chat 类大语言模型产品
3+
💭 一个可二次开发 Chat Bot 对话 Web 端原型模板, 基于 Vue3、Vite 6、TypeScript、Naive UI 、UnoCSS 等主流技术构建, 🧤简单集成大模型 API, 采用单轮 AI 问答对话模式, 每次提问独立响应, 无需上下文, 支持打字机效果流式输出, 集成 markdown-it, highlight.js 语法高亮预览, 💼 易于定制和快速搭建 Chat 类大语言模型产品
44

55

66
__[🌈 Live Demo 在线体验](https://pdsuwwz.github.io/chatgpt-vue3-light-mvp)__
77

88

99
## 🎉 特性
1010

11-
* 🛠️ **核心技术栈**__Vite 5 + Vue 3 + TypeScript + ESLint (v9)__
11+
* 🛠️ **核心技术栈**__Vite 6 + Vue 3 + TypeScript + ESLint (v9)__
1212
* 🎨 **UI 框架**__Naive UI 2.x__
1313
* 🪄 **解放双手**:内置 **Unplugin Auto Import**,支持组件按需自动导入,提升开发效率
1414
* 🌟 **图标支持**:内置 **UnoCSS + Iconify**,实现原子化样式内联和图标按需自动导入

auto-imports.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ declare global {
5959
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
6060
const onClickOutside: typeof import('@vueuse/core')['onClickOutside']
6161
const onDeactivated: typeof import('vue')['onDeactivated']
62+
const onElementRemoval: typeof import('@vueuse/core')['onElementRemoval']
6263
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
6364
const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke']
6465
const onLongPress: typeof import('@vueuse/core')['onLongPress']
@@ -377,6 +378,7 @@ declare module 'vue' {
377378
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
378379
readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>
379380
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
381+
readonly onElementRemoval: UnwrapRef<typeof import('@vueuse/core')['onElementRemoval']>
380382
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
381383
readonly onKeyStroke: UnwrapRef<typeof import('@vueuse/core')['onKeyStroke']>
382384
readonly onLongPress: UnwrapRef<typeof import('@vueuse/core')['onLongPress']>

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -27,71 +27,71 @@
2727
"url": "https://github.com/pdsuwwz/chatgpt-vue3-light-mvp/issues"
2828
},
2929
"dependencies": {
30-
"@vueuse/core": "^12.2.0",
30+
"@vueuse/core": "^12.4.0",
3131
"axios": "1.7.9",
3232
"dompurify": "^3.2.3",
3333
"js-cookie": "^3.0.5",
3434
"lodash-es": "^4.17.21",
35-
"marked": "^15.0.4",
36-
"naive-ui": "^2.40.4",
35+
"marked": "^15.0.6",
36+
"naive-ui": "^2.41.0",
3737
"nprogress": "^0.2.0",
3838
"pinia": "^2.3.0",
39-
"uuid": "^11.0.3",
39+
"uuid": "^11.0.5",
4040
"vfile": "^6.0.3",
4141
"vue": "^3.5.13",
4242
"vue-router": "^4.5.0"
4343
},
4444
"devDependencies": {
4545
"@babel/core": "^7.26.0",
4646
"@babel/preset-env": "^7.26.0",
47-
"@eslint/js": "^9.17.0",
48-
"@iconify/json": "^2.2.290",
49-
"@iconify/vue": "^4.2.0",
50-
"@stylistic/eslint-plugin": "^2.12.1",
47+
"@eslint/js": "^9.18.0",
48+
"@iconify/json": "^2.2.294",
49+
"@iconify/vue": "^4.3.0",
50+
"@stylistic/eslint-plugin": "^2.13.0",
5151
"@stylistic/stylelint-plugin": "^3.1.1",
5252
"@types/js-cookie": "^3.0.6",
5353
"@types/lodash-es": "^4.17.12",
5454
"@types/markdown-it": "^14.1.2",
55-
"@types/node": "^22.10.2",
55+
"@types/node": "^22.10.6",
5656
"@types/nprogress": "^0.2.3",
57-
"@typescript-eslint/eslint-plugin": "^8.19.0",
58-
"@typescript-eslint/parser": "^8.19.0",
59-
"@unocss/preset-icons": "^0.65.3",
60-
"@unocss/preset-rem-to-px": "^0.65.3",
57+
"@typescript-eslint/eslint-plugin": "^8.20.0",
58+
"@typescript-eslint/parser": "^8.20.0",
59+
"@unocss/preset-icons": "^65.4.0",
60+
"@unocss/preset-rem-to-px": "^65.4.0",
6161
"@vitejs/plugin-vue": "^5.2.1",
6262
"@vitejs/plugin-vue-jsx": "^4.1.1",
6363
"@vue/babel-plugin-jsx": "^1.2.5",
6464
"@vue/compiler-sfc": "^3.5.13",
6565
"cross-env": "^7.0.3",
66-
"eslint": "^9.17.0",
66+
"eslint": "^9.18.0",
6767
"eslint-define-config": "^2.1.0",
6868
"eslint-plugin-html": "8.1.2",
6969
"eslint-plugin-import": "^2.31.0",
7070
"eslint-plugin-vue": "^9.32.0",
7171
"globals": "^15.14.0",
7272
"highlight.js": "^11.11.1",
7373
"identity-obj-proxy": "^3.0.0",
74-
"katex": "^0.16.19",
74+
"katex": "^0.16.20",
7575
"markdown-it": "^14.1.0",
7676
"markdown-it-highlightjs": "^4.2.0",
77-
"postcss": "^8.4.49",
77+
"postcss": "^8.5.0",
7878
"postcss-html": "^1.7.0",
7979
"postcss-scss": "^4.0.9",
8080
"prismjs": "^1.29.0",
81-
"rollup": "^4.29.1",
82-
"sass": "1.83.0",
83-
"stylelint": "^16.12.0",
81+
"rollup": "^4.30.1",
82+
"sass": "1.83.3",
83+
"stylelint": "^16.13.1",
8484
"stylelint-config-recommended-scss": "14.1.0",
8585
"stylelint-config-recommended-vue": "^1.5.0",
86-
"stylelint-config-standard": "^36.0.1",
86+
"stylelint-config-standard": "^37.0.0",
8787
"stylelint-config-standard-scss": "14.0.0",
88-
"typescript": "^5.7.2",
88+
"typescript": "^5.7.3",
8989
"ua-parser-js": "^2.0.0",
90-
"unocss": "^0.65.3",
91-
"unplugin-auto-import": "^0.19.0",
92-
"unplugin-icons": "^0.22.0",
93-
"unplugin-vue-components": "^0.28.0",
94-
"vite": "^6.0.6",
90+
"unocss": "^65.4.0",
91+
"unplugin-auto-import": "^19.0.0",
92+
"unplugin-icons": "^22.0.0",
93+
"unplugin-vue-components": "^28.0.0",
94+
"vite": "^6.0.7",
9595
"vite-raw-plugin": "^1.0.2",
9696
"vue-eslint-parser": "^9.4.3"
9797
}

0 commit comments

Comments
 (0)