You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read the [changelog](CHANGELOG.md) for latest changes.
35
29
36
-
> I've worked with Madge on my free time for the last couple of years and it's been a great experience. It started as an experiment but turned out to be a very useful tool for many developers. I have many ideas for the project and it would definitely be easier to dedicate more time to it with some [financial support](#donations) 🙏
30
+
> I've worked with Madge on my free time for the last couple of years and it's been a great experience. It started as an experiment but turned out to be a very useful tool for many developers. I have many ideas for the project and it would definitely be easier to dedicate more time to it with some [financial support](#donations-%EF%B8%8F) 🙏
37
31
>
38
32
> Regardless of your contribution, thanks for your support!
`detectiveOptions` | Object | false | Custom `detective` options for [dependency-tree](https://github.com/dependents/node-dependency-tree) and [precinct](https://github.com/dependents/node-precinct#usage)
246
-
`dependencyFilter` | Function | false | Function called with a dependency filepath (exclude substree by returning false)
240
+
`dependencyFilter` | Function | false | Function called with a dependency filepath (exclude subtrees by returning false)
247
241
248
242
You can use configuration file either in `.madgerc` in your project or home folder or directly in `package.json`. Look [here](https://github.com/dominictarr/rc#standards) for alternative locations for the file.
249
243
@@ -380,6 +374,12 @@ npm install
380
374
npm test
381
375
```
382
376
377
+
# Creating a release
378
+
379
+
```sh
380
+
npm run release
381
+
```
382
+
383
383
# FAQ
384
384
385
385
## Missing dependencies?
@@ -444,6 +444,20 @@ Put this in your madge config.
444
444
}
445
445
```
446
446
447
+
## How to ignore dynamic imports in Typescript?
448
+
449
+
Put this in your madge config.
450
+
451
+
```json
452
+
{
453
+
"detectiveOptions": {
454
+
"ts": {
455
+
"skipAsyncImports": true
456
+
}
457
+
}
458
+
}
459
+
```
460
+
447
461
## Mixing TypesScript and Javascript imports?
448
462
449
463
Ensure you have this in your `.tsconfig` file.
@@ -497,7 +511,7 @@ This project exists thanks to all the people who contribute.
497
511
498
512
## Donations ❤️
499
513
500
-
Thanks to the awesome people below for making donations! 🙏[[Donate](https://paypal.me/pahen)]
514
+
Thanks to the awesome people below for making donations! 🙏[Donate](https://paypal.me/pahen)
0 commit comments