Skip to content

Commit a7589c9

Browse files
committed
fix env var on windows
1 parent b1e1b3d commit a7589c9

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

bindings/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"scripts": {
44
"build": "npm run build:package && npm run build:test",
5-
"build:package": "node-gyp configure --arch=$TARGET_ARCH && node-gyp build --arch=$TARGET_ARCH",
5+
"build:package": "cross-replace node-gyp configure --arch=$TARGET_ARCH && node-gyp build --arch=$TARGET_ARCH",
66
"build:test": "tsc -b test",
77
"clean": "npm run clean:gyp && npm run clean:libduckdb && npm run clean:package",
88
"clean:gyp": "node-gyp clean",
@@ -13,6 +13,7 @@
1313
},
1414
"dependencies": {
1515
"@duckdb/node-bindings": "workspace:*",
16+
"cross-replace": "^0.2.0",
1617
"node-addon-api": "^8.3.0",
1718
"node-gyp": "^10.3.1",
1819
"rimraf": "^5.0.10",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)