Skip to content

Commit d206f06

Browse files
committed
refactor(config): 重命名包名为 zcf 并更新相关引用
1 parent 4590057 commit d206f06

6 files changed

Lines changed: 31 additions & 31 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pnpm test
2020

2121
## 项目架构
2222

23-
这是一个 Claude Code 零配置工具 (ZCC - Zero-config Claude Code),用于自动化配置 Claude Code 的工作环境。
23+
这是一个 Claude Code 零配置工具 (ZCF - Zero-Config Claude-Code Flow),用于自动化配置 Claude Code 的工作环境。
2424

2525
### 核心组件
2626

@@ -58,8 +58,8 @@ pnpm test
5858

5959
### 发布流程
6060

61-
作为 npm 包 `zcc`,支持 npx 直接执行:
62-
- bin 入口:`bin/zcc.mjs`
61+
作为 npm 包 `zcf`,支持 npx 直接执行:
62+
- bin 入口:`bin/zcf.mjs`
6363
- 发布文件:dist、bin、templates
6464

6565
## 代码规范

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ZCC - Zero-config Claude Code
1+
# ZCF - Zero-Config Claude-Code Flow
22

33
**中文** | [English](README_EN.md)
44

@@ -7,7 +7,7 @@
77
## 🚀 快速开始
88

99
```bash
10-
npx zcc
10+
npx zcf
1111
```
1212

1313
运行后会自动:
@@ -30,7 +30,7 @@ npx zcc
3030
> - feat 和 workflow 这两套各有优势,可以都试试比较一下
3131
> - 生成的文档位置默认都是项目根目录下的 `.claude/xxx.md`,可以把 `.claude/` 加入项目的 `.gitignore`
3232
33-
## ZCC 工具特性
33+
## ZCF 工具特性
3434

3535
### 🌏 双语支持
3636
- 脚本交互语言:控制安装过程的提示语言
@@ -64,7 +64,7 @@ npx zcc
6464
### 交互式配置流程
6565

6666
```bash
67-
$ npx zcc
67+
$ npx zcf
6868

6969
? Select script language / 选择脚本语言:
7070
❯ 简体中文
@@ -115,16 +115,16 @@ $ npx zcc
115115

116116
```bash
117117
# 指定配置语言
118-
npx zcc --config-lang zh-CN
118+
npx zcf --config-lang zh-CN
119119

120120
# 强制覆盖现有配置
121-
npx zcc --force
121+
npx zcf --force
122122

123123
# 跳过 Claude Code 安装检测
124-
npx zcc --skip-install
124+
npx zcf --skip-install
125125

126126
# 帮助信息
127-
npx zcc --help
127+
npx zcf --help
128128
```
129129

130130
## 📁 项目结构
@@ -134,7 +134,7 @@ claude-code-config/
134134
├── README.md # 说明文档
135135
├── package.json # npm 包配置
136136
├── bin/
137-
│ └── zcc.mjs # CLI 入口
137+
│ └── zcf.mjs # CLI 入口
138138
├── src/ # 源代码
139139
│ ├── cli.ts # CLI 主逻辑
140140
│ ├── commands/ # 命令实现
@@ -200,7 +200,7 @@ pnpm install
200200
pnpm build
201201

202202
# 本地测试
203-
node bin/zcc.mjs
203+
node bin/zcf.mjs
204204
```
205205

206206
## 💡 最佳实践
@@ -213,7 +213,7 @@ node bin/zcc.mjs
213213

214214
如果遇到问题,可以:
215215

216-
1. 重新运行 `npx zcc` 重新配置
216+
1. 重新运行 `npx zcf` 重新配置
217217
2. 检查 `~/.claude/` 目录下的配置文件
218218
3. 确保 Claude Code 已正确安装
219219

README_EN.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ZCC - Zero-config Claude Code
1+
# ZCF - Zero-Config Claude-Code Flow
22

33
[中文](README.md) | **English**
44

@@ -7,7 +7,7 @@
77
## 🚀 Quick Start
88

99
```bash
10-
npx zcc
10+
npx zcf
1111
```
1212

1313
The tool will automatically:
@@ -30,7 +30,7 @@ After configuration:
3030
> - Both feat and workflow have their advantages, try both to compare
3131
> - Generated documents are located by default at `.claude/xxx.md` in project root, you can add `.claude/` to your project's `.gitignore`
3232
33-
## ZCC Tool Features
33+
## ZCF Tool Features
3434

3535
### 🌏 Bilingual Support
3636
- Script interaction language: Controls installation prompts language
@@ -64,7 +64,7 @@ After configuration:
6464
### Interactive Configuration Flow
6565

6666
```bash
67-
$ npx zcc
67+
$ npx zcf
6868

6969
? Select script language / 选择脚本语言:
7070
❯ 简体中文
@@ -115,16 +115,16 @@ $ npx zcc
115115

116116
```bash
117117
# Specify configuration language
118-
npx zcc --config-lang zh-CN
118+
npx zcf --config-lang zh-CN
119119

120120
# Force overwrite existing configuration
121-
npx zcc --force
121+
npx zcf --force
122122

123123
# Skip Claude Code installation check
124-
npx zcc --skip-install
124+
npx zcf --skip-install
125125

126126
# Help information
127-
npx zcc --help
127+
npx zcf --help
128128
```
129129

130130
## 📁 Project Structure
@@ -134,7 +134,7 @@ claude-code-config/
134134
├── README.md # Documentation
135135
├── package.json # npm package configuration
136136
├── bin/
137-
│ └── zcc.mjs # CLI entry point
137+
│ └── zcf.mjs # CLI entry point
138138
├── src/ # Source code
139139
│ ├── cli.ts # CLI main logic
140140
│ ├── commands/ # Command implementations
@@ -200,7 +200,7 @@ pnpm install
200200
pnpm build
201201

202202
# Local testing
203-
node bin/zcc.mjs
203+
node bin/zcf.mjs
204204
```
205205

206206
## 💡 Best Practices
@@ -213,7 +213,7 @@ node bin/zcc.mjs
213213

214214
If you encounter issues:
215215

216-
1. Re-run `npx zcc` to reconfigure
216+
1. Re-run `npx zcf` to reconfigure
217217
2. Check configuration files in `~/.claude/` directory
218218
3. Ensure Claude Code is properly installed
219219

File renamed without changes.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "zcc",
2+
"name": "zcf",
33
"type": "module",
44
"version": "1.0.0",
55
"packageManager": "pnpm@9.0.0",
6-
"description": "Zero-config Claude Code - One-click configuration tool for Claude Code",
6+
"description": "Zero-Config Claude-Code Flow - One-click configuration tool for Claude Code",
77
"license": "MIT",
88
"homepage": "https://github.com/UfoMiao/claude-code-config#readme",
99
"repository": {
@@ -14,7 +14,7 @@
1414
"module": "dist/index.mjs",
1515
"types": "dist/index.d.mts",
1616
"bin": {
17-
"zcc": "bin/zcc.mjs"
17+
"zcf": "bin/zcf.mjs"
1818
},
1919
"files": [
2020
"dist",
@@ -26,7 +26,7 @@
2626
"build": "unbuild",
2727
"typecheck": "tsc",
2828
"prepublishOnly": "npm run build",
29-
"test": "npm run build && node bin/zcc.mjs"
29+
"test": "npm run build && node bin/zcf.mjs"
3030
},
3131
"dependencies": {
3232
"@posva/prompts": "^2.4.4",
@@ -50,7 +50,7 @@
5050
"cli",
5151
"setup",
5252
"zero-config",
53-
"zcc",
53+
"zcf",
5454
"anthropic",
5555
"ai",
5656
"automation",

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import cac from 'cac'
33
import { version } from '../package.json'
44
import { init } from './commands/init'
55

6-
const cli = cac('zcc')
6+
const cli = cac('zcf')
77

88
cli
99
.command('[lang]', 'Initialize Claude Code configuration')

0 commit comments

Comments
 (0)