Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update node-gyp to 10.0.1 #2

Merged
merged 457 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
457 commits
Select commit Hold shift + click to select a range
a6b76a8
gyp: update gyp to 0.2.1
ryzokuken May 17, 2020
4937722
deps: replace mkdirp with {recursive} mkdir
rvagg May 13, 2020
f7bfce9
doc: update acid test and introduce curl|bash test script
vladimyr Apr 24, 2020
ba4f34b
doc: update catalina xcode clt download link
vladimyr May 18, 2020
33affe2
v7.0.0: bump version and update changelog
rvagg May 13, 2020
7857cb2
deps: increase "engines" to "node" : ">= 10.12.0"
DeeDeeG Jun 7, 2020
4fc8ff1
doc: silence curl for macOS Catalina acid test
weiliddat Jun 5, 2020
ee6fa7d
docs: note that node-gyp@7 should solve Catalina CLT issues
rvagg Jun 17, 2020
f461d56
build: support apple silicon (arm64 darwin) builds
MarshallOfSound Jul 9, 2020
3baa4e4
gyp: update gyp to 0.4.0
MarshallOfSound Jul 15, 2020
aaf33c3
build: add update-gyp script
MarshallOfSound Jul 15, 2020
c603796
v7.1.0: bump version and update changelog
rvagg Aug 11, 2020
2cca9b7
doc: drop the --production flag for installing windows-build-tools
DeeDeeG Aug 29, 2020
2317dc4
ci: switch to GitHub Actions
codebytere May 13, 2020
754996b
doc: replace status badges with new Actions badge
rvagg Sep 9, 2020
7fb3143
test: GitHub Actions: Test on Python 3.9
cclauss Oct 7, 2020
3e7f8cc
lib: better log message when ps fails
initram Sep 29, 2020
ee6a837
gyp: update gyp to 0.6.1
rvagg Oct 14, 2020
18bf2d1
deps: update deps to match npm@7
rvagg Oct 15, 2020
b9e3ad2
v7.1.1: bump version and update changelog
rvagg Oct 15, 2020
54f97cd
doc: add cmd to reset `xcode-select` to initial state
valera-rozuvan Oct 15, 2020
096e3ad
gyp: update gyp to 0.6.2
MylesBorins Oct 16, 2020
19e0f3c
v7.1.1: bump version and update changelog
rvagg Oct 16, 2020
66c0f04
doc: add missing `sudo` to Catalina doc
karlhorky Oct 24, 2020
15a5c7d
ci: migrate deprecated grammar (#2285)
gengjiawen Dec 18, 2020
6287118
doc: updated README.md to copy easily (#2281)
SmartManoj Dec 19, 2020
9e1397c
gyp: update gyp to v0.7.0 (#2284)
gengjiawen Dec 22, 2020
cc1cbce
doc: update macOS_Catalina.md (#2293)
iMrLopez Jan 5, 2021
c3c510d
gyp: update gyp to v0.8.0 (#2318)
cclauss Jan 28, 2021
392b776
lib: avoid changing process.config (#2322)
targos Feb 14, 2021
a78b584
gyp: remove support for Python 2 (#2300)
cclauss Feb 14, 2021
e81602e
lib: migrate requests to fetch (#2220)
imatlopez Mar 18, 2021
1bd18f3
lib: drop Python 2 support in find-python.js (#2333)
DeeDeeG Mar 26, 2021
0d8a6f1
ci: update actions/setup-node to v2 (#2302)
smorimoto Mar 26, 2021
a5fd1f4
doc: add downloads badge (#2352)
gengjiawen Mar 29, 2021
06ddde2
deps: sync mutual dependencies with npm
DeeDeeG Mar 20, 2021
0093ec8
gyp: Improve our flake8 linting tests
cclauss Mar 30, 2021
0da2e01
gyp: update gyp to v0.8.1 (#2355)
DeeDeeG Mar 31, 2021
989abc7
v8.0.0: bump version and update changelog
rvagg Mar 18, 2021
4b83c3d
doc: fix v8.0.0 release date
rvagg Apr 3, 2021
07e9d7c
meta: add `release-please-action` for automated releases (#2395)
DeeDeeG May 19, 2021
fca4795
lib: fail gracefully if we can't find the username (#2375)
DeeDeeG May 19, 2021
245dee5
lib: log as yes/no whether build dir was created (#2370)
DeeDeeG May 19, 2021
1b4697a
doc: Update README.md Visual Studio Community page polski to auto (#2…
gusdleon May 19, 2021
1423670
doc: remove redundant version info (#2403)
gengjiawen May 19, 2021
814b1b0
feat(gyp): update gyp to v0.9.1 (#2402)
gengjiawen May 27, 2021
be55870
chore: release 8.1.0 (#2418)
github-actions[bot] May 28, 2021
5f1a06c
lib: deep-copy process.config during configure (#2368)
DeeDeeG May 29, 2021
cfd12ff
fix: change default gyp update message (#2420)
gengjiawen May 29, 2021
5cde818
fix: add error arg back into catch block for older Node.js users
liviarett Jun 22, 2021
2d0ce55
chore: fix typos discovered by codespell (#2442)
cclauss Jun 22, 2021
1773c15
Initial Commit
TooTallNate Jun 12, 2012
d4fd143
doc(wiki): Created "binding.gyp" files out in the wild (markdown)
TooTallNate Jun 12, 2012
dc97766
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
TooTallNate Jun 12, 2012
2765891
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
milani Jun 18, 2012
954ee53
doc(wiki): fixed node-serialport link
joshbeal Jun 19, 2012
d29fb13
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
TooTallNate Jul 18, 2012
27b883a
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
mixu Jul 19, 2012
e199cfa
doc(wiki): add bcrypt
defunctzombie Jul 19, 2012
e11bdd8
doc(wiki): change bcrypt url to binding.gyp file
defunctzombie Jul 19, 2012
ced8c96
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
lloyd Jul 19, 2012
77f3632
doc(wiki): add one more example
bolgovr Jul 19, 2012
b354711
doc(wiki): Add a link to the node-midi binding.gyp file.
justinlatimer Jul 19, 2012
640895d
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
kkaefer Jul 19, 2012
b6e542f
doc(wiki): Adds node-inotify and v8-profiler
c4milo Jul 20, 2012
7ab1337
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
lperrin Jul 20, 2012
23e3d48
doc(wiki): Adds node-fann
c4milo Jul 25, 2012
13a9553
doc(wiki): Add node-canvas
TooTallNate Jul 30, 2012
1462755
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
oransel Aug 16, 2012
c46d00d
doc(wiki): Created Linking to OpenSSL (markdown)
TooTallNate Sep 2, 2012
b398ef4
doc(wiki): Updated Home (markdown)
TooTallNate Sep 2, 2012
3236069
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
Sep 9, 2012
c00eb77
doc(wiki): Updated Linking to OpenSSL (markdown)
TooTallNate Sep 24, 2012
1575bce
doc(wiki): added levelup
rvagg Nov 3, 2012
a9b7096
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
TooTallNate Nov 5, 2012
3de9e17
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
TooTallNate Nov 5, 2012
d1cd237
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
TooTallNate Nov 5, 2012
e0ac8d1
doc(wiki): Created Updating npm's bundled node gyp (markdown)
TooTallNate Dec 4, 2012
e50e04d
doc(wiki): Updated Updating npm's bundled node gyp (markdown)
TooTallNate Dec 4, 2012
979a706
doc(wiki): Updated Updating npm's bundled node gyp (markdown)
TooTallNate Dec 4, 2012
4a7f2d0
doc(wiki): Updated Updating npm's bundled node gyp (markdown)
TooTallNate Dec 4, 2012
33561e9
doc(wiki): Updated Updating npm's bundled node gyp (markdown)
ossdesign Mar 2, 2013
5b80e83
doc(wiki): Created Visual Studio 2010 Setup (markdown)
xverges Mar 7, 2013
0e37ff4
doc(wiki): Updated Home (markdown)
redchair123 Mar 16, 2013
a38299e
doc(wiki): Created Common issues (markdown)
redchair123 Mar 16, 2013
ea28f09
doc(wiki): Updated Home (markdown)
TooTallNate Apr 15, 2013
4eda827
doc(wiki): Add helpful information
felquis Apr 18, 2013
98bc80d
doc(wiki): Created Error: "pre" versions of node cannot be installed …
TooTallNate Apr 24, 2013
e9f8b33
doc(wiki): Updated Error: "pre" versions of node cannot be installed …
TooTallNate Apr 24, 2013
65efe32
doc(wiki): Updated Home (markdown)
TooTallNate Apr 25, 2013
54db8d7
doc(wiki): fix link to gyp file used to build libsqlite3
Jun 17, 2013
81bfa1f
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
Jun 17, 2013
55ebd6e
doc(wiki): Bumping Python version from 2.3 to 2.7 as per the node-gyp…
alextreppass Aug 5, 2013
61f709e
doc(wiki): Add node-openvg-canvas and node-openvg.
eendeego Aug 13, 2013
6e392bc
doc(wiki): Updated Home (markdown)
Aug 18, 2013
875adbe
doc(wiki): Adding link to node-cryptopp's gyp file
Sep 18, 2013
8919028
doc(wiki): Updated Linking to OpenSSL (markdown)
hexacyanide Sep 20, 2013
1a75d2b
doc(wiki): add topcube, node-osmium, and node-osrm
Oct 5, 2013
65ba711
doc(wiki): Created use of undeclared identifier 'TypedArray' (markdown)
sky42550564 Nov 1, 2013
becef31
doc(wiki): Created Visual studio 2012 setup (markdown)
tcbeutler Dec 30, 2013
3601508
doc(wiki): Destroyed Visual studio 2012 setup (markdown)
tcbeutler Dec 30, 2013
fae7516
doc(wiki): Correcting the link to node-osmium
Feb 2, 2014
8841158
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
johannish Mar 8, 2014
92e49a8
doc(wiki): Fix link to node-zipfile
johannish Mar 8, 2014
378c363
doc(wiki): Explicit link to Visual C++ 2010 Express
vweevers Jun 29, 2014
e64798d
doc(wiki): Added tip about resolving frustrating LNK1181 error
abrkn Jul 7, 2014
59668bb
doc(wiki): Updated node-levelup to node-leveldown (broken links)
ralphtheninja Aug 15, 2014
3d4d9d5
doc(wiki): Added details for properly fixing
zekesonxx Aug 24, 2014
93392d5
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
reklatsmasters Aug 25, 2014
5b4f2d0
doc(wiki): Added nk-mysql (nodamysql)
kirvedx Feb 20, 2015
ceb3088
doc(wiki): Added nk-xrm-installer .gyp references, including .py scri…
kirvedx Mar 21, 2015
7b5dcaf
doc(wiki): Note: VS2010 seems to be no longer available! VS2013 or n…
jeghers Apr 8, 2015
d310a73
doc(wiki): node-sass in the wild
saper Aug 20, 2015
531c724
doc(wiki): Clarification + direct link to VS2010
DieterDePaepe Aug 24, 2015
11858b0
doc(wiki): Updated Updating npm's bundled node gyp (markdown)
ORESoftware Nov 16, 2015
3c6692d
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
XadillaX Jun 6, 2016
408b72f
doc(wiki): if ouns that the -h did not help. I founs on github that t…
peter--bolier--zero Jun 6, 2016
d69dffc
doc(wiki): sorry, forgot to mention a specific windows version.
peter--bolier--zero Jun 6, 2016
d319b0e
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
nickdesaulniers Jun 28, 2016
bf4bed1
doc(wiki): Added Ghostscript4JS
NickNaso Mar 4, 2017
d617fae
doc(wiki): I highly missing it in common issue as every windows biggn…
raza2022 Mar 17, 2017
e2dc777
doc(wiki): ADDED: Node.js binding to OpenCV
xudafeng Apr 30, 2017
d766b74
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
NickNaso Jun 18, 2017
9dce0e4
doc(wiki): Adding the sharp library to the list
mhirsch Aug 30, 2017
bbca21a
doc(wiki): node-srs was a 404
mhirsch Aug 30, 2017
5b899b7
doc(wiki): C++ build tools version upgraded
raza2022 Aug 11, 2018
93423b4
doc(wiki): Destroyed Visual Studio 2010 Setup (markdown)
joaocgreis Oct 11, 2018
3407109
doc(wiki): Updated Home (markdown)
joaocgreis Oct 11, 2018
3aa2c6b
doc(wiki): Lower case L
bertyhell Jan 25, 2019
7444b47
doc(wiki): Updated "binding.gyp" files out in the wild (markdown)
rvagg Dec 3, 2019
1dcad87
doc(wiki): Make changes discussed in https://github.com/nodejs/node-g…
cclauss May 31, 2021
9285ff6
doc(wiki): Drop in favor of
cclauss Jun 1, 2021
0fce46b
doc(wiki): Different commands for Windows npm v6 vs. v7
cclauss Jun 2, 2021
c3e5487
doc(wiki): Improve Unix instructions
cclauss Jun 2, 2021
d314854
doc(wiki): Updated Updating npm's bundled node gyp (markdown)
cclauss Jun 2, 2021
ee8e1c1
doc(wiki): If permissions error, please try and then the command.
cclauss Jun 11, 2021
f0a4835
doc(wiki): move wiki docs into doc/
rvagg Jun 21, 2021
b52e487
doc(wiki): link to docs/ from README
rvagg Jun 21, 2021
161c235
doc(wiki): safer doc names, remove unnecessary TypedArray doc
rvagg Jun 22, 2021
b7bccdb
ci: GitHub Actions Test on node: [12.x, 14.x, 16.x] (#2439)
cclauss Jun 28, 2021
b6e1cc7
Add title to node-gyp version document (#2452)
cclauss Jul 6, 2021
c8c0af7
fix: doc how to update node-gyp independently from npm
rvagg Jun 28, 2021
f0882b1
fix: missing spaces
rvagg Jul 6, 2021
78361b3
ISSUE_TEMPLATE.md: Instructions for old versions (#2470)
cclauss Jul 30, 2021
ec15a3e
chore(deps): bump tar from 6.1.0 to 6.1.2 (#2474)
mayank99 Aug 12, 2021
660dd7b
doc: correct link to "binding.gyp files out in the wild" (#2483)
nineninesevenfour Aug 13, 2021
ed9a9ed
feat(gyp): update gyp to v0.9.6 (#2481)
gengjiawen Aug 23, 2021
bc47cd6
chore: release 8.2.0
github-actions[bot] Aug 23, 2021
f2ad87f
chore: refactor the creation of config.gypi file
zcbenz Sep 6, 2021
0a67dcd
test: Python 3.10 was release on Oct. 4th (#2504)
cclauss Oct 5, 2021
b05b4fe
chore(deps): bump make-fetch-happen from 8.0.14 to 9.1.0
wraithgar Oct 5, 2021
5585792
feat(gyp): update gyp to v0.10.0 (#2521)
gengjiawen Oct 11, 2021
fb85fb2
chore: release 8.3.0
github-actions[bot] Oct 11, 2021
5a00387
feat: support vs2022 (#2533)
gengjiawen Oct 29, 2021
a27dc08
feat: build with config.gypi from node headers
zcbenz Sep 14, 2021
7073c65
chore: release 8.4.0
github-actions[bot] Nov 5, 2021
787cf7f
docs: fix typo in powershell node-gyp update
csett86 Nov 5, 2021
8083f6b
deps: npmlog@6.0.0
wraithgar Nov 16, 2021
cc37b88
fix: windows command missing space (#2553)
HeatonZ Nov 19, 2021
f5fa6b8
chore: release 8.4.1
github-actions[bot] Nov 19, 2021
c2a1850
chore: add minimal SECURITY.md (#2560)
Trott Nov 28, 2021
2ef5fb8
doc: Rename and update Common-issues.md --> docs/README.md (#2567)
cclauss Dec 13, 2021
6e8f93b
docs: title match content (#2574)
owl-from-hogvarts Jan 4, 2022
faf6d48
docs: Add notes/disclaimers for upgrading the copy of node-gyp that n…
DeeDeeG Jan 6, 2022
a2f2988
docs: rephrase explanation of which node-gyp is used by npm (#2587)
owl-from-hogvarts Jan 7, 2022
e069f13
doc: Update Python versions (#2571)
cclauss Jan 30, 2022
6562f92
deps!: increase "engines" to "node" : "^12.22 || ^14.13 || >=16" (#2601)
wraithgar Jan 31, 2022
78f6660
deps: make-fetch-happen@10.0.1
wraithgar Feb 9, 2022
839e414
fix: update make-fetch-happen to a minimum of 10.0.3
nlf Feb 15, 2022
a32a9aa
added node-heapdump binding.gyp
mohamed-bahaa21 Dec 24, 2021
eef4eef
fix: _ in npm_config_ env variables
zcbenz Nov 8, 2021
1d499dd
lib: add lib.target as path for searching libnode on z/OS
alexcfyung Feb 24, 2022
b1ad492
chore: release 9.0.0
github-actions[bot] Feb 24, 2022
245cd5b
test: Upgrade GitHub Actions (#2623)
cclauss Mar 1, 2022
62d2815
doc: update docs/README.md with latest version number
cclauss Mar 7, 2022
bf81cd4
fix: typo on readme
rubiagatra May 3, 2022
147e3d3
fix: new ca & server certs, bundle in .js file and unpack for testing
rvagg May 11, 2022
6f74c76
fix: extend tap timeout length to allow for slow CI
rvagg May 12, 2022
b9ddcd5
Add Python symlink to path (for non-Windows OSes only) (#2362)
DeeDeeG Jun 10, 2022
d7687d5
Clarify wording to redirect to macOS_Catalina.md (#2588)
nickwang14 Jun 10, 2022
ca1f068
build: update due to rename of primary branch
mhdawson Jun 15, 2022
9778dd0
Migrate macOS acid test from master to main (#2686)
cclauss Jun 22, 2022
ea8520e
feat: Update function getSDK() to support Windows 11 SDK (#2565)
i-C-o-d-e-r Jul 13, 2022
1c64ca7
test: Upgrade GitHub Actions (#2701)
cclauss Jul 13, 2022
68b5b5b
test: Try msvs-version: [2016, 2019, 2022] (#2700)
cclauss Jul 13, 2022
f0b7863
fix: re-label (#2689)
cclauss Jul 13, 2022
5f9d86d
chore: release 9.1.0
github-actions[bot] Jul 13, 2022
83c0a12
lib: enable support for zoslib on z/OS (#2600)
alexcfyung Jul 15, 2022
8958ecf
chore: update dependency - nopt@6.0.0 (#2707)
wraithgar Jul 22, 2022
c379a74
fix: node.js debugger adds stderr (but exit code is 0) -> shouldn't t…
FuPeiJiang Aug 22, 2022
3e2a532
feat(gyp): update gyp to v0.13.0
kadler Aug 18, 2022
a26494f
feat: Add proper support for IBM i
kadler Mar 3, 2022
33deab4
Adding tarfile member sanitization to extractall() (#2741)
Trott Oct 2, 2022
4bc4747
chore: release 9.2.0 (#2735)
github-actions[bot] Oct 4, 2022
7d0c83d
feat: support IBM Open XL C/C++ on z/OS (#2743)
gabylb Oct 8, 2022
131d1a4
feat: remove support for VS2015 in Node.js >=19 (#2746)
targos Oct 8, 2022
713b8dc
feat(gyp): update gyp to v0.14.0 (#2749)
targos Oct 10, 2022
2cc72be
chore: release 9.3.0
github-actions[bot] Oct 10, 2022
ee46f9d
Add Python 3.11 to the testing
cclauss Nov 14, 2022
38f01fa
ci: update python test matrix (#2774)
lukekarrys Dec 10, 2022
888efb9
fix: increase node 12 support to ^12.13 (#2771)
lukekarrys Dec 16, 2022
39ac2c1
chore: release 9.3.1
github-actions[bot] Dec 16, 2022
fc0ddc6
feat: Upgrade Python linting from flake8 to ruff (#2815)
cclauss Mar 13, 2023
41882a9
Improved advise on repacing node-sass with sass (#2758)
cclauss Mar 13, 2023
337e8e6
chore: get update-gyp.py to work with Python >= v3.5 (#2826)
rzhao271 Apr 6, 2023
c7927e2
doc: Update README.md (#2822)
beliaev-maksim Apr 10, 2023
02480f6
update make-fetch-happen to 11.0.3 (#2796)
ravindraP20 Apr 22, 2023
6f3c2d3
docs: docs/README.md add advise about deprecated node-sass (#2828)
cclauss Apr 26, 2023
bb76021
feat: add support for native windows arm64 build tools
dennisameling Apr 25, 2022
aaa117c
fix: extract tarball to temp directory on Windows (#2846)
dsanders11 May 25, 2023
5df2b72
Migration from tap to mocha (#2851)
StefanStojanovic Jun 5, 2023
55048f8
fix: log statement is for devDir not nodedir (#2840)
dsanders11 Jun 6, 2023
7a3fe1c
win,install: only download target_arch node.lib (#2857)
StefanStojanovic Jun 9, 2023
a0b3d1c
test: remove deprecated Node.js and Python (#2868)
StefanStojanovic Jun 12, 2023
33391db
chore: release 9.4.0
github-actions[bot] Jun 12, 2023
192eec2
Sync deps and engines with npm (#2770)
lukekarrys Jun 20, 2023
b030555
lib: find python checks order changed on windows (#2872)
StefanStojanovic Jun 22, 2023
53c99ae
Fix reading msvs version on Windows (#2644)
jgcook935 Jun 25, 2023
c9caa2e
docs: Update windows installation instructions in README.md (#2882)
raress96 Jul 13, 2023
1bfb083
Fix Python lint error by using an f-string (#2886)
cclauss Jul 20, 2023
445c28f
test: increase mocha timeout (#2887)
StefanStojanovic Jul 24, 2023
0f1f667
fix: create Python symlink only during builds, and clean it up after …
pimterry Aug 1, 2023
bb93b94
docs: README.md Do not hardcode the supported versions of Python (#2880)
cclauss Aug 25, 2023
d3615c6
Fix incorrect Xcode casing in README (#2896)
revolter Aug 26, 2023
5746691
test: update expired certs (#2908)
Trott Sep 28, 2023
b3d41ae
doc: Add note about Python symlinks (PR 2362) to CHANGELOG.md for 9.1…
DeeDeeG Oct 3, 2023
91fd8ff
Python lint: ruff --format is now --output-format
cclauss Oct 27, 2023
26683e9
chore: GitHub Workflows security hardening (#2740)
sashashura Oct 27, 2023
4a50fe3
chore: empty commit to add changelog entries from #2770
lukekarrys Oct 27, 2023
d644ce4
docs: update applicable GitHub links from master to main (#2843)
dsanders11 Oct 27, 2023
707927c
feat(gyp): update gyp to v0.16.1 (#2923)
DeeDeeG Oct 28, 2023
21a7249
chore: add check engines script to CI (#2922)
lukekarrys Oct 28, 2023
4bef1ec
deps: glob@10.3.10 (#2926)
lukekarrys Oct 28, 2023
059bb6f
deps: make-fetch-happen@13.0.0 (#2927)
lukekarrys Oct 28, 2023
e388255
deps: which@4.0.0 (#2928)
lukekarrys Oct 28, 2023
1b3bd34
feat!: drop node 14 support (#2929)
lukekarrys Oct 28, 2023
355622f
feat: convert all internal functions to async/await
lukekarrys Oct 27, 2023
d52997e
feat: convert internal classes from util.inherits to classes
lukekarrys Oct 27, 2023
4e493d4
chore: misc testing fixes (#2930)
lukekarrys Oct 28, 2023
864a979
feat!: use .npmignore file to limit which files are published (#2921)
lukekarrys Oct 28, 2023
3032e10
chore: run tests after release please PR
lukekarrys Oct 28, 2023
4c302ca
chore: release 10.0.0 (#2920)
github-actions[bot] Oct 28, 2023
7de1f5f
chore: add parallel test logging
lukekarrys Oct 29, 2023
4e0ed99
chore: lint fixes
lukekarrys Oct 29, 2023
a68586a
chore: use platform specific timeouts in tests
lukekarrys Oct 29, 2023
b39e681
fix: use local `util` for `findAccessibleSync()`
richardlau Nov 2, 2023
da19158
chore: release 10.0.1
github-actions[bot] Nov 2, 2023
176fe9a
Merge tag 'v10.0.1' into merge-node-gyp-10.0
jaimecbernardo Dec 5, 2023
f4bbe0d
Fix wrong changes that were on repo before merge
jaimecbernardo Dec 6, 2023
0212ed9
fix: output path generation for iOS
ManWithBear Jan 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .eslintrc.yaml

This file was deleted.

44 changes: 35 additions & 9 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,52 @@
<!--
Thank you for reporting an issue. The more information you can give us, the
better the chance we can fix your problem.
Thank you for reporting an issue!

Remember, this issue tracker is for reporting issues ONLY with node-gyp.

If you have an issue installing a specific module, please file an issue on
that module's issue tracker (`npm issues modulename`). Open issue here only if
you are sure this is an issue with node-gyp, not with the module you are
trying to build.

Fill out the form below. We probably won't investigate an issue that does not
provide the basic information we require.

This issue tracker is for issues with node-gyp,
if you have an issue installing a specific module, please file an issue on
that module's issue tracker (`npm issues modulename`).
-->

Please look thru your error log for the string `gyp info using node-gyp@` and if the version number is less than the [current release of node-gyp](https://github.com/nodejs/node-gyp/releases) then __please upgrade__ using the instructions at https://github.com/nodejs/node-gyp/blob/main/docs/Updating-npm-bundled-node-gyp.md and try your command again.

Requests for help with [`node-sass` are very common](https://github.com/nodejs/node-gyp/issues?q=label%3A%22Node+Sass+--%3E+Dart+Sass%22). Please be aware that this package is deprecated, you should seek alternatives and avoid opening new issues about it here.

* **Node Version**: <!-- `node -v` and `npm -v` -->
* **Platform**: <!-- `uname -a` (UNIX), or `systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"` (Windows) -->
* **Compiler**: <!-- `cc -v` (UNIX) or `msbuild /version & cl` (Windows) -->
* **Module**: <!-- what you tried to build/install -->

<details><summary>Verbose output (from npm or node-gyp):</summary>

<!-- Paste your log between the backticks. Contents of npm-debug.log or verbose build output -->

```

Paste your log here, between the backticks. It can be:
- npm --verbose output,
- or contents of npm-debug.log,
- or output of node-gyp rebuild --verbose.
Include the command you were trying to run.

This should look like this:

>npm --verbose
npm info it worked if it ends with ok
npm verb cli [
npm verb cli 'C:\\...\\node\\13.9.0\\x64\\node.exe',
npm verb cli 'C:\\...\\node\\13.9.0\\x64\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli '--verbose'
npm verb cli ]
npm info using npm@6.13.7
npm info using node@v13.9.0

Usage: npm <command>
(...)
```

</details>

<!-- Any further details -->

6 changes: 3 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<!--
Thank you for your pull request. Please review the below requirements.

Contributor guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
Contributor guide: https://github.com/nodejs/node/blob/main/CONTRIBUTING.md
-->

##### Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [ ] `npm install && npm test` passes
- [ ] `npm install && npm run lint && npm test` passes
- [ ] tests are included <!-- Bug fixes and new features should include tests -->
- [ ] documentation is changed or added
- [ ] commit message follows [commit guidelines](https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines)
- [ ] commit message follows [commit guidelines](https://github.com/googleapis/release-please#how-should-i-write-my-commits)

##### Description of change
<!-- Provide a description of the change -->
Expand Down
41 changes: 41 additions & 0 deletions .github/scripts/check-engines.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
const { join } = require('path')
const semver = require('semver')
const Arborist = require('@npmcli/arborist')

const run = async (path, useEngines) => {
const pkgPath = join(path, 'package.json')
const pkg = require(pkgPath)

const engines = useEngines || pkg.engines.node

const arb = new Arborist({ path })
const tree = await arb.loadActual({ forceActual: true })
const deps = await tree.querySelectorAll(`#${pkg.name} > .prod:attr(engines, [node])`)

const invalid = []
for (const dep of deps) {
const depEngines = dep.target.package.engines.node
if (!semver.subset(engines, depEngines)) {
invalid.push({
name: `${dep.name}@${dep.version}`,
location: dep.location,
engines: depEngines
})
}
}

if (invalid.length) {
const msg = 'The following production dependencies are not compatible with ' +
`\`engines.node: ${engines}\` found in \`${pkgPath}\`:\n` + invalid.map((dep) => [
`${dep.name}:`,
` engines.node: ${dep.engines}`,
` location: ${dep.location}`
].join('\n')).join('\n')
throw new Error(msg)
}
}

run(process.cwd(), ...process.argv.slice(2)).then(() => console.log('Success')).catch((err) => {
console.error(err)
process.exitCode = 1
})
68 changes: 68 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: release-please

on:
push:
branches:
- main
pull_request:

jobs:
release-please:
outputs:
pr: ${{ steps.release.outputs.pr }}
permissions:
contents: write # to create release commit (google-github-actions/release-please-action)
pull-requests: write # to create release PR (google-github-actions/release-please-action)

runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v2
id: release
with:
package-name: node-gyp
release-type: node
changelog-types: >
[{"type":"feat","section":"Features","hidden":false},
{"type":"fix","section":"Bug Fixes","hidden":false},
{"type":"bin","section":"Core","hidden":false},
{"type":"gyp","section":"Core","hidden":false},
{"type":"lib","section":"Core","hidden":false},
{"type":"src","section":"Core","hidden":false},
{"type":"test","section":"Tests","hidden":false},
{"type":"build","section":"Core","hidden":false},
{"type":"clean","section":"Core","hidden":false},
{"type":"configure","section":"Core","hidden":false},
{"type":"install","section":"Core","hidden":false},
{"type":"list","section":"Core","hidden":false},
{"type":"rebuild","section":"Core","hidden":false},
{"type":"remove","section":"Core","hidden":false},
{"type":"deps","section":"Core","hidden":false},
{"type":"python","section":"Core","hidden":false},
{"type":"lin","section":"Core","hidden":false},
{"type":"linux","section":"Core","hidden":false},
{"type":"mac","section":"Core","hidden":false},
{"type":"macos","section":"Core","hidden":false},
{"type":"win","section":"Core","hidden":false},
{"type":"windows","section":"Core","hidden":false},
{"type":"zos","section":"Core","hidden":false},
{"type":"doc","section":"Doc","hidden":false},
{"type":"docs","section":"Doc","hidden":false},
{"type":"readme","section":"Doc","hidden":false},
{"type":"chore","section":"Miscellaneous","hidden":false},
{"type":"refactor","section":"Miscellaneous","hidden":false},
{"type":"ci","section":"Miscellaneous","hidden":false},
{"type":"meta","section":"Miscellaneous","hidden":false}]
# Standard Conventional Commits: `feat` and `fix`
# node-gyp subdirectories: `bin`, `gyp`, `lib`, `src`, `test`
# node-gyp subcommands: `build`, `clean`, `configure`, `install`, `list`, `rebuild`, `remove`
# Core abstract category: `deps`
# Languages/platforms: `python`, `lin`, `linux`, `mac`, `macos`, `win`, `window`, `zos`
# Documentation: `doc`, `docs`, `readme`
# Standard Conventional Commits: `chore` (under "Miscellaneous")
# Miscellaneous abstract categories: `refactor`, `ci`, `meta`

test:
name: Release Test
needs: [ release-please ]
if: needs.release-please.outputs.pr
uses: ./.github/workflows/tests.yml
136 changes: 136 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
# TODO: add `python -m pytest --doctest-modules`

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_call:

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
lint-python:
name: Lint Python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install --user ruff
- run: ruff --output-format=github --select="E,F,PLC,PLE,UP,W,YTT" --ignore="E721,PLC1901,S101,UP031" --target-version=py38 .

lint-js:
name: Lint JS
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Dependencies
run: npm install
- name: Lint
run: npm run lint

check-engines:
name: Check Engines
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Dependencies
run: npm install
- name: Check Engines
run: |
# TODO: move this to its own action
npm install @npmcli/arborist@7 semver@7 --no-save
node .github/scripts/check-engines.js

test-pack:
name: Test Pack
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Update npm
run: npm install npm@latest -g
- name: Install Dependencies
run: npm install
- name: Pack
id: pack
env:
NODE_GYP_TEMP_DIR: '${{ runner.temp }}/node-gyp'
run: |
mkdir -p $NODE_GYP_TEMP_DIR
npm pack
tar xzf *.tgz -C $NODE_GYP_TEMP_DIR --strip-components=1
cp -r test/ $NODE_GYP_TEMP_DIR/test/
echo "dir=$NODE_GYP_TEMP_DIR" >> "$GITHUB_OUTPUT"
- name: Test
working-directory: ${{ steps.pack.outputs.dir }}
env:
FULL_TEST: '1'
run: |
npm install
npm test

tests:
# lint-python takes ~5 seconds, so wait for it to pass before running the full matrix of tests.
needs: [lint-python]
strategy:
fail-fast: false
max-parallel: 15
matrix:
os: [macos, ubuntu, windows]
python: ["3.8", "3.10", "3.12"]
node: [16.x, 18.x, 20.x]
name: ${{ matrix.os }} - ${{ matrix.python }} - ${{ matrix.node }}
runs-on: ${{ matrix.os }}-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
env:
PYTHON_VERSION: ${{ matrix.python }} # Why do this?
- name: Install Dependencies
run: |
npm install
pip install pytest
- name: Set Windows Env
if: runner.os == 'Windows'
run: |
echo 'GYP_MSVS_VERSION=2015' >> $Env:GITHUB_ENV
echo 'GYP_MSVS_OVERRIDE_PATH=C:\\Dummy' >> $Env:GITHUB_ENV
- name: Run Python Tests
run: python -m pytest
- name: Run Tests (macOS or Linux)
if: runner.os != 'Windows'
shell: bash
run: npm test --python="${pythonLocation}/python"
env:
FULL_TEST: ${{ (matrix.node == '20.x' && matrix.python == '3.12') && '1' || '0' }}
- name: Run Tests (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: npm run test --python="${env:pythonLocation}\\python.exe"
env:
FULL_TEST: ${{ (matrix.node == '20.x' && matrix.python == '3.12') && '1' || '0' }}
34 changes: 34 additions & 0 deletions .github/workflows/visual-studio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

name: visual-studio
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
visual-studio:
strategy:
fail-fast: false
max-parallel: 8
matrix:
include:
- os: windows-2019
msvs-verison: 2019
- os: windows-2022
msvs-version: 2022
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Dependencies
run: npm install
- name: Run Node tests
shell: pwsh
run: |
$pythonLocation = (Get-Command python).Source
npm run test --python="${pythonLocation}" --msvs-version="${{ matrix.msvs-version }}"
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.ncu
.nyc_output
*.swp
gyp/test
node_modules
node-gyp-*.tgz
package-lock.json
test/.node-gyp
7 changes: 0 additions & 7 deletions .jshintrc

This file was deleted.

Loading