diff --git a/.gitignore b/.gitignore index 68e6b29..c6ec535 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,13 @@ build/ /deps/ package-lock.json +# npm-avoidant (standards#67) +**/package-lock.json +bun.lockb +yarn.lock +pnpm-lock.yaml +.npmrc + # Secrets .env .env.* diff --git a/netstack/interface/deno.json b/netstack/interface/deno.json index 46291c0..b0147d3 100644 --- a/netstack/interface/deno.json +++ b/netstack/interface/deno.json @@ -3,9 +3,9 @@ "version": "0.1.0", "exports": "./src/FlatRacoonClient.res.js", "tasks": { - "build": "rescript build", - "clean": "rescript clean", - "watch": "rescript build -w", + "build": "deno run -A --node-modules-dir=auto npm:rescript build", + "clean": "deno run -A --node-modules-dir=auto npm:rescript clean", + "watch": "deno run -A --node-modules-dir=auto npm:rescript build -w", "test": "deno test --allow-net tests/" }, "compilerOptions": { diff --git a/netstack/interface/package.json b/netstack/interface/package.json deleted file mode 100644 index 856736f..0000000 --- a/netstack/interface/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "dependencies": { - "rescript": "^12.0.0", - "@rescript/core": "^1.6.1" - } -}