-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Change node-gyp to @electron/node-gyp (#1157)
* fix: Change node-gyp to @electron/node-gyp * fix: node-gyp has native promises now * Move to a github version (temporarily) * fix: Optional chaining * test: Update the tests to ffi-napi * fix: Use better-sqlite3 instead * test: Nevermind, go with a simple module * test: We're testing on one fewer module * test: Use farmhash for clang testing
- Loading branch information
1 parent
a235385
commit 96b462a
Showing
7 changed files
with
200 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,10 @@ | |
"keywords": [ | ||
"electron" | ||
], | ||
"author": "Paul Betts <[email protected]>", | ||
"authors": [ | ||
"Ani Betts <[email protected]>", | ||
"Electron Community" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/electron/rebuild/issues" | ||
|
@@ -39,6 +42,7 @@ | |
"node": ">=12.13.0" | ||
}, | ||
"dependencies": { | ||
"@electron/node-gyp": "https://github.com/electron/node-gyp#06b29aafb7708acef8b3669835c8a7857ebc92d2", | ||
"@malept/cross-spawn-promise": "^2.0.0", | ||
"chalk": "^4.0.0", | ||
"debug": "^4.1.1", | ||
|
@@ -47,7 +51,6 @@ | |
"got": "^11.7.0", | ||
"node-abi": "^3.45.0", | ||
"node-api-version": "^0.2.0", | ||
"node-gyp": "^9.0.0", | ||
"ora": "^5.1.0", | ||
"read-binary-file-arch": "^1.0.6", | ||
"semver": "^7.3.5", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -263,7 +263,7 @@ core-util-is@~1.0.0: | |
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" | ||
integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== | ||
|
||
debug@4, debug@^4.1.1, debug@^4.3.3: | ||
debug@4, debug@^4.3.3: | ||
version "4.3.5" | ||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.5.tgz#e83444eceb9fedd4a1da56d671ae2446a01a6e1e" | ||
integrity sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg== | ||
|
@@ -371,18 +371,6 @@ [email protected]: | |
node-addon-api "^3.1.0" | ||
prebuild-install "^6.0.1" | ||
|
||
[email protected]: | ||
version "4.0.3" | ||
resolved "https://registry.yarnpkg.com/ffi-napi/-/ffi-napi-4.0.3.tgz#27a8d42a8ea938457154895c59761fbf1a10f441" | ||
integrity sha512-PMdLCIvDY9mS32RxZ0XGb95sonPRal8aqRhLbeEtWKZTe2A87qRFG9HjOhvG8EX2UmQw5XNRMIOT+1MYlWmdeg== | ||
dependencies: | ||
debug "^4.1.1" | ||
get-uv-event-loop-napi-h "^1.0.5" | ||
node-addon-api "^3.0.0" | ||
node-gyp-build "^4.2.1" | ||
ref-napi "^2.0.1 || ^3.0.2" | ||
ref-struct-di "^1.1.0" | ||
|
||
[email protected]: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" | ||
|
@@ -455,18 +443,6 @@ gauge@~2.7.3: | |
strip-ansi "^3.0.1" | ||
wide-align "^1.1.0" | ||
|
||
get-symbol-from-current-process-h@^1.0.1, get-symbol-from-current-process-h@^1.0.2: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/get-symbol-from-current-process-h/-/get-symbol-from-current-process-h-1.0.2.tgz#510af52eaef873f7028854c3377f47f7bb200265" | ||
integrity sha512-syloC6fsCt62ELLrr1VKBM1ggOpMdetX9hTrdW77UQdcApPHLmf7CI7OKcN1c9kYuNxKcDe4iJ4FY9sX3aw2xw== | ||
|
||
get-uv-event-loop-napi-h@^1.0.5: | ||
version "1.0.6" | ||
resolved "https://registry.yarnpkg.com/get-uv-event-loop-napi-h/-/get-uv-event-loop-napi-h-1.0.6.tgz#42b0b06b74c3ed21fbac8e7c72845fdb7a200208" | ||
integrity sha512-t5c9VNR84nRoF+eLiz6wFrEp1SE2Acg0wS+Ysa2zF0eROes+LzOfuTaVHxGy8AbS8rq7FHEJzjnCZo1BupwdJg== | ||
dependencies: | ||
get-symbol-from-current-process-h "^1.0.1" | ||
|
||
[email protected]: | ||
version "0.0.0" | ||
resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" | ||
|
@@ -939,11 +915,6 @@ node-fetch@^2.6.7: | |
dependencies: | ||
whatwg-url "^5.0.0" | ||
|
||
node-gyp-build@^4.2.1: | ||
version "4.8.0" | ||
resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.0.tgz#3fee9c1731df4581a3f9ead74664369ff00d26dd" | ||
integrity sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og== | ||
|
||
node-gyp-build@~4.1.0: | ||
version "4.1.1" | ||
resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.1.1.tgz#d7270b5d86717068d114cc57fff352f96d745feb" | ||
|
@@ -1190,23 +1161,6 @@ [email protected]: | |
debug "^3.1.0" | ||
node-addon-api "^1.6.2" | ||
|
||
"ref-napi@^2.0.1 || ^3.0.2": | ||
version "3.0.3" | ||
resolved "https://registry.yarnpkg.com/ref-napi/-/ref-napi-3.0.3.tgz#e259bfc2bbafb3e169e8cd9ba49037dd00396b22" | ||
integrity sha512-LiMq/XDGcgodTYOMppikEtJelWsKQERbLQsYm0IOOnzhwE9xYZC7x8txNnFC9wJNOkPferQI4vD4ZkC0mDyrOA== | ||
dependencies: | ||
debug "^4.1.1" | ||
get-symbol-from-current-process-h "^1.0.2" | ||
node-addon-api "^3.0.0" | ||
node-gyp-build "^4.2.1" | ||
|
||
ref-struct-di@^1.1.0: | ||
version "1.1.1" | ||
resolved "https://registry.yarnpkg.com/ref-struct-di/-/ref-struct-di-1.1.1.tgz#5827b1d3b32372058f177547093db1fe1602dc10" | ||
integrity sha512-2Xyn/0Qgz89VT+++WP0sTosdm9oeowLP23wRJYhG4BFdMUrLj3jhwHZNEytYNYgtPKLNTP3KJX4HEgBvM1/Y2g== | ||
dependencies: | ||
debug "^3.1.0" | ||
|
||
retry@^0.12.0: | ||
version "0.12.0" | ||
resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" | ||
|
@@ -1485,6 +1439,13 @@ wide-align@^1.1.0, wide-align@^1.1.2, wide-align@^1.1.5: | |
dependencies: | ||
string-width "^1.0.2 || 2 || 3 || 4" | ||
|
||
[email protected]: | ||
version "1.1.1" | ||
resolved "https://registry.yarnpkg.com/windows-active-process/-/windows-active-process-1.1.1.tgz#e64605d8a3f6d8811ea290fdbcec3f885e41f11c" | ||
integrity sha512-L/ZF2JxmqQZxp8gPWTu4BOLsVms/ykZVdkkfQj4xtXvZiPOqRAiuI5gvjQS6WfXcRpSm6j8HrgB1KyG9/I2Mcg== | ||
dependencies: | ||
bindings "^1.2.1" | ||
|
||
wrappy@1: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
declare module 'node-gyp'; | ||
declare module '@electron/node-gyp'; |
Oops, something went wrong.