Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node: update dependencies #354

Merged
merged 2 commits into from
Sep 21, 2021
Merged

Conversation

jrose-signal
Copy link
Contributor

  • Upgrade electron and typescript to match Desktop.
  • Manually upgrade node-gyp and electron-mocha.
  • Don't explicitly specify mocha; let electron-mocha choose it.
  • Don't explicitly specify @types/node; let electron choose it.
  • yarn upgrade

Copy link
Contributor

@indutny-signal indutny-signal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jrose-signal
Copy link
Contributor Author

Hmm…node-gyp 8.2.0 broke the Windows build. Commented here, though this may not be the ultimate cause: nodejs/gyp-next#121 (comment)

On Windows, node-gyp tries to be helpful by changing forward slashes
to backslashes and making paths relative to the source root rather
than the build directory, and indeed we rely on that. However, it has
to guess what's a path and what isn't. Previously, we worked around
that by manually stripping the prepended "..\", but the node-gyp
maintainers suggested a better workaround of using joined arguments
instead (`--foo=bar` instead of `--foo bar`).
- Upgrade electron and typescript to match Desktop.
- Manually upgrade node-gyp and electron-mocha.
- Don't explicitly specify mocha; let electron-mocha choose it.
- Don't explicitly specify @types/node; let electron choose it.
- yarn upgrade
@jrose-signal jrose-signal merged commit a7bf226 into master Sep 21, 2021
@jrose-signal jrose-signal deleted the jrose/node-update-dependencies branch September 21, 2021 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants