pantsbuild / pants

The Pants Build System
https://www.pantsbuild.org
Apache License 2.0
3.2k stars 616 forks source link

pnpm_workspace.yaml override the package.json["workspaces"] setting when not using pnpm #21134

Open tobni opened 1 week ago

tobni commented 1 week ago

Describe the bug If pnpm_workspace.yaml is present for an npm-managed project, it will override the package.json["workspaces"] setting, which is not intuitive

Pants version >2.17

OS Are you encountering the bug on MacOS, Linux, or both?

Additional info Add any other information about the problem here, such as attachments or links to gists, if relevant.

tobni commented 1 week ago

pnpm_workspace.yaml should only be used for pnpm projects.