tiletopia/scripts
megaproxy 25aac634ab README: generate shortcuts table from shortcuts.ts (single source of truth)
The shortcuts table in README was hand-maintained and kept drifting from
src/lib/shortcuts.ts (the data the in-app help overlay reads). Replace the
table with a marker block (<!-- SHORTCUTS:START --> ... <!-- SHORTCUTS:END -->)
populated by scripts/gen-readme-shortcuts.mjs. Includes TIPS too, not just
shortcuts. Script is plain Node + fs (no tsx/esbuild dep); reads shortcuts.ts
as text, strips TS type syntax, dynamic-imports the resulting .mjs.

Adds `pnpm gen:readme` script and a `--check` mode that exits 1 on drift
(for future CI wiring). Idempotent.
2026-05-26 17:34:54 +01:00
..
gen-readme-shortcuts.mjs README: generate shortcuts table from shortcuts.ts (single source of truth) 2026-05-26 17:34:54 +01:00
make-icon.py M5 ship infrastructure: icon, version, release script, README 2026-05-22 13:38:29 +01:00
pr4-verify.mjs scripts: pr4-verify.mjs — end-to-end MCP add_host/delete_host harness 2026-05-26 16:53:22 +01:00
release.sh M5 ship infrastructure: icon, version, release script, README 2026-05-22 13:38:29 +01:00