Skip to content

Commit e40cc5d

Browse files
Attempt astro 6
1 parent 37959d0 commit e40cc5d

File tree

8 files changed

+309
-836
lines changed

8 files changed

+309
-836
lines changed

astro.config.mjs

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,26 @@ export default defineConfig({
3131
inlineStylesheets: 'always'
3232
},
3333
experimental: {
34-
clientPrerender: true,
35-
fonts: [
36-
{
37-
provider: fontProviders.google({
38-
experimental: { variableAxis: { Inter: { opsz: ['14..32'] } } }
39-
}),
40-
name: 'Inter',
41-
cssVariable: '--astro-font-inter',
42-
weights: ['300 900'],
43-
styles: ['normal'],
44-
subsets: ['latin']
45-
}
46-
]
34+
clientPrerender: true
4735
},
36+
fonts: [
37+
{
38+
provider: fontProviders.google(),
39+
name: 'Inter',
40+
cssVariable: '--astro-font-inter',
41+
formats: ['woff2'],
42+
styles: ['normal'],
43+
subsets: ['latin'],
44+
weights: ['300 900'],
45+
options: {
46+
experimental: {
47+
variableAxis: {
48+
opsz: ['14..32']
49+
}
50+
}
51+
}
52+
}
53+
],
4854
image: {
4955
remotePatterns: [
5056
{

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"test:unit": "vitest"
2222
},
2323
"dependencies": {
24-
"@astrojs/preact": "^4.1.3",
25-
"@astrojs/vercel": "^9.0.4",
24+
"@astrojs/preact": "^5.0.0",
25+
"@astrojs/vercel": "^10.0.0",
2626
"@preact/signals": "^2.8.2",
2727
"@vercel/analytics": "^1.6.1",
2828
"@vercel/speed-insights": "^1.3.1",
29-
"astro": "5.17.2",
29+
"astro": "6.0.3",
3030
"astro-seo-schema": "^5.2.0",
3131
"atropos": "^2.0.2",
3232
"preact": "^10.28.4",
@@ -35,9 +35,9 @@
3535
"valibot": "^1.2.0"
3636
},
3737
"devDependencies": {
38-
"@astrojs/check": "^0.9.6",
39-
"@astrojs/db": "^0.18.3",
40-
"@astrojs/sitemap": "^3.7.0",
38+
"@astrojs/check": "^0.9.7",
39+
"@astrojs/db": "^0.20.0",
40+
"@astrojs/sitemap": "^3.7.1",
4141
"@eslint/js": "^9.39.4",
4242
"@playwright/test": "^1.58.2",
4343
"@tailwindcss/forms": "^0.5.11",

0 commit comments

Comments
 (0)