Skip to content

Commit a2c7eb4

Browse files
authored
Merge pull request #648 from zeromq/npm-builds [skip ci]
2 parents c3d4666 + c13cbe5 commit a2c7eb4

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"tsconfig.json"
8383
],
8484
"scripts": {
85-
"install": "(npm run build.js || echo ok) && aminya-node-gyp-build --build-from-source",
85+
"install": "(npm run build.js || echo ok) && cross-env npm_config_build_from_source=true aminya-node-gyp-build",
8686
"clean": "shx rm -rf ./build ./lib/ ./prebuilds ./script/*.js ./script/*.mjs ./script/*.js.map ./script/*.mjs.map ./script/*.d.ts ./script/*.d.mts ./script/*.cjs ./scripts/*.cjs.map ./scripts/*.d.cts ./script/*.tsbuildinfo",
8787
"clean.release": "shx rm -rf ./build/Release",
8888
"clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp",

tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
"declaration": true,
77
"module": "commonjs",
88
"moduleResolution": "node",
9-
"types": [
10-
"node",
11-
"mocha"
12-
],
9+
"forceConsistentCasingInFileNames": true,
1310
"strictPropertyInitialization": false, // TODO
1411
"strict": true,
1512
"strictNullChecks": true,

0 commit comments

Comments
 (0)