Commit graph

1340 commits

Author SHA1 Message Date
Felix Rieseberg
3d8f0e509e fix: Handle promises stream 2024-10-07 11:45:14 -04:00
Felix Rieseberg
35a3f2d037
Merge pull request #4 from electron/felixr-bump-version-10.2.0-electron.1
chore: Bump version to 10.2.0-electron.1
2024-10-07 06:26:40 -07:00
Felix Rieseberg
84fca3a07a chore: Bump version to 10.2.0-electron.1 2024-10-07 09:26:22 -04:00
Felix Rieseberg
07f4d4b113
Merge pull request #3 from electron/felixr-disable-release
Disable release workflow
2024-10-07 06:21:07 -07:00
Felix Rieseberg
aa8331455e Disable release workflow 2024-10-07 09:20:40 -04:00
Charles Kerr
a1e6921e57
Merge pull request #2 from electron/felixr-win32
Fix tests
2024-10-06 12:46:30 -05:00
Felix Rieseberg
b46ddee8d2 No but for real fix all tests 2024-10-04 19:41:59 -07:00
Felix Rieseberg
c9295fc8a6 Whoeps, try this again 2024-10-04 14:14:39 -07:00
Felix Rieseberg
4284d903f3 Sidestep check engines better 2024-10-04 13:25:48 -07:00
Felix Rieseberg
9eba858af4 Disable check-engines 2024-10-04 13:23:01 -07:00
Felix Rieseberg
f9f03db62f fix: Handle changed glob call 2024-10-04 13:21:54 -07:00
Felix Rieseberg
d16a6c6a4d
Merge pull request #1 from electron/felixr-node-12
Lower required Node version to >=12.13.0
2024-09-17 21:47:50 -07:00
Felix Rieseberg
5e880a4835 Lower required Node version to >=12.13.0 2024-09-17 15:15:09 -07:00
Christian Clauss
e6f4ede10c
chore(ci) test on Node.js v22 and not v16 (#3052) 2024-07-23 06:50:30 +02:00
Chengzhong Wu
8319847363
chore: publish to npm with release-please (#3051) 2024-07-22 10:39:31 +01:00
Jivthesh M R
d22e2eb080
meta: add links to Code of Conduct from root file (#2196) 2024-07-19 11:42:58 -07:00
Sebastian Mellen
d1ed3d4dc3
fix(ci): use correct release-please-action domain after organization url was changed (#3032)
Co-authored-by: Luke Karrys <luke@lukekarrys.com>
2024-07-19 11:37:34 -07:00
github-actions[bot]
08c91d08ad
chore(main): release 10.2.0 (#3006)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chengzhong Wu <cwu631@bloomberg.net>
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-07-10 13:05:32 +01:00
Chengzhong Wu
b3916d5b25
chore: fix ruff command (#3044) 2024-07-09 19:03:10 +02:00
Chengzhong Wu
d38af2e0c2
feat: allow VCINSTALLDIR to specify a portable instance (#3036) 2024-07-09 16:13:40 +01:00
dependabot[bot]
10f6730be6
build(deps): bump seanmiddleditch/gha-setup-ninja from 4 to 5 (#3041)
Bumps [seanmiddleditch/gha-setup-ninja](https://github.com/seanmiddleditch/gha-setup-ninja) from 4 to 5.
- [Release notes](https://github.com/seanmiddleditch/gha-setup-ninja/releases)
- [Commits](https://github.com/seanmiddleditch/gha-setup-ninja/compare/v4...v5)

---
updated-dependencies:
- dependency-name: seanmiddleditch/gha-setup-ninja
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-28 15:40:58 +01:00
Toyo Li
6318d2b210
feat: support rebuild and build for cross-compiling Node-API module to wasm on Windows (#2974) 2024-06-28 15:36:30 +01:00
Toyo Li
ea99fea834
feat(gyp): update gyp to v0.18.1 (#3039)
* feat(gyp): update gyp to v0.18.1

* ci: setup ninja

* ci: visual-studio job use python 3.12
2024-06-12 10:23:37 +01:00
Sharad Chandran R
c495083d99
Update binding.gyp-files-in-the-wild.md (#3023)
Add node-oracledb binding.gyp file
2024-05-31 10:26:21 +01:00
Hüseyin Açacak
323957b74e
win: add an arch check to VS 2019 (#3025) 2024-04-23 15:46:11 +02:00
Christian Clauss
93186f10c9
docs: node-pre-gyp is no longer maintained (#3015)
* docs: `node-pre-gyp` is no longer maintained

* Update README.md

* Update README.md
2024-04-15 17:05:08 -07:00
Luke Karrys
141aa6bf02
deps: proc-log@4.0.0 (#3022) 2024-04-15 17:03:47 -07:00
Matt
b22d5eef86
deps: tar@6.2.1 (#3021) 2024-04-15 17:03:22 -07:00
Christian Clauss
0bab6a071b
GitHub Actions: npm test is failing Windows tests on M1 Macs (#3011)
* GitHub Actions: npm test is failing Windows tests on M1 Macs

`npm test` is running and failing Windows `find-visualstudio` tests on an M1 Mac!!!

These tests are not being run or not failing on Intel Macs.

* Only run "Find Visual Studio" tests on Windows

* Update test/test-find-visualstudio.js

Co-authored-by: Christian Clauss <cclauss@me.com>

---------

Co-authored-by: Stefan Stojanovic <StefanStojanovic@users.noreply.github.com>
2024-04-11 17:34:49 +02:00
Victor Ejike Nwosu
77737e45db
Add Chocolatey Guide for node-gyp on Windows (#3008)
* Add chocolatey install

* Revert unwanted diffs

* Add chocolatey guide

* Use bash for code block

* Update README.md

Co-authored-by: Christian Clauss <cclauss@me.com>

* Move chocolatey bash to top

* Fix section identation

---------

Co-authored-by: Christian Clauss <cclauss@me.com>
2024-04-07 22:04:04 +02:00
Christian Clauss
a6b48fca99
docs: Installation -- Python >= v3.12 requires node-gyp >= v10 (#3010)
We are getting a lot of issues opened on this topic so add it to our installation instructions.
* #2869

> [!Important]
> Python >= v3.12 requires `node-gyp` >= v10
2024-04-07 10:59:14 +01:00
Christian Clauss
e1304e870b
Revert 2024-04-06 00:16:38 +02:00
Christian Clauss
7647a78bd7
Update tests.yml 2024-04-06 00:03:30 +02:00
SmallY
9fd7936f0d
docs: add the way to configuring Python dependency for Windows PowerShell (#2996) 2024-04-03 10:29:34 +01:00
github-actions[bot]
f90ce122fe
chore(main): release 10.1.0 (#2989)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-25 11:04:31 -07:00
Hüseyin Açacak
c4729129da
lib: print Python executable path using UTF-8 (#2995)
* lib: print Python executable path using UTF-8

The Python executable path may have non-ASCII characters, which can make
the print function fail if the environment encoding is different. This fixes
this issue by using stdout.buffer, which can be used with UTF-8 encoding
for the output, regardless of the environment encoding.

Fixes: https://github.com/nodejs/node-gyp/issues/2829

* fixup! lib: print Python executable path using UTF-8
2024-03-13 09:20:35 -07:00
Christian Clauss
1205fb084c
Fix lint: ruff check --select=UP032 --fix (#2994) 2024-03-12 21:54:17 -07:00
Luke Karrys
fbf3fda875
Use new branch name format for release please CI tests 2024-03-08 15:59:51 -07:00
Ayushman Chhabra
0035d8e9dc
chore: upgrade release please action from v2 to v4 (#2982)
* chore(release-please-action): upgrade from v2 to v4

* chore(ci): remove target branch

* chore(release-please): disable `include-component-in-tag`

Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>

* chore(release-please): format JSON properties per line

Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>

* Remove last release sha

---------

Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
Co-authored-by: Luke Karrys <luke@lukekarrys.com>
2024-03-06 14:03:52 -07:00
Stefan Stojanovic
391cc5b9b2
win: update supported vs versions (#2959)
Drop VS2017 support for Node.js v22 and above.

Refs: https://github.com/nodejs/build/pull/3603
Refs: https://github.com/nodejs/node/pull/45427
2024-03-06 17:32:44 +01:00
Jaroslav
109e3d4245
feat: improve visual studio detection (#2957)
Detect visual studio installation using the VSSetup module and
Get-VSSetupInstance method. It works even in systems with the
Constrained language mode of PowerShell.
2024-02-09 02:33:54 +01:00
Michael Dawson
329873141f
src: add support for locally installed headers (#2964)
Some linux distros allow headers to be installed through
tools like rpm. If the runtime sets
process.config.variables.use_prefix_to_find_headers, look
for matching headers based on the directory set for the
prefix in process.config.variables.prefix

Signed-off-by: Michael Dawson <midawson@redhat.com>
Co-authored-by: Luke Karrys <luke@lukekarrys.com>
2024-01-29 12:03:30 -07:00
Christian Clauss
7705a22f31
docs: npm is currently v10 (#2970) 2024-01-29 11:12:57 -07:00
Davee
a87d0bf458
refine readme Visual C++ Build Environment text for clarity (#2965)
* refine readme text for clarity

* refine readme Visual C++ build env for clarity
2024-01-25 21:23:49 +01:00
Christian Clauss
c24cead6e3
Revert "build(deps): bump google-github-actions/release-please-action from 2 to 4" (#2967) 2024-01-25 07:32:33 +01:00
dependabot[bot]
b1f1808bff
build(deps): bump google-github-actions/release-please-action (#2961)
Bumps [google-github-actions/release-please-action](https://github.com/google-github-actions/release-please-action) from 2 to 4.
- [Release notes](https://github.com/google-github-actions/release-please-action/releases)
- [Changelog](https://github.com/google-github-actions/release-please-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/release-please-action/compare/v2...v4)

---
updated-dependencies:
- dependency-name: google-github-actions/release-please-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 20:11:30 +01:00
dependabot[bot]
3f0df7e933
build(deps): bump actions/setup-python from 4 to 5 (#2960)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 08:15:15 +01:00
Christian Clauss
7f58bc8144
Keep GitHub Actions up to date with Dependabot
* https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
2024-01-17 07:52:35 +01:00
Artur Yapparov
ae8478ec32
docs: remove outdated Node versions from readme (#2955)
Refs: https://github.com/nodejs/node-gyp/issues/2953
2023-12-25 14:07:56 +01:00
Luke Karrys
cff9ac2c30 chore: only run release please on push
And then run release-please tests on release PRs
2023-11-06 09:49:22 -07:00