Skip to content

Commit ea51dfd

Browse files
authored
❇️ chore: vite v7.1 & deps (#66)
1 parent bb3a08e commit ea51dfd

File tree

6 files changed

+1308
-1230
lines changed

6 files changed

+1308
-1230
lines changed

.eslintrc-auto-import.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"RouteLocationRaw": true,
2121
"RouteRecordRaw": true,
2222
"SetupContext": true,
23+
"ShallowRef": true,
2324
"Slot": true,
2425
"Slots": true,
2526
"VNode": true,
@@ -57,6 +58,7 @@
5758
"extendRef": true,
5859
"getCurrentInstance": true,
5960
"getCurrentScope": true,
61+
"getCurrentWatcher": true,
6062
"h": true,
6163
"ignorableWatch": true,
6264
"inject": true,
@@ -66,6 +68,7 @@
6668
"isReactive": true,
6769
"isReadonly": true,
6870
"isRef": true,
71+
"isShallow": true,
6972
"makeDestructurable": true,
7073
"markRaw": true,
7174
"nextTick": true,
@@ -285,6 +288,7 @@
285288
"useThrottleFn": true,
286289
"useThrottledRefHistory": true,
287290
"useTimeAgo": true,
291+
"useTimeAgoIntl": true,
288292
"useTimeout": true,
289293
"useTimeoutFn": true,
290294
"useTimeoutPoll": true,

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 22.x
17+
node-version: 22.12.x
1818

1919
- uses: pnpm/[email protected]
2020
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ __[🌈 Live Demo 在线体验](https://pdsuwwz.github.io/chatgpt-vue3-light-mvp
5454
## 前置条件
5555

5656
* Vue 3.x
57-
* Node >= 22.x
57+
* Node >= 22.12.x
5858
* Pnpm 9.x
5959
* **VS Code 插件 `dbaeumer.vscode-eslint` >= v3.0.5 (pre-release)**
6060

auto-imports.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ declare global {
4040
const extendRef: typeof import('@vueuse/core')['extendRef']
4141
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
4242
const getCurrentScope: typeof import('vue')['getCurrentScope']
43+
const getCurrentWatcher: typeof import('vue')['getCurrentWatcher']
4344
const h: typeof import('vue')['h']
4445
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
4546
const inject: typeof import('vue')['inject']
@@ -49,6 +50,7 @@ declare global {
4950
const isReactive: typeof import('vue')['isReactive']
5051
const isReadonly: typeof import('vue')['isReadonly']
5152
const isRef: typeof import('vue')['isRef']
53+
const isShallow: typeof import('vue')['isShallow']
5254
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
5355
const markRaw: typeof import('vue')['markRaw']
5456
const nextTick: typeof import('vue')['nextTick']
@@ -268,6 +270,7 @@ declare global {
268270
const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn']
269271
const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory']
270272
const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo']
273+
const useTimeAgoIntl: typeof import('@vueuse/core')['useTimeAgoIntl']
271274
const useTimeout: typeof import('@vueuse/core')['useTimeout']
272275
const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn']
273276
const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll']
@@ -312,7 +315,7 @@ declare global {
312315
// for type re-export
313316
declare global {
314317
// @ts-ignore
315-
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef, App, ComponentInternalInstance, GlobalComponents, SetupContext } from 'vue'
318+
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef, App, ComponentInternalInstance, GlobalComponents, SetupContext } from 'vue'
316319
import('vue')
317320
// @ts-ignore
318321
export type { RouteRecordRaw, RouteLocationRaw } from 'vue-router'
@@ -361,6 +364,7 @@ declare module 'vue' {
361364
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
362365
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
363366
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
367+
readonly getCurrentWatcher: UnwrapRef<typeof import('vue')['getCurrentWatcher']>
364368
readonly h: UnwrapRef<typeof import('vue')['h']>
365369
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
366370
readonly inject: UnwrapRef<typeof import('vue')['inject']>
@@ -370,6 +374,7 @@ declare module 'vue' {
370374
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
371375
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
372376
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
377+
readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>
373378
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
374379
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
375380
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
@@ -589,6 +594,7 @@ declare module 'vue' {
589594
readonly useThrottleFn: UnwrapRef<typeof import('@vueuse/core')['useThrottleFn']>
590595
readonly useThrottledRefHistory: UnwrapRef<typeof import('@vueuse/core')['useThrottledRefHistory']>
591596
readonly useTimeAgo: UnwrapRef<typeof import('@vueuse/core')['useTimeAgo']>
597+
readonly useTimeAgoIntl: UnwrapRef<typeof import('@vueuse/core')['useTimeAgoIntl']>
592598
readonly useTimeout: UnwrapRef<typeof import('@vueuse/core')['useTimeout']>
593599
readonly useTimeoutFn: UnwrapRef<typeof import('@vueuse/core')['useTimeoutFn']>
594600
readonly useTimeoutPoll: UnwrapRef<typeof import('@vueuse/core')['useTimeoutPoll']>

package.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"stylelint:fix": "stylelint --fix .scss, .vue ./src"
1616
},
1717
"engines": {
18-
"node": ">= 22.x",
18+
"node": ">= 22.12.x",
1919
"pnpm": ">= 9.x"
2020
},
2121
"homepage": "https://github.com/pdsuwwz/chatgpt-vue3-light-mvp",
@@ -28,48 +28,48 @@
2828
},
2929
"dependencies": {
3030
"@nzoth/toolkit": "^0.0.4",
31-
"@vueuse/core": "^13.5.0",
31+
"@vueuse/core": "^13.7.0",
3232
"axios": "1.11.0",
3333
"dompurify": "^3.2.6",
3434
"js-cookie": "^3.0.5",
3535
"lodash-es": "^4.17.21",
36-
"marked": "^16.1.1",
36+
"marked": "^16.2.0",
3737
"naive-ui": "^2.42.0",
3838
"nprogress": "^0.2.0",
3939
"pinia": "^3.0.3",
4040
"uuid": "^11.1.0",
4141
"vfile": "^6.0.3",
42-
"vue": "^3.5.18",
42+
"vue": "^3.5.19",
4343
"vue-router": "^4.5.1"
4444
},
4545
"devDependencies": {
46-
"@babel/core": "^7.28.0",
47-
"@babel/preset-env": "^7.28.0",
48-
"@eslint/js": "^9.32.0",
49-
"@iconify/json": "^2.2.363",
46+
"@babel/core": "^7.28.3",
47+
"@babel/preset-env": "^7.28.3",
48+
"@eslint/js": "^9.34.0",
49+
"@iconify/json": "^2.2.378",
5050
"@iconify/vue": "^5.0.0",
51-
"@stylistic/eslint-plugin": "^5.2.2",
51+
"@stylistic/eslint-plugin": "^5.2.3",
5252
"@stylistic/stylelint-plugin": "^4.0.0",
5353
"@types/js-cookie": "^3.0.6",
5454
"@types/lodash-es": "^4.17.12",
5555
"@types/markdown-it": "^14.1.2",
56-
"@types/node": "^24.1.0",
56+
"@types/node": "^24.3.0",
5757
"@types/nprogress": "^0.2.3",
58-
"@typescript-eslint/eslint-plugin": "^8.38.0",
59-
"@typescript-eslint/parser": "^8.38.0",
60-
"@unocss/preset-icons": "66.3.3",
61-
"@unocss/preset-rem-to-px": "66.3.3",
58+
"@typescript-eslint/eslint-plugin": "^8.40.0",
59+
"@typescript-eslint/parser": "^8.40.0",
60+
"@unocss/preset-icons": "66.4.2",
61+
"@unocss/preset-rem-to-px": "66.4.2",
6262
"@vitejs/plugin-vue": "^6.0.1",
6363
"@vitejs/plugin-vue-jsx": "^5.0.1",
6464
"@vscode/markdown-it-katex": "~1.1.2",
65-
"@vue/babel-plugin-jsx": "^1.4.0",
66-
"@vue/compiler-sfc": "^3.5.18",
65+
"@vue/babel-plugin-jsx": "^1.5.0",
66+
"@vue/compiler-sfc": "^3.5.19",
6767
"cross-env": "^10.0.0",
6868
"crypto-js": "^4.2.0",
69-
"eslint": "^9.32.0",
69+
"eslint": "^9.34.0",
7070
"eslint-plugin-html": "8.1.3",
7171
"eslint-plugin-import": "^2.32.0",
72-
"eslint-plugin-vue": "^10.3.0",
72+
"eslint-plugin-vue": "^10.4.0",
7373
"globals": "^16.3.0",
7474
"highlight.js": "^11.11.1",
7575
"identity-obj-proxy": "^3.0.0",
@@ -80,20 +80,20 @@
8080
"postcss-html": "^1.8.0",
8181
"postcss-scss": "^4.0.9",
8282
"prismjs": "^1.30.0",
83-
"rollup": "^4.46.1",
84-
"sass": "1.89.2",
85-
"stylelint": "^16.22.0",
86-
"stylelint-config-recommended-scss": "15.0.1",
83+
"rollup": "^4.48.0",
84+
"sass": "1.90.0",
85+
"stylelint": "^16.23.1",
86+
"stylelint-config-recommended-scss": "16.0.0",
8787
"stylelint-config-recommended-vue": "^1.6.1",
88-
"stylelint-config-standard": "^38.0.0",
88+
"stylelint-config-standard": "^39.0.0",
8989
"stylelint-config-standard-scss": "15.0.1",
90-
"typescript": "^5.8.3",
90+
"typescript": "^5.9.2",
9191
"ua-parser-js": "^2.0.4",
92-
"unocss": "66.3.3",
93-
"unplugin-auto-import": "^19.3.0",
94-
"unplugin-icons": "^22.1.0",
95-
"unplugin-vue-components": "^28.8.0",
96-
"vite": "^7.0.6",
92+
"unocss": "66.4.2",
93+
"unplugin-auto-import": "^20.0.0",
94+
"unplugin-icons": "^22.2.0",
95+
"unplugin-vue-components": "^29.0.0",
96+
"vite": "^7.1.3",
9797
"vite-raw-plugin": "^1.0.2",
9898
"vue-eslint-parser": "^10.2.0"
9999
}

0 commit comments

Comments
 (0)