chore: update to vite 5

This commit is contained in:
Anthony Fu committed 2023-11-16 18:05:27 +01:00
1 parent 009a05dea9
commit e3cbeb3301
3 files changed
+872 -918

No files matched your search

+28 -28
View File
@@ -1,7 +1,7 @@
{ {
"type": "module", "type": "module",
"private": true, "private": true,
"packageManager": "pnpm@8.10.2", "packageManager": "pnpm@8.10.5",
"scripts": { "scripts": {
"build": "vite-ssg build", "build": "vite-ssg build",
"dev": "vite --port 3333 --open", "dev": "vite --port 3333 --open",
@@ -17,59 +17,59 @@
"sizecheck": "npx vite-bundle-visualizer" "sizecheck": "npx vite-bundle-visualizer"
}, },
"dependencies": { "dependencies": {
"@unhead/vue": "^1.8.2", "@unhead/vue": "^1.8.4",
"@unocss/reset": "^0.57.1", "@unocss/reset": "^0.57.4",
"@vueuse/core": "^10.5.0", "@vueuse/core": "^10.6.1",
"@vueuse/head": "^2.0.0", "@vueuse/head": "^2.0.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.1.7", "pinia": "^2.1.7",
"vue": "^3.3.7", "vue": "^3.3.8",
"vue-demi": "^0.14.6", "vue-demi": "^0.14.6",
"vue-i18n": "^9.6.4", "vue-i18n": "^9.7.0",
"vue-router": "^4.2.5" "vue-router": "^4.2.5"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^1.1.0", "@antfu/eslint-config": "^1.1.4",
"@iconify-json/carbon": "^1.1.21", "@iconify-json/carbon": "^1.1.21",
"@intlify/unplugin-vue-i18n": "^1.5.0", "@intlify/unplugin-vue-i18n": "^1.5.0",
"@types/markdown-it-link-attributes": "^3.0.3", "@types/markdown-it-link-attributes": "^3.0.4",
"@types/nprogress": "^0.2.2", "@types/nprogress": "^0.2.3",
"@unocss/eslint-config": "^0.57.1", "@unocss/eslint-config": "^0.57.4",
"@vitejs/plugin-vue": "^4.4.0", "@vitejs/plugin-vue": "^4.5.0",
"@vue-macros/volar": "^0.17.2", "@vue-macros/volar": "^0.17.2",
"@vue/test-utils": "^2.4.1", "@vue/test-utils": "^2.4.2",
"critters": "^0.0.20", "critters": "^0.0.20",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"cypress": "^13.4.0", "cypress": "^13.5.1",
"cypress-vite": "^1.4.2", "cypress-vite": "^1.4.2",
"eslint": "^8.52.0", "eslint": "^8.53.0",
"eslint-plugin-cypress": "^2.15.1", "eslint-plugin-cypress": "^2.15.1",
"https-localhost": "^4.7.1", "https-localhost": "^4.7.1",
"lint-staged": "^15.0.2", "lint-staged": "^15.1.0",
"markdown-it-link-attributes": "^4.0.1", "markdown-it-link-attributes": "^4.0.1",
"markdown-it-shikiji": "^0.6.12", "markdown-it-shikiji": "^0.6.13",
"pnpm": "^8.10.2", "pnpm": "^8.10.5",
"rollup": "^4.2.0", "rollup": "^4.4.1",
"shikiji": "^0.6.12", "shikiji": "^0.6.13",
"simple-git-hooks": "^2.9.0", "simple-git-hooks": "^2.9.0",
"taze": "^0.12.0", "taze": "^0.12.0",
"typescript": "^5.2.2", "typescript": "^5.2.2",
"unocss": "^0.57.1", "unocss": "^0.57.4",
"unplugin-auto-import": "^0.16.7", "unplugin-auto-import": "^0.16.7",
"unplugin-vue-components": "^0.25.2", "unplugin-vue-components": "^0.25.2",
"unplugin-vue-macros": "^2.6.2", "unplugin-vue-macros": "^2.6.2",
"unplugin-vue-markdown": "^0.24.3", "unplugin-vue-markdown": "^0.25.1",
"unplugin-vue-router": "^0.7.0", "unplugin-vue-router": "^0.7.0",
"vite": "^5.0.0-beta.15", "vite": "^5.0.0",
"vite-bundle-visualizer": "^0.10.0", "vite-bundle-visualizer": "^0.11.0",
"vite-plugin-inspect": "^0.7.41", "vite-plugin-inspect": "^0.7.42",
"vite-plugin-pwa": "^0.16.6", "vite-plugin-pwa": "^0.16.7",
"vite-plugin-vue-devtools": "^1.0.0-rc.5", "vite-plugin-vue-devtools": "^1.0.0-rc.5",
"vite-plugin-vue-layouts": "^0.8.0", "vite-plugin-vue-layouts": "^0.8.0",
"vite-plugin-webfont-dl": "^3.8.0", "vite-plugin-webfont-dl": "^3.9.0",
"vite-ssg": "^0.23.4", "vite-ssg": "^0.23.5",
"vite-ssg-sitemap": "^0.6.0", "vite-ssg-sitemap": "^0.6.0",
"vitest": "^0.34.6", "vitest": "^1.0.0-beta.4",
"vue-tsc": "^1.8.22" "vue-tsc": "^1.8.22"
}, },
"simple-git-hooks": { "simple-git-hooks": {
+841 -890
View File
File diff suppressed because it is too large. Load diff
+3
View File
@@ -136,6 +136,7 @@ declare global {
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation'] const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
const useCached: typeof import('@vueuse/core')['useCached'] const useCached: typeof import('@vueuse/core')['useCached']
const useClipboard: typeof import('@vueuse/core')['useClipboard'] const useClipboard: typeof import('@vueuse/core')['useClipboard']
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
const useCloned: typeof import('@vueuse/core')['useCloned'] const useCloned: typeof import('@vueuse/core')['useCloned']
const useColorMode: typeof import('@vueuse/core')['useColorMode'] const useColorMode: typeof import('@vueuse/core')['useColorMode']
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog'] const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
@@ -432,6 +433,7 @@ declare module 'vue' {
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']> readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']> readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']> readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']> readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']> readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']> readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>
@@ -722,6 +724,7 @@ declare module '@vue/runtime-core' {
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']> readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']> readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']> readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']> readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']> readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']> readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>