aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Plecra <marli@frost.red> 2023-04-24 11:23:38 +0000
committerGravatar GitHub <noreply@github.com> 2023-04-24 04:23:38 -0700
commit98209b8e101c8c0199f1360f7c1781938f502ed8 (patch)
tree8f94c064cfb529f9ef576456975dc4b8a74c17f9
parent4b24bb464c5a54c728bee8c9b4aa30a60c3fb7d4 (diff)
downloadbun-98209b8e101c8c0199f1360f7c1781938f502ed8.tar.gz
bun-98209b8e101c8c0199f1360f7c1781938f502ed8.tar.zst
bun-98209b8e101c8c0199f1360f7c1781938f502ed8.zip
Reduce friction for building with npm (#2723)
This was the only dependency on bun that I encountered while building the project, and the change to the gitignore ensures that it's easy to make changes after an npm based build
Diffstat (limited to '')
-rw-r--r--.gitignore2
-rw-r--r--test/package.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 595ed3e12..d7e8d953e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,7 +13,7 @@ dist
*.log
*.out.js
*.out.refresh.js
-/package-lock.json
+**/package-lock.json
build
*.wat
zig-out
diff --git a/test/package.json b/test/package.json
index f3ef067bd..c2caf7653 100644
--- a/test/package.json
+++ b/test/package.json
@@ -21,6 +21,6 @@
"private": true,
"scripts": {
"typecheck": "tsc --noEmit",
- "postinstall": "cd node_modules/bktree-fast && bun x node-gyp configure build"
+ "postinstall": "cd node_modules/bktree-fast && npx node-gyp configure build"
}
}