David Sanders
cb372cdf09
build: fix repository.url in package.json ( #1150 )
2024-09-07 10:43:39 -07:00
Tim Fish
c483ddeb74
feat: Upgrade `node-api-version` to add support for NodeAPI level 9 ( #1118 )
...
feat: Upgrade node-api-version for API v9 support
2024-01-09 13:06:29 -03:00
Samuel Maddock
5e6f72794c
fix: use 'target_arch' for node-pre-gyp ( #1115 )
...
* fix: use 'target_arch' for node-pre-gyp
* fix: use both arch and target_arch
* fix: overwrite binary architecture
* chore: add read-binary-file-arch
* feat: redownload binary only if arch differs
* fix: make node 12 compatible
* fix: flip flop between ia32/x64 on windows not arm64
---------
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
2023-12-04 14:54:21 -08:00
David Sanders
dc7b7f3259
ci: bump continuousauth/npm orb to 2.1.0 ( #1114 )
2023-11-21 13:51:31 -08:00
Samuel Maddock
e71316b6a5
feat: add node-pre-gyp support ( #1095 )
...
* add NodePreGyp module
* chore: update node-abi
* fix: node-pre-gyp args
* feat: add napi support
* test: add initial node-pre-gyp tests
* fix: some tests
* test: skip on m1
* chore: remove unused code
* feat: add skipPrebuilds option
* fix: napi build version test
* fix: spawning node-pre-gyp on windows
* use fs.rmdir maxRetries
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
* rename 'skipPreloads' to 'buildFromSource'
---------
Co-authored-by: George Xu <george.xu@slack-corp.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
2023-08-21 11:28:21 -07:00
David Sanders
37babeed7d
test: prewarm Node headers cache ( #1098 )
2023-08-08 10:19:55 -07:00
Samuel Attard
02d7c66477
fix: set electron-rebuild bin to correct path
2023-04-13 01:05:38 -07:00
Samuel Attard
8e4c73bb51
perf: use worker processes for node-gyp rebuilds ( #1080 )
...
* perf: use worker processes for node-gyp rebuilds
* refactor: use lib not src in test
* build: try parelel
* fix: use unique dev dir when not sequential
* ...
2023-04-12 16:18:19 -07:00
Samuel Attard
509c8eb306
refactor: remove lzma-native dependency ( #1079 )
2023-04-12 16:18:12 -07:00
Samuel Attard
caa3c82aa9
build: update dependencies to clean up yarn audit ( #1046 )
...
* build: update dependencies to clean up yarn audit
* build: use yarn resolutions to fix nan error
* spec: update tests
* fix: do not force stdc++17
* build: skip engines check for dev deps
2022-12-05 15:17:26 -08:00
Samuel Attard
d26b05f377
build: fix CI ( #1040 )
...
* build: use xcode 13 on CI
* build: use new docker images
* build: ci will work NOW
* build: revert
2022-10-27 17:24:42 -07:00
Samuel Attard
d67ab4e140
build: move from electron-rebuild to @electron/rebuild
2022-10-27 15:57:08 -07:00
dependabot[bot]
6d61b022c0
chore(deps): bump node-gyp from 8.4.1 to 9.0.0
...
Bumps [node-gyp](https://github.com/nodejs/node-gyp ) from 8.4.1 to 9.0.0.
- [Release notes](https://github.com/nodejs/node-gyp/releases )
- [Changelog](https://github.com/nodejs/node-gyp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodejs/node-gyp/compare/v8.4.1...v9.0.0 )
---
updated-dependencies:
- dependency-name: node-gyp
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-04 00:19:36 +00:00
dependabot[bot]
c919d43605
chore(deps): bump detect-libc from 1.0.3 to 2.0.0 ( #975 )
...
* chore(deps): bump detect-libc from 1.0.3 to 2.0.0
Bumps [detect-libc](https://github.com/lovell/detect-libc ) from 1.0.3 to 2.0.0.
- [Release notes](https://github.com/lovell/detect-libc/releases )
- [Commits](https://github.com/lovell/detect-libc/compare/v1.0.3...v2.0.0 )
---
updated-dependencies:
- dependency-name: detect-libc
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: typings are bundled with detect-libc
* refactor: use detect-libc@^2 API for libc family
* chore: upgrade detect-libc to ^2.0.1
* chore: upgrade caniuse-lite to fix CI error
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Lee <electronjs@lazymalevolence.com>
2022-02-14 17:06:14 -08:00
Mark Lee
37efb9c1c6
fix(deps): upgrade lzma-native to ^8.0.5 for prebuilt macOS/arm64 binaries ( #959 )
2022-01-11 10:23:39 -08:00
dependabot[bot]
af4a0ce7c2
chore(deps-dev): bump @types/node from 16.11.7 to 17.0.8 ( #947 )
...
* chore(deps-dev): bump @types/node from 16.11.7 to 17.0.8
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.11.7 to 17.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore(deps-dev): upgrade transitive dependency @types/minipass to 3.1.1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Lee <electronjs@lazymalevolence.com>
2022-01-09 09:13:55 -08:00
Mark Lee
daed48b1c0
fix: replace colors with chalk ( #949 )
2022-01-09 08:42:03 -08:00
Cheng Zhao
9d64870144
fix: require node-gyp@^8.4.0 & handle old Electron versions ( #907 )
...
Co-authored-by: Mark Lee <electronjs@lazymalevolence.com>
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2021-11-09 20:02:16 -08:00
dependabot[bot]
2fb31721b1
chore(deps-dev): bump @types/tar from 4.0.5 to 6.1.0
...
Bumps [@types/tar](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tar ) from 4.0.5 to 6.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tar )
---
updated-dependencies:
- dependency-name: "@types/tar"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 09:12:25 -08:00
dependabot[bot]
20a9a4c69c
chore(deps-dev): bump @types/node-abi from 2.10.0 to 3.0.0
...
Bumps [@types/node-abi](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node-abi ) from 2.10.0 to 3.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node-abi )
---
updated-dependencies:
- dependency-name: "@types/node-abi"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 08:34:23 -07:00
VerteDinde
26cae3dccb
chore: bump node-abi to ^3.0.0
2021-09-01 17:56:40 -07:00
Mark Lee
3c9719b113
test: move mocha config to package.json
2021-08-27 07:53:44 -07:00
Mark Lee
bf496577e3
test: make it easier to run single tests
2021-08-27 07:53:44 -07:00
Mark Lee
06dfc0882e
chore: use detect-libc types
2021-08-24 07:15:42 -07:00
Mark Lee
3b21283a46
fix: put the node-api-version dependency in the correct location ( #802 )
2021-08-09 18:16:54 -07:00
Mark Lee
818d98f7c7
feat: support `prebuild-install` for Node-API modules ( #800 )
...
Co-authored-by: Tim Fish <tim@timfish.uk>
2021-08-09 13:25:19 -07:00
Samuel Attard
e166132a20
chore: update deps, require Node 12 ( #784 )
...
* test(electron-locator): use fixtures instead of running npm
* build(deps): upgrade to node-gyp@^8.1.0
* chore: require Node 12 LTS
* build(deps-dev): upgrade @types/yargs to ^17.0.2
* build(deps-dev): upgrade ts-node 10 10.2.0
* chore: emit and lint against ES2019
* refactor: use optional catch bindings
Co-authored-by: Mark Lee <electronjs@lazymalevolence.com>
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2021-08-08 19:20:20 -07:00
dependabot[bot]
4ddf16382f
build(deps-dev): bump @types/mocha from 8.2.3 to 9.0.0
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 8.2.3 to 9.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-23 15:54:28 -07:00
dependabot[bot]
5007c4a410
build(deps): bump @malept/cross-spawn-promise from 1.1.1 to 2.0.0
...
Bumps [@malept/cross-spawn-promise](https://github.com/malept/cross-spawn-promise ) from 1.1.1 to 2.0.0.
- [Release notes](https://github.com/malept/cross-spawn-promise/releases )
- [Changelog](https://github.com/malept/cross-spawn-promise/blob/main/NEWS.md )
- [Commits](https://github.com/malept/cross-spawn-promise/compare/v1.1.1...v2.0.0 )
---
updated-dependencies:
- dependency-name: "@malept/cross-spawn-promise"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-11 22:08:09 -07:00
dependabot[bot]
6b25ec6504
build(deps-dev): bump @types/node from 15.14.0 to 16.0.1
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 15.14.0 to 16.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-08 00:04:59 +00:00
dependabot[bot]
8863949c4a
build(deps-dev): bump mocha from 8.4.0 to 9.0.1
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 8.4.0 to 9.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.0.1 )
---
updated-dependencies:
- dependency-name: mocha
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 19:10:28 -07:00
dependabot[bot]
ac640b4801
build(deps-dev): bump ts-node from 9.1.1 to 10.0.0
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 9.1.1 to 10.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v9.1.1...v10.0.0 )
---
updated-dependencies:
- dependency-name: ts-node
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 19:09:47 -07:00
Charles Kerr
5e7f8c8319
Merge pull request #699 from electron/dependabot/npm_and_yarn/fs-extra-10.0.0
...
build(deps): bump fs-extra from 9.1.0 to 10.0.0
2021-06-17 08:43:17 -05:00
Charles Kerr
bff0bc1ed8
Merge pull request #694 from electron/dependabot/npm_and_yarn/yargs-17.0.1
...
build(deps): bump yargs from 16.2.0 to 17.0.1
2021-06-16 23:42:44 -05:00
dependabot[bot]
01913cd977
build(deps): bump fs-extra from 9.1.0 to 10.0.0
...
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra ) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases )
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 19:07:39 +00:00
dependabot[bot]
98feb85c9a
build(deps): bump lzma-native from 7.0.1 to 8.0.1
...
Bumps [lzma-native](https://github.com/addaleax/lzma-native ) from 7.0.1 to 8.0.1.
- [Release notes](https://github.com/addaleax/lzma-native/releases )
- [Changelog](https://github.com/addaleax/lzma-native/blob/main/CHANGELOG.md )
- [Commits](https://github.com/addaleax/lzma-native/compare/v7.0.1...v8.0.1 )
---
updated-dependencies:
- dependency-name: lzma-native
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 18:43:34 +00:00
dependabot[bot]
5fb985e399
build(deps): bump yargs from 16.2.0 to 17.0.1
...
Bumps [yargs](https://github.com/yargs/yargs ) from 16.2.0 to 17.0.1.
- [Release notes](https://github.com/yargs/yargs/releases )
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/yargs/compare/v16.2.0...v17.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 05:04:40 +00:00
dependabot[bot]
1fb738c78f
build(deps-dev): bump @types/node from 14.14.39 to 15.0.2
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.39 to 15.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 05:04:08 +00:00
dependabot[bot]
858ec5b41e
build(deps-dev): bump electron from 11.3.0 to 12.0.0 ( #633 )
...
* build(deps-dev): bump electron from 11.3.0 to 12.0.0
Bumps [electron](https://github.com/electron/electron ) from 11.3.0 to 12.0.0.
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/master/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v11.3.0...v12.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* build: update xcode
* test(macOS): increase timeout for rebuild all modules test to 5m
* build(deps-dev): upgrade electron to ^12.0.2
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@slack-corp.com>
Co-authored-by: Mark Lee <electronjs@lazymalevolence.com>
2021-04-09 15:44:20 -07:00
dependabot[bot]
8de3e82f4c
build(deps): bump lzma-native from 6.0.1 to 7.0.1
...
Bumps [lzma-native](https://github.com/addaleax/lzma-native ) from 6.0.1 to 7.0.1.
- [Release notes](https://github.com/addaleax/lzma-native/releases )
- [Changelog](https://github.com/addaleax/lzma-native/blob/v7.0.1/CHANGELOG.md )
- [Commits](https://github.com/addaleax/lzma-native/compare/v6.0.1...v7.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-11 22:38:50 -08:00
dependabot[bot]
3904e504b2
build(deps-dev): bump @types/yargs from 15.0.12 to 16.0.0
...
Bumps [@types/yargs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/yargs ) from 15.0.12 to 16.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/yargs )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 14:43:12 -08:00
Mark Lee
e2f149ec7f
build(deps): upgrade @malept/cross-spawn-promise to ^1.1.1
2020-12-05 14:02:05 -08:00
Erick Zhao
18ec992c54
chore: use @types/node-abi ( #525 )
2020-12-02 11:18:20 -08:00
dependabot[bot]
0996abe55f
build(deps-dev): bump electron from 10.1.5 to 11.0.2
...
Bumps [electron](https://github.com/electron/electron ) from 10.1.5 to 11.0.2.
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/master/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v10.1.5...v11.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-19 23:38:50 -08:00
dependabot[bot]
5d5e5810b1
build(deps): bump node-abi from 2.19.1 to 2.19.2 ( #502 )
...
* build(deps): bump node-abi from 2.19.1 to 2.19.2
Bumps [node-abi](https://github.com/lgeiger/node-abi ) from 2.19.1 to 2.19.2.
- [Release notes](https://github.com/lgeiger/node-abi/releases )
- [Commits](https://github.com/lgeiger/node-abi/compare/v2.19.1...v2.19.2 )
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): update package.json dependency
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Lee <electronjs@lazymalevolence.com>
2020-11-17 21:51:03 -08:00
Samuel Attard
dd22885668
feat: use electrons sysroot when building with clang on linux ( #443 )
...
* feat: use electrons sysroot when building with clang on linux
* chore: fix up linting warnings
* chore: add SHA1 hash validation of the sysroot
2020-10-02 13:16:21 -07:00
Samuel Attard
a757b7b204
feat: use electron clang to build native modules ( #431 )
...
* feat: use electron clang to build native modules
* fix: ensure the macosSDK is used as the sysroot on macOS
* fix: restore environment variables properly on windows
* fix: pass /p VS flags to node-gyp to use clang-cl on windows
2020-10-01 14:27:53 -07:00
Mark Lee
fda43db426
build: emit ES2018 (Node 10) JS from tsc
2020-09-08 22:23:07 -07:00
Mark Lee
6ec64c0ecc
chore: limit module files to lib
2020-09-08 22:23:07 -07:00
dependabot[bot]
17d18bce8a
build(deps): bump yargs from 15.4.1 to 16.0.0
...
Bumps [yargs](https://github.com/yargs/yargs ) from 15.4.1 to 16.0.0.
- [Release notes](https://github.com/yargs/yargs/releases )
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/yargs/compare/v15.4.1...v16.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-08 22:18:23 -07:00