We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pnpm update --prod
9.0.6
CLI
No response
pnpm i --prod # Lockfile is up to date, resolution step is skipped # Already up to date # devDependencies: skipped # Done in 1.1s
pnpm up --prod # devDependencies: # + @sveltejs/adapter-node 5.0.1 # + @sveltejs/kit 2.5.3 # + @sveltejs/vite-plugin-svelte 3.0.2 # ...
pnpm i --prod # Lockfile is up to date, resolution step is skipped # Packages: -272 # # devDependencies: # - @sveltejs/adapter-node 5.0.1 # - @sveltejs/kit 2.5.3 # - @sveltejs/vite-plugin-svelte 3.0.2 # ...
pnpm up --prod installs dev dependencies if they are not installed.
pnpm up --prod
pnpm up --prod should only install and update non-dev dependencies. It should not install anything else.
20.12.2
Ubuntu
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Verify latest release
pnpm version
9.0.6
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Describe the Bug
pnpm up --prod
installs dev dependencies if they are not installed.Expected Behavior
pnpm up --prod
should only install and update non-dev dependencies. It should not install anything else.Which Node.js version are you using?
20.12.2
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Ubuntu
The text was updated successfully, but these errors were encountered: