Skip to content
New issue

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

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

Already on GitHub? # to your account

force node-gyp version #11267

Merged
merged 1 commit into from
Jun 9, 2022
Merged

force node-gyp version #11267

merged 1 commit into from
Jun 9, 2022

Conversation

paul-marechal
Copy link
Member

Explicitly declare a dev-dependency on latest node-gyp to prevent
Yarn from installing an arbitrary older version for building our
native dependencies.

How to test

npx node-gyp -v should return v9.0.0.

It should be possible to run yarn install on Windows with only the Visual Studio 2022 Build Tools installed.

Review checklist

Reminder for reviewers

Explicitly declare a dev-dependency on latest node-gyp to prevent
Yarn from installing an arbitrary older version for building our
native dependencies.
@paul-marechal paul-marechal added bug bugs found in the application OS/Windows issues related to the Windows OS labels Jun 7, 2022
@paul-marechal
Copy link
Member Author

Related #11235 (comment)

@vince-fugnitto
Copy link
Member

vince-fugnitto commented Jun 8, 2022

I've opened the IP Due Diligence issues:

@vince-fugnitto vince-fugnitto added the dependencies pull requests that update a dependency file label Jun 8, 2022
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

LGTM!

I confirmed that node-gyp is used, and that the application starts well (both browser and electron).

$ npx node-gyp -v
v9.0.0

@paul-marechal paul-marechal merged commit d419b1b into master Jun 9, 2022
@paul-marechal paul-marechal deleted the mp/force-node-gyp-version branch June 9, 2022 17:43
@github-actions github-actions bot added this to the 1.27.0 milestone Jun 9, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug bugs found in the application dependencies pull requests that update a dependency file OS/Windows issues related to the Windows OS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants