mock-service-cli 4.7.0 → 4.8.0

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
@@ -32,15 +32,29 @@
32
32
  ### 全局安装
33
33
 
34
34
  ```bash
35
+ # npm
35
36
  npm install --global mock-service-cli
36
- # 或
37
+
38
+ # Homebrew (macOS / Linux)
39
+ brew tap chandq/tap
37
40
  brew install mock-service-cli
41
+
42
+ # Scoop (Windows)
43
+ scoop bucket add chandq https://github.com/chandq/scoop-bucket
44
+ scoop install mock-service-cli
45
+
46
+ # Nix (Linux / macOS)
47
+ nix run github:chandq/mock-service-cli -- --help # 临时运行
48
+ nix profile install github:chandq/mock-service-cli # 安装到 profile
38
49
  ```
39
50
 
40
51
  需要 RAR、7z、bzip2、xz 等高级归档格式时,安装 Ultra 版。它与轻量版使用相同的命令,不能同时全局安装:
41
52
 
42
53
  ```bash
43
54
  npm install --global mock-service-cli-ultra
55
+ # Homebrew / Scoop 对应 Ultra 包名:mock-service-cli-ultra
56
+ brew tap chandq/tap && brew install mock-service-cli-ultra
57
+ scoop bucket add chandq https://github.com/chandq/scoop-bucket && scoop install mock-service-cli-ultra
44
58
  ```
45
59
 
46
60
  ### 局部安装
@@ -0,0 +1,2 @@
1
+ @echo off
2
+ node "%~dp0mock-service-cli" %*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mock-service-cli",
3
- "version": "4.7.0",
3
+ "version": "4.8.0",
4
4
  "description": "🦅 Local Mock/Static/SPA server, Http?s request proxy, API overview page, File explorer",
5
5
  "main": "./dist/mockServer.js",
6
6
  "bin": {