Skip to content

Exclude package in yarn workspaces #7051

Description

@Pranit-Harekar

Using latest version.

Do you want to request a feature or report a bug?
feature query

What is the current behavior?
Unable to exclude a package (completely) from the workspaces. Just wanna put it out there that I am not talking about excluding dependencies from being hoisted, I am talking about complete exclusion of a package from a workspace, while being in one. I know it doesn't make sense to put something inside workspace in the first place if it's not gonna share any dependencies but thats how I want the setup to be. Any pattern matching I can add to exclude while specifying directories in the "workspaces" field of package.json???

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions