@vc-shell/release-config 1.2.4-beta.8 → 2.0.0-alpha.0
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { sync as
|
|
1
|
+
import { sync as f } from "cross-spawn";
|
|
2
2
|
import { existsSync as N, readFileSync as E, writeFileSync as b } from "node:fs";
|
|
3
3
|
import C from "node:path";
|
|
4
4
|
import l from "chalk";
|
|
5
|
-
import { valid as v, rcompare as
|
|
5
|
+
import { valid as v, rcompare as R } from "semver";
|
|
6
6
|
function st(t, e) {
|
|
7
|
-
const o =
|
|
7
|
+
const o = f(
|
|
8
8
|
"git",
|
|
9
9
|
[
|
|
10
10
|
"describe",
|
|
@@ -21,17 +21,17 @@ function st(t, e) {
|
|
|
21
21
|
);
|
|
22
22
|
return o.status === 0 && o.stdout ? o.stdout.toString().trim() : null;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
const t =
|
|
24
|
+
function x() {
|
|
25
|
+
const t = f("git", ["remote", "get-url", "origin"], {
|
|
26
26
|
stdio: "pipe",
|
|
27
27
|
encoding: "utf-8"
|
|
28
28
|
});
|
|
29
29
|
return t.status === 0 && t.stdout ? t.stdout.toString().trim().replace(/\.git$/, "").replace(/^git@github\.com:/, "https://github.com/") : null;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function O(t, e, o) {
|
|
32
32
|
const r = ["log", "--format=%H %s", `${t}..${e}`];
|
|
33
33
|
o && r.push("--", o);
|
|
34
|
-
const i =
|
|
34
|
+
const i = f("git", r, {
|
|
35
35
|
stdio: "pipe",
|
|
36
36
|
encoding: "utf-8"
|
|
37
37
|
});
|
|
@@ -54,46 +54,48 @@ function V(t, e, o) {
|
|
|
54
54
|
return n;
|
|
55
55
|
}
|
|
56
56
|
function it() {
|
|
57
|
-
const t =
|
|
57
|
+
const t = f("git", ["describe", "--tags", "--abbrev=0"], {
|
|
58
58
|
stdio: "pipe",
|
|
59
59
|
encoding: "utf-8"
|
|
60
60
|
});
|
|
61
61
|
return t.status === 0 && t.stdout ? t.stdout.toString().trim() : null;
|
|
62
62
|
}
|
|
63
|
-
function rt() {
|
|
64
|
-
|
|
63
|
+
function rt(t) {
|
|
64
|
+
t?.length && f("git", ["add", "--", ...t], { stdio: "inherit" }).status !== 0 && (console.error(l.red(`
|
|
65
|
+
Failed to stage explicit files
|
|
66
|
+
`)), process.exit(1)), f("git", ["add", "-u"], { stdio: "inherit" }).status !== 0 && (console.error(l.red(`
|
|
65
67
|
Failed to stage changes
|
|
66
|
-
`)), process.exit(1)),
|
|
68
|
+
`)), process.exit(1)), f("git", ["commit", "--amend", "--no-edit"], { stdio: "inherit" }).status !== 0 && (console.error(l.red(`
|
|
67
69
|
Failed to amend commit
|
|
68
70
|
`)), process.exit(1));
|
|
69
71
|
}
|
|
70
72
|
function ct(t) {
|
|
71
|
-
|
|
73
|
+
f("git", ["tag", "-f", "-a", t, "-m", t], { stdio: "inherit" }).status !== 0 && (console.error(l.red(`
|
|
72
74
|
Failed to recreate tag
|
|
73
75
|
`)), process.exit(1));
|
|
74
76
|
}
|
|
75
77
|
function at(t) {
|
|
76
78
|
console.log(l.cyan(`
|
|
77
79
|
Pushing changes to remote...
|
|
78
|
-
`)),
|
|
80
|
+
`)), f("git", ["push", "origin", "HEAD", "--force-with-lease"], { stdio: "inherit" }).status !== 0 && (console.error(l.red(`
|
|
79
81
|
Failed to push commit
|
|
80
|
-
`)), process.exit(1)),
|
|
82
|
+
`)), process.exit(1)), f("git", ["push", "origin", t, "--force"], { stdio: "inherit" }).status !== 0 && (console.error(l.red(`
|
|
81
83
|
Failed to push tag
|
|
82
84
|
`)), process.exit(1));
|
|
83
85
|
}
|
|
84
|
-
function
|
|
85
|
-
const e =
|
|
86
|
+
function V(t) {
|
|
87
|
+
const e = f("git", ["tag", "-l", `${t}*`], {
|
|
86
88
|
stdio: "pipe",
|
|
87
89
|
encoding: "utf-8"
|
|
88
90
|
});
|
|
89
91
|
return e.status !== 0 || !e.stdout ? [] : e.stdout.toString().trim().split(`
|
|
90
92
|
`).filter(Boolean).sort((r, i) => {
|
|
91
93
|
const n = v(r.startsWith(t) ? r.slice(t.length) : r), s = v(i.startsWith(t) ? i.slice(t.length) : i);
|
|
92
|
-
return n && s ?
|
|
94
|
+
return n && s ? R(n, s) : i.localeCompare(r);
|
|
93
95
|
});
|
|
94
96
|
}
|
|
95
97
|
function w(t, e) {
|
|
96
|
-
const o =
|
|
98
|
+
const o = V(e), r = `${e}${t}`, i = o.indexOf(r);
|
|
97
99
|
if (i !== -1)
|
|
98
100
|
return i >= o.length - 1 ? null : o[i + 1];
|
|
99
101
|
const n = v(t);
|
|
@@ -101,13 +103,13 @@ function w(t, e) {
|
|
|
101
103
|
return console.warn(l.yellow(` getPreviousVersionTag: invalid version "${t}"`)), null;
|
|
102
104
|
for (const s of o) {
|
|
103
105
|
const c = v(s.startsWith(e) ? s.slice(e.length) : s);
|
|
104
|
-
if (c &&
|
|
106
|
+
if (c && R(n, c) < 0)
|
|
105
107
|
return s;
|
|
106
108
|
}
|
|
107
109
|
return null;
|
|
108
110
|
}
|
|
109
111
|
function ut() {
|
|
110
|
-
const t =
|
|
112
|
+
const t = f("git", ["log", "-1", "--format=%s"], {
|
|
111
113
|
stdio: "pipe",
|
|
112
114
|
encoding: "utf-8"
|
|
113
115
|
});
|
|
@@ -178,22 +180,22 @@ Supplementing current version entries for ${e}...
|
|
|
178
180
|
console.log(l.gray(" No previous release tag found; skipping current version supplementation"));
|
|
179
181
|
return;
|
|
180
182
|
}
|
|
181
|
-
const n =
|
|
183
|
+
const n = x();
|
|
182
184
|
let s = 0;
|
|
183
185
|
for (const c of t) {
|
|
184
186
|
const a = C.join(c.path, "CHANGELOG.md");
|
|
185
187
|
if (!N(a)) continue;
|
|
186
|
-
const g =
|
|
188
|
+
const g = O(i, "HEAD", c.path), u = W(g, n);
|
|
187
189
|
if (!u) continue;
|
|
188
|
-
const
|
|
189
|
-
p !==
|
|
190
|
+
const d = E(a, "utf-8"), p = B(d, e, u);
|
|
191
|
+
p !== d && (s++, r || b(a, p, "utf-8"));
|
|
190
192
|
}
|
|
191
193
|
s > 0 ? console.log(l.green(` Supplemented ${s} current version entr${s === 1 ? "y" : "ies"}`)) : console.log(l.gray(" No current version entries needed supplementation"));
|
|
192
194
|
}
|
|
193
195
|
function y(t) {
|
|
194
196
|
return t.replace(j, "").trim().length === 0;
|
|
195
197
|
}
|
|
196
|
-
function
|
|
198
|
+
function H(t, e, o) {
|
|
197
199
|
if (!e || o.length === 0) return;
|
|
198
200
|
const r = o.join(`
|
|
199
201
|
`).trim();
|
|
@@ -244,17 +246,17 @@ function P(t) {
|
|
|
244
246
|
let i = null, n = [];
|
|
245
247
|
for (const s of r) {
|
|
246
248
|
const c = s.match(S);
|
|
247
|
-
c ? (
|
|
249
|
+
c ? (H(e, i, n), i = c[1], n = [], o[i] || (o[i] = s.replace(/^#{1,2}\s+/, ""))) : i && s.trim() !== "" && !s.startsWith("# CHANGELOG") && !s.startsWith("# Change Log") && !s.startsWith("All notable changes") && !s.startsWith("See [Conventional Commits]") && n.push(s);
|
|
248
250
|
}
|
|
249
|
-
return
|
|
251
|
+
return H(e, i, n), { versionContent: e, versionHeaders: o };
|
|
250
252
|
}
|
|
251
253
|
function F(t, e) {
|
|
252
254
|
return [...t].sort((o, r) => {
|
|
253
|
-
const i =
|
|
254
|
-
return i !== null && n !== null && i !== n ? n - i : v(o) && v(r) ?
|
|
255
|
+
const i = k(e?.[o]), n = k(e?.[r]);
|
|
256
|
+
return i !== null && n !== null && i !== n ? n - i : v(o) && v(r) ? R(o, r) : r.localeCompare(o);
|
|
255
257
|
});
|
|
256
258
|
}
|
|
257
|
-
function
|
|
259
|
+
function k(t) {
|
|
258
260
|
if (!t) return null;
|
|
259
261
|
const e = t.match(/\((\d{4}-\d{2}-\d{2})\)\s*$/);
|
|
260
262
|
if (!e) return null;
|
|
@@ -268,9 +270,9 @@ Generating root CHANGELOG with package grouping...
|
|
|
268
270
|
`));
|
|
269
271
|
const n = C.join(r, "CHANGELOG.md"), s = {}, c = {};
|
|
270
272
|
for (const u of o) {
|
|
271
|
-
const
|
|
272
|
-
if (!N(
|
|
273
|
-
const p = E(
|
|
273
|
+
const d = C.join(r, u.path, "CHANGELOG.md");
|
|
274
|
+
if (!N(d)) continue;
|
|
275
|
+
const p = E(d, "utf-8"), m = P(p);
|
|
274
276
|
for (const [h, $] of Object.entries(m.versionContent))
|
|
275
277
|
s[h] || (s[h] = {}), s[h][u.displayName] = $, !c[h] && m.versionHeaders[h] && (c[h] = m.versionHeaders[h]);
|
|
276
278
|
}
|
|
@@ -282,7 +284,7 @@ All notable changes to this monorepo will be documented in this file.
|
|
|
282
284
|
`);
|
|
283
285
|
const g = F(Object.keys(s), c);
|
|
284
286
|
for (const u of g) {
|
|
285
|
-
const
|
|
287
|
+
const d = s[u], p = Object.values(d).some(
|
|
286
288
|
($) => !!$?.trim() && !y($)
|
|
287
289
|
), m = c[u] || u;
|
|
288
290
|
if (a += `## ${m}
|
|
@@ -295,7 +297,7 @@ All notable changes to this monorepo will be documented in this file.
|
|
|
295
297
|
}
|
|
296
298
|
let h = !1;
|
|
297
299
|
for (const $ of o) {
|
|
298
|
-
const G =
|
|
300
|
+
const G = d[$.displayName];
|
|
299
301
|
G && G.trim() && (y(G) || (h = !0, a += `### ${$.displayName}
|
|
300
302
|
|
|
301
303
|
`, a += `${G}
|
|
@@ -381,7 +383,7 @@ const A = [
|
|
|
381
383
|
function z(t, e, o, r) {
|
|
382
384
|
const i = ["log", "--format=%H %s", e ? `${e}..${t}` : t];
|
|
383
385
|
r && i.push("--", r);
|
|
384
|
-
const n =
|
|
386
|
+
const n = f("git", i, {
|
|
385
387
|
stdio: "pipe",
|
|
386
388
|
encoding: "utf-8",
|
|
387
389
|
cwd: o
|
|
@@ -392,10 +394,10 @@ function z(t, e, o, r) {
|
|
|
392
394
|
for (const g of c) {
|
|
393
395
|
const u = g.indexOf(" ");
|
|
394
396
|
if (u === -1) continue;
|
|
395
|
-
const
|
|
397
|
+
const d = g.substring(0, u), m = g.substring(u + 1).match(a);
|
|
396
398
|
m && s.push({
|
|
397
|
-
hash:
|
|
398
|
-
shortHash:
|
|
399
|
+
hash: d,
|
|
400
|
+
shortHash: d.substring(0, 7),
|
|
399
401
|
type: m[1],
|
|
400
402
|
scope: m[2] || null,
|
|
401
403
|
subject: m[4],
|
|
@@ -405,7 +407,7 @@ function z(t, e, o, r) {
|
|
|
405
407
|
return s;
|
|
406
408
|
}
|
|
407
409
|
function Y(t, e) {
|
|
408
|
-
const o =
|
|
410
|
+
const o = f("git", ["tag", "-l", `${e}*`], {
|
|
409
411
|
stdio: "pipe",
|
|
410
412
|
encoding: "utf-8",
|
|
411
413
|
cwd: t
|
|
@@ -421,7 +423,7 @@ function Y(t, e) {
|
|
|
421
423
|
});
|
|
422
424
|
}
|
|
423
425
|
function K(t) {
|
|
424
|
-
const e =
|
|
426
|
+
const e = f("git", ["remote", "get-url", "origin"], {
|
|
425
427
|
stdio: "pipe",
|
|
426
428
|
encoding: "utf-8",
|
|
427
429
|
cwd: t
|
|
@@ -429,7 +431,7 @@ function K(t) {
|
|
|
429
431
|
return e.status !== 0 || !e.stdout ? null : e.stdout.toString().trim().replace(/\.git$/, "").replace(/^git@github\.com:/, "https://github.com/");
|
|
430
432
|
}
|
|
431
433
|
function U(t, e) {
|
|
432
|
-
const o =
|
|
434
|
+
const o = f("git", ["log", "-1", "--format=%ct", e], {
|
|
433
435
|
stdio: "pipe",
|
|
434
436
|
encoding: "utf-8",
|
|
435
437
|
cwd: t
|
|
@@ -437,7 +439,7 @@ function U(t, e) {
|
|
|
437
439
|
return o.status === 0 && o.stdout?.trim() && Number(o.stdout.trim()) || 0;
|
|
438
440
|
}
|
|
439
441
|
function Z(t, e) {
|
|
440
|
-
const o =
|
|
442
|
+
const o = f("git", ["log", "-1", "--format=%cs", e], {
|
|
441
443
|
stdio: "pipe",
|
|
442
444
|
encoding: "utf-8",
|
|
443
445
|
cwd: t
|
|
@@ -483,12 +485,12 @@ function J(t, e) {
|
|
|
483
485
|
function Q(t, e, o, r) {
|
|
484
486
|
const i = Y(t, o), n = [];
|
|
485
487
|
for (let s = 0; s < i.length; s++) {
|
|
486
|
-
const c = i[s], a = s < i.length - 1 ? i[s + 1] : null, g = c.startsWith(o) ? c.slice(o.length) : c, u = q(t, g, c, a, r),
|
|
488
|
+
const c = i[s], a = s < i.length - 1 ? i[s + 1] : null, g = c.startsWith(o) ? c.slice(o.length) : c, u = q(t, g, c, a, r), d = z(
|
|
487
489
|
c,
|
|
488
490
|
a,
|
|
489
491
|
t,
|
|
490
492
|
C.join(t, e.path)
|
|
491
|
-
), p = J(
|
|
493
|
+
), p = J(d, r);
|
|
492
494
|
n.push(u), n.push(""), n.push(p || "**Note:** Version bump only for package"), n.push("");
|
|
493
495
|
}
|
|
494
496
|
return n.join(`
|
|
@@ -510,8 +512,8 @@ Generating initial CHANGELOG.md files...
|
|
|
510
512
|
for (const c of e) {
|
|
511
513
|
const a = C.join(o, c.path, "CHANGELOG.md");
|
|
512
514
|
if (N(a)) {
|
|
513
|
-
const u = `${a}.backup`,
|
|
514
|
-
b(u,
|
|
515
|
+
const u = `${a}.backup`, d = E(a, "utf-8");
|
|
516
|
+
b(u, d, "utf-8"), console.log(l.gray(` Backed up ${a} to ${u}`));
|
|
515
517
|
}
|
|
516
518
|
console.log(l.blue(`
|
|
517
519
|
Generating changelog for ${c.name}...`));
|
package/dist/release-config.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { parse as P, valid as N } from "semver";
|
|
2
|
-
import { readFileSync as
|
|
2
|
+
import { readFileSync as A, writeFileSync as T } from "node:fs";
|
|
3
3
|
import R from "node:path";
|
|
4
4
|
import $ from "mri";
|
|
5
5
|
import { argv as E } from "node:process";
|
|
6
6
|
import n from "chalk";
|
|
7
7
|
import { sync as h } from "cross-spawn";
|
|
8
8
|
import y from "prompts";
|
|
9
|
-
import { f as O, e as D, a as
|
|
10
|
-
import { h as ge } from "./generate-changelogs-
|
|
9
|
+
import { f as O, e as D, a as H, s as L, g as S, b as I, c as j, d as G, r as U, p as _ } from "./generate-changelogs-CiQDT33J.js";
|
|
10
|
+
import { h as ge } from "./generate-changelogs-CiQDT33J.js";
|
|
11
11
|
const c = $(E.slice(2));
|
|
12
12
|
c.dry;
|
|
13
13
|
function w(t) {
|
|
14
14
|
const o = R.resolve(t), e = R.resolve(o, "package.json");
|
|
15
|
-
return { pkg: JSON.parse(
|
|
15
|
+
return { pkg: JSON.parse(A(e, "utf-8")), pkgDir: o, pkgPath: e };
|
|
16
16
|
}
|
|
17
|
-
async function
|
|
17
|
+
async function F() {
|
|
18
18
|
const { releaseType: t } = await y({
|
|
19
19
|
type: "select",
|
|
20
20
|
name: "releaseType",
|
|
@@ -28,7 +28,7 @@ async function J() {
|
|
|
28
28
|
});
|
|
29
29
|
return t;
|
|
30
30
|
}
|
|
31
|
-
async function
|
|
31
|
+
async function J(t) {
|
|
32
32
|
const o = P(t), e = o && o.prerelease.length > 0, s = e ? o.prerelease[0] : null, { preid: a } = await y({
|
|
33
33
|
type: "select",
|
|
34
34
|
name: "preid",
|
|
@@ -51,7 +51,7 @@ async function M(t) {
|
|
|
51
51
|
if (a)
|
|
52
52
|
return e && s === a ? { preid: a, lernaVersionArg: "prerelease", lernaPreidArgs: [] } : { preid: a, lernaVersionArg: "prerelease", lernaPreidArgs: ["--preid", a] };
|
|
53
53
|
}
|
|
54
|
-
async function
|
|
54
|
+
async function M(t) {
|
|
55
55
|
const { customVersion: o } = await y({
|
|
56
56
|
type: "text",
|
|
57
57
|
name: "customVersion",
|
|
@@ -150,20 +150,20 @@ async function ie(t) {
|
|
|
150
150
|
i && console.log(n.yellow(`
|
|
151
151
|
DRY RUN MODE - No git operations will be performed
|
|
152
152
|
`));
|
|
153
|
-
const { pkg:
|
|
153
|
+
const { pkg: b } = w(o[0].path), v = b.version, k = v.split(".").slice(0, 2).join("."), C = O(k, e);
|
|
154
154
|
q(e, k, C);
|
|
155
|
-
const g = await
|
|
155
|
+
const g = await F();
|
|
156
156
|
if (!g) return m();
|
|
157
157
|
const d = [];
|
|
158
158
|
if (g !== "auto") {
|
|
159
159
|
if (g === "prerelease") {
|
|
160
|
-
const r = await
|
|
160
|
+
const r = await J(v);
|
|
161
161
|
if (!r) return m();
|
|
162
162
|
d.push(r.lernaVersionArg, ...r.lernaPreidArgs), c.tag || (c.tag = r.preid);
|
|
163
163
|
} else if (g === "graduate")
|
|
164
164
|
d.push("--conventional-graduate");
|
|
165
165
|
else if (g === "custom") {
|
|
166
|
-
const r = await
|
|
166
|
+
const r = await M(v);
|
|
167
167
|
if (!r) return m();
|
|
168
168
|
d.push(r);
|
|
169
169
|
const l = P(r);
|
|
@@ -198,7 +198,7 @@ Updating yarn.lock with new package versions...
|
|
|
198
198
|
Failed to update yarn.lock
|
|
199
199
|
`)), process.exit(r.status || 1));
|
|
200
200
|
}
|
|
201
|
-
if (D(o, !1),
|
|
201
|
+
if (D(o, !1), H(o, p, !1), L(o, p, e, !1), S({ packages: o }, !1), i)
|
|
202
202
|
console.log(n.yellow(`
|
|
203
203
|
Dry run completed successfully!
|
|
204
204
|
`)), console.log(n.cyan("Changes made:")), console.log(n.cyan(" - Updated package versions")), console.log(n.cyan(` - Generated/updated CHANGELOG.md files
|
|
@@ -206,7 +206,7 @@ Dry run completed successfully!
|
|
|
206
206
|
`)), console.log(n.yellow("To revert all changes:")), console.log(n.cyan(` git checkout -- .
|
|
207
207
|
`));
|
|
208
208
|
else {
|
|
209
|
-
const r =
|
|
209
|
+
const r = I();
|
|
210
210
|
r || (console.error(n.red(`
|
|
211
211
|
Could not determine the git tag created by Lerna
|
|
212
212
|
`)), process.exit(1));
|
|
@@ -219,19 +219,19 @@ This may indicate extra commits were made after Lerna's release commit.
|
|
|
219
219
|
Aborting to prevent amending/tagging the wrong commit.
|
|
220
220
|
`
|
|
221
221
|
)
|
|
222
|
-
), process.exit(1)),
|
|
222
|
+
), process.exit(1)), G(["package.json", "CHANGELOG.md"]), U(r), _(r), console.log(n.green(`
|
|
223
223
|
Release completed successfully!
|
|
224
224
|
`)), console.log(n.cyan(`npmTag will be automatically determined from git tag in CI
|
|
225
225
|
`));
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
function z(t, o) {
|
|
229
|
-
const e = "package.json", s = JSON.parse(
|
|
229
|
+
const e = "package.json", s = JSON.parse(A(e, "utf-8"));
|
|
230
230
|
s.version !== t && (s.version = t, T(e, JSON.stringify(s, null, 2) + `
|
|
231
231
|
`, "utf-8"), console.log(n.gray(` Updated root package.json version: ${t}`)));
|
|
232
232
|
}
|
|
233
233
|
export {
|
|
234
234
|
ge as generateInitialChangelogs,
|
|
235
|
-
|
|
235
|
+
S as generateRootChangelog,
|
|
236
236
|
ie as release
|
|
237
237
|
};
|
package/dist/src/git.d.ts
CHANGED
|
@@ -39,9 +39,13 @@ export declare function getLatestTag(): string | null;
|
|
|
39
39
|
* Stages all modified tracked files and amends the last commit (created by Lerna).
|
|
40
40
|
* Uses `git add -u` to capture all release changes including custom hook modifications
|
|
41
41
|
* (e.g. boilerplate template versions, app dependency updates).
|
|
42
|
+
*
|
|
43
|
+
* @param explicitFiles - Files to stage explicitly before `git add -u`.
|
|
44
|
+
* Explicit `git add` ensures these files are staged even when `assume-unchanged`
|
|
45
|
+
* or `skip-worktree` bits are set, or when `git add -u` misses them for any reason.
|
|
42
46
|
* Exits on failure.
|
|
43
47
|
*/
|
|
44
|
-
export declare function stageAndAmendCommit(): void;
|
|
48
|
+
export declare function stageAndAmendCommit(explicitFiles?: string[]): void;
|
|
45
49
|
/**
|
|
46
50
|
* Deletes and recreates the tag as an annotated tag on the amended commit.
|
|
47
51
|
*/
|
package/dist/src/git.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../src/git.ts"],"names":[],"mappings":"AAIA;;;G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4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/release-config.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"lerna": "^9.0.0",
|
|
21
21
|
"mri": "^1.2.0",
|
|
22
22
|
"prompts": "^2.4.2",
|
|
23
|
-
"semver": "^7.
|
|
23
|
+
"semver": "^7.7.4"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/cross-spawn": "^6.0.6",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"access": "public",
|
|
35
35
|
"registry": "https://registry.npmjs.org/"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "f028d9e1fe410a18fec4e127a65860cfb2309e36"
|
|
38
38
|
}
|