Skip to content

Commit 1e1ba81

Browse files
dependabot[bot]Ryang-21claude
authored
Bump astro from 6.4.8 to 7.1.0 (#1557)
* Bump astro from 6.4.8 to 7.1.0 Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 6.4.8 to 7.1.0. - [Release notes](https://github.com/withastro/astro/releases) - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md) - [Commits](https://github.com/withastro/astro/commits/astro@7.1.0/packages/astro) --- updated-dependencies: - dependency-name: astro dependency-version: 7.1.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * build(docs): pair astro 7 with starlight 0.41 and keep unified markdown pipeline Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ryan Yang <ryan.yang@stellar.org> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent aa00dd1 commit 1e1ba81

3 files changed

Lines changed: 869 additions & 581 deletions

File tree

astro.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { defineConfig, fontProviders } from "astro/config";
2+
import { unified } from "@astrojs/markdown-remark";
23
import starlight from "@astrojs/starlight";
34
import sitemap from "@astrojs/sitemap";
45
import GithubSlugger from "github-slugger";
@@ -87,6 +88,11 @@ export default defineConfig({
8788
outDir: "./dist/site",
8889
prefetch: { prefetchAll: true },
8990
markdown: {
91+
// Astro 7's default Markdown processor (Sätteri) does not run unified
92+
// plugins; the heading-id deference our anchor plugin relies on (see
93+
// rehypeHeadingAnchors) is a markdown-remark behavior, so stay on the
94+
// unified pipeline explicitly.
95+
processor: unified(),
9096
rehypePlugins: [rehypeBaseInternalLinks, rehypeHeadingAnchors],
9197
},
9298
fonts: [

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,9 @@
133133
"node": ">=22.0.0"
134134
},
135135
"devDependencies": {
136+
"@astrojs/markdown-remark": "^7.2.0",
136137
"@astrojs/sitemap": "^3.7.3",
137-
"@astrojs/starlight": "^0.40.0",
138+
"@astrojs/starlight": "^0.41.3",
138139
"@eslint/compat": "^1.4.1",
139140
"@eslint/js": "^9.39.4",
140141
"@noble/curves": "^2.2.0",
@@ -152,7 +153,7 @@
152153
"@vitest/coverage-istanbul": "4.1.9",
153154
"@vitest/coverage-v8": "^4.1.9",
154155
"@vitest/ui": "^4.1.9",
155-
"astro": "^6.4.8",
156+
"astro": "^7.1.0",
156157
"browserify-zlib": "^0.2.0",
157158
"cross-env": "^10.1.0",
158159
"dotenv": "^17.4.2",

0 commit comments

Comments
 (0)