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

Add a flag to ignore local peer dependency declarations so that circular graph doesn't hang-up entire process #407

@sharvilak11

Description

@sharvilak11

In our design system, we have certain components shipped as independent packages in a monorepo, but a few packages are webpack or tooling based utilities too which don't have any build or dist or any other folder. They are exposed by only index.js in its root. In their package.json we have peerDependencies as the main package which consists all packages and that creates circular dependencies.

How to tackle such issue ?

Originally posted by @sharvilak11 in #287

Add a flag to ignore peerDependencies while checking for cyclic graph

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions