Skip to content

Commit

Permalink
Merge pull request #537 from zeromq/node-gyp-build-spawn [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Nov 28, 2022
2 parents f5f6f86 + 9759f35 commit 5f9432b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
- name: Install Dependencies and Build
if: ${{ !matrix.docker }}
run: pnpm install
run: pnpm install --verbose

- name: Prebuild
if: ${{ !matrix.docker }}
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ package-lock=false
lockfile=true
prefer-frozen-lockfile=false
strict-peer-dependencies=false
build-from-source=true
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
"url": "https://github.com/zeromq/zeromq.js.git"
},
"dependencies": {
"@aminya/node-gyp-build": "4.5.0-aminya.1",
"@aminya/node-gyp-build": "4.5.0-aminya.4",
"node-addon-api": "^5.0.0",
"shelljs": "^0.8.5",
"shx": "^0.3.4"
"shx": "^0.3.4",
"cross-env": "^7.0.3"
},
"devDependencies": {
"@gnd/typedoc": "^0.15.0-0",
Expand All @@ -34,7 +35,6 @@
"@types/which": "^2.0.1",
"benchmark": "^2.1.4",
"chai": "^4.3.7",
"cross-env": "^7.0.3",
"deasync": "^0.1.28",
"downlevel-dts": "^0.11.0",
"eslint-config-atomic": "^1.18.1",
Expand Down Expand Up @@ -69,7 +69,7 @@
"tsconfig.json"
],
"scripts": {
"install": "(shx test -f ./script/build.js || run-s build.js) && node-gyp-build",
"install": "(shx test -f ./script/build.js || run-s build.js) && cross-env npm_config_build_from_source=true node-gyp-build",
"clean": "shx rm -rf ./build ./lib/ ./prebuilds ./script/*.js ./script/*.js.map ./script/*.d.ts ./script/*.tsbuildinfo",
"clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp && shx touch ./tmp/.gitkeep",
"build.library": "tsc -p ./src/tsconfig.json && downlevel-dts ./lib ./lib/ts3.7 --to=3.7",
Expand Down
24 changes: 9 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,5 @@
"ES2020",
"dom"
]
},
"include": [
"src",
"script",
"examples"
]
}
}

0 comments on commit 5f9432b

Please sign in to comment.