Skip to content

Commit d365884

Browse files
authored
Merge pull request #20 from rocicorp/0xcadams/bun
fix: install script to work with bun
2 parents 6b5cbc2 + fdb299f commit d365884

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rocicorp/zero-sqlite3",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"description": "better-sqlite3 on bedrock",
55
"homepage": "https://github.com/rocicorp/zero-sqlite3",
66
"author": "Rocicorp",
@@ -44,7 +44,7 @@
4444
"sqlite3": "^5.1.6"
4545
},
4646
"scripts": {
47-
"install": "prebuild-install || node-gyp rebuild --release",
47+
"install": "prebuild-install || node -e \"require('fs').existsSync('build/Release/better_sqlite3.node')||process.exit(1)\" || node-gyp rebuild --release",
4848
"build-release": "node-gyp rebuild --release",
4949
"build-debug": "node-gyp rebuild --debug",
5050
"test": "mocha --exit --slow=75 --timeout=5000",

0 commit comments

Comments
 (0)