Skip to content

Commit

Permalink
feat: migrate to vite 6 (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd authored Dec 3, 2024
1 parent 23c2c86 commit 5faf167
Show file tree
Hide file tree
Showing 4 changed files with 936 additions and 599 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default defineConfig({
lastUpdated: true,

vite: {
...baseConfig,
...baseConfig as any,
define: {
__STORY_HOST__: JSON.stringify(getStoryHost())
}
Expand Down
3 changes: 2 additions & 1 deletion histoire.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default defineConfig({
...baseConfig,
define: {
__DOCS_HOST__: JSON.stringify(getDocsHost())
}
},
optimizeDeps: { noDiscovery: true } // vite 6 compat
}
})
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@globalbrain/sefirot",
"type": "module",
"version": "4.6.0",
"packageManager": "pnpm@9.13.2",
"packageManager": "pnpm@9.14.4",
"description": "Vue Components for Global Brain Design System.",
"author": "Kia Ishii <ka.ishii@globalbrains.com>",
"license": "MIT",
Expand Down Expand Up @@ -51,32 +51,32 @@
"@vue/reactivity": "^3.5.13",
"@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.4",
"@vueuse/core": "^11.2.0",
"@vueuse/core": "^12.0.0",
"body-scroll-lock": "4.0.0-beta.0",
"dayjs": "^1.11.13",
"fuse.js": "^7.0.0",
"lodash-es": "^4.17.21",
"markdown-it": "^14.1.0",
"normalize.css": "^8.0.1",
"pinia": "^2.2.6",
"pinia": "^2.2.8",
"postcss": "^8.4.49",
"postcss-nested": "^7.0.2",
"v-calendar": "3.0.1",
"vue": "^3.5.13",
"vue-router": "^4.4.5"
"vue-router": "^4.5.0"
},
"dependencies": {
"@sentry/browser": "^8.38.0",
"@sentry/browser": "^8.41.0",
"@tanstack/vue-virtual": "3.0.0-beta.62",
"@tinyhttp/content-disposition": "^2.2.2",
"@tinyhttp/cookie": "^2.1.1",
"@types/file-saver": "^2.0.7",
"@types/qs": "^6.9.17",
"file-saver": "^2.0.5",
"magic-string": "^0.30.12",
"magic-string": "^0.30.14",
"ofetch": "^1.4.1",
"qs": "^6.13.1",
"unplugin-icons": "^0.20.1"
"unplugin-icons": "^0.20.2"
},
"devDependencies": {
"@globalbrain/eslint-config": "^1.7.1",
Expand All @@ -87,14 +87,14 @@
"@types/body-scroll-lock": "^3.1.2",
"@types/lodash-es": "^4.17.12",
"@types/markdown-it": "^14.1.2",
"@types/node": "^22.9.0",
"@vitejs/plugin-vue": "^5.2.0",
"@vitest/coverage-v8": "^2.1.5",
"@types/node": "^22.10.1",
"@vitejs/plugin-vue": "^5.2.1",
"@vitest/coverage-v8": "^2.1.6",
"@vue/reactivity": "^3.5.13",
"@vue/test-utils": "^2.4.6",
"@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.4",
"@vueuse/core": "^11.2.0",
"@vueuse/core": "^12.0.0",
"body-scroll-lock": "4.0.0-beta.0",
"dayjs": "^1.11.13",
"eslint": "8.57.0",
Expand All @@ -104,18 +104,18 @@
"lodash-es": "^4.17.21",
"markdown-it": "^14.1.0",
"normalize.css": "^8.0.1",
"pinia": "^2.2.6",
"pinia": "^2.2.8",
"postcss": "^8.4.49",
"postcss-nested": "^7.0.2",
"punycode": "^2.3.1",
"release-it": "^17.10.0",
"typescript": "~5.6.3",
"v-calendar": "3.0.1",
"vite": "^5.4.11",
"vite": "^6.0.1",
"vitepress": "^1.5.0",
"vitest": "^2.1.5",
"vitest": "^2.1.6",
"vue": "^3.5.13",
"vue-router": "^4.4.5",
"vue-router": "^4.5.0",
"vue-tsc": "^2.1.10"
}
}
Loading

0 comments on commit 5faf167

Please sign in to comment.