@simon_he/pi 0.0.61 → 0.0.63

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 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.61";
6454
+ var version = "0.0.63";
6455
6455
 
6456
6456
  // src/help.ts
6457
6457
  var isZh2 = process.env.PI_Lang === "zh";
@@ -6531,11 +6531,11 @@ ${_result}` : failMsg));
6531
6531
  ${result}` : failMsg));
6532
6532
  }
6533
6533
  if (result) {
6534
- const reg = / No matching version found for ([\w\-\_@\^.]+)/;
6534
+ const reg = /ERR_PNPM_NO_MATCHING_VERSION_INSIDE_WORKSPACE  In : No matching version found for\s+([^@]+)/;
6535
6535
  const match = result.match(reg);
6536
6536
  if (match) {
6537
6537
  const dep = match[1];
6538
- (0, import_lazy_js_utils4.jsShell)(`pi ${dep}`);
6538
+ (0, import_lazy_js_utils4.jsShell)(`pi ${dep}@latest`);
6539
6539
  }
6540
6540
  }
6541
6541
  import_process.default.exit();
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.61";
6458
+ var version = "0.0.63";
6459
6459
 
6460
6460
  // src/help.ts
6461
6461
  var isZh2 = process.env.PI_Lang === "zh";
@@ -6535,11 +6535,11 @@ ${_result}` : failMsg));
6535
6535
  ${result}` : failMsg));
6536
6536
  }
6537
6537
  if (result) {
6538
- const reg = / No matching version found for ([\w\-\_@\^.]+)/;
6538
+ const reg = /ERR_PNPM_NO_MATCHING_VERSION_INSIDE_WORKSPACE  In : No matching version found for\s+([^@]+)/;
6539
6539
  const match = result.match(reg);
6540
6540
  if (match) {
6541
6541
  const dep = match[1];
6542
- jsShell3(`pi ${dep}`);
6542
+ jsShell3(`pi ${dep}@latest`);
6543
6543
  }
6544
6544
  }
6545
6545
  process8.exit();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simon_he/pi",
3
3
  "type": "module",
4
- "version": "0.0.61",
4
+ "version": "0.0.63",
5
5
  "packageManager": "pnpm@7.26.1",
6
6
  "description": "",
7
7
  "author": "Simon He",