Commit 272bd1b
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
File tree
- tools/stale/packages
- scanner
- src
- stale/components/react
- src
- Button
- Modal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
This file was deleted.
0 commit comments