mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-12-03 16:59:42 +00:00
chore(docs|site): Vitepress 2 upgrade (#5164)
* chore(docs): upgrade to VitePress 2 - Bump vitepress to 2.0.0-alpha.21 - Drop direct @docsearch/js and @docsearch/css deps; VitePress 2 ships DocSearch v4 and imports its styles itself - VPNavBarSearch override: use the new VPAlgoliaSearchBox props (algoliaOptions + openRequest) instead of dispatching synthetic keydown events - VPCarbonAds override: replace removed useAside composable with a media query, matching upstream - VPFooter override: use useLayout from vitepress/theme instead of the removed useSidebar().hasSidebar Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G9u8FhZukDbCKe1ZFByn43 * Fix types and imports * Fix ts imports * fix styling * Update mediaqueries * chore(docs): remove unused theme overrides VitePress 2 has no VPIconAlignLeft.vue for the alias to replace (the local nav uses the vpi-text-align-start icon class), and the Hero and HeroMatrix overrides aren't imported anywhere. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(docs): use rem media queries in MCP and waitlist styles Matches the rest of the theme and VitePress 2, which switched its breakpoints to rem. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(docs): don't fail the build when GitHub's release API drops The home hero's data loader let a network error from the GitHub releases API escape, which failed the whole docs build in CI ("fetch failed: other side closed"). Retry once, then fall back to null and hide the version badge instead of rendering "vundefined". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Add sentry --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f6358a4161
commit
7981a0798a
+2
-3
@@ -31,7 +31,6 @@
|
||||
"author": "Eric Fennis",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@docsearch/js": "3.8.2",
|
||||
"@lucide/build-icons": "workspace:*",
|
||||
"@lucide/helpers": "workspace:*",
|
||||
"@lucide/shared": "workspace:*",
|
||||
@@ -53,18 +52,18 @@
|
||||
"svg-pathdata": "^9.0.0",
|
||||
"svgson": "^5.3.1",
|
||||
"typescript": "^6.0.3",
|
||||
"vitepress": "^1.6.4",
|
||||
"vitepress": "2.0.0-alpha.21",
|
||||
"vitepress-plugin-group-icons": "^1.7.6",
|
||||
"vitepress-plugin-llms": "^1.13.5",
|
||||
"vue-tsc": "^3.3.11"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docsearch/css": "3.8.2",
|
||||
"@floating-ui/vue": "^2.0.1",
|
||||
"@headlessui/vue": "^1.7.23",
|
||||
"@lucide/vue": "workspace:*",
|
||||
"@openpanel/web": "^1.4.2",
|
||||
"@react-email/components": "1.0.12",
|
||||
"@sentry/vue": "^11.16.0",
|
||||
"@vueuse/components": "^14.4.0",
|
||||
"@vueuse/core": "^14.4.0",
|
||||
"@vueuse/integrations": "^14.4.0",
|
||||
|
||||
Reference in New Issue
Block a user