syncpack 14.0.0-alpha.20 → 14.0.0-alpha.23
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 +8 -8
- package/schema.json +90 -0
- package/syncpack.d.ts +7 -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": "14.0.0-alpha.
|
|
4
|
+
"version": "14.0.0-alpha.23",
|
|
5
5
|
"author": "Jamie Mason <jamie@foldleft.io> (https://github.com/JamieMason)",
|
|
6
6
|
"bugs": "https://github.com/JamieMason/syncpack/issues",
|
|
7
7
|
"contributors": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"Tom Fletcher (https://github.com/tom-fletcher)"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"tsx": "^4.20.
|
|
39
|
+
"tsx": "^4.20.6"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=14.17.0"
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"syncpack": "./index.cjs"
|
|
70
70
|
},
|
|
71
71
|
"optionalDependencies": {
|
|
72
|
-
"syncpack-linux-x64": "14.0.0-alpha.
|
|
73
|
-
"syncpack-linux-arm64": "14.0.0-alpha.
|
|
74
|
-
"syncpack-darwin-x64": "14.0.0-alpha.
|
|
75
|
-
"syncpack-darwin-arm64": "14.0.0-alpha.
|
|
76
|
-
"syncpack-windows-x64": "14.0.0-alpha.
|
|
77
|
-
"syncpack-windows-arm64": "14.0.0-alpha.
|
|
72
|
+
"syncpack-linux-x64": "14.0.0-alpha.23",
|
|
73
|
+
"syncpack-linux-arm64": "14.0.0-alpha.23",
|
|
74
|
+
"syncpack-darwin-x64": "14.0.0-alpha.23",
|
|
75
|
+
"syncpack-darwin-arm64": "14.0.0-alpha.23",
|
|
76
|
+
"syncpack-windows-x64": "14.0.0-alpha.23",
|
|
77
|
+
"syncpack-windows-arm64": "14.0.0-alpha.23"
|
|
78
78
|
},
|
|
79
79
|
"types": "./syncpack.d.ts"
|
|
80
80
|
}
|
package/schema.json
CHANGED
|
@@ -479,6 +479,9 @@
|
|
|
479
479
|
{
|
|
480
480
|
"$ref": "#/definitions/VersionGroup.SameRange"
|
|
481
481
|
},
|
|
482
|
+
{
|
|
483
|
+
"$ref": "#/definitions/VersionGroup.SameMinor"
|
|
484
|
+
},
|
|
482
485
|
{
|
|
483
486
|
"$ref": "#/definitions/VersionGroup.SnappedTo"
|
|
484
487
|
},
|
|
@@ -747,6 +750,93 @@
|
|
|
747
750
|
],
|
|
748
751
|
"type": "object"
|
|
749
752
|
},
|
|
753
|
+
"VersionGroup.SameMinor": {
|
|
754
|
+
"additionalProperties": false,
|
|
755
|
+
"properties": {
|
|
756
|
+
"dependencies": {
|
|
757
|
+
"items": {
|
|
758
|
+
"type": "string"
|
|
759
|
+
},
|
|
760
|
+
"see": "https://jamiemason.github.io/syncpack/version-groups/highest-semver/#dependencies",
|
|
761
|
+
"type": "array"
|
|
762
|
+
},
|
|
763
|
+
"dependencyTypes": {
|
|
764
|
+
"items": {
|
|
765
|
+
"anyOf": [
|
|
766
|
+
{
|
|
767
|
+
"type": "string"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"enum": [
|
|
771
|
+
"dev",
|
|
772
|
+
"local",
|
|
773
|
+
"overrides",
|
|
774
|
+
"peer",
|
|
775
|
+
"pnpmOverrides",
|
|
776
|
+
"prod",
|
|
777
|
+
"resolutions"
|
|
778
|
+
],
|
|
779
|
+
"type": "string"
|
|
780
|
+
}
|
|
781
|
+
]
|
|
782
|
+
},
|
|
783
|
+
"see": "https://jamiemason.github.io/syncpack/version-groups/highest-semver/#dependencytypes",
|
|
784
|
+
"type": "array"
|
|
785
|
+
},
|
|
786
|
+
"label": {
|
|
787
|
+
"see": "https://jamiemason.github.io/syncpack/version-groups/highest-semver/#label",
|
|
788
|
+
"type": "string"
|
|
789
|
+
},
|
|
790
|
+
"packages": {
|
|
791
|
+
"items": {
|
|
792
|
+
"type": "string"
|
|
793
|
+
},
|
|
794
|
+
"see": "https://jamiemason.github.io/syncpack/version-groups/highest-semver/#packages",
|
|
795
|
+
"type": "array"
|
|
796
|
+
},
|
|
797
|
+
"policy": {
|
|
798
|
+
"const": "sameMinor",
|
|
799
|
+
"see": "https://jamiemason.github.io/syncpack/version-groups/same-minor/#policy",
|
|
800
|
+
"type": "string"
|
|
801
|
+
},
|
|
802
|
+
"specifierTypes": {
|
|
803
|
+
"items": {
|
|
804
|
+
"anyOf": [
|
|
805
|
+
{
|
|
806
|
+
"type": "string"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"enum": [
|
|
810
|
+
"alias",
|
|
811
|
+
"exact",
|
|
812
|
+
"file",
|
|
813
|
+
"git",
|
|
814
|
+
"latest",
|
|
815
|
+
"major",
|
|
816
|
+
"minor",
|
|
817
|
+
"missing",
|
|
818
|
+
"range",
|
|
819
|
+
"range-complex",
|
|
820
|
+
"range-major",
|
|
821
|
+
"range-minor",
|
|
822
|
+
"tag",
|
|
823
|
+
"unsupported",
|
|
824
|
+
"url",
|
|
825
|
+
"workspace-protocol"
|
|
826
|
+
],
|
|
827
|
+
"type": "string"
|
|
828
|
+
}
|
|
829
|
+
]
|
|
830
|
+
},
|
|
831
|
+
"see": "https://jamiemason.github.io/syncpack/version-groups/highest-semver/#specifiertypes",
|
|
832
|
+
"type": "array"
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
"required": [
|
|
836
|
+
"policy"
|
|
837
|
+
],
|
|
838
|
+
"type": "object"
|
|
839
|
+
},
|
|
750
840
|
"VersionGroup.SameRange": {
|
|
751
841
|
"additionalProperties": false,
|
|
752
842
|
"properties": {
|
package/syncpack.d.ts
CHANGED
|
@@ -100,11 +100,15 @@ declare namespace VersionGroup {
|
|
|
100
100
|
/** @see https://jamiemason.github.io/syncpack/version-groups/same-range/#policy */
|
|
101
101
|
policy: 'sameRange';
|
|
102
102
|
}
|
|
103
|
+
interface SameMinor extends GroupSelector {
|
|
104
|
+
/** @see https://jamiemason.github.io/syncpack/version-groups/same-minor/#policy */
|
|
105
|
+
policy: 'sameMinor';
|
|
106
|
+
}
|
|
103
107
|
interface Standard extends GroupSelector {
|
|
104
108
|
/** @see https://jamiemason.github.io/syncpack/version-groups/lowest-semver/#preferversion */
|
|
105
109
|
preferVersion?: 'highestSemver' | 'lowestSemver';
|
|
106
110
|
}
|
|
107
|
-
type Any = Banned | Ignored | Pinned | SameRange | SnappedTo | Standard;
|
|
111
|
+
type Any = Banned | Ignored | Pinned | SameRange | SameMinor | SnappedTo | Standard;
|
|
108
112
|
}
|
|
109
113
|
declare namespace CustomType {
|
|
110
114
|
interface NameAndVersionProps {
|
|
@@ -159,6 +163,6 @@ export type JsonOutput = {
|
|
|
159
163
|
type: SpecifierType;
|
|
160
164
|
} | null;
|
|
161
165
|
};
|
|
162
|
-
export type VersionGroupVariant = 'Banned' | 'HighestSemver' | 'Ignored' | 'LowestSemver' | 'Pinned' | 'SameRange' | 'SnappedTo';
|
|
163
|
-
export type StatusCode = 'IsHighestOrLowestSemver' | 'IsIdenticalToLocal' | 'IsIdenticalToPin' | 'IsIdenticalToSnapTarget' | 'IsIgnored' | 'IsLocalAndValid' | 'IsNonSemverButIdentical' | 'SatisfiesHighestOrLowestSemver' | 'SatisfiesLocal' | 'SatisfiesSameRangeGroup' | 'SatisfiesSnapTarget' | 'DiffersToHighestOrLowestSemver' | 'DiffersToLocal' | 'DiffersToNpmRegistry' | 'DiffersToPin' | 'DiffersToSnapTarget' | 'IsBanned' | 'PinOverridesSemverRange' | 'PinOverridesSemverRangeMismatch' | 'SemverRangeMismatch' | 'DependsOnInvalidLocalPackage' | 'NonSemverMismatch' | 'SameRangeMismatch' | 'DependsOnMissingSnapTarget' | 'InvalidLocalVersion' | 'RefuseToBanLocal' | 'RefuseToPinLocal' | 'RefuseToSnapLocal' | 'MatchConflictsWithHighestOrLowestSemver' | 'MatchConflictsWithLocal' | 'MatchConflictsWithSnapTarget' | 'MismatchConflictsWithHighestOrLowestSemver' | 'MismatchConflictsWithLocal' | 'MismatchConflictsWithSnapTarget';
|
|
166
|
+
export type VersionGroupVariant = 'Banned' | 'HighestSemver' | 'Ignored' | 'LowestSemver' | 'Pinned' | 'SameRange' | 'SameMinor' | 'SnappedTo';
|
|
167
|
+
export type StatusCode = 'IsHighestOrLowestSemver' | 'IsIdenticalToLocal' | 'IsIdenticalToPin' | 'IsIdenticalToSnapTarget' | 'IsIgnored' | 'IsLocalAndValid' | 'IsNonSemverButIdentical' | 'SatisfiesHighestOrLowestSemver' | 'SatisfiesLocal' | 'SatisfiesSameRangeGroup' | 'SatisfiesSameMinorGroup' | 'SatisfiesSnapTarget' | 'DiffersToHighestOrLowestSemver' | 'DiffersToLocal' | 'DiffersToNpmRegistry' | 'DiffersToPin' | 'DiffersToSnapTarget' | 'IsBanned' | 'PinOverridesSemverRange' | 'PinOverridesSemverRangeMismatch' | 'SameMinorOverridesSemverRange' | 'SameMinorOverridesSemverRangeMismatch' | 'SemverRangeMismatch' | 'DependsOnInvalidLocalPackage' | 'NonSemverMismatch' | 'SameRangeMismatch' | 'SameMinorMismatch' | 'DependsOnMissingSnapTarget' | 'InvalidLocalVersion' | 'RefuseToBanLocal' | 'RefuseToPinLocal' | 'RefuseToSnapLocal' | 'MatchConflictsWithHighestOrLowestSemver' | 'MatchConflictsWithLocal' | 'MatchConflictsWithSnapTarget' | 'MismatchConflictsWithHighestOrLowestSemver' | 'MismatchConflictsWithLocal' | 'MismatchConflictsWithSnapTarget';
|
|
164
168
|
export {};
|