-
-
Notifications
You must be signed in to change notification settings - Fork 973
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
feat: add support to install different architectures #7214
Conversation
If not specified, it will use just the current system
We should also ensure that if someone modifies the Maybe we'll have to add |
I just tested something, install everything, change the field and install again (keep # Install deps with all the fields as `current` (Darwin arm64)
Found 1 esbuild binaries:
- @esbuild+darwin-arm64@0.18.20
# Add win32 to the OS list, keep current, install deps
win32 should be listed below
Found 2 esbuild binaries:
- @esbuild+darwin-arm64@0.18.20
- @esbuild+win32-arm64@0.18.20
# Remove current from the OS list, keep win32, install deps
Only win32 should be listed below
Found 2 esbuild binaries:
- @esbuild+darwin-arm64@0.18.20
- @esbuild+win32-arm64@0.18.20 |
I know, it won't remove anything from but it should update the symlinks. |
This reverts commit a49f697.
@nachoaldamav Why is this in the |
This feature allows pnpm to force the install of dependencies for specific systems.
For example, with this
package.json
:pnpm will install the following dependencies for esbuild:
TODO:
close #5965