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

pnpm ls equivalent for Turborepo #4035

@maschwenk

Description

@maschwenk

Which project is this feature idea for?

Turborepo

Describe the feature you'd like to request

pnpm has trouble understanding that lockfile changes can affect packages even if the package source code does not change pnpm/pnpm#4420

From my understanding of this issue, Turborepo can understand that relationship #3250

I'd like to lean on Turbo as the canonical "change detector"

Unfortunately, Turborepo requires all tasks to have a pacakge.json script associated with them. This would require us to either:

  1. Setup a "dummy" script for each package that is a no-op but will allow us to navigate the DAG
  2. Add a build script to scripts that don't really have a build step, just to ensure it's always included

Describe the solution you'd like

More generally, it would be nice to have a way to understand Turbo's view of the DAG divorced from any particular task.

Describe alternatives you've considered

Not sure

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