Skip to content

Commit 207a602

Browse files
feat(deno): migrate echidna-playground npm -> Deno (standards#253) (#155)
## Summary Class B (npm-wrapper via Deno) for `echidna-playground/` sub-tree per standards#253 STEP 3 (smallest-first batch). - Deletes redundant `echidna-playground/package.json` (rescript-toolchain stub only — 0 runtime deps, 1 rescript devDep) - Updates `echidna-playground/deno.json` tasks: `npx rescript` / bare `rescript` -> `deno run -A --node-modules-dir=auto npm:rescript` - Adds `.gitignore` entries for npm-avoidant lockfiles (package-lock.json, bun.lockb, yarn.lock, pnpm-lock.yaml, .npmrc) `deno.json`'s `imports` already carried the `rescript: ^12.0.0` specifier (resolves via npm), so no new dependency declaration needed. ## Test plan - [ ] CI green - [ ] `deno task res:build` works locally (post-merge spot-check) Refs: standards#253 STEP 3. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 870a2ec commit 207a602

3 files changed

Lines changed: 13 additions & 20 deletions

File tree

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,11 @@ generated/tlaiser/
217217
generated/wokelangiser/
218218
generated/alloyiser/
219219
generated/abi/
220+
221+
# npm-avoidant (standards#67)
222+
package-lock.json
223+
**/package-lock.json
224+
bun.lockb
225+
yarn.lock
226+
pnpm-lock.yaml
227+
.npmrc

echidna-playground/deno.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"name": "@coq-jr/web",
33
"version": "0.1.0",
44
"tasks": {
5-
"build:res": "npx rescript build",
6-
"clean:res": "npx rescript clean",
5+
"build:res": "deno run -A --node-modules-dir=auto npm:rescript build",
6+
"clean:res": "deno run -A --node-modules-dir=auto npm:rescript clean",
77
"dev": "deno run --allow-net --allow-read server.ts",
88
"serve": "deno run --allow-net --allow-read server.ts",
9-
"res:build": "rescript build",
10-
"res:clean": "rescript clean",
11-
"res:watch": "rescript build -w"
9+
"res:build": "deno run -A --node-modules-dir=auto npm:rescript build",
10+
"res:clean": "deno run -A --node-modules-dir=auto npm:rescript clean",
11+
"res:watch": "deno run -A --node-modules-dir=auto npm:rescript build -w"
1212
},
1313
"imports": {
1414
"@std/http": "jsr:@std/http@^1.0.0",

echidna-playground/package.json

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

0 commit comments

Comments
 (0)