Ninglo
f526206095
feat: configure use remote checksums via rc ( #40253 )
...
* feat: support for configuring use_remote_checksums via .npmrc
* docs: support for configuring use_remote_checksums via .npmrc
---------
Co-authored-by: jiujianian <jiujianian@bytedance.com>
2023-10-31 16:51:59 -04:00
Shelley Vohr
1d98b27a66
chore: update node types version ( #36924 )
2023-01-18 14:46:27 +01:00
hyrious
9c48992e21
chore: fix dangling promise in npm install ( #36379 )
...
* Fix dangling promise introduced in #33979
* fix reject in callback
* simplify code
Co-authored-by: Black-Hole <158blackhole@gmail.com>
Co-authored-by: Black-Hole <158blackhole@gmail.com>
2022-11-18 15:21:11 -08:00
Felix Rieseberg
74d59af3c5
fix: Handle an electron.d.ts file in a custom build ( #33979 )
...
* Handle an electron.d.ts file in a custom build
* Fix linter issues
Co-authored-by: Felix Rieseberg <felixr@stripe.com>
2022-09-26 14:39:26 -04:00
Keeley Hammond
81d95b53b3
build: bump @electron/get to 2.0.0, node to >= 12+ ( #35301 )
...
* infra: bump @electron/get to 2.0.0, node to >= 12+
* chore: empty commit to trigger CircleCI
2022-08-11 15:31:24 +02:00
Samuel Maddock
ff5f66395e
chore: upgrade extract-zip for installer ( #34166 )
2022-05-12 10:18:42 +02:00
Calvin
594dc7e24a
chore: update node types version ( #33452 )
...
* chore: update node types version
* update express types to solve type conflict
* one more yarn.lock type bump
* update another types package to fix incompatible global declarations
* remove incompatible type magicks
* update our ambient types to match the node types
* fix test type
2022-03-28 14:37:35 -07:00
Black-Hole
3aec1c3e3f
chore: upgrade @electron/get version to ^1.14.1 ( #33259 )
...
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2022-03-22 09:41:21 -07:00
Tommy MacWilliam
824c909e2a
fix: Allow npm_config_arch override on mac ( #32266 )
...
If the npm_config_arch environment variable is set on Mac, then use the
specified architecture rather than overriding it to x64.
2022-01-07 17:53:15 +09:00
Samuel Attard
aab5ea5f9d
build: embed binary checksums in the npm package ( #30611 )
...
* build: embed binary checksums in the npm package
* Update docs/tutorial/installation.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
* refactor: replace reduce with loop
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2021-08-19 11:26:17 -07:00
Samuel Attard
7169734470
fix: download the arm64 version of Electron when running node under rosetta ( #29953 )
2021-07-06 10:40:26 +09:00
Eli Skeggs
5521f8acca
feat: allow path override with --ignore-scripts ( #25377 )
...
If you --ignore-scripts when installing electron currently, it'll fail
to write the path.txt file and thus fail to use the override dist path.
Open to other solutions - just hoping to be able to use a prebuilt
electron binary with the default package without having to muck around
with it installing an unused version.
2020-12-03 16:23:44 +09:00
David Sanders
2aa5a1f494
build: lint the npm folder ( #26085 )
2020-10-21 15:43:52 -07:00
Shelley Vohr
77038b7bda
chore: upgrade to Node.js v14.9.0 ( #25249 )
2020-09-17 16:08:57 -06:00
leonllrmc
c97f8109c2
chore: update import for use new ECMA features ( #24987 )
2020-08-25 09:23:44 -07:00
Anders Kaseorg
1746ae8c35
fix: do not ignore electron exit signals in cli.js wrapper ( #22878 )
...
When the electron child process exits with a signal, the close event
handler receives code null and the cli wrapper would silently exit
successfully. Fix it to log a message and exit with a nonzero code in
this case.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-04-13 15:49:01 +09:00
Max
ae49b8be42
fix: npm download failed when define 'npm_config_platform=mas' ( #21801 )
2020-01-17 14:44:21 +09:00
David Sanders
85382d8f1d
fix: improve error handling in npm install ( #21589 )
...
* fix: improve error handling in npm install
* chore: simplify logic
2019-12-30 09:48:54 -08:00
Robert Nagy
1f43af5cea
feat: add openbsd support in the node module ( #19860 )
2019-08-22 12:09:15 -07:00
Samuel Attard
4b674c1daf
build: ensure that we bundle the correct version of @types/node ( #19102 )
2019-07-03 16:36:59 -07:00
Samuel Attard
a6637fbce9
chore: update the npm package to use @electron/get ( #18413 )
...
* chore: update the npm package to use @electron/get
* chore: update node requirement for got
2019-05-24 13:40:53 -07:00
Joshua Westerheide
a59dc56fa6
feat: add env variable to skip binary download on npm install ( #17627 )
...
* feat: add env variable to skip binary download on npm install
* docs: add "Skip binary download" section to install tutorial
2019-05-03 10:17:15 -07:00
Shelley Vohr
18ca4b6a3a
chore: update @types/node dep ( #16174 )
2018-12-21 12:59:42 -05:00
Samuel Attard
6c998aa4f2
fix: fix Electron not starting in development from the CLI ( #16116 )
2018-12-17 19:26:22 -08:00
Samuel Attard
eb8fcf833c
chore: warn when people attempt to use the Electron module to do Electron things but from node ( #15916 )
...
* chore: warn when people attempt to use the Electron module to do Electron things but from node
* update node env console warning
2018-12-07 12:00:24 -08:00
Samuel Attard
e9fab747ec
fix: explicitly set windowsHide
to the old node default ( #15469 )
...
fixes #15467
2018-11-01 10:53:11 +11:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Keerthi Niranjan
59e118925a
fix: electron path for postinstall ( #14177 )
...
* fix #14127 issue caused by #12426
* add ELECTRON_OVERRIDE_DIST_PATH check for install.js
2018-08-19 09:40:12 -07:00
Samuel Attard
eb79ad4dab
fix: handle SIGINT and SIGTERM from the Electron CLI helper ( #13867 )
...
Fixes #12840
2018-07-31 13:44:04 -05:00
Mark Lee
cda13e5e79
feat: upgrade electron-download to 4.x
...
This is a breaking change, as it causes the `electron` module to require
Node 4.x (which has been EOL'd anyway).
Upgrading adds features such as a customizable cache location (via the
`ELECTRON_CACHE` environment variable).
Originally merged in https://github.com/electron/electron/pull/10922 but
was reverted because it was going into a version of Electron that did
not allow breaking changes.
2018-05-17 23:16:27 -07:00
Samuel Attard
2e5cb930de
Provide an easy way to use a local build of Electron ( #12426 )
...
* Provide an easy way to use a local build of Electron
For instance from ~/projects/electron/out/D
* document ELECTRON_OVERRIDE_DIST_PATH
* Make the linter happy
* Tweak ELECTRON_OVERRIDE_DIST_PATH docs
2018-03-25 00:03:17 -04:00
Charles Kerr
6f3fdb6ae6
revert electron-download dependency to ^3.0.1
...
undo last week's dependency bump as per discussion at https://github.com/electron/electron/pull/10922
dependency was bumped @ 0c9e106502
2017-11-03 09:45:09 -05:00
Selwyn
0c9e106502
Update electron-download to version 4.1.0
...
Respects the OS cache location and be able to set he cache location by setting the environment variable `ELECTRON_CACHE`.
2017-10-26 14:17:34 +02:00
Felix Rieseberg
2b510d7a06
Update install.js
2017-10-11 11:10:38 -07:00
Felix Rieseberg
d07529feca
🔧 Don't be quiet on default loglevel
2017-10-11 10:56:40 -07:00
Vanessa Yuen
b54804d449
change process.versions.electron
to reflect suffixes in version name.
2017-08-29 19:37:49 -04:00
Zeke Sikelianos
18e7354b4a
bump @types/node to 8
2017-08-22 11:01:40 -07:00
Zeke Sikelianos
525eedc036
remove prebuilt readme in favor of top-level readme
2017-08-08 10:20:30 -07:00
Vanessa Yuen
6e86a95f5e
remove package-lock from /npm
2017-08-01 16:15:24 -04:00
Vanessa Yuen
cd1c5103c7
remove unnecessary tests & dependencies from /npm
2017-08-01 16:07:51 -04:00
Vanessa Yuen
1577360312
fix lint errors
2017-08-01 11:50:57 -04:00
Vanessa Yuen
eaa63c880e
add final "integration test" before running npm publish on the prebuilt
2017-08-01 00:50:40 -04:00
Vanessa Yuen
40555371ba
add tests for npm install
2017-07-18 13:38:57 -04:00
Vanessa Yuen
663710e8eb
script to publish electron to npm directly
2017-07-13 17:09:21 -04:00
Vanessa Yuen
5dfee2a23c
remove files no longer needed in /npm
2017-07-06 14:31:02 -04:00
Electron Bot
21657c6289
Update to Electron v1.7.4
2017-06-28 16:47:26 -07:00
Kevin Sawicki
97d0c6e505
Upgrade .d.ts file to 1.7.4
2017-06-28 15:18:59 -07:00
Kevin Sawicki
d7ee2068c5
Merge pull request #262 from electron-userland/ts-1-7-3
...
Add electron.d.ts@1.7.3
2017-06-08 15:48:56 -07:00
Electron Bot
68164aeff2
Update to Electron v1.7.3
2017-06-08 15:46:02 -07:00
Kevin Sawicki
51126c7c35
Add electron.d.ts@1.7.3
2017-06-08 15:31:29 -07:00