Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .eslintrc-auto-import.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"RouteLocationRaw": true,
"RouteRecordRaw": true,
"SetupContext": true,
"ShallowRef": true,
"Slot": true,
"Slots": true,
"VNode": true,
Expand Down Expand Up @@ -57,6 +58,7 @@
"extendRef": true,
"getCurrentInstance": true,
"getCurrentScope": true,
"getCurrentWatcher": true,
"h": true,
"ignorableWatch": true,
"inject": true,
Expand All @@ -66,6 +68,7 @@
"isReactive": true,
"isReadonly": true,
"isRef": true,
"isShallow": true,
"makeDestructurable": true,
"markRaw": true,
"nextTick": true,
Expand Down Expand Up @@ -285,6 +288,7 @@
"useThrottleFn": true,
"useThrottledRefHistory": true,
"useTimeAgo": true,
"useTimeAgoIntl": true,
"useTimeout": true,
"useTimeoutFn": true,
"useTimeoutPoll": true,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: 22.12.x

- uses: pnpm/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ __[🌈 Live Demo 在线体验](https://pdsuwwz.github.io/chatgpt-vue3-light-mvp
## 前置条件

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

Expand Down
8 changes: 7 additions & 1 deletion auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ declare global {
const extendRef: typeof import('@vueuse/core')['extendRef']
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
const getCurrentScope: typeof import('vue')['getCurrentScope']
const getCurrentWatcher: typeof import('vue')['getCurrentWatcher']
const h: typeof import('vue')['h']
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
const inject: typeof import('vue')['inject']
Expand All @@ -49,6 +50,7 @@ declare global {
const isReactive: typeof import('vue')['isReactive']
const isReadonly: typeof import('vue')['isReadonly']
const isRef: typeof import('vue')['isRef']
const isShallow: typeof import('vue')['isShallow']
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
const markRaw: typeof import('vue')['markRaw']
const nextTick: typeof import('vue')['nextTick']
Expand Down Expand Up @@ -268,6 +270,7 @@ declare global {
const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn']
const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory']
const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo']
const useTimeAgoIntl: typeof import('@vueuse/core')['useTimeAgoIntl']
const useTimeout: typeof import('@vueuse/core')['useTimeout']
const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn']
const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll']
Expand Down Expand Up @@ -312,7 +315,7 @@ declare global {
// for type re-export
declare global {
// @ts-ignore
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef, App, ComponentInternalInstance, GlobalComponents, SetupContext } from 'vue'
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'
import('vue')
// @ts-ignore
export type { RouteRecordRaw, RouteLocationRaw } from 'vue-router'
Expand Down Expand Up @@ -361,6 +364,7 @@ declare module 'vue' {
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
readonly getCurrentWatcher: UnwrapRef<typeof import('vue')['getCurrentWatcher']>
readonly h: UnwrapRef<typeof import('vue')['h']>
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
readonly inject: UnwrapRef<typeof import('vue')['inject']>
Expand All @@ -370,6 +374,7 @@ declare module 'vue' {
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
Expand Down Expand Up @@ -589,6 +594,7 @@ declare module 'vue' {
readonly useThrottleFn: UnwrapRef<typeof import('@vueuse/core')['useThrottleFn']>
readonly useThrottledRefHistory: UnwrapRef<typeof import('@vueuse/core')['useThrottledRefHistory']>
readonly useTimeAgo: UnwrapRef<typeof import('@vueuse/core')['useTimeAgo']>
readonly useTimeAgoIntl: UnwrapRef<typeof import('@vueuse/core')['useTimeAgoIntl']>
readonly useTimeout: UnwrapRef<typeof import('@vueuse/core')['useTimeout']>
readonly useTimeoutFn: UnwrapRef<typeof import('@vueuse/core')['useTimeoutFn']>
readonly useTimeoutPoll: UnwrapRef<typeof import('@vueuse/core')['useTimeoutPoll']>
Expand Down
58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"stylelint:fix": "stylelint --fix .scss, .vue ./src"
},
"engines": {
"node": ">= 22.x",
"node": ">= 22.12.x",
"pnpm": ">= 9.x"
},
"homepage": "https://github.com/pdsuwwz/chatgpt-vue3-light-mvp",
Expand All @@ -28,48 +28,48 @@
},
"dependencies": {
"@nzoth/toolkit": "^0.0.4",
"@vueuse/core": "^13.5.0",
"@vueuse/core": "^13.7.0",
"axios": "1.11.0",
"dompurify": "^3.2.6",
"js-cookie": "^3.0.5",
"lodash-es": "^4.17.21",
"marked": "^16.1.1",
"marked": "^16.2.0",
"naive-ui": "^2.42.0",
"nprogress": "^0.2.0",
"pinia": "^3.0.3",
"uuid": "^11.1.0",
"vfile": "^6.0.3",
"vue": "^3.5.18",
"vue": "^3.5.19",
"vue-router": "^4.5.1"
},
"devDependencies": {
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@eslint/js": "^9.32.0",
"@iconify/json": "^2.2.363",
"@babel/core": "^7.28.3",
"@babel/preset-env": "^7.28.3",
"@eslint/js": "^9.34.0",
"@iconify/json": "^2.2.378",
"@iconify/vue": "^5.0.0",
"@stylistic/eslint-plugin": "^5.2.2",
"@stylistic/eslint-plugin": "^5.2.3",
"@stylistic/stylelint-plugin": "^4.0.0",
"@types/js-cookie": "^3.0.6",
"@types/lodash-es": "^4.17.12",
"@types/markdown-it": "^14.1.2",
"@types/node": "^24.1.0",
"@types/node": "^24.3.0",
"@types/nprogress": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"@unocss/preset-icons": "66.3.3",
"@unocss/preset-rem-to-px": "66.3.3",
"@typescript-eslint/eslint-plugin": "^8.40.0",
"@typescript-eslint/parser": "^8.40.0",
"@unocss/preset-icons": "66.4.2",
"@unocss/preset-rem-to-px": "66.4.2",
"@vitejs/plugin-vue": "^6.0.1",
"@vitejs/plugin-vue-jsx": "^5.0.1",
"@vscode/markdown-it-katex": "~1.1.2",
"@vue/babel-plugin-jsx": "^1.4.0",
"@vue/compiler-sfc": "^3.5.18",
"@vue/babel-plugin-jsx": "^1.5.0",
"@vue/compiler-sfc": "^3.5.19",
"cross-env": "^10.0.0",
"crypto-js": "^4.2.0",
"eslint": "^9.32.0",
"eslint": "^9.34.0",
"eslint-plugin-html": "8.1.3",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-vue": "^10.3.0",
"eslint-plugin-vue": "^10.4.0",
"globals": "^16.3.0",
"highlight.js": "^11.11.1",
"identity-obj-proxy": "^3.0.0",
Expand All @@ -80,20 +80,20 @@
"postcss-html": "^1.8.0",
"postcss-scss": "^4.0.9",
"prismjs": "^1.30.0",
"rollup": "^4.46.1",
"sass": "1.89.2",
"stylelint": "^16.22.0",
"stylelint-config-recommended-scss": "15.0.1",
"rollup": "^4.48.0",
"sass": "1.90.0",
"stylelint": "^16.23.1",
"stylelint-config-recommended-scss": "16.0.0",
"stylelint-config-recommended-vue": "^1.6.1",
"stylelint-config-standard": "^38.0.0",
"stylelint-config-standard": "^39.0.0",
"stylelint-config-standard-scss": "15.0.1",
"typescript": "^5.8.3",
"typescript": "^5.9.2",
"ua-parser-js": "^2.0.4",
"unocss": "66.3.3",
"unplugin-auto-import": "^19.3.0",
"unplugin-icons": "^22.1.0",
"unplugin-vue-components": "^28.8.0",
"vite": "^7.0.6",
"unocss": "66.4.2",
"unplugin-auto-import": "^20.0.0",
"unplugin-icons": "^22.2.0",
"unplugin-vue-components": "^29.0.0",
"vite": "^7.1.3",
"vite-raw-plugin": "^1.0.2",
"vue-eslint-parser": "^10.2.0"
}
Expand Down
Loading