Skip to content

Resolve workspace arguments (npm -w, pnpm -F) #58

@alexgagnon

Description

@alexgagnon

Clear and concise description of the problem

Any appetite to supporting resolving the command to specific workspaces? The issue is npm has -w/--workspace, yarn has workspace focus, and pnpm has -F/--filter, as far as I'm aware?

Suggested solution

Extend the parameter list to include a way to indicate a specific workspace(s), e.g. resolveCommand('npm', 'add', [], { workspaces: [...] }).

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions