syncpack 15.2.0 → 15.3.1
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.
- package/package.json +9 -9
- package/schema.json +100 -0
- package/syncpack.d.ts +11 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "syncpack",
|
|
3
3
|
"description": "Consistent dependency versions in large JavaScript Monorepos",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.3.1",
|
|
5
5
|
"author": "Jamie Mason <jamie@foldleft.io> (https://github.com/JamieMason)",
|
|
6
6
|
"bugs": "https://github.com/JamieMason/syncpack/issues",
|
|
7
7
|
"contributors": [
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"syncpack": "./index.cjs"
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
|
77
|
-
"syncpack-linux-x64": "15.
|
|
78
|
-
"syncpack-linux-x64-musl": "15.
|
|
79
|
-
"syncpack-linux-arm64": "15.
|
|
80
|
-
"syncpack-linux-arm64-musl": "15.
|
|
81
|
-
"syncpack-darwin-x64": "15.
|
|
82
|
-
"syncpack-darwin-arm64": "15.
|
|
83
|
-
"syncpack-windows-x64": "15.
|
|
84
|
-
"syncpack-windows-arm64": "15.
|
|
77
|
+
"syncpack-linux-x64": "15.3.1",
|
|
78
|
+
"syncpack-linux-x64-musl": "15.3.1",
|
|
79
|
+
"syncpack-linux-arm64": "15.3.1",
|
|
80
|
+
"syncpack-linux-arm64-musl": "15.3.1",
|
|
81
|
+
"syncpack-darwin-x64": "15.3.1",
|
|
82
|
+
"syncpack-darwin-arm64": "15.3.1",
|
|
83
|
+
"syncpack-windows-x64": "15.3.1",
|
|
84
|
+
"syncpack-windows-arm64": "15.3.1"
|
|
85
85
|
},
|
|
86
86
|
"types": "./syncpack.d.ts"
|
|
87
87
|
}
|
package/schema.json
CHANGED
|
@@ -702,6 +702,9 @@
|
|
|
702
702
|
{
|
|
703
703
|
"$ref": "#/definitions/VersionGroup.SameMinor"
|
|
704
704
|
},
|
|
705
|
+
{
|
|
706
|
+
"$ref": "#/definitions/VersionGroup.SemverRangeOnly"
|
|
707
|
+
},
|
|
705
708
|
{
|
|
706
709
|
"$ref": "#/definitions/VersionGroup.SnappedTo"
|
|
707
710
|
},
|
|
@@ -1302,6 +1305,103 @@
|
|
|
1302
1305
|
],
|
|
1303
1306
|
"type": "object"
|
|
1304
1307
|
},
|
|
1308
|
+
"VersionGroup.SemverRangeOnly": {
|
|
1309
|
+
"additionalProperties": false,
|
|
1310
|
+
"properties": {
|
|
1311
|
+
"dependencies": {
|
|
1312
|
+
"items": {
|
|
1313
|
+
"type": "string"
|
|
1314
|
+
},
|
|
1315
|
+
"see": "https://syncpack.dev/version-groups/highest-semver/#dependencies",
|
|
1316
|
+
"type": "array"
|
|
1317
|
+
},
|
|
1318
|
+
"dependencyTypes": {
|
|
1319
|
+
"items": {
|
|
1320
|
+
"anyOf": [
|
|
1321
|
+
{
|
|
1322
|
+
"type": "string"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"enum": [
|
|
1326
|
+
"dev",
|
|
1327
|
+
"local",
|
|
1328
|
+
"overrides",
|
|
1329
|
+
"peer",
|
|
1330
|
+
"pnpmOverrides",
|
|
1331
|
+
"prod",
|
|
1332
|
+
"resolutions"
|
|
1333
|
+
],
|
|
1334
|
+
"type": "string"
|
|
1335
|
+
}
|
|
1336
|
+
]
|
|
1337
|
+
},
|
|
1338
|
+
"see": "https://syncpack.dev/version-groups/highest-semver/#dependencytypes",
|
|
1339
|
+
"type": "array"
|
|
1340
|
+
},
|
|
1341
|
+
"label": {
|
|
1342
|
+
"see": "https://syncpack.dev/version-groups/highest-semver/#label",
|
|
1343
|
+
"type": "string"
|
|
1344
|
+
},
|
|
1345
|
+
"packages": {
|
|
1346
|
+
"items": {
|
|
1347
|
+
"type": "string"
|
|
1348
|
+
},
|
|
1349
|
+
"see": "https://syncpack.dev/version-groups/highest-semver/#packages",
|
|
1350
|
+
"type": "array"
|
|
1351
|
+
},
|
|
1352
|
+
"policy": {
|
|
1353
|
+
"const": "semverRangeOnly",
|
|
1354
|
+
"see": "https://syncpack.dev/version-groups/range-only/#policy",
|
|
1355
|
+
"type": "string"
|
|
1356
|
+
},
|
|
1357
|
+
"severity": {
|
|
1358
|
+
"additionalProperties": false,
|
|
1359
|
+
"properties": {
|
|
1360
|
+
"SemverRangeMismatch": {
|
|
1361
|
+
"$ref": "#/definitions/Severity"
|
|
1362
|
+
}
|
|
1363
|
+
},
|
|
1364
|
+
"see": "https://syncpack.dev/version-groups/range-only/#severity",
|
|
1365
|
+
"type": "object"
|
|
1366
|
+
},
|
|
1367
|
+
"specifierTypes": {
|
|
1368
|
+
"items": {
|
|
1369
|
+
"anyOf": [
|
|
1370
|
+
{
|
|
1371
|
+
"type": "string"
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"enum": [
|
|
1375
|
+
"alias",
|
|
1376
|
+
"exact",
|
|
1377
|
+
"file",
|
|
1378
|
+
"git",
|
|
1379
|
+
"latest",
|
|
1380
|
+
"major",
|
|
1381
|
+
"minor",
|
|
1382
|
+
"missing",
|
|
1383
|
+
"range",
|
|
1384
|
+
"range-complex",
|
|
1385
|
+
"range-major",
|
|
1386
|
+
"range-minor",
|
|
1387
|
+
"tag",
|
|
1388
|
+
"unsupported",
|
|
1389
|
+
"url",
|
|
1390
|
+
"workspace-protocol"
|
|
1391
|
+
],
|
|
1392
|
+
"type": "string"
|
|
1393
|
+
}
|
|
1394
|
+
]
|
|
1395
|
+
},
|
|
1396
|
+
"see": "https://syncpack.dev/version-groups/highest-semver/#specifiertypes",
|
|
1397
|
+
"type": "array"
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
"required": [
|
|
1401
|
+
"policy"
|
|
1402
|
+
],
|
|
1403
|
+
"type": "object"
|
|
1404
|
+
},
|
|
1305
1405
|
"VersionGroup.SnappedTo": {
|
|
1306
1406
|
"additionalProperties": false,
|
|
1307
1407
|
"properties": {
|
package/syncpack.d.ts
CHANGED
|
@@ -144,6 +144,14 @@ declare namespace VersionGroup {
|
|
|
144
144
|
SemverRangeMismatch?: Severity;
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
+
interface SemverRangeOnly extends GroupSelector {
|
|
148
|
+
/** @see https://syncpack.dev/version-groups/range-only/#policy */
|
|
149
|
+
policy: 'semverRangeOnly';
|
|
150
|
+
/** @see https://syncpack.dev/version-groups/range-only/#severity */
|
|
151
|
+
severity?: {
|
|
152
|
+
SemverRangeMismatch?: Severity;
|
|
153
|
+
};
|
|
154
|
+
}
|
|
147
155
|
interface SameMinor extends GroupSelector {
|
|
148
156
|
/** @see https://syncpack.dev/version-groups/same-minor/#policy */
|
|
149
157
|
policy: 'sameMinor';
|
|
@@ -175,7 +183,7 @@ declare namespace VersionGroup {
|
|
|
175
183
|
MissingFromCatalog?: Severity;
|
|
176
184
|
};
|
|
177
185
|
}
|
|
178
|
-
type Any = Banned | Catalog | Ignored | Pinned | SameRange | SameMinor | SnappedTo | Standard;
|
|
186
|
+
type Any = Banned | Catalog | Ignored | Pinned | SameRange | SameMinor | SemverRangeOnly | SnappedTo | Standard;
|
|
179
187
|
}
|
|
180
188
|
declare namespace CustomType {
|
|
181
189
|
interface NameAndVersionProps {
|
|
@@ -247,6 +255,6 @@ export type FormatJsonOutput = {
|
|
|
247
255
|
statusCode: FormatStatusCode;
|
|
248
256
|
};
|
|
249
257
|
export type FormatStatusCode = 'BugsPropertyIsNotFormatted' | 'RepositoryPropertyIsNotFormatted' | 'PropertyIsNotSortedAz' | 'PackagePropertiesAreNotSorted' | 'ExportsPropertyIsNotSorted';
|
|
250
|
-
export type VersionGroupVariant = 'Banned' | 'Catalog' | 'HighestSemver' | 'Ignored' | 'LowestSemver' | 'Pinned' | 'SameRange' | 'SameMinor' | 'SnappedTo';
|
|
251
|
-
export type StatusCode = 'IsHighestOrLowestSemver' | 'IsIdenticalToLocal' | 'IsIdenticalToPin' | 'IsIdenticalToSnapTarget' | 'IsIgnored' | 'IsLocalAndValid' | 'IsNonSemverButIdentical' | 'SatisfiesHighestOrLowestSemver' | 'SatisfiesLocal' | 'SatisfiesSameRangeGroup' | 'SatisfiesSameMinorGroup' | 'SatisfiesSnapTarget' | 'DiffersToCatalog' | 'DiffersToHighestOrLowestSemver' | 'DiffersToHighestOrLowestSemverMinor' | 'DiffersToLocal' | 'DiffersToNpmRegistry' | 'DiffersToPin' | 'DiffersToSnapTarget' | 'IsBanned' | 'MissingFromCatalog' | 'NotUsingCatalog' | 'PinOverridesSemverRange' | 'PinOverridesSemverRangeMismatch' | 'SameMinorOverridesSemverRange' | 'SameMinorOverridesSemverRangeMismatch' | 'SemverRangeMismatch' | 'DependsOnInvalidLocalPackage' | 'NonSemverMismatch' | 'SameRangeMismatch' | 'SameMinorMismatch' | 'DependsOnMissingSnapTarget' | 'InvalidLocalVersion' | 'RefuseToBanLocal' | 'RefuseToPinLocal' | 'RefuseToSnapLocal' | 'MatchConflictsWithHighestOrLowestSemver' | 'MatchConflictsWithLocal' | 'MatchConflictsWithSnapTarget' | 'MismatchConflictsWithHighestOrLowestSemver' | 'MismatchConflictsWithLocal' | 'MismatchConflictsWithSnapTarget';
|
|
258
|
+
export type VersionGroupVariant = 'Banned' | 'Catalog' | 'HighestSemver' | 'Ignored' | 'LowestSemver' | 'Pinned' | 'SameRange' | 'SameMinor' | 'SemverRangeOnly' | 'SnappedTo';
|
|
259
|
+
export type StatusCode = 'IsHighestOrLowestSemver' | 'IsIdenticalToLocal' | 'IsIdenticalToPin' | 'IsIdenticalToSnapTarget' | 'IsIgnored' | 'IsLocalAndValid' | 'IsNonSemverButIdentical' | 'SatisfiesHighestOrLowestSemver' | 'SatisfiesLocal' | 'SatisfiesSameRangeGroup' | 'SatisfiesSameMinorGroup' | 'MatchesSemverGroup' | 'SatisfiesSnapTarget' | 'DiffersToCatalog' | 'DiffersToHighestOrLowestSemver' | 'DiffersToHighestOrLowestSemverMinor' | 'DiffersToLocal' | 'DiffersToNpmRegistry' | 'DiffersToPin' | 'DiffersToSnapTarget' | 'IsBanned' | 'MissingFromCatalog' | 'NotUsingCatalog' | 'PinOverridesSemverRange' | 'PinOverridesSemverRangeMismatch' | 'SameMinorOverridesSemverRange' | 'SameMinorOverridesSemverRangeMismatch' | 'SemverRangeMismatch' | 'DependsOnInvalidLocalPackage' | 'NonSemverMismatch' | 'SameRangeMismatch' | 'SameMinorMismatch' | 'DependsOnMissingSnapTarget' | 'InvalidLocalVersion' | 'RefuseToBanLocal' | 'RefuseToPinLocal' | 'RefuseToSnapLocal' | 'MatchConflictsWithHighestOrLowestSemver' | 'MatchConflictsWithLocal' | 'MatchConflictsWithSnapTarget' | 'MismatchConflictsWithHighestOrLowestSemver' | 'MismatchConflictsWithLocal' | 'MismatchConflictsWithSnapTarget';
|
|
252
260
|
export {};
|