syncpack 9.1.2 → 9.3.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.
- package/dist/bin-fix-mismatches/fix-mismatches.js +1 -1
- package/dist/bin-lint-semver-ranges/lint-semver-ranges.js +4 -4
- package/dist/bin-list/list.js +9 -5
- package/dist/bin-list-mismatches/list-mismatches.js +4 -4
- package/dist/bin-set-semver-ranges/set-semver-ranges.js +1 -1
- package/dist/get-context/get-config/schema/base-group.d.ts +1 -0
- package/dist/get-context/get-config/schema/base-group.js +1 -0
- package/dist/get-context/get-config/schema/index.d.ts +214 -78
- package/dist/get-context/get-config/schema/semver-group.d.ts +30 -12
- package/dist/get-context/get-config/schema/version-group.d.ts +34 -4
- package/dist/lib/log.d.ts +4 -2
- package/dist/lib/log.js +23 -14
- package/package.json +1 -1
|
@@ -3,99 +3,117 @@ export declare const ignored: z.ZodObject<{
|
|
|
3
3
|
isIgnored: z.ZodLiteral<true>;
|
|
4
4
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
5
5
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
6
|
+
label: z.ZodDefault<z.ZodString>;
|
|
6
7
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
7
8
|
}, "strict", z.ZodTypeAny, {
|
|
8
9
|
dependencies: string[];
|
|
9
|
-
isIgnored: true;
|
|
10
10
|
dependencyTypes: string[];
|
|
11
|
+
label: string;
|
|
11
12
|
packages: string[];
|
|
13
|
+
isIgnored: true;
|
|
12
14
|
}, {
|
|
13
15
|
dependencyTypes?: string[] | undefined;
|
|
16
|
+
label?: string | undefined;
|
|
14
17
|
dependencies: string[];
|
|
15
|
-
isIgnored: true;
|
|
16
18
|
packages: string[];
|
|
19
|
+
isIgnored: true;
|
|
17
20
|
}>;
|
|
18
21
|
export declare const withRange: z.ZodObject<{
|
|
19
22
|
range: z.ZodEnum<["*", "", ">", ">=", ".x", "<", "<=", "^", "~"]>;
|
|
20
23
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
21
24
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
25
|
+
label: z.ZodDefault<z.ZodString>;
|
|
22
26
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
23
27
|
}, "strict", z.ZodTypeAny, {
|
|
24
28
|
dependencies: string[];
|
|
29
|
+
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
25
30
|
dependencyTypes: string[];
|
|
31
|
+
label: string;
|
|
26
32
|
packages: string[];
|
|
27
|
-
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
28
33
|
}, {
|
|
29
34
|
dependencyTypes?: string[] | undefined;
|
|
35
|
+
label?: string | undefined;
|
|
30
36
|
dependencies: string[];
|
|
31
|
-
packages: string[];
|
|
32
37
|
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
38
|
+
packages: string[];
|
|
33
39
|
}>;
|
|
34
40
|
export declare const base: z.ZodObject<{
|
|
35
41
|
range: z.ZodEnum<["*", "", ">", ">=", ".x", "<", "<=", "^", "~"]>;
|
|
36
42
|
isDefault: z.ZodLiteral<true>;
|
|
37
43
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
38
44
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
45
|
+
label: z.ZodDefault<z.ZodString>;
|
|
39
46
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
40
47
|
}, "strict", z.ZodTypeAny, {
|
|
41
48
|
isDefault: true;
|
|
42
49
|
dependencies: string[];
|
|
50
|
+
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
43
51
|
dependencyTypes: string[];
|
|
52
|
+
label: string;
|
|
44
53
|
packages: string[];
|
|
45
|
-
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
46
54
|
}, {
|
|
47
55
|
dependencyTypes?: string[] | undefined;
|
|
56
|
+
label?: string | undefined;
|
|
48
57
|
isDefault: true;
|
|
49
58
|
dependencies: string[];
|
|
50
|
-
packages: string[];
|
|
51
59
|
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
60
|
+
packages: string[];
|
|
52
61
|
}>;
|
|
53
62
|
export declare const any: z.ZodUnion<[z.ZodObject<{
|
|
54
63
|
isIgnored: z.ZodLiteral<true>;
|
|
55
64
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
56
65
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
66
|
+
label: z.ZodDefault<z.ZodString>;
|
|
57
67
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
58
68
|
}, "strict", z.ZodTypeAny, {
|
|
59
69
|
dependencies: string[];
|
|
60
|
-
isIgnored: true;
|
|
61
70
|
dependencyTypes: string[];
|
|
71
|
+
label: string;
|
|
62
72
|
packages: string[];
|
|
73
|
+
isIgnored: true;
|
|
63
74
|
}, {
|
|
64
75
|
dependencyTypes?: string[] | undefined;
|
|
76
|
+
label?: string | undefined;
|
|
65
77
|
dependencies: string[];
|
|
66
|
-
isIgnored: true;
|
|
67
78
|
packages: string[];
|
|
79
|
+
isIgnored: true;
|
|
68
80
|
}>, z.ZodObject<{
|
|
69
81
|
range: z.ZodEnum<["*", "", ">", ">=", ".x", "<", "<=", "^", "~"]>;
|
|
70
82
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
71
83
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
84
|
+
label: z.ZodDefault<z.ZodString>;
|
|
72
85
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
73
86
|
}, "strict", z.ZodTypeAny, {
|
|
74
87
|
dependencies: string[];
|
|
88
|
+
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
75
89
|
dependencyTypes: string[];
|
|
90
|
+
label: string;
|
|
76
91
|
packages: string[];
|
|
77
|
-
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
78
92
|
}, {
|
|
79
93
|
dependencyTypes?: string[] | undefined;
|
|
94
|
+
label?: string | undefined;
|
|
80
95
|
dependencies: string[];
|
|
81
|
-
packages: string[];
|
|
82
96
|
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
97
|
+
packages: string[];
|
|
83
98
|
}>, z.ZodObject<{
|
|
84
99
|
range: z.ZodEnum<["*", "", ">", ">=", ".x", "<", "<=", "^", "~"]>;
|
|
85
100
|
isDefault: z.ZodLiteral<true>;
|
|
86
101
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
87
102
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
103
|
+
label: z.ZodDefault<z.ZodString>;
|
|
88
104
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
89
105
|
}, "strict", z.ZodTypeAny, {
|
|
90
106
|
isDefault: true;
|
|
91
107
|
dependencies: string[];
|
|
108
|
+
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
92
109
|
dependencyTypes: string[];
|
|
110
|
+
label: string;
|
|
93
111
|
packages: string[];
|
|
94
|
-
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
95
112
|
}, {
|
|
96
113
|
dependencyTypes?: string[] | undefined;
|
|
114
|
+
label?: string | undefined;
|
|
97
115
|
isDefault: true;
|
|
98
116
|
dependencies: string[];
|
|
99
|
-
packages: string[];
|
|
100
117
|
range: "" | "*" | ">" | ">=" | ".x" | "<" | "<=" | "^" | "~";
|
|
118
|
+
packages: string[];
|
|
101
119
|
}>]>;
|
|
@@ -2,13 +2,16 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const standard: z.ZodObject<{
|
|
3
3
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
4
4
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
5
|
+
label: z.ZodDefault<z.ZodString>;
|
|
5
6
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
6
7
|
}, "strict", z.ZodTypeAny, {
|
|
7
8
|
dependencies: string[];
|
|
8
9
|
dependencyTypes: string[];
|
|
10
|
+
label: string;
|
|
9
11
|
packages: string[];
|
|
10
12
|
}, {
|
|
11
13
|
dependencyTypes?: string[] | undefined;
|
|
14
|
+
label?: string | undefined;
|
|
12
15
|
dependencies: string[];
|
|
13
16
|
packages: string[];
|
|
14
17
|
}>;
|
|
@@ -16,14 +19,17 @@ export declare const banned: z.ZodObject<{
|
|
|
16
19
|
isBanned: z.ZodLiteral<true>;
|
|
17
20
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
18
21
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
22
|
+
label: z.ZodDefault<z.ZodString>;
|
|
19
23
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
20
24
|
}, "strict", z.ZodTypeAny, {
|
|
21
25
|
dependencies: string[];
|
|
22
26
|
dependencyTypes: string[];
|
|
27
|
+
label: string;
|
|
23
28
|
packages: string[];
|
|
24
29
|
isBanned: true;
|
|
25
30
|
}, {
|
|
26
31
|
dependencyTypes?: string[] | undefined;
|
|
32
|
+
label?: string | undefined;
|
|
27
33
|
dependencies: string[];
|
|
28
34
|
packages: string[];
|
|
29
35
|
isBanned: true;
|
|
@@ -32,30 +38,36 @@ export declare const ignored: z.ZodObject<{
|
|
|
32
38
|
isIgnored: z.ZodLiteral<true>;
|
|
33
39
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
34
40
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
41
|
+
label: z.ZodDefault<z.ZodString>;
|
|
35
42
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
36
43
|
}, "strict", z.ZodTypeAny, {
|
|
37
44
|
dependencies: string[];
|
|
38
|
-
isIgnored: true;
|
|
39
45
|
dependencyTypes: string[];
|
|
46
|
+
label: string;
|
|
40
47
|
packages: string[];
|
|
48
|
+
isIgnored: true;
|
|
41
49
|
}, {
|
|
42
50
|
dependencyTypes?: string[] | undefined;
|
|
51
|
+
label?: string | undefined;
|
|
43
52
|
dependencies: string[];
|
|
44
|
-
isIgnored: true;
|
|
45
53
|
packages: string[];
|
|
54
|
+
isIgnored: true;
|
|
46
55
|
}>;
|
|
47
56
|
export declare const pinned: z.ZodObject<{
|
|
48
57
|
pinVersion: z.ZodString;
|
|
49
58
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
50
59
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
60
|
+
label: z.ZodDefault<z.ZodString>;
|
|
51
61
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
52
62
|
}, "strict", z.ZodTypeAny, {
|
|
53
63
|
dependencies: string[];
|
|
54
64
|
dependencyTypes: string[];
|
|
65
|
+
label: string;
|
|
55
66
|
packages: string[];
|
|
56
67
|
pinVersion: string;
|
|
57
68
|
}, {
|
|
58
69
|
dependencyTypes?: string[] | undefined;
|
|
70
|
+
label?: string | undefined;
|
|
59
71
|
dependencies: string[];
|
|
60
72
|
packages: string[];
|
|
61
73
|
pinVersion: string;
|
|
@@ -64,14 +76,17 @@ export declare const base: z.ZodObject<{
|
|
|
64
76
|
isDefault: z.ZodLiteral<true>;
|
|
65
77
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
66
78
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
79
|
+
label: z.ZodDefault<z.ZodString>;
|
|
67
80
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
68
81
|
}, "strict", z.ZodTypeAny, {
|
|
69
82
|
isDefault: true;
|
|
70
83
|
dependencies: string[];
|
|
71
84
|
dependencyTypes: string[];
|
|
85
|
+
label: string;
|
|
72
86
|
packages: string[];
|
|
73
87
|
}, {
|
|
74
88
|
dependencyTypes?: string[] | undefined;
|
|
89
|
+
label?: string | undefined;
|
|
75
90
|
isDefault: true;
|
|
76
91
|
dependencies: string[];
|
|
77
92
|
packages: string[];
|
|
@@ -79,27 +94,33 @@ export declare const base: z.ZodObject<{
|
|
|
79
94
|
export declare const any: z.ZodUnion<[z.ZodObject<{
|
|
80
95
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
81
96
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
97
|
+
label: z.ZodDefault<z.ZodString>;
|
|
82
98
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
83
99
|
}, "strict", z.ZodTypeAny, {
|
|
84
100
|
dependencies: string[];
|
|
85
101
|
dependencyTypes: string[];
|
|
102
|
+
label: string;
|
|
86
103
|
packages: string[];
|
|
87
104
|
}, {
|
|
88
105
|
dependencyTypes?: string[] | undefined;
|
|
106
|
+
label?: string | undefined;
|
|
89
107
|
dependencies: string[];
|
|
90
108
|
packages: string[];
|
|
91
109
|
}>, z.ZodObject<{
|
|
92
110
|
isBanned: z.ZodLiteral<true>;
|
|
93
111
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
94
112
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
113
|
+
label: z.ZodDefault<z.ZodString>;
|
|
95
114
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
96
115
|
}, "strict", z.ZodTypeAny, {
|
|
97
116
|
dependencies: string[];
|
|
98
117
|
dependencyTypes: string[];
|
|
118
|
+
label: string;
|
|
99
119
|
packages: string[];
|
|
100
120
|
isBanned: true;
|
|
101
121
|
}, {
|
|
102
122
|
dependencyTypes?: string[] | undefined;
|
|
123
|
+
label?: string | undefined;
|
|
103
124
|
dependencies: string[];
|
|
104
125
|
packages: string[];
|
|
105
126
|
isBanned: true;
|
|
@@ -107,29 +128,35 @@ export declare const any: z.ZodUnion<[z.ZodObject<{
|
|
|
107
128
|
isIgnored: z.ZodLiteral<true>;
|
|
108
129
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
109
130
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
131
|
+
label: z.ZodDefault<z.ZodString>;
|
|
110
132
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
111
133
|
}, "strict", z.ZodTypeAny, {
|
|
112
134
|
dependencies: string[];
|
|
113
|
-
isIgnored: true;
|
|
114
135
|
dependencyTypes: string[];
|
|
136
|
+
label: string;
|
|
115
137
|
packages: string[];
|
|
138
|
+
isIgnored: true;
|
|
116
139
|
}, {
|
|
117
140
|
dependencyTypes?: string[] | undefined;
|
|
141
|
+
label?: string | undefined;
|
|
118
142
|
dependencies: string[];
|
|
119
|
-
isIgnored: true;
|
|
120
143
|
packages: string[];
|
|
144
|
+
isIgnored: true;
|
|
121
145
|
}>, z.ZodObject<{
|
|
122
146
|
pinVersion: z.ZodString;
|
|
123
147
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
124
148
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
149
|
+
label: z.ZodDefault<z.ZodString>;
|
|
125
150
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
126
151
|
}, "strict", z.ZodTypeAny, {
|
|
127
152
|
dependencies: string[];
|
|
128
153
|
dependencyTypes: string[];
|
|
154
|
+
label: string;
|
|
129
155
|
packages: string[];
|
|
130
156
|
pinVersion: string;
|
|
131
157
|
}, {
|
|
132
158
|
dependencyTypes?: string[] | undefined;
|
|
159
|
+
label?: string | undefined;
|
|
133
160
|
dependencies: string[];
|
|
134
161
|
packages: string[];
|
|
135
162
|
pinVersion: string;
|
|
@@ -137,14 +164,17 @@ export declare const any: z.ZodUnion<[z.ZodObject<{
|
|
|
137
164
|
isDefault: z.ZodLiteral<true>;
|
|
138
165
|
dependencies: z.ZodArray<z.ZodString, "many">;
|
|
139
166
|
dependencyTypes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
167
|
+
label: z.ZodDefault<z.ZodString>;
|
|
140
168
|
packages: z.ZodArray<z.ZodString, "many">;
|
|
141
169
|
}, "strict", z.ZodTypeAny, {
|
|
142
170
|
isDefault: true;
|
|
143
171
|
dependencies: string[];
|
|
144
172
|
dependencyTypes: string[];
|
|
173
|
+
label: string;
|
|
145
174
|
packages: string[];
|
|
146
175
|
}, {
|
|
147
176
|
dependencyTypes?: string[] | undefined;
|
|
177
|
+
label?: string | undefined;
|
|
148
178
|
isDefault: true;
|
|
149
179
|
dependencies: string[];
|
|
150
180
|
packages: string[];
|
package/dist/lib/log.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { SemverGroup } from '../get-context/get-groups/semver-group';
|
|
2
|
+
import type { VersionGroup } from '../get-context/get-groups/version-group';
|
|
1
3
|
export declare function verbose(...values: unknown[]): void;
|
|
2
4
|
export declare function fixed(message: string): void;
|
|
3
5
|
export declare function skip(message: string): void;
|
|
4
|
-
export declare function semverGroupHeader(order: number): void;
|
|
5
|
-
export declare function versionGroupHeader(order: number): void;
|
|
6
6
|
export declare function valid(message: string, comment?: string): void;
|
|
7
7
|
export declare function invalid(message: string, comment?: string): void;
|
|
8
|
+
export declare function semverGroupHeader(group: SemverGroup, i: number): void;
|
|
9
|
+
export declare function versionGroupHeader(group: VersionGroup, i: number): void;
|
package/dist/lib/log.js
CHANGED
|
@@ -32,7 +32,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
32
32
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
33
33
|
};
|
|
34
34
|
exports.__esModule = true;
|
|
35
|
-
exports.
|
|
35
|
+
exports.versionGroupHeader = exports.semverGroupHeader = exports.invalid = exports.valid = exports.skip = exports.fixed = exports.verbose = void 0;
|
|
36
36
|
var chalk_1 = __importDefault(require("chalk"));
|
|
37
37
|
var expect_more_1 = require("expect-more");
|
|
38
38
|
var util_1 = require("util");
|
|
@@ -59,30 +59,39 @@ function skip(message) {
|
|
|
59
59
|
console.log(chalk_1["default"].dim(constants_1.ICON.skip), chalk_1["default"].dim(message));
|
|
60
60
|
}
|
|
61
61
|
exports.skip = skip;
|
|
62
|
-
function semverGroupHeader(order) {
|
|
63
|
-
console.log((0, chalk_1["default"])(templateObject_2 || (templateObject_2 = __makeTemplateObject(["{dim = Semver Group ", " ", "}"], ["{dim = Semver Group ", " ", "}"])), order, '='.repeat(63)));
|
|
64
|
-
}
|
|
65
|
-
exports.semverGroupHeader = semverGroupHeader;
|
|
66
|
-
function versionGroupHeader(order) {
|
|
67
|
-
console.log((0, chalk_1["default"])(templateObject_3 || (templateObject_3 = __makeTemplateObject(["{dim = Version Group ", " ", "}"], ["{dim = Version Group ", " ", "}"])), order, '='.repeat(63)));
|
|
68
|
-
}
|
|
69
|
-
exports.versionGroupHeader = versionGroupHeader;
|
|
70
62
|
function valid(message, comment) {
|
|
71
63
|
if (comment) {
|
|
72
|
-
console.log((0, chalk_1["default"])(
|
|
64
|
+
console.log((0, chalk_1["default"])(templateObject_2 || (templateObject_2 = __makeTemplateObject(["{dim ", "} ", " {dim ", "}"], ["{dim ", "} ", " {dim ", "}"])), constants_1.ICON.skip, message, comment));
|
|
73
65
|
}
|
|
74
66
|
else {
|
|
75
|
-
console.log((0, chalk_1["default"])(
|
|
67
|
+
console.log((0, chalk_1["default"])(templateObject_3 || (templateObject_3 = __makeTemplateObject(["{dim ", "} ", ""], ["{dim ", "} ", ""])), constants_1.ICON.skip, message));
|
|
76
68
|
}
|
|
77
69
|
}
|
|
78
70
|
exports.valid = valid;
|
|
79
71
|
function invalid(message, comment) {
|
|
80
72
|
if (comment) {
|
|
81
|
-
console.log((0, chalk_1["default"])(
|
|
73
|
+
console.log((0, chalk_1["default"])(templateObject_4 || (templateObject_4 = __makeTemplateObject(["{red ", "} ", " {dim ", "}"], ["{red ", "} ", " {dim ", "}"])), constants_1.ICON.cross, message, comment));
|
|
82
74
|
}
|
|
83
75
|
else {
|
|
84
|
-
console.log((0, chalk_1["default"])(
|
|
76
|
+
console.log((0, chalk_1["default"])(templateObject_5 || (templateObject_5 = __makeTemplateObject(["{red ", "} ", ""], ["{red ", "} ", ""])), constants_1.ICON.cross, message));
|
|
85
77
|
}
|
|
86
78
|
}
|
|
87
79
|
exports.invalid = invalid;
|
|
88
|
-
|
|
80
|
+
function semverGroupHeader(group, i) {
|
|
81
|
+
logHeader(group, 'Semver', i);
|
|
82
|
+
}
|
|
83
|
+
exports.semverGroupHeader = semverGroupHeader;
|
|
84
|
+
function versionGroupHeader(group, i) {
|
|
85
|
+
logHeader(group, 'Version', i);
|
|
86
|
+
}
|
|
87
|
+
exports.versionGroupHeader = versionGroupHeader;
|
|
88
|
+
function logHeader(group, type, i) {
|
|
89
|
+
var customLabel = group.groupConfig.label;
|
|
90
|
+
var labelWhenDefault = group.isDefault ? "Default ".concat(type, " Group") : '';
|
|
91
|
+
var anonymousLabel = "".concat(type, " Group ").concat(i + 1);
|
|
92
|
+
var label = customLabel || labelWhenDefault || anonymousLabel;
|
|
93
|
+
var leftSide = "= ".concat(label, " ");
|
|
94
|
+
var rightSide = '='.repeat(80 - leftSide.length);
|
|
95
|
+
console.log(chalk_1["default"].blue("".concat(leftSide).concat(rightSide)));
|
|
96
|
+
}
|
|
97
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "syncpack",
|
|
3
3
|
"description": "Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm Workspaces",
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.3.2",
|
|
5
5
|
"author": "Jamie Mason <jamie@foldleft.io> (https://github.com/JamieMason)",
|
|
6
6
|
"bin": {
|
|
7
7
|
"syncpack": "dist/bin.js",
|