forked from trycompai/comp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.syncpackrc.json
More file actions
56 lines (56 loc) · 1.59 KB
/
.syncpackrc.json
File metadata and controls
56 lines (56 loc) · 1.59 KB
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
50
51
52
53
54
55
56
{
"source": ["package.json", "apps/*/package.json", "packages/*/package.json"],
"dependencyTypes": ["prod", "dev", "peer"],
"semverGroups": [
{
"label": "Use exact versions for internal packages",
"packages": ["@comp/**"],
"dependencies": ["@comp/**"],
"range": "workspace:*"
}
],
"versionGroups": [
{
"label": "Ensure React is consistent",
"packages": ["**"],
"dependencies": ["react", "react-dom", "@types/react", "@types/react-dom", "react-is"],
"isIgnored": false
},
{
"label": "Ensure Next.js is consistent",
"packages": ["**"],
"dependencies": ["next"],
"isIgnored": false
},
{
"label": "Ensure TypeScript is consistent",
"packages": ["**"],
"dependencies": ["typescript"],
"isIgnored": false
},
{
"label": "Ensure common build tools are consistent",
"packages": ["**"],
"dependencies": ["postcss", "tailwindcss", "@tailwindcss/**", "autoprefixer"],
"isIgnored": false
},
{
"label": "Ensure testing tools are consistent",
"packages": ["**"],
"dependencies": ["@types/node", "prettier", "turbo"],
"isIgnored": false
},
{
"label": "Ensure ESLint is consistent",
"packages": ["**"],
"dependencies": ["eslint", "eslint-config-next"],
"isIgnored": false
}
],
"lintRules": {
"forbiddenDependencies": {
"dependencies": ["crypto", "buffer", "fs", "path", "os", "install", "npm"],
"message": "This is a Node.js built-in module or a mistakenly added dependency"
}
}
}