@simon_he/pi 0.0.89 → 0.0.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.
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -6759,7 +6759,7 @@ function getLatestVersion(pkg, isZh6 = true) {
|
|
|
6759
6759
|
var import_lazy_js_utils2 = require("lazy-js-utils");
|
|
6760
6760
|
|
|
6761
6761
|
// package.json
|
|
6762
|
-
var version = "0.0.
|
|
6762
|
+
var version = "0.0.91";
|
|
6763
6763
|
|
|
6764
6764
|
// src/help.ts
|
|
6765
6765
|
var isZh2 = process.env.PI_Lang === "zh";
|
|
@@ -7003,12 +7003,12 @@ async function pil(params) {
|
|
|
7003
7003
|
return "";
|
|
7004
7004
|
}
|
|
7005
7005
|
);
|
|
7006
|
-
latestPkgname = latestPkgname.
|
|
7006
|
+
latestPkgname = latestPkgname.replace(/@latest/g, "").split(" ").filter(Boolean).map((i) => {
|
|
7007
7007
|
const v = dependencies[i] || devDependencies[i];
|
|
7008
7008
|
return `${i}$${v}`;
|
|
7009
7009
|
}).join(" ");
|
|
7010
7010
|
command = command.replace(/\s+/, " ").split(" ").map((i, index) => `${i} ${suffix[index] || "-s"}`).join(" ");
|
|
7011
|
-
return await pi(command, latestPkgname.
|
|
7011
|
+
return await pi(command, latestPkgname.replace(/@latest/g, ""), "pil");
|
|
7012
7012
|
}
|
|
7013
7013
|
|
|
7014
7014
|
// src/pinit.ts
|
package/dist/index.js
CHANGED
|
@@ -6763,7 +6763,7 @@ function getLatestVersion(pkg, isZh6 = true) {
|
|
|
6763
6763
|
import { jsShell as jsShell2 } from "lazy-js-utils";
|
|
6764
6764
|
|
|
6765
6765
|
// package.json
|
|
6766
|
-
var version = "0.0.
|
|
6766
|
+
var version = "0.0.91";
|
|
6767
6767
|
|
|
6768
6768
|
// src/help.ts
|
|
6769
6769
|
var isZh2 = process.env.PI_Lang === "zh";
|
|
@@ -7007,12 +7007,12 @@ async function pil(params) {
|
|
|
7007
7007
|
return "";
|
|
7008
7008
|
}
|
|
7009
7009
|
);
|
|
7010
|
-
latestPkgname = latestPkgname.
|
|
7010
|
+
latestPkgname = latestPkgname.replace(/@latest/g, "").split(" ").filter(Boolean).map((i) => {
|
|
7011
7011
|
const v = dependencies[i] || devDependencies[i];
|
|
7012
7012
|
return `${i}$${v}`;
|
|
7013
7013
|
}).join(" ");
|
|
7014
7014
|
command = command.replace(/\s+/, " ").split(" ").map((i, index) => `${i} ${suffix[index] || "-s"}`).join(" ");
|
|
7015
|
-
return await pi(command, latestPkgname.
|
|
7015
|
+
return await pi(command, latestPkgname.replace(/@latest/g, ""), "pil");
|
|
7016
7016
|
}
|
|
7017
7017
|
|
|
7018
7018
|
// src/pinit.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simon_he/pi",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.91",
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "Simon He",
|
|
7
7
|
"license": "MIT",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"typecheck": "tsc --noEmit"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"ccommand": "^1.0.
|
|
68
|
+
"ccommand": "^1.0.64",
|
|
69
69
|
"fast-glob": "latest",
|
|
70
70
|
"lazy-js-utils": "^0.0.94",
|
|
71
71
|
"semver": "^7.6.2"
|