Skip to content

Commit 632cdc2

Browse files
committed
Add @types/bun and @types/node to dependencies; update prepublish script to import bun
1 parent 2fc4557 commit 632cdc2

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

bun.lock

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"node-gyp-build": "^4.8.1"
2323
},
2424
"devDependencies": {
25+
"@types/bun": "^1.3.8",
2526
"node-gyp": "^12.2.0",
2627
"prebuildify": "^6.0.0"
2728
},

scripts/prepublish.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import { access, readFile, writeFile } from 'node:fs/promises';
44
import path from 'node:path';
5+
import { $ } from 'bun';
56

67
async function modifyPackageJson({
78
version,

0 commit comments

Comments
 (0)