Skip to content

Is there an option to prevent pnpm from using a pnpm-workspace.yaml file? #4735

Answered by leonsilicon
leonsilicon asked this question in Q&A
Discussion options

You must be logged in to vote

After browsing through the source code, I think I've found the option I'm looking for: --ignore-workspace (e.g. pnpm --ignore-workspace install)

Perhaps it might be a good idea to make this more visible in the documentation/help commands? (since pnpm install --help didn't make any mention of this command)

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
6 replies
@astahmer
Comment options

@samzuercher
Comment options

@zkochan
Comment options

@samzuercher
Comment options

@zkochan
Comment options

Answer selected by leonsilicon
Comment options

You must be logged in to vote
4 replies
@zkochan
Comment options

@johndunderhill
Comment options

@raulfdm
Comment options

@johndunderhill
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants