Skip to content

Commit

Permalink
Update minimum supported Astro version to 5.1 (#2736)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis authored Jan 10, 2025
1 parent f6c4a0c commit 29a885b
Show file tree
Hide file tree
Showing 15 changed files with 558 additions and 105 deletions.
11 changes: 11 additions & 0 deletions .changeset/good-trains-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@astrojs/starlight': minor
---

⚠️ **BREAKING CHANGE:** The minimum supported version of Astro is now 5.1.5

Please update Astro and Starlight together:

```sh
npx @astrojs/upgrade
```
5 changes: 5 additions & 0 deletions .changeset/silver-brooms-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/starlight': patch
---

Updates internal dependencies `@astrojs/sitemap` and `@astrojs/mdx` to the latest versions
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@astrojs/starlight": "workspace:*",
"@lunariajs/core": "^0.1.1",
"@types/culori": "^2.1.1",
"astro": "^5.0.2",
"astro": "^5.1.5",
"culori": "^4.0.1",
"sharp": "^0.32.5"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/starlight": "^0.30.6",
"astro": "^5.0.2",
"astro": "^5.1.5",
"sharp": "^0.32.5"
}
}
4 changes: 2 additions & 2 deletions examples/markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/markdoc": "^0.12.1",
"@astrojs/markdoc": "^0.12.4",
"@astrojs/starlight": "^0.30.6",
"@astrojs/starlight-markdoc": "^0.2.0",
"astro": "^5.0.2",
"astro": "^5.1.5",
"sharp": "^0.32.5"
}
}
4 changes: 2 additions & 2 deletions examples/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"dependencies": {
"@astrojs/starlight": "^0.30.6",
"@astrojs/starlight-tailwind": "^3.0.0",
"@astrojs/tailwind": "^5.1.3",
"astro": "^5.0.2",
"@astrojs/tailwind": "^5.1.4",
"astro": "^5.1.5",
"sharp": "^0.32.5",
"tailwindcss": "^3.4.4"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
"@size-limit/file": "^11.1.6",
"astro": "^5.0.2",
"astro": "^5.1.5",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"size-limit": "^11.1.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/markdoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"./components": "./components.ts"
},
"devDependencies": {
"@astrojs/markdoc": "^0.12.1",
"@astrojs/markdoc": "^0.12.4",
"@astrojs/starlight": "workspace:*",
"vitest": "2.1.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/starlight/__e2e__/fixtures/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"private": true,
"dependencies": {
"@astrojs/starlight": "workspace:*",
"astro": "^5.0.2"
"astro": "^5.1.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"private": true,
"dependencies": {
"@astrojs/starlight": "workspace:*",
"astro": "^5.0.2"
"astro": "^5.1.5"
}
}
2 changes: 1 addition & 1 deletion packages/starlight/__e2e__/fixtures/git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"private": true,
"dependencies": {
"@astrojs/starlight": "workspace:*",
"astro": "^5.0.2"
"astro": "^5.1.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"private": true,
"dependencies": {
"@astrojs/starlight": "workspace:*",
"astro": "^5.0.2"
"astro": "^5.1.5"
}
}
2 changes: 1 addition & 1 deletion packages/starlight/__e2e__/fixtures/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"dependencies": {
"@astrojs/node": "^9.0.0",
"@astrojs/starlight": "workspace:*",
"astro": "^5.0.2"
"astro": "^5.1.5"
}
}
10 changes: 5 additions & 5 deletions packages/starlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,20 +178,20 @@
"./style/markdown.css": "./style/markdown.css"
},
"peerDependencies": {
"astro": "^5.0.0"
"astro": "^5.1.5"
},
"devDependencies": {
"@astrojs/markdown-remark": "^6.0.0",
"@astrojs/markdown-remark": "^6.0.1",
"@playwright/test": "^1.45.0",
"@types/node": "^18.16.19",
"@vitest/coverage-v8": "2.1.6",
"astro": "^5.0.2",
"astro": "^5.1.5",
"linkedom": "^0.18.4",
"vitest": "2.1.6"
},
"dependencies": {
"@astrojs/mdx": "^4.0.1",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/mdx": "^4.0.5",
"@astrojs/sitemap": "^3.2.1",
"@pagefind/default-ui": "^1.0.3",
"@types/hast": "^3.0.4",
"@types/js-yaml": "^4.0.9",
Expand Down
Loading

0 comments on commit 29a885b

Please sign in to comment.