Skip to content

Commit e62bca2

Browse files
committed
upgrade to astro 6 and latest starlight plugins
- astro 5.18.1 → 6.1.9 - @astrojs/starlight 0.37.7 → 0.38.3 - @astrojs/mdx 4 → 5, @astrojs/netlify 6 → 7, @astrojs/vue 5 → 6, @astrojs/starlight-tailwind 4 → 5 - unlock all starlight plugins to latest astro-6-compatible versions - recreate vite-plugin-static-copy patch for 4.1.0 (upstream PR still open) - update PATCHES.md with new patch version
1 parent c82ee41 commit e62bca2

4 files changed

Lines changed: 483 additions & 869 deletions

File tree

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"sync-agent-connectors": "node scripts/sync-agent-connectors.js"
2121
},
2222
"dependencies": {
23-
"@astrojs/mdx": "^4.3.14",
24-
"@astrojs/netlify": "^6.6.5",
23+
"@astrojs/mdx": "^5.0.4",
24+
"@astrojs/netlify": "^7.0.8",
2525
"@astrojs/react": "^5.0.4",
26-
"@astrojs/starlight": "^0.37.7",
26+
"@astrojs/starlight": "^0.38.3",
2727
"@astrojs/starlight-docsearch": "file:vendor/docsearch",
28-
"@astrojs/starlight-tailwind": "^4.0.2",
29-
"@astrojs/vue": "^5.1.4",
28+
"@astrojs/starlight-tailwind": "^5.0.0",
29+
"@astrojs/vue": "^6.0.1",
3030
"@expressive-code/plugin-collapsible-sections": "^0.41.7",
3131
"@expressive-code/plugin-line-numbers": "^0.41.7",
3232
"@fontsource-variable/atkinson-hyperlegible-next": "^5.2.6",
@@ -40,27 +40,27 @@
4040
"@tailwindcss/vite": "^4.2.4",
4141
"@usesapient/agent-tracker": "^0.1.1",
4242
"accessible-astro-components": "^5.2.0",
43-
"astro": "^5.18.1",
44-
"astro-d2": "^0.9.0",
43+
"astro": "^6.1.9",
44+
"astro-d2": "^0.10.0",
4545
"astro-loader-github-releases": "^2.1.1",
4646
"astro-og-canvas": "^0.10.1",
4747
"canvaskit-wasm": "0.40.0",
4848
"jose": "^6.2.2",
4949
"react": "^19.2.5",
5050
"react-dom": "^19.2.5",
5151
"sharp": "^0.34.5",
52-
"starlight-blog": "^0.25.3",
53-
"starlight-image-zoom": "^0.13.2",
54-
"starlight-links-validator": "^0.19.2",
55-
"starlight-llms-txt": "^0.7.0",
52+
"starlight-blog": "^0.26.1",
53+
"starlight-image-zoom": "^0.14.1",
54+
"starlight-links-validator": "^0.23.0",
55+
"starlight-llms-txt": "^0.8.1",
5656
"starlight-package-managers": "^0.12.0",
57-
"starlight-page-actions": "^0.5.0",
57+
"starlight-page-actions": "^0.6.0",
5858
"starlight-plugin-icons": "^1.1.6",
5959
"starlight-showcases": "^0.3.2",
60-
"starlight-sidebar-topics": "^0.6.2",
61-
"starlight-sidebar-topics-dropdown": "^0.5.4",
60+
"starlight-sidebar-topics": "^0.7.1",
61+
"starlight-sidebar-topics-dropdown": "^0.6.0",
6262
"starlight-theme-nova": "^0.11.9",
63-
"starlight-videos": "^0.3.1",
63+
"starlight-videos": "^0.4.0",
6464
"tailwindcss": "^4.2.4",
6565
"unplugin-icons": "^23.0.1",
6666
"vue": "^3.5.33"
@@ -97,7 +97,7 @@
9797
"mdast-util-to-hast": "^13.2.1"
9898
},
9999
"patchedDependencies": {
100-
"vite-plugin-static-copy@3.4.0": "patches/vite-plugin-static-copy@3.4.0.patch"
100+
"vite-plugin-static-copy@4.1.0": "patches/vite-plugin-static-copy@4.1.0.patch"
101101
}
102102
}
103103
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
diff --git a/dist/index.js b/dist/index.js
2-
index 6c8e47110353c07233497ee250a10bc626d8efc5..48a6304df17dc316239fee040536540d3f6cbdd6 100644
2+
index 8703f1bd5f6438c61a80b9fc842722820bd9a49f..835dfa2cf82fae6eee47fb478108055d858856a3 100644
33
--- a/dist/index.js
44
+++ b/dist/index.js
5-
@@ -1080,7 +1080,8 @@ const buildPlugin = ({ targets, structured, silent, hook, environment }) => {
5+
@@ -1069,7 +1069,8 @@ const buildPlugin = ({ targets, silent, hook, environment }) => {
66
if (this.environment && this.environment.name !== environment) return;
77
if (output) return;
88
output = true;
9-
- const result = await copyAll(config.root, config.build.outDir, targets, structured, silent);
9+
- const result = await copyAll(config.root, config.build.outDir, targets, silent);
1010
+ const outDir = this.environment?.config?.build?.outDir ?? config.build.outDir;
11-
+ const result = await copyAll(config.root, outDir, targets, structured, silent);
11+
+ const result = await copyAll(config.root, outDir, targets, silent);
1212
if (!silent) outputCopyLog(config.logger, result);
1313
}
1414
};

0 commit comments

Comments
 (0)