aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-06-25 23:41:27 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-06-25 23:41:27 +0900
commit80c5459db5df54a80f4823db09f1251166fe704a (patch)
tree39b0894d2ad45adb90670a3dc71d44dae8a51404 /package.json
parente2e445a028d461da5dbc395e1f04f66e6f258b39 (diff)
OGP画像を動的生成するエンドポイントを追加(Satori + resvg-js)
- src/pages/og/[slug].png.ts を追加 - 全ページに個別のOGP画像をビルド時に生成 - デザイン: faceicon + ページタイトル + サイト名 - 開発中は npm run preview でのみ確認可能(静的エンドポイントの制限)
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index ad8b7c0..58933ee 100644
--- a/package.json
+++ b/package.json
@@ -14,10 +14,12 @@
"dependencies": {
"@astrojs/sitemap": "^3.7.3",
"@astrojs/starlight": "^0.40.0",
+ "@resvg/resvg-js": "^2.6.2",
"astro": "^6.4.6",
"mammoth": "^1.12.0",
"playwright": "^1.60.0",
"remark-mermaidjs": "^7.0.0",
+ "satori": "^0.26.0",
"sharp": "^0.33.0"
},
"devDependencies": {