-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.syncpackrc
40 lines (40 loc) · 1018 Bytes
/
.syncpackrc
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
{
"$schema": "./node_modules/syncpack/dist/schema.json",
"sortFirst": ["name", "private", "version"],
"indent": "\t",
"versionGroups": [
{
"label": "Use workspace protocol when developing local packages",
"dependencies": ["$LOCAL"],
"dependencyTypes": ["dev", "prod"],
"pinVersion": "workspace:*"
},
{
"label": "@types packages are confined to devDependencies",
"dependencies": ["@types/**"],
"dependencyTypes": ["!dev"],
"isBanned": true
},
{
"label": "Ignore packages' peer dependencies with HighestSemverMismatch",
"dependencyTypes": ["peer"],
"specifierTypes": ["range"]
}
],
"semverGroups": [
{
"label": "Use caret range for public packages' peer dependencies",
"packages": ["react-router-busy", "react-dry-toast"],
"dependencyTypes": ["peer"],
"dependencies": ["**"],
"range": "^"
},
{
"label": "Use exact version numbers",
"packages": ["**"],
"dependencyTypes": ["prod", "dev"],
"dependencies": ["**"],
"range": ""
}
]
}