td-web-cli 0.1.20 → 0.1.21
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 +27 -26
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
- [环境要求](#环境要求)
|
|
10
10
|
- [安装](#安装)
|
|
11
|
-
- [开发](#开发)
|
|
12
11
|
- [使用](#使用)
|
|
12
|
+
- [开发](#开发)
|
|
13
13
|
- [构建](#构建)
|
|
14
14
|
- [发布](#发布)
|
|
15
15
|
- [项目结构](#项目结构)
|
|
@@ -18,16 +18,38 @@
|
|
|
18
18
|
|
|
19
19
|
## 环境要求
|
|
20
20
|
|
|
21
|
-
- Node.js >= 20.
|
|
22
|
-
- npm >= 10.
|
|
23
|
-
- TypeScript >= 5.x
|
|
21
|
+
- Node.js >= 20.18.2(推荐使用 22.x 或更高版本)
|
|
22
|
+
- npm >= 10.8.2
|
|
24
23
|
|
|
25
|
-
>
|
|
24
|
+
> **注意**:部分依赖可能要求更高版本,请根据实际情况调整。
|
|
26
25
|
|
|
27
26
|
---
|
|
28
27
|
|
|
29
28
|
## 安装
|
|
30
29
|
|
|
30
|
+
```bash
|
|
31
|
+
npm i -g td-web-cli
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 使用
|
|
37
|
+
|
|
38
|
+
### 命令行执行
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
td-web-cli
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### 功能说明
|
|
45
|
+
|
|
46
|
+
- 多语言 Excel 转 JSON 工具。[详细功能说明请点击这里](https://github.com/qianyuzzf/td-web-cli/blob/master/docs/i18n/excel2json.md)
|
|
47
|
+
- 节假日查询工具。[详细功能说明请点击这里](https://github.com/qianyuzzf/td-web-cli/blob/master/docs/tools/getHolidayTime.md)
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## 开发
|
|
52
|
+
|
|
31
53
|
1. 克隆仓库
|
|
32
54
|
|
|
33
55
|
```bash
|
|
@@ -41,10 +63,6 @@ cd td-web-cli
|
|
|
41
63
|
npm install
|
|
42
64
|
```
|
|
43
65
|
|
|
44
|
-
---
|
|
45
|
-
|
|
46
|
-
## 开发
|
|
47
|
-
|
|
48
66
|
### 代码结构
|
|
49
67
|
|
|
50
68
|
- `src/` - TypeScript 源代码目录
|
|
@@ -63,23 +81,6 @@ td-web-cli # 确保本机未全局安装该工具
|
|
|
63
81
|
|
|
64
82
|
---
|
|
65
83
|
|
|
66
|
-
## 使用
|
|
67
|
-
|
|
68
|
-
### 命令行执行
|
|
69
|
-
|
|
70
|
-
执行 CLI 工具:
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
td-web-cli
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### 功能说明
|
|
77
|
-
|
|
78
|
-
- 多语言 Excel 转 JSON 工具。[详细功能说明请点击这里](https://github.com/qianyuzzf/td-web-cli/blob/master/docs/i18n/excel2json.md)
|
|
79
|
-
- 节假日查询工具。[详细功能说明请点击这里](https://github.com/qianyuzzf/td-web-cli/blob/master/docs/tools/getHolidayTime.md)
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
84
|
## 构建
|
|
84
85
|
|
|
85
86
|
使用 TypeScript 编译项目:
|