Skip to content

Commit

Permalink
👾 chore: upgrade vite v6 & core deps (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdsuwwz authored Dec 31, 2024
1 parent 4e654ea commit a246d39
Show file tree
Hide file tree
Showing 4 changed files with 1,635 additions and 1,370 deletions.
5 changes: 4 additions & 1 deletion .eslintrc-auto-import.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@
"useTemplateRef": true,
"DirectiveBinding": true,
"MaybeRef": true,
"MaybeRefOrGetter": true
"MaybeRefOrGetter": true,
"BusinessState": true,
"usePreferredReducedTransparency": true,
"useSSRWidth": true
}
}
7 changes: 7 additions & 0 deletions auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,14 @@ declare global {
const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
const usePreferredReducedTransparency: typeof import('@vueuse/core')['usePreferredReducedTransparency']
const usePrevious: typeof import('@vueuse/core')['usePrevious']
const useRafFn: typeof import('@vueuse/core')['useRafFn']
const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
const useRoute: typeof import('vue-router')['useRoute']
const useRouter: typeof import('vue-router')['useRouter']
const useSSRWidth: typeof import('@vueuse/core')['useSSRWidth']
const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation']
const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea']
const useScriptTag: typeof import('@vueuse/core')['useScriptTag']
Expand Down Expand Up @@ -312,6 +314,9 @@ declare global {
// @ts-ignore
export type { RouteRecordRaw, RouteLocationRaw } from 'vue-router'
import('vue-router')
// @ts-ignore
export type { BusinessState } from './src/store/business/index'
import('./src/store/business/index')
}

// for vue template auto import
Expand Down Expand Up @@ -543,12 +548,14 @@ declare module 'vue' {
readonly usePreferredDark: UnwrapRef<typeof import('@vueuse/core')['usePreferredDark']>
readonly usePreferredLanguages: UnwrapRef<typeof import('@vueuse/core')['usePreferredLanguages']>
readonly usePreferredReducedMotion: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedMotion']>
readonly usePreferredReducedTransparency: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedTransparency']>
readonly usePrevious: UnwrapRef<typeof import('@vueuse/core')['usePrevious']>
readonly useRafFn: UnwrapRef<typeof import('@vueuse/core')['useRafFn']>
readonly useRefHistory: UnwrapRef<typeof import('@vueuse/core')['useRefHistory']>
readonly useResizeObserver: UnwrapRef<typeof import('@vueuse/core')['useResizeObserver']>
readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']>
readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>
readonly useSSRWidth: UnwrapRef<typeof import('@vueuse/core')['useSSRWidth']>
readonly useScreenOrientation: UnwrapRef<typeof import('@vueuse/core')['useScreenOrientation']>
readonly useScreenSafeArea: UnwrapRef<typeof import('@vueuse/core')['useScreenSafeArea']>
readonly useScriptTag: UnwrapRef<typeof import('@vueuse/core')['useScriptTag']>
Expand Down
66 changes: 33 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,71 +27,71 @@
"url": "https://github.com/pdsuwwz/chatgpt-vue3-light-mvp/issues"
},
"dependencies": {
"@vueuse/core": "^11.2.0",
"axios": "1.7.7",
"dompurify": "^3.2.0",
"@vueuse/core": "^12.2.0",
"axios": "1.7.9",
"dompurify": "^3.2.3",
"js-cookie": "^3.0.5",
"lodash-es": "^4.17.21",
"marked": "^15.0.1",
"naive-ui": "^2.40.1",
"marked": "^15.0.4",
"naive-ui": "^2.40.4",
"nprogress": "^0.2.0",
"pinia": "^2.2.6",
"pinia": "^2.3.0",
"uuid": "^11.0.3",
"vfile": "^6.0.3",
"vue": "^3.5.13",
"vue-router": "^4.4.5"
"vue-router": "^4.5.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@eslint/js": "^9.15.0",
"@iconify/json": "^2.2.273",
"@iconify/vue": "^4.1.2",
"@stylistic/eslint-plugin": "^2.11.0",
"@eslint/js": "^9.17.0",
"@iconify/json": "^2.2.290",
"@iconify/vue": "^4.2.0",
"@stylistic/eslint-plugin": "^2.12.1",
"@stylistic/stylelint-plugin": "^3.1.1",
"@types/js-cookie": "^3.0.6",
"@types/lodash-es": "^4.17.12",
"@types/markdown-it": "^14.1.2",
"@types/node": "^22.9.0",
"@types/node": "^22.10.2",
"@types/nprogress": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"@unocss/preset-icons": "^0.64.1",
"@unocss/preset-rem-to-px": "^0.64.1",
"@vitejs/plugin-vue": "^5.2.0",
"@vitejs/plugin-vue-jsx": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"@unocss/preset-icons": "^0.65.3",
"@unocss/preset-rem-to-px": "^0.65.3",
"@vitejs/plugin-vue": "^5.2.1",
"@vitejs/plugin-vue-jsx": "^4.1.1",
"@vue/babel-plugin-jsx": "^1.2.5",
"@vue/compiler-sfc": "^3.5.13",
"cross-env": "^7.0.3",
"eslint": "^9.15.0",
"eslint": "^9.17.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-html": "8.1.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-vue": "^9.31.0",
"globals": "^15.12.0",
"highlight.js": "^11.10.0",
"eslint-plugin-vue": "^9.32.0",
"globals": "^15.14.0",
"highlight.js": "^11.11.1",
"identity-obj-proxy": "^3.0.0",
"katex": "^0.16.11",
"katex": "^0.16.19",
"markdown-it": "^14.1.0",
"markdown-it-highlightjs": "^4.2.0",
"postcss": "^8.4.49",
"postcss-html": "^1.7.0",
"postcss-scss": "^4.0.9",
"prismjs": "^1.29.0",
"rollup": "^4.27.3",
"sass": "1.81.0",
"stylelint": "^16.10.0",
"rollup": "^4.29.1",
"sass": "1.83.0",
"stylelint": "^16.12.0",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "13.1.0",
"typescript": "^5.6.3",
"stylelint-config-standard-scss": "14.0.0",
"typescript": "^5.7.2",
"ua-parser-js": "^2.0.0",
"unocss": "^0.64.1",
"unplugin-auto-import": "^0.18.5",
"unplugin-icons": "^0.20.1",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.11",
"unocss": "^0.65.3",
"unplugin-auto-import": "^0.19.0",
"unplugin-icons": "^0.22.0",
"unplugin-vue-components": "^0.28.0",
"vite": "^6.0.6",
"vite-raw-plugin": "^1.0.2",
"vue-eslint-parser": "^9.4.3"
}
Expand Down
Loading

0 comments on commit a246d39

Please sign in to comment.