Commit 062481f
feat(deno): migrate visualization/ package.json → deno.json (Class B, standards#253 longtail) (#38)
## Summary
Class B — npm-wrapper-via-Deno. `anamnesis-visualization` is a ReScript
+ React + Vite + Jest stack. All dependencies wrap through `deno run -A
--node-modules-dir=auto npm:<tool>` per the canonical template at
`docs/migrations/npm-to-deno-template/MIGRATION.md`.
## Changes
- `visualization/deno.json` (new) — tasks for all `package.json` scripts
(`rescript:build`, `rescript:clean`, `rescript:dev`, `dev`, `build`,
`preview`, `test`, `test:watch`, `test:coverage`).
- Tasks use `deno run -A --node-modules-dir=auto npm:<tool>@<semver>`
(rescript / vite / jest); resolves rescript through its
install-lifecycle via `nodeModulesDir: "auto"`.
- `imports` map populated for all runtime + dev deps with `npm:`
specifiers.
- `visualization/package.json` deleted.
Note: jest test discovery still works via the existing `__tests__/`
convention; deno-test conversion is a per-repo follow-up.
## Test plan
- [ ] `deno task rescript:build` produces `.bs.js` output (preserves
existing `bs.js` suffix from `rescript.json`)
- [ ] `deno task build` chains rescript build + vite build
- [ ] `deno task test` runs the jest test suite
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 9fbfbfe commit 062481f
2 files changed
Lines changed: 31 additions & 31 deletions
| 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 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
This file was deleted.
0 commit comments