@simon_he/pi 0.0.59 → 0.0.60
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 +4 -2
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6451,7 +6451,7 @@ async function getStyle() {
|
|
|
6451
6451
|
var import_lazy_js_utils2 = require("lazy-js-utils");
|
|
6452
6452
|
|
|
6453
6453
|
// package.json
|
|
6454
|
-
var version = "0.0.
|
|
6454
|
+
var version = "0.0.60";
|
|
6455
6455
|
|
|
6456
6456
|
// src/help.ts
|
|
6457
6457
|
var isZh2 = process.env.PI_Lang === "zh";
|
|
@@ -6507,6 +6507,7 @@ async function pi(params, pkg, executor = "ni") {
|
|
|
6507
6507
|
loading_status = await loading(text);
|
|
6508
6508
|
} else {
|
|
6509
6509
|
stdio = "inherit";
|
|
6510
|
+
executor = "ni";
|
|
6510
6511
|
}
|
|
6511
6512
|
} else {
|
|
6512
6513
|
executor = `${pkgTool} ${install}`;
|
|
@@ -6567,7 +6568,8 @@ async function pil(params) {
|
|
|
6567
6568
|
return "";
|
|
6568
6569
|
});
|
|
6569
6570
|
const command = `${latestPkgname}${suffix}`;
|
|
6570
|
-
|
|
6571
|
+
console.log("pil~~");
|
|
6572
|
+
return await pi(command, command, "pil");
|
|
6571
6573
|
}
|
|
6572
6574
|
function addLatest(params) {
|
|
6573
6575
|
return params.replace(/\s+/g, " ").trim().split(" ").map((item) => {
|
package/dist/index.js
CHANGED
|
@@ -6455,7 +6455,7 @@ async function getStyle() {
|
|
|
6455
6455
|
import { jsShell } from "lazy-js-utils";
|
|
6456
6456
|
|
|
6457
6457
|
// package.json
|
|
6458
|
-
var version = "0.0.
|
|
6458
|
+
var version = "0.0.60";
|
|
6459
6459
|
|
|
6460
6460
|
// src/help.ts
|
|
6461
6461
|
var isZh2 = process.env.PI_Lang === "zh";
|
|
@@ -6511,6 +6511,7 @@ async function pi(params, pkg, executor = "ni") {
|
|
|
6511
6511
|
loading_status = await loading(text);
|
|
6512
6512
|
} else {
|
|
6513
6513
|
stdio = "inherit";
|
|
6514
|
+
executor = "ni";
|
|
6514
6515
|
}
|
|
6515
6516
|
} else {
|
|
6516
6517
|
executor = `${pkgTool} ${install}`;
|
|
@@ -6571,7 +6572,8 @@ async function pil(params) {
|
|
|
6571
6572
|
return "";
|
|
6572
6573
|
});
|
|
6573
6574
|
const command = `${latestPkgname}${suffix}`;
|
|
6574
|
-
|
|
6575
|
+
console.log("pil~~");
|
|
6576
|
+
return await pi(command, command, "pil");
|
|
6575
6577
|
}
|
|
6576
6578
|
function addLatest(params) {
|
|
6577
6579
|
return params.replace(/\s+/g, " ").trim().split(" ").map((item) => {
|