Open Arichy opened 10 months ago
I installed madge globally, manually updated dependencies dependency-tree
and detective-typescript
, and seems it solves my task with tsconfig aliases
I had a similar issue and I managed to fix it by adding "baseUrl": "."
to my tsconfig.json
(despite this option being deprecated: https://www.typescriptlang.org/tsconfig#baseUrl)
I had a similar issue and I managed to fix it by adding
"baseUrl": "."
to mytsconfig.json
(despite this option being deprecated: https://www.typescriptlang.org/tsconfig#baseUrl)
But there are already baseUrl : "src"
in my config.
I installed madge globally, manually updated dependencies
dependency-tree
anddetective-typescript
, and seems it solves my task with tsconfig aliases
What are the respective versions did you update to manually?
I installed madge globally, manually updated dependencies
dependency-tree
anddetective-typescript
, and seems it solves my task with tsconfig aliasesWhat are the respective versions did you update to manually?
Simply latest
I installed madge globally, manually updated dependencies
dependency-tree
anddetective-typescript
, and seems it solves my task with tsconfig aliasesWhat are the respective versions did you update to manually?
Simply latest
that's not work for me ... and adding "baseUrl": "."
to tsconfig.json
work
I installed madge globally, manually updated dependencies
dependency-tree
anddetective-typescript
, and seems it solves my task with tsconfig aliasesWhat are the respective versions did you update to manually?
Simply latest
that's not work for me ... and adding
"baseUrl": "."
totsconfig.json
work
Finally, i solved this problem with option basedir
. Cause I run madge cmd in another package dir of monorepo, it work right
@huntye1 I always set this option)
Now it work from the box or need to update dependencies?
I think I'm running into the same issue, what did you set basedir
to that solved it? Madge works with vue as well unless I run madge from outside the project's directory.
I'm testing this lib, and find some problems. I have a test folder with dependencies:
But when I run
yarn build
which runsnode scripts/build.js
,madge
listed dependencies ofsrc/index.tsx
as an empty array instead of includingsrc/pages/page1/index.tsx
with extends in tsconfig:
without extends in tsconfig: