Skip to content

Cannot reference root package tasks? #862

@dobesv

Description

@dobesv

Describe the bug

WHen i try to depend on scripts in the root level workspace in the monorepo, I get error Error: Cannot open package.json file for xxx

To Reproduce

  1. Setup a monorepo
  2. Create a pipeline task that specifically references a script in the top package.json, e.g. dependsOn: ['top#whatever']
  3. Yarn lage
  4. See error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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