Skip to content

Commit 272bd1b

Browse files
hyperpolymathclaude
andcommitted
feat(rescript): port stale/{scanner,react} packages from TS to ReScript
Per the ReScript-and-Deno language policy in .claude/CLAUDE.md. - @accessibility-everywhere/react: Button + Modal (forwardRef, focus trap, portal, WCAG-compliant ARIA) with hand-rolled DOM FFI; React.useId replaces @reach/auto-id. - @accessibility-everywhere/scanner: Scanner module with typed FFI to puppeteer/ playwright/axe-core/fs. Method bodies preserved as TODOs to mirror the TS stubs. - Per-package rescript.json with esmodule output, in-source .mjs. - Root rescript.json stub (pointed at non-existent src/) removed. - gitignore extended for nested ReScript build dirs. Both packages compile cleanly with rescript@11. Remaining TS to port: core/arangodb (409 LOC), cli, github-action, monitoring-api. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5773bca commit 272bd1b

23 files changed

Lines changed: 2090 additions & 428 deletions

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ erl_crash.dump
4040
# ReScript
4141
/lib/bs/
4242
/.bsb.lock
43+
**/lib/bs/
44+
**/lib/ocaml/
45+
**/.bsb.lock
46+
**/.merlin
4347

4448
# Python (SaltStack only)
4549
__pycache__/

rescript.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)