@simon_he/pi 0.1.1 → 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 +58 -30
- package/dist/index.cjs +152 -6075
- package/dist/index.js +176 -6093
- package/package.json +28 -8
package/README.md
CHANGED
|
@@ -1,49 +1,77 @@
|
|
|
1
|
-
<
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="/assets/kv.png" alt="PI - Smart Package Manager">
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
<p align="center">
|
|
4
|
-
<
|
|
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&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
|
-
|
|
11
|
+
<p align="center">English | <a href="./README_zh.md">简体中文</a></p>
|
|
7
12
|
|
|
8
|
-
|
|
13
|
+
## 📖 Table of Contents
|
|
9
14
|
|
|
10
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
22
|
-

|
|
31
|
+
## 🚀 Smart Package Manager
|
|
23
32
|
|
|
24
|
-
|
|
33
|
+
PI supports package management for multiple environments:
|
|
25
34
|
|
|
26
|
-
-
|
|
27
|
-
|
|
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
|
-
|
|
30
|
-

|
|
41
|
+
## 📷 Examples
|
|
31
42
|
|
|
32
|
-
-
|
|
33
|
-

|
|
43
|
+
### pi - Install Dependencies
|
|
34
44
|
|
|
35
|
-
|
|
45
|
+

|
|
36
46
|
|
|
37
|
-
|
|
38
|
-

|
|
47
|
+

|
|
39
48
|
|
|
40
|
-
-
|
|
41
|
-

|
|
49
|
+
### pui - Uninstall Dependencies
|
|
42
50
|
|
|
43
|
-
|
|
51
|
+

|
|
44
52
|
|
|
45
|
-
|
|
46
|
-
|
|
53
|
+
### pci - Clear Cache
|
|
54
|
+
|
|
55
|
+

|
|
56
|
+
|
|
57
|
+
### prun - Run Commands
|
|
58
|
+
|
|
59
|
+

|
|
60
|
+
|
|
61
|
+

|
|
62
|
+
|
|
63
|
+
### pfind - Find Commands
|
|
64
|
+
|
|
65
|
+

|
|
66
|
+
|
|
67
|
+
### Other Features
|
|
68
|
+
|
|
69
|
+

|
|
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
|