-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
.dependency-cruiser.js
49 lines (49 loc) · 1.14 KB
/
.dependency-cruiser.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/** @type {import('dependency-cruiser').IConfiguration} */
module.exports = {
forbidden: [
{
name: "Macaw UI - migration",
severity: "info",
comment: "Macaw UI migration",
from: {},
to: {
path: "@saleor/macaw-ui",
pathNot: "@saleor/macaw-ui-next"
},
},
{
name: "Material UI - migration",
severity: "info",
comment: "Material UI migration",
from: {},
to: {
path: "@material-ui/*",
},
},
],
options: {
doNotFollow: {
path: "node_modules",
},
tsPreCompilationDeps: true,
tsConfig: {
fileName: "tsconfig.json",
},
enhancedResolveOptions: {
exportsFields: ["exports"],
conditionNames: ["import", "require", "node", "default"],
mainFields: ["main", "types"],
},
reporterOptions: {
dot: {
collapsePattern: "node_modules/[^/]+",
collapsePattern:
"^(packages|src|lib|app|bin|test(s?)|spec(s?))/[^/]+|node_modules/[^/]+",
},
text: {
highlightFocused: true,
},
},
},
};
// generated: dependency-cruiser@12.10.0 on 2023-03-03T12:44:43.123Z