syncpack 13.0.1 → 14.0.0-alpha.2

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.js +48 -0
  3. package/package.json +16 -73
  4. package/schema.json +917 -0
  5. package/syncpack.d.ts +122 -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 -115
  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,917 @@
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
+ "RcFile": {
103
+ "additionalProperties": false,
104
+ "properties": {
105
+ "$schema": {
106
+ "see": "https://jamiemason.github.io/syncpack/integrations/json-schema",
107
+ "type": "string"
108
+ },
109
+ "customTypes": {
110
+ "additionalProperties": {
111
+ "$ref": "#/definitions/CustomType.Any"
112
+ },
113
+ "see": "https://jamiemason.github.io/syncpack/config/custom-types",
114
+ "type": "object"
115
+ },
116
+ "formatBugs": {
117
+ "see": "https://jamiemason.github.io/syncpack/config/format-bugs",
118
+ "type": "boolean"
119
+ },
120
+ "formatRepository": {
121
+ "see": "https://jamiemason.github.io/syncpack/config/format-repository",
122
+ "type": "boolean"
123
+ },
124
+ "indent": {
125
+ "see": "https://jamiemason.github.io/syncpack/config/indent",
126
+ "type": "string"
127
+ },
128
+ "semverGroups": {
129
+ "items": {
130
+ "$ref": "#/definitions/SemverGroup.Any"
131
+ },
132
+ "see": "https://jamiemason.github.io/syncpack/config/semver-groups",
133
+ "type": "array"
134
+ },
135
+ "sortAz": {
136
+ "items": {
137
+ "type": "string"
138
+ },
139
+ "see": "https://jamiemason.github.io/syncpack/config/sort-az",
140
+ "type": "array"
141
+ },
142
+ "sortExports": {
143
+ "items": {
144
+ "type": "string"
145
+ },
146
+ "see": "https://jamiemason.github.io/syncpack/config/sort-exports",
147
+ "type": "array"
148
+ },
149
+ "sortFirst": {
150
+ "items": {
151
+ "type": "string"
152
+ },
153
+ "see": "https://jamiemason.github.io/syncpack/config/sort-first",
154
+ "type": "array"
155
+ },
156
+ "sortPackages": {
157
+ "see": "https://jamiemason.github.io/syncpack/config/sort-packages",
158
+ "type": "boolean"
159
+ },
160
+ "source": {
161
+ "items": {
162
+ "type": "string"
163
+ },
164
+ "see": "https://jamiemason.github.io/syncpack/config/source",
165
+ "type": "array"
166
+ },
167
+ "versionGroups": {
168
+ "items": {
169
+ "$ref": "#/definitions/VersionGroup.Any"
170
+ },
171
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups",
172
+ "type": "array"
173
+ }
174
+ },
175
+ "type": "object"
176
+ },
177
+ "SemverGroup.Any": {
178
+ "anyOf": [
179
+ {
180
+ "$ref": "#/definitions/SemverGroup.Ignored"
181
+ },
182
+ {
183
+ "$ref": "#/definitions/SemverGroup.WithRange"
184
+ }
185
+ ]
186
+ },
187
+ "SemverGroup.Ignored": {
188
+ "additionalProperties": false,
189
+ "properties": {
190
+ "dependencies": {
191
+ "items": {
192
+ "type": "string"
193
+ },
194
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
195
+ "type": "array"
196
+ },
197
+ "dependencyTypes": {
198
+ "items": {
199
+ "anyOf": [
200
+ {
201
+ "type": "string"
202
+ },
203
+ {
204
+ "enum": [
205
+ "dev",
206
+ "local",
207
+ "overrides",
208
+ "peer",
209
+ "pnpmOverrides",
210
+ "prod",
211
+ "resolutions"
212
+ ],
213
+ "type": "string"
214
+ }
215
+ ]
216
+ },
217
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
218
+ "type": "array"
219
+ },
220
+ "isIgnored": {
221
+ "const": true,
222
+ "see": "https://jamiemason.github.io/syncpack/config/semver-groups/ignored/#isignored",
223
+ "type": "boolean"
224
+ },
225
+ "label": {
226
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
227
+ "type": "string"
228
+ },
229
+ "packages": {
230
+ "items": {
231
+ "type": "string"
232
+ },
233
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
234
+ "type": "array"
235
+ },
236
+ "specifierTypes": {
237
+ "items": {
238
+ "anyOf": [
239
+ {
240
+ "type": "string"
241
+ },
242
+ {
243
+ "enum": [
244
+ "alias",
245
+ "exact",
246
+ "file",
247
+ "git",
248
+ "latest",
249
+ "major",
250
+ "minor",
251
+ "missing",
252
+ "range",
253
+ "range-complex",
254
+ "range-major",
255
+ "range-minor",
256
+ "tag",
257
+ "unsupported",
258
+ "url",
259
+ "workspace-protocol"
260
+ ],
261
+ "type": "string"
262
+ }
263
+ ]
264
+ },
265
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
266
+ "type": "array"
267
+ }
268
+ },
269
+ "required": [
270
+ "isIgnored"
271
+ ],
272
+ "type": "object"
273
+ },
274
+ "SemverGroup.WithRange": {
275
+ "additionalProperties": false,
276
+ "properties": {
277
+ "dependencies": {
278
+ "items": {
279
+ "type": "string"
280
+ },
281
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
282
+ "type": "array"
283
+ },
284
+ "dependencyTypes": {
285
+ "items": {
286
+ "anyOf": [
287
+ {
288
+ "type": "string"
289
+ },
290
+ {
291
+ "enum": [
292
+ "dev",
293
+ "local",
294
+ "overrides",
295
+ "peer",
296
+ "pnpmOverrides",
297
+ "prod",
298
+ "resolutions"
299
+ ],
300
+ "type": "string"
301
+ }
302
+ ]
303
+ },
304
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
305
+ "type": "array"
306
+ },
307
+ "label": {
308
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
309
+ "type": "string"
310
+ },
311
+ "packages": {
312
+ "items": {
313
+ "type": "string"
314
+ },
315
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
316
+ "type": "array"
317
+ },
318
+ "range": {
319
+ "enum": [
320
+ "",
321
+ "*",
322
+ ">",
323
+ ">=",
324
+ ".x",
325
+ "<",
326
+ "<=",
327
+ "^",
328
+ "~"
329
+ ],
330
+ "see": "https://jamiemason.github.io/syncpack/config/semver-groups/with-range/#range",
331
+ "type": "string"
332
+ },
333
+ "specifierTypes": {
334
+ "items": {
335
+ "anyOf": [
336
+ {
337
+ "type": "string"
338
+ },
339
+ {
340
+ "enum": [
341
+ "alias",
342
+ "exact",
343
+ "file",
344
+ "git",
345
+ "latest",
346
+ "major",
347
+ "minor",
348
+ "missing",
349
+ "range",
350
+ "range-complex",
351
+ "range-major",
352
+ "range-minor",
353
+ "tag",
354
+ "unsupported",
355
+ "url",
356
+ "workspace-protocol"
357
+ ],
358
+ "type": "string"
359
+ }
360
+ ]
361
+ },
362
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
363
+ "type": "array"
364
+ }
365
+ },
366
+ "required": [
367
+ "range"
368
+ ],
369
+ "type": "object"
370
+ },
371
+ "VersionGroup.Any": {
372
+ "anyOf": [
373
+ {
374
+ "$ref": "#/definitions/VersionGroup.Banned"
375
+ },
376
+ {
377
+ "$ref": "#/definitions/VersionGroup.Ignored"
378
+ },
379
+ {
380
+ "$ref": "#/definitions/VersionGroup.Pinned"
381
+ },
382
+ {
383
+ "$ref": "#/definitions/VersionGroup.SameRange"
384
+ },
385
+ {
386
+ "$ref": "#/definitions/VersionGroup.SnappedTo"
387
+ },
388
+ {
389
+ "$ref": "#/definitions/VersionGroup.Standard"
390
+ }
391
+ ]
392
+ },
393
+ "VersionGroup.Banned": {
394
+ "additionalProperties": false,
395
+ "properties": {
396
+ "dependencies": {
397
+ "items": {
398
+ "type": "string"
399
+ },
400
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
401
+ "type": "array"
402
+ },
403
+ "dependencyTypes": {
404
+ "items": {
405
+ "anyOf": [
406
+ {
407
+ "type": "string"
408
+ },
409
+ {
410
+ "enum": [
411
+ "dev",
412
+ "local",
413
+ "overrides",
414
+ "peer",
415
+ "pnpmOverrides",
416
+ "prod",
417
+ "resolutions"
418
+ ],
419
+ "type": "string"
420
+ }
421
+ ]
422
+ },
423
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
424
+ "type": "array"
425
+ },
426
+ "isBanned": {
427
+ "const": true,
428
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/banned/#isbanned",
429
+ "type": "boolean"
430
+ },
431
+ "label": {
432
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
433
+ "type": "string"
434
+ },
435
+ "packages": {
436
+ "items": {
437
+ "type": "string"
438
+ },
439
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
440
+ "type": "array"
441
+ },
442
+ "specifierTypes": {
443
+ "items": {
444
+ "anyOf": [
445
+ {
446
+ "type": "string"
447
+ },
448
+ {
449
+ "enum": [
450
+ "alias",
451
+ "exact",
452
+ "file",
453
+ "git",
454
+ "latest",
455
+ "major",
456
+ "minor",
457
+ "missing",
458
+ "range",
459
+ "range-complex",
460
+ "range-major",
461
+ "range-minor",
462
+ "tag",
463
+ "unsupported",
464
+ "url",
465
+ "workspace-protocol"
466
+ ],
467
+ "type": "string"
468
+ }
469
+ ]
470
+ },
471
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
472
+ "type": "array"
473
+ }
474
+ },
475
+ "required": [
476
+ "isBanned"
477
+ ],
478
+ "type": "object"
479
+ },
480
+ "VersionGroup.Ignored": {
481
+ "additionalProperties": false,
482
+ "properties": {
483
+ "dependencies": {
484
+ "items": {
485
+ "type": "string"
486
+ },
487
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
488
+ "type": "array"
489
+ },
490
+ "dependencyTypes": {
491
+ "items": {
492
+ "anyOf": [
493
+ {
494
+ "type": "string"
495
+ },
496
+ {
497
+ "enum": [
498
+ "dev",
499
+ "local",
500
+ "overrides",
501
+ "peer",
502
+ "pnpmOverrides",
503
+ "prod",
504
+ "resolutions"
505
+ ],
506
+ "type": "string"
507
+ }
508
+ ]
509
+ },
510
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
511
+ "type": "array"
512
+ },
513
+ "isIgnored": {
514
+ "const": true,
515
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/ignored/#isignored",
516
+ "type": "boolean"
517
+ },
518
+ "label": {
519
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
520
+ "type": "string"
521
+ },
522
+ "packages": {
523
+ "items": {
524
+ "type": "string"
525
+ },
526
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
527
+ "type": "array"
528
+ },
529
+ "specifierTypes": {
530
+ "items": {
531
+ "anyOf": [
532
+ {
533
+ "type": "string"
534
+ },
535
+ {
536
+ "enum": [
537
+ "alias",
538
+ "exact",
539
+ "file",
540
+ "git",
541
+ "latest",
542
+ "major",
543
+ "minor",
544
+ "missing",
545
+ "range",
546
+ "range-complex",
547
+ "range-major",
548
+ "range-minor",
549
+ "tag",
550
+ "unsupported",
551
+ "url",
552
+ "workspace-protocol"
553
+ ],
554
+ "type": "string"
555
+ }
556
+ ]
557
+ },
558
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
559
+ "type": "array"
560
+ }
561
+ },
562
+ "required": [
563
+ "isIgnored"
564
+ ],
565
+ "type": "object"
566
+ },
567
+ "VersionGroup.Pinned": {
568
+ "additionalProperties": false,
569
+ "properties": {
570
+ "dependencies": {
571
+ "items": {
572
+ "type": "string"
573
+ },
574
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
575
+ "type": "array"
576
+ },
577
+ "dependencyTypes": {
578
+ "items": {
579
+ "anyOf": [
580
+ {
581
+ "type": "string"
582
+ },
583
+ {
584
+ "enum": [
585
+ "dev",
586
+ "local",
587
+ "overrides",
588
+ "peer",
589
+ "pnpmOverrides",
590
+ "prod",
591
+ "resolutions"
592
+ ],
593
+ "type": "string"
594
+ }
595
+ ]
596
+ },
597
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
598
+ "type": "array"
599
+ },
600
+ "label": {
601
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
602
+ "type": "string"
603
+ },
604
+ "packages": {
605
+ "items": {
606
+ "type": "string"
607
+ },
608
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
609
+ "type": "array"
610
+ },
611
+ "pinVersion": {
612
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/pinned/#pinversion",
613
+ "type": "string"
614
+ },
615
+ "specifierTypes": {
616
+ "items": {
617
+ "anyOf": [
618
+ {
619
+ "type": "string"
620
+ },
621
+ {
622
+ "enum": [
623
+ "alias",
624
+ "exact",
625
+ "file",
626
+ "git",
627
+ "latest",
628
+ "major",
629
+ "minor",
630
+ "missing",
631
+ "range",
632
+ "range-complex",
633
+ "range-major",
634
+ "range-minor",
635
+ "tag",
636
+ "unsupported",
637
+ "url",
638
+ "workspace-protocol"
639
+ ],
640
+ "type": "string"
641
+ }
642
+ ]
643
+ },
644
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
645
+ "type": "array"
646
+ }
647
+ },
648
+ "required": [
649
+ "pinVersion"
650
+ ],
651
+ "type": "object"
652
+ },
653
+ "VersionGroup.SameRange": {
654
+ "additionalProperties": false,
655
+ "properties": {
656
+ "dependencies": {
657
+ "items": {
658
+ "type": "string"
659
+ },
660
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
661
+ "type": "array"
662
+ },
663
+ "dependencyTypes": {
664
+ "items": {
665
+ "anyOf": [
666
+ {
667
+ "type": "string"
668
+ },
669
+ {
670
+ "enum": [
671
+ "dev",
672
+ "local",
673
+ "overrides",
674
+ "peer",
675
+ "pnpmOverrides",
676
+ "prod",
677
+ "resolutions"
678
+ ],
679
+ "type": "string"
680
+ }
681
+ ]
682
+ },
683
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
684
+ "type": "array"
685
+ },
686
+ "label": {
687
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
688
+ "type": "string"
689
+ },
690
+ "packages": {
691
+ "items": {
692
+ "type": "string"
693
+ },
694
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
695
+ "type": "array"
696
+ },
697
+ "policy": {
698
+ "const": "sameRange",
699
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/same-range/#policy",
700
+ "type": "string"
701
+ },
702
+ "specifierTypes": {
703
+ "items": {
704
+ "anyOf": [
705
+ {
706
+ "type": "string"
707
+ },
708
+ {
709
+ "enum": [
710
+ "alias",
711
+ "exact",
712
+ "file",
713
+ "git",
714
+ "latest",
715
+ "major",
716
+ "minor",
717
+ "missing",
718
+ "range",
719
+ "range-complex",
720
+ "range-major",
721
+ "range-minor",
722
+ "tag",
723
+ "unsupported",
724
+ "url",
725
+ "workspace-protocol"
726
+ ],
727
+ "type": "string"
728
+ }
729
+ ]
730
+ },
731
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
732
+ "type": "array"
733
+ }
734
+ },
735
+ "required": [
736
+ "policy"
737
+ ],
738
+ "type": "object"
739
+ },
740
+ "VersionGroup.SnappedTo": {
741
+ "additionalProperties": false,
742
+ "properties": {
743
+ "dependencies": {
744
+ "items": {
745
+ "type": "string"
746
+ },
747
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencies",
748
+ "type": "array"
749
+ },
750
+ "dependencyTypes": {
751
+ "items": {
752
+ "anyOf": [
753
+ {
754
+ "type": "string"
755
+ },
756
+ {
757
+ "enum": [
758
+ "dev",
759
+ "local",
760
+ "overrides",
761
+ "peer",
762
+ "pnpmOverrides",
763
+ "prod",
764
+ "resolutions"
765
+ ],
766
+ "type": "string"
767
+ }
768
+ ]
769
+ },
770
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#dependencytypes",
771
+ "type": "array"
772
+ },
773
+ "label": {
774
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#label",
775
+ "type": "string"
776
+ },
777
+ "packages": {
778
+ "items": {
779
+ "type": "string"
780
+ },
781
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#packages",
782
+ "type": "array"
783
+ },
784
+ "snapTo": {
785
+ "items": {
786
+ "type": "string"
787
+ },
788
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/snapped-to/#snapto",
789
+ "type": "array"
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
+ "snapTo"
826
+ ],
827
+ "type": "object"
828
+ },
829
+ "VersionGroup.Standard": {
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
+ "preferVersion": {
874
+ "enum": [
875
+ "highestSemver",
876
+ "lowestSemver"
877
+ ],
878
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/lowest-version/#preferversion",
879
+ "type": "string"
880
+ },
881
+ "specifierTypes": {
882
+ "items": {
883
+ "anyOf": [
884
+ {
885
+ "type": "string"
886
+ },
887
+ {
888
+ "enum": [
889
+ "alias",
890
+ "exact",
891
+ "file",
892
+ "git",
893
+ "latest",
894
+ "major",
895
+ "minor",
896
+ "missing",
897
+ "range",
898
+ "range-complex",
899
+ "range-major",
900
+ "range-minor",
901
+ "tag",
902
+ "unsupported",
903
+ "url",
904
+ "workspace-protocol"
905
+ ],
906
+ "type": "string"
907
+ }
908
+ ]
909
+ },
910
+ "see": "https://jamiemason.github.io/syncpack/config/version-groups/standard/#specifiertypes",
911
+ "type": "array"
912
+ }
913
+ },
914
+ "type": "object"
915
+ }
916
+ }
917
+ }