Commit c55fe07
feat(deno): migrate accessibility-everywhere tools/ (7/8 manifests, standards#253 longtail) (#49)
## Summary
Workspace-style migration covering 7 of 8 npm manifests. The eighth
(`tools/browser-extension/package.json`) is Class C — browser-extension
packaging requires the npm-published `archiver` library at build time.
Same Class C pattern as VSCode extensions / Office add-ins.
## Migrated
| Manifest | Class | New | Imports |
|---|---|---|---|
| `/package.json` | workspace-root | extend `/deno.json` | `workspace`
field with 6 ReScript tools; tasks orchestrate setup/build/test/docker |
| `tools/safe-dom/package.json` | B | `tools/safe-dom/deno.json` |
rescript@^12, @rescript/core@^1.6 |
| `tools/cli/package.json` | B | `tools/cli/deno.json` | rescript,
commander, chalk, ora, cli-table3, fs-extra |
| `tools/github-action/package.json` | B |
`tools/github-action/deno.json` | rescript, @actions/core,
@actions/github |
| `tools/monitoring-api/package.json` | B |
`tools/monitoring-api/deno.json` | rescript, express, cors, helmet,
express-rate-limit, compression, dotenv, joi, uuid |
| `tools/stale/packages/core/package.json` | B |
`tools/stale/packages/core/deno.json` | rescript@^11.1 (preserved),
@rescript/core@^1.5, arangojs, dotenv |
| `tools/stale/packages/scanner/package.json` | B |
`tools/stale/packages/scanner/deno.json` | rescript@^11.1 (preserved),
axe-core@^4.8, playwright, puppeteer |
All Class B tools use `deno run -A --node-modules-dir=auto
npm:rescript@^<version>` for build/clean/dev (rescript's install
lifecycle requires resolvable node_modules).
## Deferred (Class C — host-required)
- `tools/browser-extension/package.json` — depends on `archiver`
(npm-only zip lib) for Chrome/Firefox packaging; `axe.min.js` is
copy-source-pathed from `node_modules` at build time. Class C pattern
(host-required npm scaffolding). Tracked as carve-out candidate for
hypatia rule extension (per-repo follow-up).
The root `build:browser-extension` task emits a documentation message
instead of orchestrating, so `deno task build:browser-extension` does
not silently fail.
## Test plan
- [ ] `deno task build` chains cli + safe-dom + scanner builds
- [ ] Each tool's `deno task build` produces equivalent .mjs/.bs.js
output to prior bare `rescript`
- [ ] `deno task setup` invokes the arangodb setup script
Per per-repo follow-up tracker for standards#253 (campaign closed
2026-05-31, longtail tracked in
`project_estate_npm_to_deno_2026_05_28.md`).
Refs hyperpolymath/standards#253.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c90b02b commit c55fe07
14 files changed
Lines changed: 146 additions & 171 deletions
File tree
- tools
- cli
- github-action
- monitoring-api
- safe-dom
- stale/packages
- core
- scanner
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
2 | 14 | | |
| 15 | + | |
3 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
4 | 22 | | |
5 | 23 | | |
6 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
7 | 28 | | |
8 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
9 | 36 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
This file was deleted.
0 commit comments