-
Notifications
You must be signed in to change notification settings - Fork 172
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: store packageManager
property also inside the lock file
#465
Comments
packageManager
property also inside lock filepackageManager
property also inside the lock file
This sounds like it should be implemented in |
@styfle Perhaps, but I don’t know how corepack works under the hood. |
Have you considered setting a |
@aduh95 The question is related to how the |
I see, pardon my ignorance, I should have read the docs. From what I can see, pnpm docs recommend downloading a specific version of pnpm with cURL globally. The equivalent with corepack would be to run |
Our current flow:
We use
docker
+pnpm fetch
This means we don't cache the
package.json
file before thepnpm fetch
execution.This allows us to worry about
package.json
changes.But corepack will always install the latest version of
pnpm
instead of a specific one.If store the
packageManager
property in a lock file, this will solve the problem.The text was updated successfully, but these errors were encountered: