@vc-shell/release-config 1.0.269 → 1.0.271

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [1.0.271](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.270...v1.0.271) (2024-08-13)
2
+
3
+
4
+
5
+ ## [1.0.270](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.269...v1.0.270) (2024-08-13)
6
+
7
+
8
+
1
9
  ## [1.0.269](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.268...v1.0.269) (2024-08-09)
2
10
 
3
11
 
@@ -3,17 +3,17 @@ import { inc as $, valid as k } from "semver";
3
3
  import { readFileSync as C } from "node:fs";
4
4
  import f from "node:path";
5
5
  import i from "chalk";
6
- import { spawnSync as N } from "node:child_process";
7
- import R from "mri";
8
- import { argv as j } from "node:process";
9
- const x = R(j.slice(2)), y = !!x.dry;
6
+ import N from "mri";
7
+ import { argv as R } from "node:process";
8
+ import { sync as j } from "cross-spawn";
9
+ const x = N(R.slice(2)), y = !!x.dry;
10
10
  y && (console.log(i.inverse(i.yellow(" DRY RUN "))), console.log());
11
11
  function v(e) {
12
12
  const t = f.resolve(e), o = f.resolve(t, "package.json");
13
13
  return { pkg: JSON.parse(C(o, "utf-8")), pkgDir: t, pkgPath: o };
14
14
  }
15
15
  async function h(e, t, o) {
16
- return N(e, t, { stdio: "inherit", ...o });
16
+ return j(e, t, { stdio: "inherit", ...o });
17
17
  }
18
18
  async function D(e, t, o) {
19
19
  return console.log(i.blue(`[dryrun] ${e} ${t.join(" ")}`), o || "");
@@ -22,7 +22,7 @@ const a = y ? D : h;
22
22
  function g(e) {
23
23
  return console.log(i.cyan(e));
24
24
  }
25
- function S(e) {
25
+ function I(e) {
26
26
  function t(n) {
27
27
  return $(e, n);
28
28
  }
@@ -60,7 +60,7 @@ const F = async ({
60
60
  type: "select",
61
61
  name: "release",
62
62
  message: "Select release type",
63
- choices: S(p.version)
63
+ choices: I(p.version)
64
64
  });
65
65
  s === "custom" ? r = (await u({
66
66
  type: "text",
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;AAGA,OAAO,EAAE,kCAAkC,EAAa,MAAM,oBAAoB,CAAC;AAGnF,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB,eAAO,MAAM,IAAI;;EAAqB,CAAC;AAEvC,eAAO,MAAM,QAAQ,SAAa,CAAC;AAOnC,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM;;cAIpC,MAAM;iBACH,MAAM;;;;EAIlB;AAED,wBAAsB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,OAAO,CAAC,kCAAkC,CAAC,sEAExG;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,CA4BzE"}
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;;;;EAIlB;AAED,wBAAsB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,OAAO,CAAC,kCAAkC,CAAC,sEAExG;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,CA4BzE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/release-config",
3
- "version": "1.0.269",
3
+ "version": "1.0.271",
4
4
  "type": "module",
5
5
  "main": "dist/release-config.js",
6
6
  "types": "./dist/index.d.ts",
@@ -12,6 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "chalk": "^2.4.2",
15
+ "cross-spawn": "^7.0.3",
15
16
  "mri": "^1.2.0",
16
17
  "prompts": "^2.4.2",
17
18
  "semver": "^7.5.4",
@@ -20,7 +21,7 @@
20
21
  "devDependencies": {
21
22
  "@types/prompts": "^2.4.7",
22
23
  "@types/semver": "^7.5.4",
23
- "@vc-shell/ts-config": "^1.0.269",
24
+ "@vc-shell/ts-config": "^1.0.271",
24
25
  "typescript": "~5.3.3",
25
26
  "vite-plugin-dts": "^3.6.4"
26
27
  },