@simon_he/pi 0.1.5 → 0.1.6

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
@@ -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.5";
49
+ var version = "0.1.6";
50
50
 
51
51
  // src/help.ts
52
52
  var isZh = import_node_process.default.env.PI_Lang === "zh";
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.5";
28
+ var version = "0.1.6";
29
29
 
30
30
  // src/help.ts
31
31
  var isZh = process.env.PI_Lang === "zh";
package/pa.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@simon_he/pi",
3
3
  "type": "module",
4
- "version": "0.1.5",
4
+ "version": "0.1.6",
5
5
  "packageManager": "pnpm@9.15.9",
6
- "description": "An intelligent cross-platform package manager and CLI tool that autodetects project environments (Node.js, Go, Rust, Python) with beautiful loading animations and smart command execution.",
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",
9
9
  "url": "https://github.com/Simon-He95"
@@ -46,12 +46,12 @@
46
46
  "exports": {
47
47
  ".": {
48
48
  "types": "./dist/index.d.ts",
49
- "import": "./dist/index.js",
49
+ "import": "./dist/index.mjs",
50
50
  "require": "./dist/index.cjs"
51
51
  }
52
52
  },
53
53
  "main": "./dist/index.cjs",
54
- "module": "./dist/index.js",
54
+ "module": "./dist/index.mjs",
55
55
  "types": "./dist/index.d.ts",
56
56
  "typesVersions": {
57
57
  "*": {
@@ -62,18 +62,18 @@
62
62
  }
63
63
  },
64
64
  "bin": {
65
- "pi": "./pi.js",
66
- "pio": "./pio.js",
67
- "pix": "./pix.js",
68
- "pa": "./pa.js",
69
- "pu": "./pu.js",
70
- "pci": "./pci.js",
71
- "pil": "./pil.js",
72
- "pui": "./pui.js",
73
- "prun": "./prun.js",
74
- "pinit": "./pinit.js",
75
- "pbuild": "./pbuild.js",
76
- "pfind": "./pfind.js"
65
+ "pi": "./pi.mjs",
66
+ "pio": "./pio.mjs",
67
+ "pix": "./pix.mjs",
68
+ "pa": "./pa.mjs",
69
+ "pu": "./pu.mjs",
70
+ "pci": "./pci.mjs",
71
+ "pil": "./pil.mjs",
72
+ "pui": "./pui.mjs",
73
+ "prun": "./prun.mjs",
74
+ "pinit": "./pinit.mjs",
75
+ "pbuild": "./pbuild.mjs",
76
+ "pfind": "./pfind.mjs"
77
77
  },
78
78
  "files": [
79
79
  "dist"
@@ -109,6 +109,10 @@
109
109
  "typescript": "^4.9.5",
110
110
  "vitest": "^3.0.9"
111
111
  },
112
+ "overrides": {
113
+ "glob": "^9.3.5",
114
+ "inflight": "npm:@isaacs/inflight@^1.0.0"
115
+ },
112
116
  "lint-staged": {
113
117
  "*.{vue,js,ts,jsx,tsx,md,json}": "eslint . --fix"
114
118
  }
package/pbuild.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/pci.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/pfind.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/pi.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/pil.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/pinit.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/pio.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/pix.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/prun.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/pu.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')
package/pui.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node --no-warnings
2
+ import('./dist/index.cjs')