@zzclub/z-cli 0.7.0 → 0.7.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +45 -6
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v0.7.1
5
+
6
+ [compare changes](https://github.com/aatrooox/z-cli/compare/v0.7.0...v0.7.1)
7
+
8
+ ### 📖 Documentation
9
+
10
+ - 更新说明 ([459c72f](https://github.com/aatrooox/z-cli/commit/459c72f))
11
+
12
+ ### ❤️ Contributors
13
+
14
+ - Aatrox <gnakzz@qq.com>
15
+
4
16
  ## v0.7.0
5
17
 
6
18
  [compare changes](https://github.com/aatrooox/z-cli/compare/v0.6.2...v0.7.0)
package/README.md CHANGED
@@ -2,10 +2,6 @@
2
2
 
3
3
  **这是一个效率类命令行工具, 为了解决工作中或个人开发过程中的重复或繁琐问题**
4
4
 
5
- node >= 18.18.0
6
-
7
- 推荐版本(我的):`20.18.1`
8
-
9
5
  ## 功能一览
10
6
 
11
7
  - `i18n`: 提取 `.vue` 文件中的 `i18n` 语法
@@ -20,15 +16,58 @@
20
16
  **特别注意:**
21
17
  **tiny命令不再支持和picgo联动, 仅支持压缩后,自动替换一下md文件里的图片链接, 之后的操作可以用obsidian里的插件[image auto upload Plugin]完成~~**
22
18
 
23
-
24
19
  ## 安装
25
20
 
26
- `1.0.0` 之前的版本都为不稳定版本
21
+ > 对于不擅长nodejs的使用者更推荐使用 `bun`
22
+
23
+ ### Node
24
+
25
+ 使用 `nvm` 管理多个 `node` 版本
26
+
27
+ `node >= 18.18.0`
28
+
29
+ 推荐版本(我的):`20.18.1`
30
+
31
+ 查看 `registry` (非必要步骤)
32
+
33
+ ```bash
34
+ npm config get registry
35
+ # https://registry.npmjs.org
36
+ # 如果不是,则需要先设置
37
+ npm config set registry=https://registry.npmjs.org
38
+ ```
39
+
40
+ 安装最新版
27
41
 
28
42
  ```shell
29
43
  npm i -g @zzclub/z-cli
30
44
  ```
31
45
 
46
+ 安装后只能在当前 `node` 版本下使用,切换到其他低版本 `node` 则无效
47
+
48
+ 全局命令为:`zz` 或 `z`
49
+
50
+ ### Bun
51
+
52
+ macos
53
+ ```bash
54
+ curl -fsSL https://bun.sh/install | bash
55
+ ```
56
+
57
+ wind
58
+ ```bash
59
+ powershell -c "irm bun.sh/install.ps1 | iex"
60
+ ```
61
+
62
+ 安装最新版
63
+
64
+ ```shell
65
+ bun i -g @zzclub/z-cli
66
+ ```
67
+
68
+ **如果提示缺少某个包**,可以按提示再次运行相关命令
69
+
70
+
32
71
  ## i18n 规则说明
33
72
 
34
73
  ### 文件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zzclub/z-cli",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "all-in-one 工具箱,专为提升日常及工作效率而生",
5
5
  "main": "src/index.js",
6
6
  "type": "module",