[CHORE] slim root scripts; menu-driven sub-clis; biome + tsgo #1

Merged
dunemask merged 1 commit from ep/May06-2026/CleanupScripts into main 2026-05-07 00:09:34 +00:00
Owner
  • root package.json: 13 → 3 scripts (tsc, example:todo, demo:web-vs-native)
    naming convention: :; new demos/examples never bloat root
  • per-area cli.ts with numbered menu when invoked w/o args; subcommand
    args still skip the menu for power users (also new build-target picker)
  • new just-do-its: example:todo run / install, demo:web-vs-native install
    (each picks a connected device, then chains build → install → adb)
  • process teardown: spawn detached → own pgid; SIGINT/SIGTERM forwarded
    via process.kill(-pid, sig); no zombie vite/flutter/bunx grandchildren
  • shared scripts/_devices.ts (adb + xcrun simctl) + scripts/_prompt.ts
    (pickMenu, promptText) drive both clis
  • biome 1.9.4 wired (api-v2 config: 2-space, lf, 120w, double quotes,
    trailing commas all). full-repo format pass landed in same commit
  • tsc → tsgo (@typescript/native-preview) across all workspaces; one
    pre-existing Uint8Array typing fix in src/proxy/dev-proxy.ts surfaced
    by tsgo's stricter ArrayBuffer generics
  • demo/web-vs-native promoted to its own workspace so its driver scripts
    type-check; examples/todo gets a tsconfig covering its driver scripts
    • the shared scripts/* + the plugin's xcode-shim
  • docs/file-map.md updated to reflect new layout + script convention

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

- root package.json: 13 → 3 scripts (tsc, example:todo, demo:web-vs-native) naming convention: <kind>:<name>; new demos/examples never bloat root - per-area cli.ts with numbered menu when invoked w/o args; subcommand args still skip the menu for power users (also new build-target picker) - new just-do-its: example:todo run / install, demo:web-vs-native install (each picks a connected device, then chains build → install → adb) - process teardown: spawn detached → own pgid; SIGINT/SIGTERM forwarded via process.kill(-pid, sig); no zombie vite/flutter/bunx grandchildren - shared scripts/_devices.ts (adb + xcrun simctl) + scripts/_prompt.ts (pickMenu, promptText) drive both clis - biome 1.9.4 wired (api-v2 config: 2-space, lf, 120w, double quotes, trailing commas all). full-repo format pass landed in same commit - tsc → tsgo (@typescript/native-preview) across all workspaces; one pre-existing Uint8Array typing fix in src/proxy/dev-proxy.ts surfaced by tsgo's stricter ArrayBuffer<T> generics - demo/web-vs-native promoted to its own workspace so its driver scripts type-check; examples/todo gets a tsconfig covering its driver scripts + the shared scripts/* + the plugin's xcode-shim - docs/file-map.md updated to reflect new layout + script convention Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- root package.json: 13 → 3 scripts (tsc, example:todo, demo:web-vs-native)
  naming convention: <kind>:<name>; new demos/examples never bloat root
- per-area cli.ts with numbered menu when invoked w/o args; subcommand
  args still skip the menu for power users (also new build-target picker)
- new just-do-its: example:todo run / install, demo:web-vs-native install
  (each picks a connected device, then chains build → install → adb)
- process teardown: spawn detached → own pgid; SIGINT/SIGTERM forwarded
  via process.kill(-pid, sig); no zombie vite/flutter/bunx grandchildren
- shared scripts/_devices.ts (adb + xcrun simctl) + scripts/_prompt.ts
  (pickMenu, promptText) drive both clis
- biome 1.9.4 wired (api-v2 config: 2-space, lf, 120w, double quotes,
  trailing commas all). full-repo format pass landed in same commit
- tsc → tsgo (@typescript/native-preview) across all workspaces; one
  pre-existing Uint8Array typing fix in src/proxy/dev-proxy.ts surfaced
  by tsgo's stricter ArrayBuffer<T> generics
- demo/web-vs-native promoted to its own workspace so its driver scripts
  type-check; examples/todo gets a tsconfig covering its driver scripts
  + the shared scripts/* + the plugin's xcode-shim
- docs/file-map.md updated to reflect new layout + script convention

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dunemask deleted branch ep/May06-2026/CleanupScripts 2026-05-07 00:09:40 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dunemask/lion-turtle!1
No description provided.