Skip to content

[BUG]: --group-by-package does not work in a monorepo without a root tsconfig #68

Description

@KostyaTretyak

Describe the bug

All my tsconfig files are in packages/*, and it makes no sense to keep tsconfig in the root. And this is not work:

dpdm --no-warning --no-tree -T --group-by-package './packages/*/src/index.ts'

To Reproduce

Run this command from root folder in monorepository.

Expected behavior

Cyclic dependencies should be found.

Additional context

Two working versions with other options:

# 1
dpdm --no-warning --no-tree -T --cwd packages/core src
# 2
dpdm --no-warning --no-tree -T --tsconfig packages/core/tsconfig.json packages/core/src

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions