Skip to content

[bug] Implicit dependencies doesn't work with NPM workspaces since moon v2 #2392

@mbarzda

Description

@mbarzda

Describe the bug

After moon upgrade to v2, implicit project dependencies don't appear in task and project graphs in NPM monorepo workspace.
Replacing * to workspace:* in package.json fixes issue, but NPM doesn't support workspace:* protocol yet (https://github.com/npm/npm-package-arg/blob/main/lib/npa.js#L399).

Expected behavior

moon v2 must read project workspace dependencies from package.json in NPM workspaces, and build proper dependencies tree, like it was implemented in moon v1.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions