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

Support doublestar glob directives in workspaces arrays #32

@jaredpalmer

Description

@jaredpalmer

Problem

User's are specifying workspaces declarations with double star glob directives which aren't support natively in Go. We need to use the other doublestar package and recursively search here, while also ignoring correct modules.

Solution

Copy PNPM's globbing from findPackages https://github.com/pnpm/pnpm/blob/917b95c01fd4e6b347dd6159506756693dc051ec/packages/find-packages/src/index.ts#L7

Customer impact: Lattice.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions