Skip to content

Commit 7363d7f

Browse files
feat(deno): migrate flatracoon netstack/interface npm → Deno (standards#253) (#21)
Class B (npm-wrapper via Deno). Deletes package.json stub (rescript + @rescript/core only, zero scripts). Updates deno.json build|clean|watch tasks to `deno run -A --node-modules-dir=auto npm:rescript <args>` so rescript compiler resolves @rescript/core via node_modules without committed package.json. Refs: standards#253 STEP 3 (smallest-first batch). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5e8c767 commit 7363d7f

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ build/
4040
/deps/
4141
package-lock.json
4242

43+
# npm-avoidant (standards#67)
44+
**/package-lock.json
45+
bun.lockb
46+
yarn.lock
47+
pnpm-lock.yaml
48+
.npmrc
49+
4350
# Secrets
4451
.env
4552
.env.*

netstack/interface/deno.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"version": "0.1.0",
44
"exports": "./src/FlatRacoonClient.res.js",
55
"tasks": {
6-
"build": "rescript build",
7-
"clean": "rescript clean",
8-
"watch": "rescript build -w",
6+
"build": "deno run -A --node-modules-dir=auto npm:rescript build",
7+
"clean": "deno run -A --node-modules-dir=auto npm:rescript clean",
8+
"watch": "deno run -A --node-modules-dir=auto npm:rescript build -w",
99
"test": "deno test --allow-net tests/"
1010
},
1111
"compilerOptions": {

netstack/interface/package.json

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

0 commit comments

Comments
 (0)