mirror of
https://github.com/Drop-OSS/drop
synced 2026-08-27 14:23:05 -04:00
Migrate to Astro v6
This commit is contained in:
parent
2ececf1b03
commit
d5e99306c7
4 changed files with 608 additions and 460 deletions
1042
pnpm-lock.yaml
generated
1042
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -20,12 +20,6 @@ onlyBuiltDependencies:
|
|||
- protobufjs
|
||||
|
||||
overrides:
|
||||
# Pin @astrojs/sitemap to the last 3.6.x (zod v3) release. Starlight 0.37.7 pulls
|
||||
# in @astrojs/sitemap@3.7.x which depends on zod v4, conflicting with Astro 5.18's
|
||||
# zod v3 and crashing the docs build with "Cannot read properties of undefined
|
||||
# (reading '_zod')". 3.6.1 still satisfies Starlight's "^3.3.0" range.
|
||||
# See https://github.com/withastro/astro/issues/15854
|
||||
"@astrojs/sitemap": "3.6.1"
|
||||
"@isaacs/brace-expansion@<=5.0.0": ">=5.0.1"
|
||||
ajv@<6.14.0: ">=6.14.0"
|
||||
devalue@<=5.6.2: ">=5.6.3"
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ export default defineConfig({
|
|||
{ slug: "user" },
|
||||
{
|
||||
label: "Install",
|
||||
autogenerate: { directory: "user/install" },
|
||||
items: [{ autogenerate: { directory: "user/install" } }],
|
||||
},
|
||||
{
|
||||
label: "Usage",
|
||||
|
|
@ -65,21 +65,21 @@ export default defineConfig({
|
|||
},
|
||||
{
|
||||
label: "Going further",
|
||||
autogenerate: { directory: "admin/going-further" },
|
||||
items: [{ autogenerate: { directory: "admin/going-further" } }],
|
||||
},
|
||||
{
|
||||
label: "Metadata",
|
||||
autogenerate: { directory: "admin/metadata" },
|
||||
items: [{ autogenerate: { directory: "admin/metadata" } }],
|
||||
},
|
||||
{
|
||||
label: "Authentication",
|
||||
autogenerate: { directory: "admin/authentication" },
|
||||
items: [{ autogenerate: { directory: "admin/authentication" } }],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Reference",
|
||||
autogenerate: { directory: "reference" },
|
||||
items: [{ autogenerate: { directory: "reference" } }],
|
||||
},
|
||||
],
|
||||
customCss: ["./src/styles/drop.css"],
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/starlight": "^0.37.4",
|
||||
"astro": "^5.6.1",
|
||||
"sharp": "^0.34.2",
|
||||
"starlight-image-zoom": "^0.13.2",
|
||||
"starlight-links-validator": "^0.19.2",
|
||||
"@astrojs/starlight": "^0.40.0",
|
||||
"astro": "^6.4.8",
|
||||
"sharp": "^0.35.2",
|
||||
"starlight-image-zoom": "^0.14.2",
|
||||
"starlight-links-validator": "^0.24.1",
|
||||
"starlight-theme-rapide": "^0.5.2"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue