build: upgrade dependencies and enable responsiveImages option

This commit is contained in:
satnaing
2025-03-08 17:58:59 +07:00
committed by Sat Naing
parent 98bff0a876
commit 2b8dde4d64
3 changed files with 387 additions and 400 deletions
+7 -9
View File
@@ -14,15 +14,7 @@ export default defineConfig({
}),
],
markdown: {
remarkPlugins: [
remarkToc,
[
remarkCollapse,
{
test: "Table of contents",
},
],
],
remarkPlugins: [remarkToc, [remarkCollapse, { test: "Table of contents" }]],
shikiConfig: {
// For more themes, visit https://shiki.style/themes
themes: { light: "min-light", dark: "night-owl" },
@@ -35,7 +27,13 @@ export default defineConfig({
exclude: ["@resvg/resvg-js"],
},
},
image: {
// Used for all Markdown images; not configurable per-image
// Used for all `<Image />` and `<Picture />` components unless overridden with a prop
experimentalLayout: "responsive",
},
experimental: {
svg: true,
responsiveImages: true,
},
});
+8 -8
View File
@@ -15,29 +15,29 @@
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
"@resvg/resvg-js": "^2.6.2",
"@tailwindcss/vite": "^4.0.8",
"astro": "^5.3.1",
"@tailwindcss/vite": "^4.0.12",
"astro": "^5.4.2",
"lodash.kebabcase": "^4.1.1",
"remark-collapse": "^0.1.2",
"remark-toc": "^9.0.0",
"satori": "^0.12.1",
"sharp": "^0.33.5",
"tailwindcss": "^4.0.8"
"tailwindcss": "^4.0.12"
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@pagefind/default-ui": "^1.3.0",
"@tailwindcss/typography": "^0.5.16",
"@types/lodash.kebabcase": "^4.1.9",
"@typescript-eslint/parser": "^8.25.0",
"eslint": "^9.21.0",
"@typescript-eslint/parser": "^8.26.0",
"eslint": "^9.22.0",
"eslint-plugin-astro": "^1.3.1",
"globals": "^16.0.0",
"pagefind": "^1.3.0",
"prettier": "^3.5.2",
"prettier": "^3.5.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.11",
"typescript": "^5.7.3",
"typescript-eslint": "^8.25.0"
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.0"
}
}
+372 -383
View File
File diff suppressed because it is too large Load Diff