@simon_he/pi 0.1.12 → 0.1.13
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/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -46,7 +46,7 @@ var import_node_process = __toESM(require("process"), 1);
|
|
|
46
46
|
var import_node = require("lazy-js-utils/node");
|
|
47
47
|
|
|
48
48
|
// package.json
|
|
49
|
-
var version = "0.1.
|
|
49
|
+
var version = "0.1.13";
|
|
50
50
|
|
|
51
51
|
// src/help.ts
|
|
52
52
|
var isZh = import_node_process.default.env.PI_Lang === "zh";
|
|
@@ -319,6 +319,7 @@ async function pi(params, pkg, executor = "ni") {
|
|
|
319
319
|
loading_status = await loading(text, isSilent);
|
|
320
320
|
}
|
|
321
321
|
const runSockets = executor.split(" ")[0] === "npm" ? ` --max-sockets=${maxSockets}` : "";
|
|
322
|
+
console.log(import_picocolors4.default.green(`${executor}${newParams ? ` ${newParams}` : runSockets}`));
|
|
322
323
|
let { status, result } = await (0, import_node6.useNodeWorker)({
|
|
323
324
|
params: `${executor}${newParams ? ` ${newParams}` : runSockets}`,
|
|
324
325
|
stdio,
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import process from "node:process";
|
|
|
25
25
|
import { jsShell } from "lazy-js-utils/node";
|
|
26
26
|
|
|
27
27
|
// package.json
|
|
28
|
-
var version = "0.1.
|
|
28
|
+
var version = "0.1.13";
|
|
29
29
|
|
|
30
30
|
// src/help.ts
|
|
31
31
|
var isZh = process.env.PI_Lang === "zh";
|
|
@@ -298,6 +298,7 @@ async function pi(params, pkg, executor = "ni") {
|
|
|
298
298
|
loading_status = await loading(text, isSilent);
|
|
299
299
|
}
|
|
300
300
|
const runSockets = executor.split(" ")[0] === "npm" ? ` --max-sockets=${maxSockets}` : "";
|
|
301
|
+
console.log(colors3.green(`${executor}${newParams ? ` ${newParams}` : runSockets}`));
|
|
301
302
|
let { status, result } = await useNodeWorker({
|
|
302
303
|
params: `${executor}${newParams ? ` ${newParams}` : runSockets}`,
|
|
303
304
|
stdio,
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simon_he/pi",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"packageManager": "pnpm@10.
|
|
4
|
+
"version": "0.1.13",
|
|
5
|
+
"packageManager": "pnpm@10.8.0",
|
|
6
6
|
"description": "An intelligent cross-platform package manager and CLI tool that autodetects project environments (Node.mjs, Go, Rust, Python) with beautiful loading animations and smart command execution.",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Simon He",
|