@simon_he/pi 0.1.4 → 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/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.4",
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
- "require": "./dist/index.cjs",
50
- "import": "./dist/index.js"
49
+ "import": "./dist/index.mjs",
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"
@@ -87,29 +87,32 @@
87
87
  "prepublishOnly": "nr build",
88
88
  "release": "bumpp && npm publish",
89
89
  "start": "esno src/index.ts",
90
- "test": "vitest",
91
- "typecheck": "tsc --noEmit"
90
+ "test": "vitest"
92
91
  },
93
92
  "dependencies": {
94
- "ccommand": "^1.0.78",
95
- "fast-glob": "latest",
93
+ "ccommand": "^1.0.80",
94
+ "fast-glob": "^3.3.3",
96
95
  "lazy-js-utils": "^0.1.37",
96
+ "ora": "^6.3.1",
97
+ "picocolors": "^1.1.1",
97
98
  "semver": "^7.7.1"
98
99
  },
99
100
  "devDependencies": {
100
- "@antfu/eslint-config": "^0.34.2",
101
+ "@antfu/eslint-config": "^4.10.2",
101
102
  "@types/node": "^18.19.81",
102
103
  "bumpp": "^8.2.1",
103
- "eslint": "^8.57.1",
104
+ "eslint": "^9.23.0",
104
105
  "lint-staged": "^13.3.0",
105
- "ora": "^6.3.1",
106
- "picocolors": "^1.1.1",
107
106
  "prettier": "^2.8.8",
108
107
  "tsup": "^8.4.0",
109
- "tsx": "^3.14.0",
108
+ "tsx": "^4.19.3",
110
109
  "typescript": "^4.9.5",
111
110
  "vitest": "^3.0.9"
112
111
  },
112
+ "overrides": {
113
+ "glob": "^9.3.5",
114
+ "inflight": "npm:@isaacs/inflight@^1.0.0"
115
+ },
113
116
  "lint-staged": {
114
117
  "*.{vue,js,ts,jsx,tsx,md,json}": "eslint . --fix"
115
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')