-
Notifications
You must be signed in to change notification settings - Fork 406
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
build: update to node v16 with npm v6 for packaging #4092
Conversation
as npm 7/8 breaks vsce packaging
Bundle size validitynode 14, npm 6baseline on develop@54.12.0 (ff49172)
node 16, npm 6 without Workspaces and lockfile v2:Installed size: 795M
node 16, npm 6 with Workspaces and lockfile v2:Installed size: 796M
node 16, npm 6 with Workspaces and lockfile v3:Installed size: 796M
|
.npmrc
Outdated
# TODO (debug): | ||
# npm ERR! While resolving: salesforcedx-vscode-soql@54.8.0 | ||
# npm ERR! Found: @typescript-eslint/parser@3.10.1 |
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.
does it suggest a version that works or what?
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.
Modified the peer/dev deps to match the versions and removed the legacy peer deps flag
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.
Thanks Mohan. Glad you finally peeled the onion :)
…ter installs from 2.9M to 1.6M
…instead of removing it
What does this PR do?
--no-dependencies
flag to workaround the issue does not produce valid vsix filesvsce package --yarn
does not include not-hoisted deep dependency microsoft/vscode-vsce#432)TODO
vscode:install
tovsix:install
What issues does this PR fix or reference?
@W-11004197@
Functionality Before
Functionality After
npm install --workspaces [--include-workspace-root]
errors during arch specific node installnpm run --workspaces
due to [BUG] Unexpected, recursive workspace script calls npm/cli#4603