forked from momentum-design/momentum-design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.syncpackrc
106 lines (106 loc) · 2.07 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"lintFormatting": false,
"customTypes": {
"nodeEngine": {
"path": "engines.node",
"strategy": "version"
},
"packageManager": {
"path": "packageManager",
"strategy": "version"
},
"yarnEngine": {
"path": "engines.yarn",
"strategy": "version"
}
},
"dependencyTypes": [
"prod",
"dev",
"nodeEngine",
"packageManager",
"yarnEngine"
],
"semverGroups": [
{
"label": "use caret versions in production",
"packages": [
"**"
],
"dependencyTypes": [
"prod",
"dev"
],
"dependencies": [
"**"
],
"range": "^"
}
],
"versionGroups": [
{
"label": "Ensure all node engines are in the same range",
"dependencyTypes": [
"nodeEngine"
],
"preferVersion": "20.0.0"
},
{
"label": "Ensure all package manager are in the same range",
"dependencyTypes": [
"packageManager"
],
"pinVersion": "yarn@3.2.4"
},
{
"label": "Ensure all yarn engines are not set",
"dependencyTypes": [
"yarnEngine"
],
"isBanned": true
},
{
"label": "Ensure @types/node corresponds to the node engine",
"dependencies": [
"@types/node"
],
"packages": [
"**"
],
"pinVersion": "20.14.9"
},
{
"label": "Ensure all packages use same esbuild, typescript as the components package is using",
"dependencies": [
"esbuild",
"typescript"
],
"packages": [
"**"
],
"snapTo": [
"@momentum-design/components"
]
},
{
"label": "Ensure Eslint is on version 8.27.0 due to ESM support needed in latest version 9.9.0",
"dependencies": [
"eslint"
],
"packages": [
"**"
],
"pinVersion": "8.27.0"
},
{
"label": "Dependencies should be the same version",
"dependencies": [
"**"
],
"packages": [
"**"
],
"policy": "same"
}
]
}