-
Notifications
You must be signed in to change notification settings - Fork 44
Cleans up the root package.json
#312
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,13 +10,5 @@ | |
| "build:min": "cd code && yarn gulp vscode-reh-web-linux-x64-min", | ||
| "rebuild-native-modules": "cd code && npm rebuild" | ||
| }, | ||
| "license": "EPL-2.0", | ||
| "dependencies": { | ||
| "node-gyp": "^9.4.1" | ||
| }, | ||
| "engines": { | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. VS Code build has a custom check of the node/yarn versions on the preinstall phase. I believe there's not much sense in introducing one more very similar verification. So, I suggest relying only on the verification script from upstream.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. moreover: it broke the che-in-che development: eclipse-che/che#22686 |
||
| "node": ">= 18.18.2", | ||
| "npm": ">= 9.8.1", | ||
| "yarn": ">= 1.22.19" | ||
| } | ||
| "license": "EPL-2.0" | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing
node-gypfrom npm was a breaking change introduced in npm/cli#6932.They already fixed the problem in npm/cli#6932.
While a new version of Node.js with the fixed npm has not yet been released, the only temporary workaround that we need on the Che-Code side is installing
node-gypglobally to allow any transitive dependency rely on it. Once we update to a newer Node.js, we can get rid of that ^^ workaround.Anyway, if it was even decided that
node-gypwas no longer part of npm, we don't need to declare any transitive dependency of VS Code in Che-Code's root package.json.