-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkarounds-esm.json
More file actions
144 lines (144 loc) · 3.6 KB
/
workarounds-esm.json
File metadata and controls
144 lines (144 loc) · 3.6 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Workaround packages that are [Pure ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) directly, or have started using transitive dependencies that are.",
"packageRules": [
{
"allowedVersions": "<=1",
"matchManagers": ["npm"],
"matchPackageNames": ["@sindresorhus/slugify", "node-version-alias", "tempy"]
},
{
"allowedVersions": "<=2",
"matchManagers": ["npm"],
"matchPackageNames": [
"arrify",
"env-paths",
"filter-obj",
"is-docker",
"is-retry-allowed",
"is-stream",
"mkdirp",
"move-file",
"node-fetch",
"p-filter",
"p-reduce",
"test-each",
"to-readable-stream"
]
},
{
"allowedVersions": "<=3",
"matchManagers": ["npm"],
"matchPackageNames": [
"@types/rimraf",
"clean-stack",
"figures",
"file-url",
"git-remote-origin-url",
"is-plain-obj",
"junk",
"keep-func-props",
"leven",
"p-any",
"p-limit",
"p-wait-for",
"path-key",
"pkg-up"
]
},
{
"allowedVersions": "<=4",
"matchManagers": ["npm"],
"matchPackageNames": [
"ansi-escapes",
"chalk",
"escape-string-regexp",
"has-ansi",
"indent-string",
"log-symbols",
"map-obj",
"npm-run-path",
"os-name",
"p-event",
"p-map",
"p-props",
"p-timeout",
"path-exists",
"path-type",
"process-exists",
"rimraf",
"sort-on",
"string-width",
"xdg-basedir"
]
},
{
"allowedVersions": "<=5",
"matchManagers": ["npm"],
"matchPackageNames": [
"ansi-regex",
"ansi-styles",
"boxen",
"configstore",
"execa",
"find-up",
"get-bin-path",
"get-port",
"ora",
"p-locate",
"pkg-dir",
"pretty-bytes",
"read-pkg"
]
},
{
"allowedVersions": "<=6",
"matchManagers": ["npm"],
"matchPackageNames": [
"camelcase",
"del",
"dot-prop",
"into-stream",
"locate-path",
"log-process-errors",
"p-queue",
"strip-ansi"
]
},
{
"allowedVersions": "<=7",
"matchManagers": ["npm"],
"matchPackageNames": [
"decompress-response",
"pretty-ms",
"ps-list",
"read-pkg-up",
"wrap-ansi"
]
},
{
"allowedVersions": "<=8",
"matchManagers": ["npm"],
"matchPackageNames": ["inquirer", "supports-color"]
},
{"allowedVersions": "<=9", "matchManagers": ["npm"], "matchPackageNames": ["meow"]},
{"allowedVersions": "<=10", "matchManagers": ["npm"], "matchPackageNames": ["got"]},
{
"allowedVersions": "<=11",
"matchManagers": ["npm"],
"matchPackageNames": ["get-node", "globby"]
},
{
"description": "node-fetch v3 and later is ESM only, which makes zero sense as node v18 is introducing native fetch support. The times you need node-fetch is in older node versions. This preset tells renovatebot to stay on v2 unless manually updating to v3 first",
"followTag": "cjs",
"matchManagers": ["npm"],
"matchPackageNames": ["node-fetch"]
},
{
"matchDatasources": ["npm"],
"matchPackageNames": ["is-hotkey"],
"replacementName": "is-hotkey-esm",
"replacementVersion": "1.0.0"
}
]
}