Skip to content

Commit 2b8dde4

Browse files
committed
build: upgrade dependencies and enable responsiveImages option
1 parent 98bff0a commit 2b8dde4

3 files changed

Lines changed: 388 additions & 401 deletions

File tree

astro.config.ts

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,7 @@ export default defineConfig({
1414
}),
1515
],
1616
markdown: {
17-
remarkPlugins: [
18-
remarkToc,
19-
[
20-
remarkCollapse,
21-
{
22-
test: "Table of contents",
23-
},
24-
],
25-
],
17+
remarkPlugins: [remarkToc, [remarkCollapse, { test: "Table of contents" }]],
2618
shikiConfig: {
2719
// For more themes, visit https://shiki.style/themes
2820
themes: { light: "min-light", dark: "night-owl" },
@@ -35,7 +27,13 @@ export default defineConfig({
3527
exclude: ["@resvg/resvg-js"],
3628
},
3729
},
30+
image: {
31+
// Used for all Markdown images; not configurable per-image
32+
// Used for all `<Image />` and `<Picture />` components unless overridden with a prop
33+
experimentalLayout: "responsive",
34+
},
3835
experimental: {
3936
svg: true,
37+
responsiveImages: true,
4038
},
4139
});

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,29 @@
1515
"@astrojs/rss": "^4.0.11",
1616
"@astrojs/sitemap": "^3.2.1",
1717
"@resvg/resvg-js": "^2.6.2",
18-
"@tailwindcss/vite": "^4.0.8",
19-
"astro": "^5.3.1",
18+
"@tailwindcss/vite": "^4.0.12",
19+
"astro": "^5.4.2",
2020
"lodash.kebabcase": "^4.1.1",
2121
"remark-collapse": "^0.1.2",
2222
"remark-toc": "^9.0.0",
2323
"satori": "^0.12.1",
2424
"sharp": "^0.33.5",
25-
"tailwindcss": "^4.0.8"
25+
"tailwindcss": "^4.0.12"
2626
},
2727
"devDependencies": {
2828
"@astrojs/check": "^0.9.4",
2929
"@pagefind/default-ui": "^1.3.0",
3030
"@tailwindcss/typography": "^0.5.16",
3131
"@types/lodash.kebabcase": "^4.1.9",
32-
"@typescript-eslint/parser": "^8.25.0",
33-
"eslint": "^9.21.0",
32+
"@typescript-eslint/parser": "^8.26.0",
33+
"eslint": "^9.22.0",
3434
"eslint-plugin-astro": "^1.3.1",
3535
"globals": "^16.0.0",
3636
"pagefind": "^1.3.0",
37-
"prettier": "^3.5.2",
37+
"prettier": "^3.5.3",
3838
"prettier-plugin-astro": "^0.14.1",
3939
"prettier-plugin-tailwindcss": "^0.6.11",
40-
"typescript": "^5.7.3",
41-
"typescript-eslint": "^8.25.0"
40+
"typescript": "^5.8.2",
41+
"typescript-eslint": "^8.26.0"
4242
}
4343
}

0 commit comments

Comments
 (0)