Граф коммитов

43 Коммитов

Автор SHA1 Сообщение Дата
Erick Zhao d1fbc591cf
docs: update option documentation (#1141) 2024-06-28 15:53:41 -04:00
David Sanders ee3eb00eca
docs: update Electron Packager references (#1111) 2023-11-07 18:20:36 -08:00
Samuel Attard d67ab4e140
build: move from electron-rebuild to @electron/rebuild 2022-10-27 15:57:08 -07:00
Mark Lee 28642ec23e
docs: update Electron Packager links 2021-08-09 13:36:01 -07:00
Mark Lee 72f21bf612
feat!: 3.0.0 (#799)
* feat!: remove deprecated sequential arguments API
* feat!: remove support for electron-prebuilt

BREAKING CHANGE: deprecated APIs are removed
BREAKING CHANGE: remove support for `electron-prebuilt`, as it's super old and unsupported
BREAKING CHANGE: Requires Node 12 LTS

Also adds `RebuildOptions` to the top-level API.
2021-08-09 11:07:22 -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
Samuel Attard ed58dda6d7
chore: cleanup post-merge 2020-10-01 14:51:38 -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 ac4165f980
build: add support for code coverage & uploading to codecov (#399) 2020-09-01 23:26:16 -07:00
Mark Lee 2e19f76904 fix: node-gyp requires Node 10.12 2020-08-25 07:36:04 -07:00
Henno Lauinger f89a61c36d
docs: update node version in readme (#381)
[ci skip]
electron-rebuild 2.0.0 depends on node >=10.0.0
2020-08-21 16:48:07 +03:00
issacgerges 64afa4f654
docs: Clarify that -w is only respected when modules are a subset of those matching current types (#376)
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2020-07-10 23:09:35 -07:00
Mark Lee 3ee5d4a3cf
fix: remove one layer of HTTP redirects for Electron headers (#354) 2020-03-09 14:22:00 -07:00
mtgto 3a9a90cee4
docs: fix default of headerURL in README (#353) 2020-02-15 21:07:03 +02:00
Nick Hehr 8ca31ab2c2 feat: add --prebuild-tag-prefix option for prebuild-install (#266)
Passes through the `--tag-prefix` option to `prebuild-install` call to get
scoped modules from GitHub.

Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2020-01-22 12:41:44 -08:00
Mark 1c31a933a1
docs: cleanup README 2019-11-20 13:38:11 -08:00
Mark Lee d70fa29984 fix: add docs for node-gyp requirements
This is really "docs:" but this is supposed to trigger a release for the
node-gyp bump.
2019-11-16 23:00:16 -08:00
Mark Lee 11cb8d9e37 chore: add CFA support (#306)
* refactor: fix source file name misspelling

* refactor: rename and split up locateElectronModule

* refactor: resolve package.json instead of module folder

* chore: add CFA support

* test: do not save changes from running npm in tests

* test: ensure the electron package doesn't exist

* build: replace AppVeyor with CircleCI's Windows support

* Replace ref/ffi which don't work on Node 12

* chore(deps): upgrade node-abi to ^2.11.0

* Replace benchr/microtime with deasync-promise/deasync

* Replace deasync-promise/deasync with asyncawait/fibers

* Replace srand with deasync

* Replace deasync with serialport

* @serialport/bindings, not serialport

* Replace @serialport/bindings with snappy

* Replace asyncawait/fibers with poutchdb/leveldown

* Remove only

* Replace pouchdb with level

* Replace level/leveldown with electron-markdown/cmark-gfm

* Electron 1.6 probably doesn't have node_api.h

* Replace sodium-native with farmhash

* Back to ffi/ref + move to Electron 6

* test: do not save changes from running npm in tests

* Remove .only

* Fix prebuild tests

* Set the environment variable

* Update modules yet again

* Add @types/node for running prebuild via ts-node

* Fix more tests

* Fix bcrypt

* Use a for loop instead of forEach & skip over the napi_versions key

* Remove AppVeyor config

* Remove Travis CI badge

* Revert test stdio change
2019-11-15 12:22:53 -08:00
Lucas Schneider d3c8e37cd9 Fix typos in readme.md 2019-05-20 10:26:13 -03:00
Mark Lee 04d1d46664 chore: fix NPM badge link 2019-02-03 21:11:00 -08:00
Mark Lee d47635fb7e chore: add Travis/NPM badges 2019-02-03 15:05:18 -08:00
David Land 40ddb2473f docs: include Node version requirement (#201) 2019-02-03 13:09:54 -08:00
Lars-Magnus Skog 37db7fc632 Add docs on how electron-rebuild works with prebuild 2018-03-12 00:16:33 +01:00
Samuel Attard e6ef0a7398
Merge pull request #209 from mnaamani/v1.6.0-debug
Add debug build option
2017-11-22 12:56:10 +11:00
Mokhtar Naamani 976e9c4841 Update readme 2017-10-30 11:23:06 +02:00
Kim Gentes ae4c156cc1 correct buildPath options in comment code sample 2017-08-03 13:39:05 -07:00
Samuel Attard eb205ee2ed
Add JS API docs for onlyModules 2017-07-30 11:45:58 +10:00
Seth Fitzsimmons 930ec930a6 Add --only option to build whitelisted modules
Adapted from changes originally by Jan Kuri <jkuri88@gmail.com>

Fixes #151
2017-06-27 15:27:08 -07:00
Samuel Attard a4d7295364
Switch to passing args in an options object instead of one long chain 2017-06-14 19:10:57 +10:00
Mark Lee 6c179f40c2 Cleanup readme 2017-02-26 14:55:57 -08:00
Mark Lee 2ecad9e8cc Add docs for use with Electron Forge 2017-02-26 14:55:25 -08:00
Samuel Attard 496439a7c2 Add example usage with electron-packager 2017-02-19 16:05:38 +11:00
Samuel Attard 20c630fe62
Initial port from forge 2016-12-20 20:21:31 +11:00
Zeke Sikelianos 828c2d19fa clean up notes about windows 2016-08-04 13:03:47 -07:00
Zeke Sikelianos d88cb2a650 Merge pull request #76 from maxdow/patch-1
Added a notice about windows errors
2016-08-04 13:02:44 -07:00
James Ide dba3d2a0f6 Update the README with fixed examples, more convenient code sample, mention Node
- Fixes the examples so that the version numbers are no longer prefixed with `v`, which no longer works with Electron 1.3.1 on macOS at least. With `v` you get an error about common.gypi missing.
- Update one of the examples to have fewer hardcoded values
- Change io.js references to Node.js
2016-07-28 10:48:52 -07:00
Maxime Warnier 6b736005de Added a notice about windows errors 2016-06-03 12:34:06 +02:00
Julian Gruber a06631870c Mention require-rebuild 2016-02-11 10:16:11 -06:00
Vadim Macagon da6a40a1a9 Document the node-pre-gyp workaround and make it easier to invoke 2016-02-02 17:06:52 +07:00
Paul Betts 41261a2540 Update README.md 2015-10-31 08:57:40 -07:00
Paul Betts 8d3f2325c8 Dox some stuff 2015-06-01 15:55:36 -07:00
Paul Betts 3e0b643096 Come Correct with README 2015-05-04 22:28:55 -07:00
Paul Betts efc2b7a1ca Add super lazy readme 2015-05-04 01:44:51 -07:00