@simon_he/pi 0.0.14 → 0.0.16

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,27 +1,30 @@
1
1
  <span ><p align="center">![kv](/assets/pi.png)</p></span>
2
+
2
3
  <p align="center"> English | <a href="./README_zh.md">简体中文</a></p>
3
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>
4
5
 
5
6
  ## :lollipop: PI
7
+
6
8
  A smart package manager with a custom loading style, which makes you install dependencies more beautifully :)
7
9
 
8
10
  ## :rocket: Smart package manager
11
+
9
12
  - Supports dependency installation, uninstallation, execution and packaging of go mod
10
13
  - Supports Cargo's dependency installation, uninstallation, execution and packaging
11
14
  - Support npm dependency installation, uninstallation and execution
12
15
  - Support pnpm dependency installation, uninstallation and execution
13
16
  - Support yarn dependency installation, uninstallation and execution
14
17
 
15
-
16
18
  https://user-images.githubusercontent.com/57086651/203143603-9e78f686-399e-4c3d-ae53-56638501b276.mov
17
19
 
18
-
19
20
  ## :gear: Install
21
+
20
22
  ```
21
23
  npm i -g @simon_he/pi
22
24
  ```
23
25
 
24
26
  ## :open_hands: Usage
27
+
25
28
  ```
26
29
  # According to the environment of the current directory to analyze which package manager to use,go、rust、pnpm、yarn、npm
27
30
  # Install dependencies
@@ -37,6 +40,7 @@ https://user-images.githubusercontent.com/57086651/203143603-9e78f686-399e-4c3d-
37
40
  ```
38
41
 
39
42
  ## Power
43
+
40
44
  The current environment is npm | yarn | pnpm, and it supports passing some args --silent
41
45
 
42
46
  - prun dev The dev command in the current package.json
@@ -56,6 +60,7 @@ workspace of pnpm | yarn
56
60
  - pfind Select the package under the current workspace, and then select the corresponding command
57
61
 
58
62
  ## :monocle_face: Feature
63
+
59
64
  ```
60
65
  <-- Go -->
61
66
  ## input folder and executor command
@@ -65,22 +70,27 @@ workspace of pnpm | yarn
65
70
  ```
66
71
 
67
72
  ## :bulb: Custom configuration
73
+
68
74
  You can configure the loading style in .zshrc, as follows:
75
+
69
76
  ```
70
77
  export PI_COLOR=red # loadingstyle color
71
78
  export PI_SPINNER=star # loadingstyle
72
79
  ```
80
+
73
81
  - 70+ types of styles, from [cli-spinners](https://jsfiddle.net/sindresorhus/2eLtsbey/embedded/result/),You can choose to fill in the name in PI_SPINNER.
74
82
  - Color options: 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'gray', Fill in PI_COLOR.
75
83
 
76
84
  ## :battery: Dependency
85
+
77
86
  - [@antfu/ni](https://github.com/antfu/ni)
78
87
  - [ora](https://github.com/sindresorhus/ora)
79
88
  - [ccommand](https://github.com/Simon-He95/ccommand)
80
89
 
81
-
82
90
  ## License
91
+
83
92
  [MIT](./LICENSE) License © 2022 [Simon He](https://github.com/Simon-He95)
84
93
 
85
- ## :coffee:
94
+ ## :coffee:
95
+
86
96
  <a href="https://github.com/Simon-He95/sponsor" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a>