aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-08 22:43:11 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-08 22:43:11 +0900
commitdd576c9dd9cb838ec4834e8bd4d3ba1df35084f3 (patch)
tree72e30a8d9d30d9d2603f5c6316dba0d90a66a70b /package.json
parent148cacfce5014932ada747da2a2bbda51b94aac7 (diff)
post-x-events.mjs: 当日の予定をXへ自動投稿するスクリプトを追加
その日の予定を全件掲載し、誤りがあり得る旨の注意書きを付けて投稿する。1日の投稿上限(既定3件、X_MAX_POSTS_PER_DAY で変更可)を設け、投稿履歴とログは logs/ に保存する。package.json に x:preview / x:post を追加。
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 a7ab88e..4c41862 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,8 @@
"build": "astro build && py -c \"import shutil; shutil.copy('public/.htaccess', 'dist/.htaccess')\" && py removeNullCharacters.py && node scripts/generate-llms-full.mjs",
"deploy": "sh deploy.sh",
"indexnow": "node scripts/indexnow.mjs",
+ "x:preview": "node --no-warnings scripts/post-x-events.mjs",
+ "x:post": "node --no-warnings scripts/post-x-events.mjs --post",
"library:update": "node scripts/update-library-dates.mjs",
"library:apply": "node scripts/update-library-dates.mjs --apply",
"park-editor": "node scripts/park-editor.mjs",