* 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.
* 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>
* 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
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>
* 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
- 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