aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-08 23:54:04 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-08 23:54:04 +0900
commit27b5325f2d89b3a714059719e4c4cbe931b5b1a3 (patch)
treeeeb4896bf97ebd462b01f3cab502e55bd6972df5 /package.json
parentdd576c9dd9cb838ec4834e8bd4d3ba1df35084f3 (diff)
post-x-events.mjs: 週1回分の予定投稿と認証確認に対応
既定を「今後1週間分」(--days 7)にし、日付ごとの見出しと「期間中」のまとめを追加した。前回から7日経っていなければ投稿しない間隔判定(X_POST_INTERVAL_DAYS)と1日3件の上限を設け、--check で認証を確認できるようにした。返信投稿(X_REPLY_TO_ID / --reply-to)と、掲載漏れがあり得る旨の注意書きも追加。
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 4c41862..b6f377b 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
"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",
+ "x:check": "node --no-warnings scripts/post-x-events.mjs --check",
"library:update": "node scripts/update-library-dates.mjs",
"library:apply": "node scripts/update-library-dates.mjs --apply",
"park-editor": "node scripts/park-editor.mjs",