Skip to content

Glob patterns not fully supported #36

@trevor-scheer

Description

@trevor-scheer

See build: https://ci.codesandbox.io/status/apollographql/apollo-server/pr/5999/builds/206909

We have a pretty large list of packages, and only one that needs to be excluded (it's private / unpublished). I tried to use the glob pattern packages/!(apollo-server-integration-testsuite) to ignore it, but it interprets the string literally and results in the error:
Error: Can't find package.json at /tmp/16f8ef8e/packages/!(apollo-server-integration-testsuite)/package.json

The docs/example does say globs are supported:

// Globs are supported.
"packages": ["packages/react", "packages/react-dom"],

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