@simon_he/pi 0.1.2 → 0.1.3

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/README.md CHANGED
@@ -1,49 +1,77 @@
1
- <span ><p align="center">![kv](/assets/kv.png)</p></span>
1
+ <p align="center">
2
+ <img src="/assets/kv.png" alt="PI - Smart Package Manager">
3
+ </p>
2
4
 
3
- <p align="center"> English | <a href="./README_zh.md">简体中文</a></p>
4
- <p align="center"><a href="https://www.npmjs.com/package/@simon_he/pi"><img src="https://img.shields.io/npm/v/@simon_he/pi?color=3fb883&amp;label=" alt="NPM version"></a>
5
+ <p align="center">
6
+ <a href="https://www.npmjs.com/package/@simon_he/pi"><img src="https://img.shields.io/npm/v/@simon_he/pi?color=3fb883&amp;label=" alt="NPM version"></a>
7
+ <a href="https://www.npmjs.com/package/@simon_he/pi"><img src="https://img.shields.io/npm/dm/@simon_he/pi.svg?color=3fb883&label=" alt="NPM Downloads"></a>
8
+ <a href="https://github.com/Simon-He95/pi/blob/main/LICENSE"><img src="https://img.shields.io/github/license/Simon-He95/pi?color=3fb883" alt="License"></a>
9
+ </p>
5
10
 
6
- ## :lollipop: PI
11
+ <p align="center">English | <a href="./README_zh.md">简体中文</a></p>
7
12
 
8
- A smart package manager with a custom loading style, which makes you install dependencies more beautifully :), and can fuzzy match and find deep-level instructions
13
+ ## 📖 Table of Contents
9
14
 
10
- ## :rocket: Smart package manager
15
+ - [Introduction](#-pi)
16
+ - [Features](#-smart-package-manager)
17
+ - [Examples](#-examples)
18
+ - [Language Settings](#-language)
19
+ - [Installation](#-installation)
20
+ - [Usage](#-usage)
21
+ - [Supported Features](#-features)
22
+ - [Special Features](#-feature)
23
+ - [Custom Configuration](#-custom-configuration)
24
+ - [Dependencies](#-dependencies)
25
+ - [License](#license)
11
26
 
12
- - Supports dependency installation, uninstallation, execution and packaging of go mod
13
- - Supports Cargo's dependency installation, uninstallation, execution and packaging
14
- - Support npm dependency installation, uninstallation and execution
15
- - Support pnpm dependency installation, uninstallation and execution
16
- - Support yarn dependency installation, uninstallation and execution
17
- - Automatically handle the difference between yarn and pnpm w and W according to the current directory and environment and will repair the monorepo installation
27
+ ## 🍭 PI
18
28
 
19
- ## Demo
29
+ PI is an intelligent package manager with beautiful custom loading styles, providing a better visual experience when installing dependencies. It can intelligently identify project environments, fuzzy match commands, and find deep-nested instructions, greatly improving development efficiency.
20
30
 
21
- - pi
22
- ![img](/assets/pi.png)
31
+ ## 🚀 Smart Package Manager
23
32
 
24
- ![gif](/assets/pi.gif)
33
+ PI supports package management for multiple environments:
25
34
 
26
- - pui
27
- ![img](/assets/pui.png)
35
+ - ✅ **Go**: Supports dependency installation, uninstallation, execution, and packaging with go mod
36
+ - ✅ **Rust**: Supports dependency installation, uninstallation, execution, and packaging with Cargo
37
+ - ✅ **Node.js**: Supports dependency installation, uninstallation, and execution with npm, pnpm, and yarn
38
+ - ✅ **Python**: Supports Python file execution
39
+ - ✅ **Monorepo**: Automatically identifies and handles differences between yarn and pnpm workspaces, fixing monorepo installation issues
28
40
 
29
- - pci
30
- ![img](/assets/pci.png)
41
+ ## 📷 Examples
31
42
 
32
- - prun
33
- ![img](/assets/prun.png)
43
+ ### pi - Install Dependencies
34
44
 
35
- ![gif](/assets/prun.gif)
45
+ ![Install Dependencies Example](/assets/pi.png)
36
46
 
37
- - pfind
38
- ![gif](/assets/pfind.gif)
47
+ ![Install Dependencies Animation](/assets/pi.gif)
39
48
 
40
- - others
41
- ![gif](/assets/others.gif)
49
+ ### pui - Uninstall Dependencies
42
50
 
43
- ## :phone: Language
51
+ ![Uninstall Dependencies Example](/assets/pui.png)
44
52
 
45
- ```
46
- # Export environment variables in your bash or zsh
53
+ ### pci - Clear Cache
54
+
55
+ ![Clear Cache Example](/assets/pci.png)
56
+
57
+ ### prun - Run Commands
58
+
59
+ ![Run Commands Example](/assets/prun.png)
60
+
61
+ ![Run Commands Animation](/assets/prun.gif)
62
+
63
+ ### pfind - Find Commands
64
+
65
+ ![Find Commands Animation](/assets/pfind.gif)
66
+
67
+ ### Other Features
68
+
69
+ ![Other Features Animation](/assets/others.gif)
70
+
71
+ ## 📱 Language
72
+
73
+ ```bash
74
+ # Set environment variables in your bash or zsh configuration file
47
75
 
48
76
  # Chinese
49
77
  export PI_Lang=zh
package/dist/index.cjs CHANGED
@@ -6542,7 +6542,7 @@ async function getLatestVersion(pkg, isZh6 = true) {
6542
6542
  var import_node2 = require("lazy-js-utils/node");
6543
6543
 
6544
6544
  // package.json
6545
- var version = "0.1.2";
6545
+ var version = "0.1.3";
6546
6546
 
6547
6547
  // src/help.ts
6548
6548
  var isZh2 = process.env.PI_Lang === "zh";
package/dist/index.js CHANGED
@@ -6543,7 +6543,7 @@ async function getLatestVersion(pkg, isZh6 = true) {
6543
6543
  import { jsShell as jsShell2 } from "lazy-js-utils/node";
6544
6544
 
6545
6545
  // package.json
6546
- var version = "0.1.2";
6546
+ var version = "0.1.3";
6547
6547
 
6548
6548
  // src/help.ts
6549
6549
  var isZh2 = process.env.PI_Lang === "zh";
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@simon_he/pi",
3
3
  "type": "module",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "packageManager": "pnpm@9.15.9",
6
- "description": "A powerful and flexible command-line tool for managing projects.",
7
- "author": "Simon He",
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.",
7
+ "author": {
8
+ "name": "Simon He",
9
+ "url": "https://github.com/Simon-He95"
10
+ },
8
11
  "license": "MIT",
9
12
  "funding": "https://github.com/sponsors/Simon-He95",
10
13
  "homepage": "https://github.com/Simon-He95/pi#readme",
@@ -20,7 +23,24 @@
20
23
  "automation",
21
24
  "nodejs",
22
25
  "rust",
23
- "go"
26
+ "go",
27
+ "python",
28
+ "package-manager",
29
+ "cli",
30
+ "developer-tools",
31
+ "npm-alternative",
32
+ "pnpm",
33
+ "yarn",
34
+ "cargo",
35
+ "pip",
36
+ "monorepo",
37
+ "workspace",
38
+ "dependency-management",
39
+ "development-workflow",
40
+ "cross-platform",
41
+ "javascript",
42
+ "typescript",
43
+ "smart-detection"
24
44
  ],
25
45
  "sideEffects": false,
26
46
  "exports": {
@@ -71,14 +91,14 @@
71
91
  "typecheck": "tsc --noEmit"
72
92
  },
73
93
  "dependencies": {
74
- "ccommand": "^1.0.76",
94
+ "ccommand": "^1.0.77",
75
95
  "fast-glob": "latest",
76
- "lazy-js-utils": "^0.1.33",
96
+ "lazy-js-utils": "^0.1.37",
77
97
  "semver": "^7.7.1"
78
98
  },
79
99
  "devDependencies": {
80
100
  "@antfu/eslint-config": "^0.34.2",
81
- "@types/node": "^18.19.80",
101
+ "@types/node": "^18.19.81",
82
102
  "bumpp": "^8.2.1",
83
103
  "eslint": "^8.57.1",
84
104
  "lint-staged": "^13.3.0",