syncpack 13.0.2 → 14.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/README.md +0 -3
  2. package/index.cjs +24 -0
  3. package/package.json +18 -73
  4. package/schema.json +1006 -0
  5. package/syncpack.d.ts +138 -0
  6. package/LICENSE +0 -20
  7. package/dist/bin-fix-mismatches/fix-mismatches.d.ts +0 -16
  8. package/dist/bin-fix-mismatches/fix-mismatches.js +0 -96
  9. package/dist/bin-fix-mismatches/index.d.ts +0 -2
  10. package/dist/bin-fix-mismatches/index.js +0 -33
  11. package/dist/bin-format/format.d.ts +0 -13
  12. package/dist/bin-format/format.js +0 -92
  13. package/dist/bin-format/index.d.ts +0 -2
  14. package/dist/bin-format/index.js +0 -28
  15. package/dist/bin-lint/index.d.ts +0 -2
  16. package/dist/bin-lint/index.js +0 -17
  17. package/dist/bin-lint/lint.d.ts +0 -11
  18. package/dist/bin-lint/lint.js +0 -52
  19. package/dist/bin-lint-semver-ranges/index.d.ts +0 -2
  20. package/dist/bin-lint-semver-ranges/index.js +0 -30
  21. package/dist/bin-lint-semver-ranges/lint-semver-ranges.d.ts +0 -16
  22. package/dist/bin-lint-semver-ranges/lint-semver-ranges.js +0 -92
  23. package/dist/bin-list/index.d.ts +0 -2
  24. package/dist/bin-list/index.js +0 -27
  25. package/dist/bin-list/list.d.ts +0 -14
  26. package/dist/bin-list/list.js +0 -151
  27. package/dist/bin-list-mismatches/index.d.ts +0 -2
  28. package/dist/bin-list-mismatches/index.js +0 -29
  29. package/dist/bin-list-mismatches/list-mismatches.d.ts +0 -18
  30. package/dist/bin-list-mismatches/list-mismatches.js +0 -224
  31. package/dist/bin-prompt/index.d.ts +0 -2
  32. package/dist/bin-prompt/index.js +0 -29
  33. package/dist/bin-prompt/prompt.d.ts +0 -11
  34. package/dist/bin-prompt/prompt.js +0 -95
  35. package/dist/bin-set-semver-ranges/index.d.ts +0 -2
  36. package/dist/bin-set-semver-ranges/index.js +0 -32
  37. package/dist/bin-set-semver-ranges/set-semver-ranges.d.ts +0 -11
  38. package/dist/bin-set-semver-ranges/set-semver-ranges.js +0 -61
  39. package/dist/bin-update/effects.d.ts +0 -52
  40. package/dist/bin-update/effects.js +0 -282
  41. package/dist/bin-update/index.d.ts +0 -2
  42. package/dist/bin-update/index.js +0 -24
  43. package/dist/bin-update/update.d.ts +0 -6
  44. package/dist/bin-update/update.js +0 -59
  45. package/dist/bin.d.ts +0 -2
  46. package/dist/bin.js +0 -37
  47. package/dist/config/get-custom-types.d.ts +0 -19
  48. package/dist/config/get-custom-types.js +0 -57
  49. package/dist/config/get-enabled-types.d.ts +0 -17
  50. package/dist/config/get-enabled-types.js +0 -109
  51. package/dist/config/get-filter.d.ts +0 -2
  52. package/dist/config/get-filter.js +0 -10
  53. package/dist/config/get-indent.d.ts +0 -2
  54. package/dist/config/get-indent.js +0 -9
  55. package/dist/config/get-sort-az.d.ts +0 -2
  56. package/dist/config/get-sort-az.js +0 -8
  57. package/dist/config/get-sort-exports.d.ts +0 -2
  58. package/dist/config/get-sort-exports.js +0 -9
  59. package/dist/config/get-sort-first.d.ts +0 -2
  60. package/dist/config/get-sort-first.js +0 -8
  61. package/dist/config/get-source.d.ts +0 -2
  62. package/dist/config/get-source.js +0 -8
  63. package/dist/config/tag.d.ts +0 -3
  64. package/dist/config/tag.js +0 -2
  65. package/dist/config/types.d.ts +0 -134
  66. package/dist/config/types.js +0 -1
  67. package/dist/constants.d.ts +0 -106
  68. package/dist/constants.js +0 -103
  69. package/dist/error-handlers/default-error-handlers.d.ts +0 -25
  70. package/dist/error-handlers/default-error-handlers.js +0 -80
  71. package/dist/get-context/index.d.ts +0 -23
  72. package/dist/get-context/index.js +0 -18
  73. package/dist/get-context/lib/key-by.d.ts +0 -6
  74. package/dist/get-context/lib/key-by.js +0 -12
  75. package/dist/get-instances/index.d.ts +0 -14
  76. package/dist/get-instances/index.js +0 -42
  77. package/dist/get-instances/instance.d.ts +0 -26
  78. package/dist/get-instances/instance.js +0 -35
  79. package/dist/get-package-json-files/get-file-paths.d.ts +0 -21
  80. package/dist/get-package-json-files/get-file-paths.js +0 -22
  81. package/dist/get-package-json-files/get-patterns/get-lerna-patterns.d.ts +0 -3
  82. package/dist/get-package-json-files/get-patterns/get-lerna-patterns.js +0 -12
  83. package/dist/get-package-json-files/get-patterns/get-pnpm-patterns.d.ts +0 -3
  84. package/dist/get-package-json-files/get-patterns/get-pnpm-patterns.js +0 -14
  85. package/dist/get-package-json-files/get-patterns/get-yarn-patterns.d.ts +0 -3
  86. package/dist/get-package-json-files/get-patterns/get-yarn-patterns.js +0 -16
  87. package/dist/get-package-json-files/get-patterns/index.d.ts +0 -8
  88. package/dist/get-package-json-files/get-patterns/index.js +0 -23
  89. package/dist/get-package-json-files/index.d.ts +0 -10
  90. package/dist/get-package-json-files/index.js +0 -8
  91. package/dist/get-package-json-files/package-json-file.d.ts +0 -54
  92. package/dist/get-package-json-files/package-json-file.js +0 -44
  93. package/dist/guards/can-add-to-group.d.ts +0 -5
  94. package/dist/guards/can-add-to-group.js +0 -58
  95. package/dist/guards/is-semver.d.ts +0 -2
  96. package/dist/guards/is-semver.js +0 -15
  97. package/dist/guards/is-valid-semver-range.d.ts +0 -3
  98. package/dist/guards/is-valid-semver-range.js +0 -14
  99. package/dist/index.d.ts +0 -2
  100. package/dist/index.js +0 -1
  101. package/dist/io/ask-for-choice.d.ts +0 -14
  102. package/dist/io/ask-for-choice.js +0 -17
  103. package/dist/io/ask-for-input.d.ts +0 -13
  104. package/dist/io/ask-for-input.js +0 -14
  105. package/dist/io/exit-if-invalid.d.ts +0 -4
  106. package/dist/io/exit-if-invalid.js +0 -9
  107. package/dist/io/glob-sync.d.ts +0 -11
  108. package/dist/io/glob-sync.js +0 -14
  109. package/dist/io/index.d.ts +0 -27
  110. package/dist/io/index.js +0 -26
  111. package/dist/io/read-config-file.d.ts +0 -7
  112. package/dist/io/read-config-file.js +0 -24
  113. package/dist/io/read-file-sync.d.ts +0 -12
  114. package/dist/io/read-file-sync.js +0 -9
  115. package/dist/io/read-json-file-sync.d.ts +0 -31
  116. package/dist/io/read-json-file-sync.js +0 -23
  117. package/dist/io/read-yaml-file-sync.d.ts +0 -12
  118. package/dist/io/read-yaml-file-sync.js +0 -9
  119. package/dist/io/to-formatted-json.d.ts +0 -9
  120. package/dist/io/to-formatted-json.js +0 -32
  121. package/dist/io/write-file-sync.d.ts +0 -12
  122. package/dist/io/write-file-sync.js +0 -10
  123. package/dist/io/write-if-changed.d.ts +0 -5
  124. package/dist/io/write-if-changed.js +0 -9
  125. package/dist/lib/format-repository-url.d.ts +0 -1
  126. package/dist/lib/format-repository-url.js +0 -40
  127. package/dist/lib/get-group-header.d.ts +0 -10
  128. package/dist/lib/get-group-header.js +0 -25
  129. package/dist/lib/get.d.ts +0 -11
  130. package/dist/lib/get.js +0 -44
  131. package/dist/lib/pad-start.d.ts +0 -1
  132. package/dist/lib/pad-start.js +0 -3
  133. package/dist/lib/ring-buffer.d.ts +0 -10
  134. package/dist/lib/ring-buffer.js +0 -20
  135. package/dist/lib/set-semver-range.d.ts +0 -3
  136. package/dist/lib/set-semver-range.js +0 -24
  137. package/dist/lib/show-help-on-error.d.ts +0 -2
  138. package/dist/lib/show-help-on-error.js +0 -32
  139. package/dist/lib/sort-by-name.d.ts +0 -5
  140. package/dist/lib/sort-by-name.js +0 -9
  141. package/dist/lib/with-logger.d.ts +0 -2
  142. package/dist/lib/with-logger.js +0 -28
  143. package/dist/option.d.ts +0 -10
  144. package/dist/option.js +0 -30
  145. package/dist/report.d.ts +0 -131
  146. package/dist/report.js +0 -129
  147. package/dist/schema.json +0 -614
  148. package/dist/semver-group/create-semver-groups.d.ts +0 -4
  149. package/dist/semver-group/create-semver-groups.js +0 -83
  150. package/dist/semver-group/disabled.d.ts +0 -26
  151. package/dist/semver-group/disabled.js +0 -28
  152. package/dist/semver-group/filtered-out.d.ts +0 -27
  153. package/dist/semver-group/filtered-out.js +0 -34
  154. package/dist/semver-group/ignored.d.ts +0 -22
  155. package/dist/semver-group/ignored.js +0 -24
  156. package/dist/semver-group/index.d.ts +0 -20
  157. package/dist/semver-group/index.js +0 -7
  158. package/dist/semver-group/with-range.d.ts +0 -22
  159. package/dist/semver-group/with-range.js +0 -45
  160. package/dist/specifier/alias.d.ts +0 -17
  161. package/dist/specifier/alias.js +0 -21
  162. package/dist/specifier/base.d.ts +0 -41
  163. package/dist/specifier/base.js +0 -54
  164. package/dist/specifier/delete.d.ts +0 -17
  165. package/dist/specifier/delete.js +0 -16
  166. package/dist/specifier/exact.d.ts +0 -20
  167. package/dist/specifier/exact.js +0 -21
  168. package/dist/specifier/file.d.ts +0 -8
  169. package/dist/specifier/file.js +0 -7
  170. package/dist/specifier/hosted-git.d.ts +0 -15
  171. package/dist/specifier/hosted-git.js +0 -24
  172. package/dist/specifier/index.d.ts +0 -28
  173. package/dist/specifier/index.js +0 -75
  174. package/dist/specifier/latest.d.ts +0 -19
  175. package/dist/specifier/latest.js +0 -20
  176. package/dist/specifier/lib/non-semver-error.d.ts +0 -11
  177. package/dist/specifier/lib/non-semver-error.js +0 -6
  178. package/dist/specifier/lib/parse-specifier.d.ts +0 -14
  179. package/dist/specifier/lib/parse-specifier.js +0 -18
  180. package/dist/specifier/lib/specific-registry-result.d.ts +0 -9
  181. package/dist/specifier/lib/specific-registry-result.js +0 -1
  182. package/dist/specifier/range.d.ts +0 -19
  183. package/dist/specifier/range.js +0 -20
  184. package/dist/specifier/tag.d.ts +0 -11
  185. package/dist/specifier/tag.js +0 -10
  186. package/dist/specifier/unsupported.d.ts +0 -7
  187. package/dist/specifier/unsupported.js +0 -7
  188. package/dist/specifier/url.d.ts +0 -8
  189. package/dist/specifier/url.js +0 -7
  190. package/dist/specifier/workspace-protocol.d.ts +0 -19
  191. package/dist/specifier/workspace-protocol.js +0 -35
  192. package/dist/strategy/lib/get-non-empty-string-prop.d.ts +0 -3
  193. package/dist/strategy/lib/get-non-empty-string-prop.js +0 -7
  194. package/dist/strategy/name-and-version-props.d.ts +0 -12
  195. package/dist/strategy/name-and-version-props.js +0 -60
  196. package/dist/strategy/named-version-string.d.ts +0 -11
  197. package/dist/strategy/named-version-string.js +0 -52
  198. package/dist/strategy/unnamed-version-string.d.ts +0 -11
  199. package/dist/strategy/unnamed-version-string.js +0 -45
  200. package/dist/strategy/versions-by-name.d.ts +0 -11
  201. package/dist/strategy/versions-by-name.js +0 -27
  202. package/dist/version-group/banned.d.ts +0 -17
  203. package/dist/version-group/banned.js +0 -26
  204. package/dist/version-group/create-version-groups.d.ts +0 -4
  205. package/dist/version-group/create-version-groups.js +0 -118
  206. package/dist/version-group/filtered-out.d.ts +0 -19
  207. package/dist/version-group/filtered-out.js +0 -30
  208. package/dist/version-group/ignored.d.ts +0 -17
  209. package/dist/version-group/ignored.js +0 -23
  210. package/dist/version-group/index.d.ts +0 -26
  211. package/dist/version-group/index.js +0 -7
  212. package/dist/version-group/lib/clean.d.ts +0 -2
  213. package/dist/version-group/lib/clean.js +0 -6
  214. package/dist/version-group/lib/delete.d.ts +0 -2
  215. package/dist/version-group/lib/delete.js +0 -1
  216. package/dist/version-group/lib/get-highest-version.d.ts +0 -6
  217. package/dist/version-group/lib/get-highest-version.js +0 -8
  218. package/dist/version-group/lib/get-lowest-version.d.ts +0 -6
  219. package/dist/version-group/lib/get-lowest-version.js +0 -8
  220. package/dist/version-group/lib/get-preferred-version.d.ts +0 -5
  221. package/dist/version-group/lib/get-preferred-version.js +0 -53
  222. package/dist/version-group/lib/get-range-score.d.ts +0 -2
  223. package/dist/version-group/lib/get-range-score.js +0 -20
  224. package/dist/version-group/lib/group-by.d.ts +0 -5
  225. package/dist/version-group/lib/group-by.js +0 -11
  226. package/dist/version-group/pinned.d.ts +0 -17
  227. package/dist/version-group/pinned.js +0 -26
  228. package/dist/version-group/same-range.d.ts +0 -19
  229. package/dist/version-group/same-range.js +0 -96
  230. package/dist/version-group/snapped-to.d.ts +0 -17
  231. package/dist/version-group/snapped-to.js +0 -71
  232. package/dist/version-group/standard.d.ts +0 -18
  233. package/dist/version-group/standard.js +0 -119
package/schema.json ADDED
@@ -0,0 +1,1006 @@
1
+ {
2
+ "$ref": "#/definitions/RcFile",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "definitions": {
5
+ "CustomType.Any": {
6
+ "anyOf": [
7
+ {
8
+ "$ref": "#/definitions/CustomType.NameAndVersionProps"
9
+ },
10
+ {
11
+ "$ref": "#/definitions/CustomType.NamedVersionString"
12
+ },
13
+ {
14
+ "$ref": "#/definitions/CustomType.UnnamedVersionString"
15
+ },
16
+ {
17
+ "$ref": "#/definitions/CustomType.VersionsByName"
18
+ }
19
+ ]
20
+ },
21
+ "CustomType.NameAndVersionProps": {
22
+ "additionalProperties": false,
23
+ "properties": {
24
+ "namePath": {
25
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types/#namepath",
26
+ "type": "string"
27
+ },
28
+ "path": {
29
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types/#name",
30
+ "type": "string"
31
+ },
32
+ "strategy": {
33
+ "const": "name~version",
34
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types/#namestrategy",
35
+ "type": "string"
36
+ }
37
+ },
38
+ "required": [
39
+ "namePath",
40
+ "path",
41
+ "strategy"
42
+ ],
43
+ "type": "object"
44
+ },
45
+ "CustomType.NamedVersionString": {
46
+ "additionalProperties": false,
47
+ "properties": {
48
+ "path": {
49
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types/#name",
50
+ "type": "string"
51
+ },
52
+ "strategy": {
53
+ "const": "name@version",
54
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types/#namestrategy",
55
+ "type": "string"
56
+ }
57
+ },
58
+ "required": [
59
+ "path",
60
+ "strategy"
61
+ ],
62
+ "type": "object"
63
+ },
64
+ "CustomType.UnnamedVersionString": {
65
+ "additionalProperties": false,
66
+ "properties": {
67
+ "path": {
68
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types/#name",
69
+ "type": "string"
70
+ },
71
+ "strategy": {
72
+ "const": "version",
73
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types/#namestrategy",
74
+ "type": "string"
75
+ }
76
+ },
77
+ "required": [
78
+ "path",
79
+ "strategy"
80
+ ],
81
+ "type": "object"
82
+ },
83
+ "CustomType.VersionsByName": {
84
+ "additionalProperties": false,
85
+ "properties": {
86
+ "path": {
87
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types/#name",
88
+ "type": "string"
89
+ },
90
+ "strategy": {
91
+ "const": "versionsByName",
92
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types/#namestrategy",
93
+ "type": "string"
94
+ }
95
+ },
96
+ "required": [
97
+ "path",
98
+ "strategy"
99
+ ],
100
+ "type": "object"
101
+ },
102
+ "DependencyGroup": {
103
+ "additionalProperties": false,
104
+ "properties": {
105
+ "aliasName": {
106
+ "see": "https://jamiemason.github.io/syncpack/config/dependency-groups/#aliasname",
107
+ "type": "string"
108
+ },
109
+ "dependencies": {
110
+ "items": {
111
+ "type": "string"
112
+ },
113
+ "see": "https://jamiemason.github.io/syncpack/config/dependency-groups/#dependencies",
114
+ "type": "array"
115
+ },
116
+ "dependencyTypes": {
117
+ "items": {
118
+ "anyOf": [
119
+ {
120
+ "type": "string"
121
+ },
122
+ {
123
+ "enum": [
124
+ "dev",
125
+ "local",
126
+ "overrides",
127
+ "peer",
128
+ "pnpmOverrides",
129
+ "prod",
130
+ "resolutions"
131
+ ],
132
+ "type": "string"
133
+ }
134
+ ]
135
+ },
136
+ "see": "https://jamiemason.github.io/syncpack/config/dependency-groups/#dependencytypes",
137
+ "type": "array"
138
+ },
139
+ "packages": {
140
+ "items": {
141
+ "type": "string"
142
+ },
143
+ "see": "https://jamiemason.github.io/syncpack/config/dependency-groups/#packages",
144
+ "type": "array"
145
+ },
146
+ "specifierTypes": {
147
+ "items": {
148
+ "anyOf": [
149
+ {
150
+ "type": "string"
151
+ },
152
+ {
153
+ "enum": [
154
+ "alias",
155
+ "exact",
156
+ "file",
157
+ "git",
158
+ "latest",
159
+ "major",
160
+ "minor",
161
+ "missing",
162
+ "range",
163
+ "range-complex",
164
+ "range-major",
165
+ "range-minor",
166
+ "tag",
167
+ "unsupported",
168
+ "url",
169
+ "workspace-protocol"
170
+ ],
171
+ "type": "string"
172
+ }
173
+ ]
174
+ },
175
+ "see": "https://jamiemason.github.io/syncpack/config/dependency-groups/#specifiertypes",
176
+ "type": "array"
177
+ }
178
+ },
179
+ "required": [
180
+ "aliasName"
181
+ ],
182
+ "type": "object"
183
+ },
184
+ "RcFile": {
185
+ "additionalProperties": false,
186
+ "properties": {
187
+ "$schema": {
188
+ "see": "https://jamiemason.github.io/syncpack/integrations/json-schema",
189
+ "type": "string"
190
+ },
191
+ "customTypes": {
192
+ "additionalProperties": {
193
+ "$ref": "#/definitions/CustomType.Any"
194
+ },
195
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types",
196
+ "type": "object"
197
+ },
198
+ "dependencyGroups": {
199
+ "items": {
200
+ "$ref": "#/definitions/DependencyGroup"
201
+ },
202
+ "see": "https://jamiemason.github.io/syncpack/config/dependency-groups",
203
+ "type": "array"
204
+ },
205
+ "formatBugs": {
206
+ "see": "https://jamiemason.github.io/syncpack/config/format-bugs",
207
+ "type": "boolean"
208
+ },
209
+ "formatRepository": {
210
+ "see": "https://jamiemason.github.io/syncpack/config/format-repository",
211
+ "type": "boolean"
212
+ },
213
+ "indent": {
214
+ "see": "https://jamiemason.github.io/syncpack/config/indent",
215
+ "type": "string"
216
+ },
217
+ "semverGroups": {
218
+ "items": {
219
+ "$ref": "#/definitions/SemverGroup.Any"
220
+ },
221
+ "see": "https://jamiemason.github.io/syncpack/config/semver-groups",
222
+ "type": "array"
223
+ },
224
+ "sortAz": {
225
+ "items": {
226
+ "type": "string"
227
+ },
228
+ "see": "https://jamiemason.github.io/syncpack/config/sort-az",
229
+ "type": "array"
230
+ },
231
+ "sortExports": {
232
+ "items": {
233
+ "type": "string"
234
+ },
235
+ "see": "https://jamiemason.github.io/syncpack/config/sort-exports",
236
+ "type": "array"
237
+ },
238
+ "sortFirst": {
239
+ "items": {
240
+ "type": "string"
241
+ },
242
+ "see": "https://jamiemason.github.io/syncpack/config/sort-first",
243
+ "type": "array"
244
+ },
245
+ "sortPackages": {
246
+ "see": "https://jamiemason.github.io/syncpack/config/sort-packages",
247
+ "type": "boolean"
248
+ },
249
+ "source": {
250
+ "items": {
251
+ "type": "string"
252
+ },
253
+ "see": "https://jamiemason.github.io/syncpack/config/source",
254
+ "type": "array"
255
+ },
256
+ "versionGroups": {
257
+ "items": {
258
+ "$ref": "#/definitions/VersionGroup.Any"
259
+ },
260
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups",
261
+ "type": "array"
262
+ }
263
+ },
264
+ "type": "object"
265
+ },
266
+ "SemverGroup.Any": {
267
+ "anyOf": [
268
+ {
269
+ "$ref": "#/definitions/SemverGroup.Ignored"
270
+ },
271
+ {
272
+ "$ref": "#/definitions/SemverGroup.WithRange"
273
+ }
274
+ ]
275
+ },
276
+ "SemverGroup.Ignored": {
277
+ "additionalProperties": false,
278
+ "properties": {
279
+ "dependencies": {
280
+ "items": {
281
+ "type": "string"
282
+ },
283
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
284
+ "type": "array"
285
+ },
286
+ "dependencyTypes": {
287
+ "items": {
288
+ "anyOf": [
289
+ {
290
+ "type": "string"
291
+ },
292
+ {
293
+ "enum": [
294
+ "dev",
295
+ "local",
296
+ "overrides",
297
+ "peer",
298
+ "pnpmOverrides",
299
+ "prod",
300
+ "resolutions"
301
+ ],
302
+ "type": "string"
303
+ }
304
+ ]
305
+ },
306
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
307
+ "type": "array"
308
+ },
309
+ "isIgnored": {
310
+ "const": true,
311
+ "see": "https://jamiemason.github.io/syncpack/config/semver-groups/ignored/#isignored",
312
+ "type": "boolean"
313
+ },
314
+ "label": {
315
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
316
+ "type": "string"
317
+ },
318
+ "packages": {
319
+ "items": {
320
+ "type": "string"
321
+ },
322
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
323
+ "type": "array"
324
+ },
325
+ "specifierTypes": {
326
+ "items": {
327
+ "anyOf": [
328
+ {
329
+ "type": "string"
330
+ },
331
+ {
332
+ "enum": [
333
+ "alias",
334
+ "exact",
335
+ "file",
336
+ "git",
337
+ "latest",
338
+ "major",
339
+ "minor",
340
+ "missing",
341
+ "range",
342
+ "range-complex",
343
+ "range-major",
344
+ "range-minor",
345
+ "tag",
346
+ "unsupported",
347
+ "url",
348
+ "workspace-protocol"
349
+ ],
350
+ "type": "string"
351
+ }
352
+ ]
353
+ },
354
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
355
+ "type": "array"
356
+ }
357
+ },
358
+ "required": [
359
+ "isIgnored"
360
+ ],
361
+ "type": "object"
362
+ },
363
+ "SemverGroup.WithRange": {
364
+ "additionalProperties": false,
365
+ "properties": {
366
+ "dependencies": {
367
+ "items": {
368
+ "type": "string"
369
+ },
370
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
371
+ "type": "array"
372
+ },
373
+ "dependencyTypes": {
374
+ "items": {
375
+ "anyOf": [
376
+ {
377
+ "type": "string"
378
+ },
379
+ {
380
+ "enum": [
381
+ "dev",
382
+ "local",
383
+ "overrides",
384
+ "peer",
385
+ "pnpmOverrides",
386
+ "prod",
387
+ "resolutions"
388
+ ],
389
+ "type": "string"
390
+ }
391
+ ]
392
+ },
393
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
394
+ "type": "array"
395
+ },
396
+ "label": {
397
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
398
+ "type": "string"
399
+ },
400
+ "packages": {
401
+ "items": {
402
+ "type": "string"
403
+ },
404
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
405
+ "type": "array"
406
+ },
407
+ "range": {
408
+ "enum": [
409
+ "",
410
+ "*",
411
+ ">",
412
+ ">=",
413
+ ".x",
414
+ "<",
415
+ "<=",
416
+ "^",
417
+ "~"
418
+ ],
419
+ "see": "https://jamiemason.github.io/syncpack/config/semver-groups/with-range/#range",
420
+ "type": "string"
421
+ },
422
+ "specifierTypes": {
423
+ "items": {
424
+ "anyOf": [
425
+ {
426
+ "type": "string"
427
+ },
428
+ {
429
+ "enum": [
430
+ "alias",
431
+ "exact",
432
+ "file",
433
+ "git",
434
+ "latest",
435
+ "major",
436
+ "minor",
437
+ "missing",
438
+ "range",
439
+ "range-complex",
440
+ "range-major",
441
+ "range-minor",
442
+ "tag",
443
+ "unsupported",
444
+ "url",
445
+ "workspace-protocol"
446
+ ],
447
+ "type": "string"
448
+ }
449
+ ]
450
+ },
451
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
452
+ "type": "array"
453
+ }
454
+ },
455
+ "required": [
456
+ "range"
457
+ ],
458
+ "type": "object"
459
+ },
460
+ "VersionGroup.Any": {
461
+ "anyOf": [
462
+ {
463
+ "$ref": "#/definitions/VersionGroup.Banned"
464
+ },
465
+ {
466
+ "$ref": "#/definitions/VersionGroup.Ignored"
467
+ },
468
+ {
469
+ "$ref": "#/definitions/VersionGroup.Pinned"
470
+ },
471
+ {
472
+ "$ref": "#/definitions/VersionGroup.SameRange"
473
+ },
474
+ {
475
+ "$ref": "#/definitions/VersionGroup.SnappedTo"
476
+ },
477
+ {
478
+ "$ref": "#/definitions/VersionGroup.Standard"
479
+ }
480
+ ]
481
+ },
482
+ "VersionGroup.Banned": {
483
+ "additionalProperties": false,
484
+ "properties": {
485
+ "dependencies": {
486
+ "items": {
487
+ "type": "string"
488
+ },
489
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
490
+ "type": "array"
491
+ },
492
+ "dependencyTypes": {
493
+ "items": {
494
+ "anyOf": [
495
+ {
496
+ "type": "string"
497
+ },
498
+ {
499
+ "enum": [
500
+ "dev",
501
+ "local",
502
+ "overrides",
503
+ "peer",
504
+ "pnpmOverrides",
505
+ "prod",
506
+ "resolutions"
507
+ ],
508
+ "type": "string"
509
+ }
510
+ ]
511
+ },
512
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
513
+ "type": "array"
514
+ },
515
+ "isBanned": {
516
+ "const": true,
517
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/banned/#isbanned",
518
+ "type": "boolean"
519
+ },
520
+ "label": {
521
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
522
+ "type": "string"
523
+ },
524
+ "packages": {
525
+ "items": {
526
+ "type": "string"
527
+ },
528
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
529
+ "type": "array"
530
+ },
531
+ "specifierTypes": {
532
+ "items": {
533
+ "anyOf": [
534
+ {
535
+ "type": "string"
536
+ },
537
+ {
538
+ "enum": [
539
+ "alias",
540
+ "exact",
541
+ "file",
542
+ "git",
543
+ "latest",
544
+ "major",
545
+ "minor",
546
+ "missing",
547
+ "range",
548
+ "range-complex",
549
+ "range-major",
550
+ "range-minor",
551
+ "tag",
552
+ "unsupported",
553
+ "url",
554
+ "workspace-protocol"
555
+ ],
556
+ "type": "string"
557
+ }
558
+ ]
559
+ },
560
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
561
+ "type": "array"
562
+ }
563
+ },
564
+ "required": [
565
+ "isBanned"
566
+ ],
567
+ "type": "object"
568
+ },
569
+ "VersionGroup.Ignored": {
570
+ "additionalProperties": false,
571
+ "properties": {
572
+ "dependencies": {
573
+ "items": {
574
+ "type": "string"
575
+ },
576
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
577
+ "type": "array"
578
+ },
579
+ "dependencyTypes": {
580
+ "items": {
581
+ "anyOf": [
582
+ {
583
+ "type": "string"
584
+ },
585
+ {
586
+ "enum": [
587
+ "dev",
588
+ "local",
589
+ "overrides",
590
+ "peer",
591
+ "pnpmOverrides",
592
+ "prod",
593
+ "resolutions"
594
+ ],
595
+ "type": "string"
596
+ }
597
+ ]
598
+ },
599
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
600
+ "type": "array"
601
+ },
602
+ "isIgnored": {
603
+ "const": true,
604
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/ignored/#isignored",
605
+ "type": "boolean"
606
+ },
607
+ "label": {
608
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
609
+ "type": "string"
610
+ },
611
+ "packages": {
612
+ "items": {
613
+ "type": "string"
614
+ },
615
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
616
+ "type": "array"
617
+ },
618
+ "specifierTypes": {
619
+ "items": {
620
+ "anyOf": [
621
+ {
622
+ "type": "string"
623
+ },
624
+ {
625
+ "enum": [
626
+ "alias",
627
+ "exact",
628
+ "file",
629
+ "git",
630
+ "latest",
631
+ "major",
632
+ "minor",
633
+ "missing",
634
+ "range",
635
+ "range-complex",
636
+ "range-major",
637
+ "range-minor",
638
+ "tag",
639
+ "unsupported",
640
+ "url",
641
+ "workspace-protocol"
642
+ ],
643
+ "type": "string"
644
+ }
645
+ ]
646
+ },
647
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
648
+ "type": "array"
649
+ }
650
+ },
651
+ "required": [
652
+ "isIgnored"
653
+ ],
654
+ "type": "object"
655
+ },
656
+ "VersionGroup.Pinned": {
657
+ "additionalProperties": false,
658
+ "properties": {
659
+ "dependencies": {
660
+ "items": {
661
+ "type": "string"
662
+ },
663
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
664
+ "type": "array"
665
+ },
666
+ "dependencyTypes": {
667
+ "items": {
668
+ "anyOf": [
669
+ {
670
+ "type": "string"
671
+ },
672
+ {
673
+ "enum": [
674
+ "dev",
675
+ "local",
676
+ "overrides",
677
+ "peer",
678
+ "pnpmOverrides",
679
+ "prod",
680
+ "resolutions"
681
+ ],
682
+ "type": "string"
683
+ }
684
+ ]
685
+ },
686
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
687
+ "type": "array"
688
+ },
689
+ "label": {
690
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
691
+ "type": "string"
692
+ },
693
+ "packages": {
694
+ "items": {
695
+ "type": "string"
696
+ },
697
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
698
+ "type": "array"
699
+ },
700
+ "pinVersion": {
701
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/pinned/#pinversion",
702
+ "type": "string"
703
+ },
704
+ "specifierTypes": {
705
+ "items": {
706
+ "anyOf": [
707
+ {
708
+ "type": "string"
709
+ },
710
+ {
711
+ "enum": [
712
+ "alias",
713
+ "exact",
714
+ "file",
715
+ "git",
716
+ "latest",
717
+ "major",
718
+ "minor",
719
+ "missing",
720
+ "range",
721
+ "range-complex",
722
+ "range-major",
723
+ "range-minor",
724
+ "tag",
725
+ "unsupported",
726
+ "url",
727
+ "workspace-protocol"
728
+ ],
729
+ "type": "string"
730
+ }
731
+ ]
732
+ },
733
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
734
+ "type": "array"
735
+ }
736
+ },
737
+ "required": [
738
+ "pinVersion"
739
+ ],
740
+ "type": "object"
741
+ },
742
+ "VersionGroup.SameRange": {
743
+ "additionalProperties": false,
744
+ "properties": {
745
+ "dependencies": {
746
+ "items": {
747
+ "type": "string"
748
+ },
749
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
750
+ "type": "array"
751
+ },
752
+ "dependencyTypes": {
753
+ "items": {
754
+ "anyOf": [
755
+ {
756
+ "type": "string"
757
+ },
758
+ {
759
+ "enum": [
760
+ "dev",
761
+ "local",
762
+ "overrides",
763
+ "peer",
764
+ "pnpmOverrides",
765
+ "prod",
766
+ "resolutions"
767
+ ],
768
+ "type": "string"
769
+ }
770
+ ]
771
+ },
772
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
773
+ "type": "array"
774
+ },
775
+ "label": {
776
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
777
+ "type": "string"
778
+ },
779
+ "packages": {
780
+ "items": {
781
+ "type": "string"
782
+ },
783
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
784
+ "type": "array"
785
+ },
786
+ "policy": {
787
+ "const": "sameRange",
788
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/same-range/#policy",
789
+ "type": "string"
790
+ },
791
+ "specifierTypes": {
792
+ "items": {
793
+ "anyOf": [
794
+ {
795
+ "type": "string"
796
+ },
797
+ {
798
+ "enum": [
799
+ "alias",
800
+ "exact",
801
+ "file",
802
+ "git",
803
+ "latest",
804
+ "major",
805
+ "minor",
806
+ "missing",
807
+ "range",
808
+ "range-complex",
809
+ "range-major",
810
+ "range-minor",
811
+ "tag",
812
+ "unsupported",
813
+ "url",
814
+ "workspace-protocol"
815
+ ],
816
+ "type": "string"
817
+ }
818
+ ]
819
+ },
820
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
821
+ "type": "array"
822
+ }
823
+ },
824
+ "required": [
825
+ "policy"
826
+ ],
827
+ "type": "object"
828
+ },
829
+ "VersionGroup.SnappedTo": {
830
+ "additionalProperties": false,
831
+ "properties": {
832
+ "dependencies": {
833
+ "items": {
834
+ "type": "string"
835
+ },
836
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
837
+ "type": "array"
838
+ },
839
+ "dependencyTypes": {
840
+ "items": {
841
+ "anyOf": [
842
+ {
843
+ "type": "string"
844
+ },
845
+ {
846
+ "enum": [
847
+ "dev",
848
+ "local",
849
+ "overrides",
850
+ "peer",
851
+ "pnpmOverrides",
852
+ "prod",
853
+ "resolutions"
854
+ ],
855
+ "type": "string"
856
+ }
857
+ ]
858
+ },
859
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
860
+ "type": "array"
861
+ },
862
+ "label": {
863
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
864
+ "type": "string"
865
+ },
866
+ "packages": {
867
+ "items": {
868
+ "type": "string"
869
+ },
870
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
871
+ "type": "array"
872
+ },
873
+ "snapTo": {
874
+ "items": {
875
+ "type": "string"
876
+ },
877
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/snapped-to/#snapto",
878
+ "type": "array"
879
+ },
880
+ "specifierTypes": {
881
+ "items": {
882
+ "anyOf": [
883
+ {
884
+ "type": "string"
885
+ },
886
+ {
887
+ "enum": [
888
+ "alias",
889
+ "exact",
890
+ "file",
891
+ "git",
892
+ "latest",
893
+ "major",
894
+ "minor",
895
+ "missing",
896
+ "range",
897
+ "range-complex",
898
+ "range-major",
899
+ "range-minor",
900
+ "tag",
901
+ "unsupported",
902
+ "url",
903
+ "workspace-protocol"
904
+ ],
905
+ "type": "string"
906
+ }
907
+ ]
908
+ },
909
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
910
+ "type": "array"
911
+ }
912
+ },
913
+ "required": [
914
+ "snapTo"
915
+ ],
916
+ "type": "object"
917
+ },
918
+ "VersionGroup.Standard": {
919
+ "additionalProperties": false,
920
+ "properties": {
921
+ "dependencies": {
922
+ "items": {
923
+ "type": "string"
924
+ },
925
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
926
+ "type": "array"
927
+ },
928
+ "dependencyTypes": {
929
+ "items": {
930
+ "anyOf": [
931
+ {
932
+ "type": "string"
933
+ },
934
+ {
935
+ "enum": [
936
+ "dev",
937
+ "local",
938
+ "overrides",
939
+ "peer",
940
+ "pnpmOverrides",
941
+ "prod",
942
+ "resolutions"
943
+ ],
944
+ "type": "string"
945
+ }
946
+ ]
947
+ },
948
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
949
+ "type": "array"
950
+ },
951
+ "label": {
952
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
953
+ "type": "string"
954
+ },
955
+ "packages": {
956
+ "items": {
957
+ "type": "string"
958
+ },
959
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
960
+ "type": "array"
961
+ },
962
+ "preferVersion": {
963
+ "enum": [
964
+ "highestSemver",
965
+ "lowestSemver"
966
+ ],
967
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/lowest-version/#preferversion",
968
+ "type": "string"
969
+ },
970
+ "specifierTypes": {
971
+ "items": {
972
+ "anyOf": [
973
+ {
974
+ "type": "string"
975
+ },
976
+ {
977
+ "enum": [
978
+ "alias",
979
+ "exact",
980
+ "file",
981
+ "git",
982
+ "latest",
983
+ "major",
984
+ "minor",
985
+ "missing",
986
+ "range",
987
+ "range-complex",
988
+ "range-major",
989
+ "range-minor",
990
+ "tag",
991
+ "unsupported",
992
+ "url",
993
+ "workspace-protocol"
994
+ ],
995
+ "type": "string"
996
+ }
997
+ ]
998
+ },
999
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
1000
+ "type": "array"
1001
+ }
1002
+ },
1003
+ "type": "object"
1004
+ }
1005
+ }
1006
+ }