@yizhuan-cli/cli 0.1.7 → 0.1.8

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
@@ -7,13 +7,13 @@
7
7
  需要 Node.js 22 或更高版本。
8
8
 
9
9
  ```bash
10
- npm install -g @yizhuan-cli/cli@0.1.7
10
+ npm install -g @yizhuan-cli/cli@0.1.8
11
11
  ```
12
12
 
13
13
  如果发布在私有 npm registry,请加上对应 registry:
14
14
 
15
15
  ```bash
16
- npm install -g @yizhuan-cli/cli@0.1.7 --registry=https://your-private-registry.example
16
+ npm install -g @yizhuan-cli/cli@0.1.8 --registry=https://your-private-registry.example
17
17
  ```
18
18
 
19
19
  ## 配置
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yizhuan-cli/cli",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "易撰命令行工具,用于通过 API Key 查询易撰真实数据。",
5
5
  "private": false,
6
6
  "type": "module",
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "name": "yizhuan-cli",
4
- "version": "0.1.7",
5
- "compatibleCliVersion": "0.1.7",
6
- "source": "npm:@yizhuan-cli/cli@0.1.7",
4
+ "version": "0.1.8",
5
+ "compatibleCliVersion": "0.1.8",
6
+ "source": "npm:@yizhuan-cli/cli@0.1.8",
7
7
  "digestAlgorithm": "sha256",
8
8
  "files": [
9
9
  {
package/src/doctor.js CHANGED
@@ -52,9 +52,9 @@ export function inspectLocalEnvironment(
52
52
  ? check('pass', 'node', `Node.js ${nodeVersion} 满足 >=${minimumNode}`)
53
53
  : check('fail', 'node', `Node.js ${nodeVersion} 不满足 ${packageJson.engines?.node || '版本要求'}`, `安装 Node.js ${minimumNode || 22} 或更高版本。`))
54
54
 
55
- checks.push(packageJson.version === '0.1.7'
55
+ checks.push(packageJson.version === '0.1.8'
56
56
  ? check('pass', 'cli_version', `CLI ${packageJson.version}`)
57
- : check('fail', 'cli_version', `CLI 版本为 ${packageJson.version},预期 0.1.7`, '安装 @yizhuan-cli/cli@0.1.7。'))
57
+ : check('fail', 'cli_version', `CLI 版本为 ${packageJson.version},预期 0.1.8`, '安装 @yizhuan-cli/cli@0.1.8。'))
58
58
 
59
59
  if (!exists(configPath)) {
60
60
  checks.push(check('fail', 'config', `配置不存在:${configPath}`, '运行 yizhuan config init。'))