Skip to content

feat(yarn): add workspace as dependencies and use workspace relationship for them #8012

@DmitriyLewen

Description

@DmitriyLewen

Description

We currently don't expose workspace as separate packages (only define direct and indirect dependencies on them).

After #7889 we can add them with the workspace relationship.

Required changes:

  • detect workspace packages from path/to/workspace/package.json files.
  • use workspace relationship for these packages
  • add relationships between workspaces and direct packages of workspaces.
  • ??? detect project id from root package.json file to add root package (@knqyf263 wdyt?) and add workspaces as dependencies of root package

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions