Skip to content

Commit 2345043

Browse files
Update to Astro 5.x (#3111)
* Update to Astro 5.x * Update astro.config.mjs
1 parent c53a8ce commit 2345043

File tree

9 files changed

+845
-1022
lines changed

9 files changed

+845
-1022
lines changed

.tool-versions

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
nodejs 18.19.0
2-
pnpm 9.11.0
1+
nodejs 20.18.2
2+
pnpm 9.15.4

docs-src/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
"astro": "astro"
1212
},
1313
"dependencies": {
14-
"@astrojs/check": "^0.9.3",
15-
"@astrojs/starlight": "^0.27.1",
16-
"@astrojs/tailwind": "^5.1.2",
17-
"astro": "^4.16.1",
14+
"@astrojs/check": "^0.9.4",
15+
"@astrojs/starlight": "^0.31.1",
16+
"@astrojs/tailwind": "^6.0.0",
17+
"astro": "^5.2.0",
1818
"sharp": "^0.33.4",
1919
"shepherd.js": "workspace:*",
2020
"starlight-typedoc": "^0.16.0",

landing/astro.config.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import mdx from '@astrojs/mdx';
33
import sitemap from '@astrojs/sitemap';
44
import tailwind from '@astrojs/tailwind';
55

6-
import vercel from '@astrojs/vercel/serverless';
6+
import vercel from '@astrojs/vercel';
77

88
// https://astro.build/config
99
export default defineConfig({
@@ -15,6 +15,6 @@ export default defineConfig({
1515
tailwind()
1616
],
1717

18-
output: 'hybrid',
18+
output: 'static',
1919
adapter: vercel(),
2020
});

landing/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
"astro": "astro"
1212
},
1313
"dependencies": {
14-
"@astrojs/check": "^0.9.3",
15-
"@astrojs/mdx": "^3.1.9",
16-
"@astrojs/rss": "^4.0.9",
14+
"@astrojs/check": "^0.9.4",
15+
"@astrojs/mdx": "^4.0.8",
16+
"@astrojs/rss": "^4.0.11",
1717
"@astrojs/sitemap": "^3.2.1",
18-
"@astrojs/tailwind": "^5.1.2",
19-
"@astrojs/vercel": "^7.8.2",
18+
"@astrojs/tailwind": "^6.0.0",
19+
"@astrojs/vercel": "^8.0.5",
2020
"@polar-sh/sdk": "^0.20.2",
21-
"astro": "^4.16.1",
21+
"astro": "^5.2.0",
2222
"shepherd.js": "workspace:*",
2323
"tailwindcss": "^3.4.17",
2424
"typescript": "^5.6.3"

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"svelte": "^4.2.19",
5151
"typescript": "^5.6.3"
5252
},
53-
"packageManager": "pnpm@9.9.0",
53+
"packageManager": "pnpm@9.15.4",
5454
"engines": {
55-
"node": "18.* || >= 20"
55+
"node": ">= 20"
5656
}
5757
}

pnpm-lock.yaml

+823-1,000
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shepherd.js/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@
9090
"svelte2tsx": "^0.7.8",
9191
"typescript": "^5.6.3"
9292
},
93-
"packageManager": "pnpm@9.2.0",
93+
"packageManager": "pnpm@9.15.4",
9494
"engines": {
95-
"node": "18.* || >= 20"
95+
"node": ">= 20"
9696
},
9797
"publishConfig": {
9898
"registry": "https://registry.npmjs.org"

test/cypress/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"start-server-and-test": "^2.0.8",
3636
"typescript": "^5.6.3"
3737
},
38-
"packageManager": "pnpm@9.2.0",
38+
"packageManager": "pnpm@9.15.4",
3939
"engines": {
40-
"node": "18.* || >= 20"
40+
"node": ">= 20"
4141
}
4242
}

test/unit/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"svelte-jester": "^5.0.0",
4444
"typescript": "^5.6.3"
4545
},
46-
"packageManager": "pnpm@9.2.0",
46+
"packageManager": "pnpm@9.15.4",
4747
"engines": {
48-
"node": "18.* || >= 20"
48+
"node": ">= 20"
4949
}
5050
}

0 commit comments

Comments
 (0)