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
--ignore-workspace
option undocumented
#7802
Labels
Comments
It is probably best to add it to the docs. Maybe here: https://pnpm.io/pnpm-cli#options We can't add all options to the CLI help, just the most frequently used ones. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Verify latest release
pnpm version
No response
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
Our team is currently migrating a ~50 package monorepo into a pnpm workspace. (each package is a self-contained node microservice)
We are doing an incremental migration where we would migrate service by service into the workspace.
Describe the Bug
The big problem we ran into was that as soon we had the
pnpm-workspace.yml
in a parent directory, the package management commands would affect the workspace even if the current directory was not in the workspace.This was a big problem because this put the incremental migration approach at risk.
After some googling, we found this discussion post and it solved our problem exactly.
But we could not find a reference to this in the pnpm documentation. Neither the docs nor in the help reference this command.
Expected Behavior
A mention of the
--ignore-workspace
option in the help ofadd
remove
update
proposed documentation:
stolen from: https://github.com/pnpm/pnpm/releases/tag/v6.25.0
Which Node.js version are you using?
v20.11.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
The text was updated successfully, but these errors were encountered: