这是indexloc提供的服务,不要输入任何密码
Skip to content

Implementing turbo prune command for pnpm workspaces  #534

@Aarush-Goyal

Description

@Aarush-Goyal

What version of Turborepo are you using?

1.0.24

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Linux

Describe the Bug

I was running the command turbo prune --scope=web for a pnpm workspace using turborepo

And it returns this error message:

 ERROR  this command is not yet implemented for nodejs-pnpm

Expected Behavior

It should have trimmed the workspace with relation to the scope declared which would make it easier for me to build the container image for that particular app.

To Reproduce

You can create a simple turborepo that uses pnpm as the package manager like the pnpm example https://github.com/vercel/turborepo/tree/main/examples/with-pnpm

and try to run the command:

turbo prune --scope=web

I am running the pnpm version 6.24.4 node version v17.3.0 turbo version 1.0.24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions