@vc-shell/release-config 1.1.91-alpha.5 → 1.1.91

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,105 +1,98 @@
1
- import v from "prompts";
2
- import { parse as P, valid as V } from "semver";
3
- import { readFileSync as b, writeFileSync as k, existsSync as S } from "node:fs";
4
- import C from "node:path";
5
- import n from "chalk";
6
- import T from "mri";
7
- import { argv as j } from "node:process";
8
- import { sync as y } from "cross-spawn";
9
- const r = T(j.slice(2)), R = !!r.dry;
10
- R && (console.log(n.inverse(n.yellow(" DRY RUN "))), console.log());
11
- function w(a) {
12
- const g = C.resolve(a), f = C.resolve(g, "package.json");
13
- return { pkg: JSON.parse(b(f, "utf-8")), pkgDir: g, pkgPath: f };
1
+ import u from "prompts";
2
+ import { inc as y, valid as S, parse as R } from "semver";
3
+ import { readFileSync as C, writeFileSync as D } from "node:fs";
4
+ import k from "node:path";
5
+ import s from "chalk";
6
+ import I from "mri";
7
+ import { argv as M } from "node:process";
8
+ import { sync as U } from "cross-spawn";
9
+ const e = I(M.slice(2)), b = !!e.dry;
10
+ b && (console.log(s.inverse(s.yellow(" DRY RUN "))), console.log());
11
+ function w(t) {
12
+ const n = k.resolve(t), l = k.resolve(n, "package.json");
13
+ return { pkg: JSON.parse(C(l, "utf-8")), pkgDir: n, pkgPath: l };
14
14
  }
15
- async function G(a, g) {
16
- if (R) {
17
- console.log(n.blue(`[dryrun] Writing package.json to ${a}`));
15
+ async function T(t, n) {
16
+ if (b) {
17
+ console.log(s.blue(`[dryrun] Writing package.json to ${t}`));
18
18
  return;
19
19
  }
20
- k(a, JSON.stringify(g, null, 2) + `
20
+ D(t, JSON.stringify(n, null, 2) + `
21
21
  `, "utf-8");
22
22
  }
23
- const M = async ({
24
- packages: a,
25
- bumpVersion: g,
26
- generateChangelog: f,
27
- toTag: t,
28
- customHooks: u
23
+ async function P(t, n, l) {
24
+ return U(t, n, { stdio: "inherit", ...l });
25
+ }
26
+ async function A(t, n, l) {
27
+ return console.log(s.blue(`[dryrun] ${t} ${n.join(" ")}`), l || "");
28
+ }
29
+ const f = b ? A : P;
30
+ function d(t) {
31
+ return console.log(s.cyan(t));
32
+ }
33
+ function E(t) {
34
+ function n(r, o) {
35
+ if (r === "prerelease" && o === "alpha") {
36
+ if (t.includes("-alpha")) {
37
+ const [h, p] = t.split("-alpha."), $ = parseInt(p) + 1;
38
+ return `${h}-alpha.${$}`;
39
+ }
40
+ return `${y(t, "patch")}-alpha.0`;
41
+ }
42
+ return y(t, r);
43
+ }
44
+ return [
45
+ {
46
+ title: "next",
47
+ value: n("patch")
48
+ },
49
+ {
50
+ title: "alpha",
51
+ value: n("prerelease", "alpha")
52
+ },
53
+ {
54
+ title: "minor",
55
+ value: n("minor")
56
+ },
57
+ {
58
+ title: "major",
59
+ value: n("major")
60
+ },
61
+ {
62
+ value: "custom",
63
+ title: "custom"
64
+ }
65
+ ].map((r) => (r.title = `${r.title} (${r.value})`, r));
66
+ }
67
+ const W = async ({
68
+ packages: t,
69
+ bumpVersion: n,
70
+ generateChangelog: l,
71
+ toTag: r
29
72
  }) => {
30
- if (a.length === 0)
73
+ let o;
74
+ if (t.length === 0)
31
75
  throw new Error("No packages to release");
32
- const c = !!r.dry;
33
- c && console.log(n.yellow(`
34
- ⚠️ DRY RUN MODE - No git operations will be performed
35
- `));
36
- const { releaseType: d } = await v({
37
- type: "select",
38
- name: "releaseType",
39
- message: "Select release type",
40
- choices: [
41
- { title: "Automatic (based on commits)", value: "auto" },
42
- { title: "Prerelease (alpha/beta/rc)", value: "prerelease" },
43
- { title: "Graduate prerelease to stable", value: "graduate" },
44
- { title: "Custom version", value: "custom" }
45
- ]
46
- });
47
- if (!d) {
48
- console.log(n.yellow(`
49
- Release cancelled
50
- `));
51
- return;
52
- }
53
- const l = ["lerna", "version", "--conventional-commits"];
54
- if (d === "prerelease") {
55
- const { pkg: p } = w(a[0]), o = P(p.version), e = o && o.prerelease.length > 0, s = e ? o.prerelease[0] : null, { preid: i } = await v({
76
+ const { pkg: v } = w(t[0]);
77
+ if (!o) {
78
+ const { release: a } = await u({
56
79
  type: "select",
57
- name: "preid",
58
- message: "Select prerelease identifier",
59
- choices: [
60
- {
61
- title: e && s === "alpha" ? "alpha (continue)" : "alpha",
62
- value: "alpha"
63
- },
64
- {
65
- title: e && s === "beta" ? "beta (continue)" : "beta",
66
- value: "beta"
67
- },
68
- { title: e && s === "rc" ? "rc (continue)" : "rc", value: "rc" }
69
- ]
80
+ name: "release",
81
+ message: "Select release type",
82
+ choices: E(v.version)
70
83
  });
71
- if (!i) {
72
- console.log(n.yellow(`
73
- Release cancelled
74
- `));
75
- return;
76
- }
77
- e && s === i ? l.push("prerelease") : l.push("prerelease", "--preid", i), r.tag || (r.tag = i);
78
- } else if (d === "graduate")
79
- l.push("--conventional-graduate");
80
- else if (d === "custom") {
81
- const { pkg: p } = w(a[0]), { customVersion: o } = await v({
84
+ a === "custom" ? o = (await u({
82
85
  type: "text",
83
- name: "customVersion",
84
- message: "Enter custom version",
85
- initial: p.version,
86
- validate: (s) => V(s) ? !0 : "Invalid semver version"
87
- });
88
- if (!o) {
89
- console.log(n.yellow(`
90
- Release cancelled
91
- `));
92
- return;
93
- }
94
- l.push(o);
95
- const e = P(o);
96
- if (e && e.prerelease.length > 0 && !r.tag) {
97
- const s = e.prerelease[0];
98
- typeof s == "string" && (r.tag = s);
99
- }
86
+ name: "version",
87
+ message: "Input custom version",
88
+ initial: v.version
89
+ })).version : o = a;
100
90
  }
101
- if (!r.tag) {
102
- const { npmTag: p } = await v({
91
+ if (!S(o))
92
+ throw new Error(`invalid target version: ${o}`);
93
+ const h = o.match(/-([a-zA-Z]+)(?:\.(\d+))?$/);
94
+ if (h && !e.tag && (e.tag = h[1]), !e.tag) {
95
+ const { npmTag: a } = await u({
103
96
  type: "select",
104
97
  name: "npmTag",
105
98
  message: "Select npm distribution tag",
@@ -111,172 +104,59 @@ Release cancelled
111
104
  { title: "custom", value: "custom" }
112
105
  ]
113
106
  });
114
- if (p === "custom") {
115
- const o = await v({
107
+ if (a === "custom") {
108
+ const g = await u({
116
109
  type: "text",
117
110
  name: "customTag",
118
111
  message: "Input custom npm tag",
119
112
  initial: "latest"
120
113
  });
121
- r.tag = o.customTag;
122
- } else p !== "latest" && (r.tag = p);
114
+ e.tag = g.customTag;
115
+ } else a !== "latest" && (e.tag = a);
116
+ }
117
+ if (e.tag && e.tag !== "latest") {
118
+ const a = R(o);
119
+ if (a && !o.includes(`-${e.tag}`)) {
120
+ let i, c = 0;
121
+ a.prerelease.length > 0 ? (a.prerelease.length > 1 && typeof a.prerelease[1] == "number" && (c = a.prerelease[1]), i = `${`${a.major}.${a.minor}.${a.patch}`}-${e.tag}`) : i = `${y(o, "minor")}-${e.tag}`;
122
+ const { usePreNum: m } = await u({
123
+ type: "confirm",
124
+ name: "usePreNum",
125
+ message: `Add prerelease number to version? (e.g. ${i}.${c})`,
126
+ initial: !0
127
+ });
128
+ m && (i = `${i}.${c}`);
129
+ }
123
130
  }
124
- const { yes: h } = await v({
131
+ const p = r(o);
132
+ let $ = `release: ${p}`;
133
+ e.tag && e.tag !== "latest" && ($ += ` with npm tag ${e.tag}`);
134
+ const { yes: N } = await u({
125
135
  type: "confirm",
126
136
  name: "yes",
127
- message: `Ready to release${r.tag && r.tag !== "latest" ? ` with npm tag ${n.blue(r.tag)}` : ""}. Continue?`
137
+ message: `Releasing ${s.yellow(p)}${e.tag && e.tag !== "latest" ? ` with npm tag ${s.blue(e.tag)}` : ""} Confirm?`
128
138
  });
129
- if (!h) {
130
- console.log(n.yellow(`
131
- Release cancelled
132
- `));
133
- return;
134
- }
135
- c ? l.push("--no-git-tag-version", "--no-push") : l.push("--no-push"), console.log(n.cyan(`
136
- Running: npx ${l.join(" ")}
137
- `));
138
- const m = y("npx", l, { stdio: "inherit" });
139
- if (m.status !== 0 && (console.error(n.red(`
140
- ❌ Release process failed
141
- `)), process.exit(m.status || 1)), await E(a), u) {
142
- console.log(n.cyan(`
143
- Running post-version hooks...
144
- `));
145
- const { pkg: p } = w(a[0] === "." ? a[1] : a[0]);
146
- await u(p.version);
139
+ if (!N) return;
140
+ for (let a = 0; a < t.length; a++) {
141
+ const g = t[a], { pkg: i } = w(g);
142
+ d(`
143
+ Updating ${s.green(i.name)} package version to ${s.green(o)}...`), await n(i.name, o);
144
+ const c = w(g), m = { ...c.pkg };
145
+ e.tag && e.tag !== "latest" ? (m.npmTag = e.tag, await T(c.pkgPath, m), console.log(`Set npmTag: ${s.blue(e.tag)} to ${s.green(i.name)}`)) : m.npmTag && (delete m.npmTag, await T(c.pkgPath, m), console.log(`Removed npmTag from ${s.green(i.name)} for latest release.`)), d(`
146
+ Generating ${s.green(i.name)} changelog...`), await l(i.name, o, g);
147
147
  }
148
- if (await O(a), await H(a), await $(a), !c && y("git", ["status", "--porcelain"], { stdio: "pipe" }).stdout?.toString().trim()) {
149
- const e = y("git", ["describe", "--tags", "--abbrev=0"], { stdio: "pipe" }).stdout?.toString().trim() || "HEAD";
150
- y("git", ["add", "-A"], { stdio: "inherit" }), y("git", ["commit", "--amend", "--no-edit", "--no-verify"], { stdio: "inherit" }), y("git", ["tag", "-f", e], { stdio: "inherit" }), console.log(n.cyan(`
151
- Pushing changes to remote...
152
- `)), y("git", ["push", "origin", "HEAD", "--force-with-lease"], { stdio: "inherit" }), y("git", ["push", "origin", e, "--force"], { stdio: "inherit" }), console.log(n.green(`
153
- ✅ Updated changelogs, package.json, and pushed to remote
154
- `));
148
+ const { stdout: j } = await P("git", ["diff"], { stdio: "pipe" });
149
+ if (j)
150
+ d(`
151
+ Committing changes...`), await f("git", ["add", "-A"]), await f("git", ["commit", "-m", $, "--no-verify"]), await f("git", ["tag", p]);
152
+ else {
153
+ console.log("No changes to commit.");
154
+ return;
155
155
  }
156
- c ? (console.log(n.yellow(`
157
- Dry run completed successfully!
158
- `)), console.log(n.cyan("Changes made:")), console.log(n.cyan(" - Updated package versions")), console.log(n.cyan(" - Generated/updated CHANGELOG.md files")), console.log(n.cyan(` - Updated npmTag fields in package.json
159
- `)), console.log(n.yellow("No git operations performed. Review changes with:")), console.log(n.cyan(` git diff
160
- `)), console.log(n.yellow("To revert all changes:")), console.log(n.cyan(` git checkout -- .
161
- `))) : (console.log(n.green(`
162
- ✅ Release completed successfully!
163
- `)), r.tag && r.tag !== "latest" && (console.log(n.cyan(`
164
- ℹ️ Package files updated with npmTag: ${n.blue(r.tag)}`)), console.log(n.cyan(` GitHub Actions will automatically publish with this tag
165
- `))));
156
+ d(`
157
+ Pushing to GitHub...`), await f("git", ["push", "origin", `refs/tags/${p}`]), await f("git", ["push"]), e.tag && e.tag !== "latest" && console.log(`
158
+ NOTE: This release will be published to npm with tag ${s.blue(e.tag)}`), console.log();
166
159
  };
167
- async function O(a) {
168
- console.log(n.cyan(`
169
- Enhancing changelogs...
170
- `));
171
- for (const g of a) {
172
- if (g === ".") continue;
173
- const f = C.join(g, "CHANGELOG.md");
174
- if (!S(f)) continue;
175
- let t = b(f, "utf-8");
176
- t = t.replace(/^# CHANGELOG\s*\n/gm, ""), t = t.replace(/^# Change Log\s*\n/gm, ""), t = t.replace(/^All notable changes to this (project|package) will be documented in this file\.\s*\n/gm, ""), t = t.replace(
177
- /^See \[Conventional Commits\]\(https:\/\/conventionalcommits\.org\) for commit guidelines\.\s*\n/gm,
178
- ""
179
- ), t = t.replace(/\n{3,}/g, `
180
-
181
- `), t = t.replace(
182
- /^(##\s+\[[^\]]+\][^\n]*\n)\n(##\s+\[|$)/gm,
183
- `$1
184
- **Note:** Version bump only for package
185
-
186
- $2`
187
- ), t = t.trim() + `
188
- `, k(f, t, "utf-8");
189
- }
190
- }
191
- async function E(a) {
192
- const g = a.find((d) => d !== ".");
193
- if (!g) return;
194
- const { pkg: f } = w(g), t = f.version, u = "package.json", c = JSON.parse(b(u, "utf-8"));
195
- c.version !== t && (c.version = t, k(u, JSON.stringify(c, null, 2) + `
196
- `, "utf-8"), console.log(n.gray(` Updated root package.json version: ${t}`)));
197
- }
198
- async function H(a) {
199
- console.log(n.cyan(`
200
- Generating root CHANGELOG with package grouping...
201
- `));
202
- const g = "CHANGELOG.md", f = {
203
- framework: "VC-Shell Framework (@vc-shell/framework)",
204
- "cli/api-client": "API Client Generator (@vc-shell/api-client-generator)",
205
- "cli/create-vc-app": "Create VC App (@vc-shell/create-vc-app)",
206
- "configs/release-config": "Release Config (@vc-shell/release-config)",
207
- "configs/vite-config": "Vite Config (@vc-shell/config-generator)",
208
- "configs/ts-config": "TypeScript Config (@vc-shell/ts-config)"
209
- }, t = {}, u = {};
210
- for (const l of a) {
211
- if (l === ".") continue;
212
- const h = C.join(l, "CHANGELOG.md"), m = f[l] || l;
213
- if (!S(h)) continue;
214
- const o = b(h, "utf-8").split(`
215
- `);
216
- let e = null, s = [];
217
- for (const i of o) {
218
- const N = i.match(/^##\s+(?:\[)?([\d.a-z-]+)(?:\])?(?:\s+\([^)]+\))?/i);
219
- if (N) {
220
- if (e && s.length > 0) {
221
- const A = s.join(`
222
- `).trim();
223
- t[e] || (t[e] = {}), t[e][m] = A;
224
- }
225
- e = N[1], s = [], u[e] || (u[e] = i.replace(/^##\s+/, ""));
226
- } else e && i.trim() !== "" && !i.startsWith("# CHANGELOG") && !i.startsWith("# Change Log") && !i.startsWith("All notable changes") && !i.startsWith("See [Conventional Commits]") && s.push(i);
227
- }
228
- if (e && s.length > 0) {
229
- const i = s.join(`
230
- `).trim();
231
- t[e] || (t[e] = {}), t[e][m] = i;
232
- }
233
- }
234
- let c = "";
235
- const d = Object.keys(t).sort((l, h) => {
236
- const m = l.split(/[.-]/).map((o) => isNaN(parseInt(o)) ? o : parseInt(o)), p = h.split(/[.-]/).map((o) => isNaN(parseInt(o)) ? o : parseInt(o));
237
- for (let o = 0; o < Math.max(m.length, p.length); o++) {
238
- const e = m[o] ?? 0, s = p[o] ?? 0;
239
- if (e !== s)
240
- return typeof e == "number" && typeof s == "number" ? s - e : String(s).localeCompare(String(e));
241
- }
242
- return 0;
243
- });
244
- for (const l of d) {
245
- const h = t[l], m = Object.values(h).some((e) => !e || !e.trim() ? !1 : e.replace(/\*\*Note:\*\*\s+Version bump only[^\n]*/gi, "").trim().length > 0), p = u[l] || l;
246
- if (c += `## ${p}
247
-
248
- `, !m) {
249
- c += `**Note:** Version bump only for package
250
-
251
- `;
252
- continue;
253
- }
254
- let o = !1;
255
- for (const e of a) {
256
- if (e === ".") continue;
257
- const s = f[e] || e, i = h[s];
258
- i && i.trim() && i.replace(/\*\*Note:\*\*\s+Version bump only[^\n]*/gi, "").trim().length > 0 && (o = !0, c += `### ${s}
259
-
260
- `, c += `${i}
261
-
262
- `);
263
- }
264
- o || (c += `**Note:** Version bump only for package
265
-
266
- `);
267
- }
268
- c = c.replace(/\n{3,}/g, `
269
-
270
- `), k(g, c, "utf-8"), console.log(n.green(" ✓ Generated root CHANGELOG.md with package grouping"));
271
- }
272
- async function $(a) {
273
- if (r.tag)
274
- for (const g of a) {
275
- if (g === ".") continue;
276
- const { pkg: f, pkgPath: t } = w(g), u = { ...f };
277
- r.tag !== "latest" ? (u.npmTag = r.tag, await G(t, u)) : u.npmTag && (delete u.npmTag, await G(t, u));
278
- }
279
- }
280
160
  export {
281
- M as release
161
+ W as release
282
162
  };
package/dist/release.d.ts CHANGED
@@ -1,28 +1,16 @@
1
1
  /**
2
- * Release function that uses Lerna for versioning and changelog generation
2
+ * Release function that prompts the user to select a release type and version, generates changelogs, commits changes, and pushes to GitHub.
3
3
  * @param packages - An array of package names to release.
4
- * @param bumpVersion - A function that takes a package name and version (deprecated, Lerna handles this).
4
+ * @param bumpVersion - A function that takes a package name and version and updates the package.json file with the new version.
5
5
  * @param generateChangelog - A function that generates a changelog for a package with a given version.
6
6
  * @param toTag - A function that takes a version and returns a tag name.
7
- * @param customHooks - A function that takes a package name, version, and workspace name and returns a void or Promise<void>.
8
7
  * @returns void
9
8
  * @throws Error if there are no packages to release or if the target version is invalid.
10
9
  */
11
- export declare const release: ({ packages, bumpVersion, generateChangelog, toTag, customHooks, }: {
10
+ export declare const release: ({ packages, bumpVersion, generateChangelog, toTag, }: {
12
11
  packages: string[];
13
- /**
14
- *
15
- * @param pkgName
16
- * @param version
17
- * @param workspaceName
18
- * @returns
19
- */
20
- customHooks: (version: string) => void | Promise<void>;
21
- /** @deprecated Lerna handles version bumping automatically */
22
- bumpVersion?: (pkgName: string, version: string) => void | Promise<void>;
23
- /** @deprecated Lerna generates changelogs automatically */
24
- generateChangelog?: (pkgName: string, version: string, workspaceName?: string) => void | Promise<void>;
25
- /** @deprecated Lerna handles version bumping automatically */
26
- toTag?: (version: string) => string;
12
+ bumpVersion: (pkgName: string, version: string) => void | Promise<void>;
13
+ generateChangelog: (pkgName: string, version: string, workspaceName?: string) => void | Promise<void>;
14
+ toTag: (version: string) => string;
27
15
  }) => Promise<void>;
28
16
  //# sourceMappingURL=release.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../src/release.ts"],"names":[],"mappings":"AASA;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,GAAU,mEAM3B;IACD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB;;;;;;OAMG;IACH,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,8DAA8D;IAC9D,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzE,2DAA2D;IAC3D,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvG,8DAA8D;IAC9D,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;CACrC,kBAwNA,CAAC"}
1
+ {"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../src/release.ts"],"names":[],"mappings":"AAQA;;;;;;;;GAQG;AACH,eAAO,MAAM,OAAO,GAAU,sDAK3B;IACD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,iBAAiB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtG,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;CACpC,kBA+KA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAGxE,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,eAAO,MAAM,IAAI;;EAAqB,CAAC;AAEvC,eAAO,MAAM,QAAQ,SAAa,CAAC;AAOnC,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM;;cAIpC,MAAM;iBACH,MAAM;wBACC,MAAM;;;;EAIzB;AAED,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAM/E;AAED,wBAAsB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,OAAO,CAAC,kCAAkC,CAAC,uFAExG;AAED,wBAAsB,MAAM,CAC1B,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EAAE,EACd,IAAI,CAAC,EAAE,OAAO,CAAC,kCAAkC,CAAC,GACjD,OAAO,CAAC,IAAI,CAAC,CAEf;AAED,eAAO,MAAM,WAAW,4BAA0B,CAAC;AAEnD,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAEtC;AAED,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,wBAAgB,iBAAiB,CAAC,cAAc,EAAE,MAAM,GAAG,aAAa,EAAE,CAuCzE"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAGxE,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB,eAAO,MAAM,IAAI;;EAAqB,CAAC;AAEvC,eAAO,MAAM,QAAQ,SAAa,CAAC;AAOnC,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM;;cAIpC,MAAM;iBACH,MAAM;wBACC,MAAM;;;;EAIzB;AAED,wBAAsB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAM/E;AAED,wBAAsB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,OAAO,CAAC,kCAAkC,CAAC,uFAExG;AAED,wBAAsB,MAAM,CAC1B,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EAAE,EACd,IAAI,CAAC,EAAE,OAAO,CAAC,kCAAkC,CAAC,GACjD,OAAO,CAAC,IAAI,CAAC,CAEf;AAED,eAAO,MAAM,WAAW,4BAA0B,CAAC;AAEnD,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAEtC;AAED,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,wBAAgB,iBAAiB,CAAC,cAAc,EAAE,MAAM,GAAG,aAAa,EAAE,CAyCzE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/release-config",
3
- "version": "1.1.91-alpha.5",
3
+ "version": "1.1.91",
4
4
  "type": "module",
5
5
  "main": "dist/release-config.js",
6
6
  "types": "./dist/index.d.ts",
@@ -13,7 +13,6 @@
13
13
  "dependencies": {
14
14
  "chalk": "^2.4.2",
15
15
  "cross-spawn": "^7.0.3",
16
- "lerna": "^9.0.0",
17
16
  "mri": "^1.2.0",
18
17
  "prompts": "^2.4.2",
19
18
  "semver": "^7.5.4",
@@ -23,14 +22,12 @@
23
22
  "@types/cross-spawn": "^6.0.6",
24
23
  "@types/prompts": "^2.4.7",
25
24
  "@types/semver": "^7.5.4",
26
- "@vc-shell/ts-config": "1.1.91-alpha.5",
25
+ "@vc-shell/ts-config": "^1.1.91",
27
26
  "typescript": "^5.8.3",
28
27
  "vite-plugin-dts": "^3.6.4"
29
28
  },
30
29
  "publishConfig": {
31
30
  "access": "public",
32
31
  "registry": "https://registry.npmjs.org/"
33
- },
34
- "stableVersion": "1.1.90",
35
- "npmTag": "alpha"
32
+ }
36
33
  }