Skip to content

Does not link nested dependencies when they are inside the root node_modules folder #37

@spoldman

Description

@spoldman

I have a repository that is getting packages from a monorepo and those packages depend on each other. But no matter what I do I'm not able to use linklocal to link those subpackages of the package that I'm importing.

Here is an example:

MainApp dependencies
-> packageA

packageA dependencies :
-> packageB

if I run the following inside the MainApp only node_modules/packageA gets linked not node_modules/packageB
linklocal --named packageA packageB

If I run it with the recursive flag it only links the node_modules/packageA/node_modules/packageB not node_modules/packageB

Should it not also link packageB when the recursive flag is set?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions