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

[turborepo] The ^ char in dependsOn does not work when using alias package name #5441

@unnoq

Description

@unnoq

What version of Turborepo are you using?

1.10.7

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Linux

Describe the Bug

The ^ char in dependsOn does not work when using alias package name

My config

    "build": {
      "dependsOn": ["^build"],
      "outputs": [".next/**", "!.next/cache/**", "dist/**"]
    },

My app dependency

    "dependencies": {
       "ui": "workspace:@resolvex/ui@^",
    }

When I run build both the app and package run concurrently

But if I not using an alias it work correctly

Expected Behavior

App wait util package done for build

To Reproduce

Install dependency by using an alias

Reproduction Repo

No response

Metadata

Metadata

Assignees

Labels

kind: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions