@0x-jerry/x 2.3.0 → 2.3.1

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.
@@ -8,8 +8,9 @@ async function run(cmd, env) {
8
8
  try {
9
9
  if (os.platform() === "win32") {
10
10
  const finalCmd = JSON.stringify(cmd).replaceAll(`\\"`, '`"');
11
- await execa("pwsh", ["Invoke-Expression", finalCmd], {
11
+ await execa("pwsh", ["-c", finalCmd], {
12
12
  stdio: "inherit",
13
+ shell: true,
13
14
  env
14
15
  });
15
16
  } else {
package/dist/xn.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  exec,
4
4
  exists
5
- } from "./chunk-W6PTQLAH.js";
5
+ } from "./chunk-M2RNBMSR.js";
6
6
 
7
7
  // src/xn.ts
8
8
  import { sliver } from "@0x-jerry/silver";
package/dist/xr.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  exec
4
- } from "./chunk-W6PTQLAH.js";
4
+ } from "./chunk-M2RNBMSR.js";
5
5
 
6
6
  // src/xr.ts
7
7
  import { sliver } from "@0x-jerry/silver";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0x-jerry/x",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "main": "dist/index.js",
5
5
  "repository": "https://github.com/0x-jerry/x.git",
6
6
  "author": "Jerry Wang <x.jerry.wang@gmail.com>",