coding-config 1.0.1 → 1.0.2
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 +3 -3
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -163,7 +163,7 @@ coding-config status
|
|
|
163
163
|
## 配置仓库结构
|
|
164
164
|
|
|
165
165
|
```
|
|
166
|
-
|
|
166
|
+
coding-configs/
|
|
167
167
|
├── base/ # 基础配置包
|
|
168
168
|
│ ├── commands/
|
|
169
169
|
│ ├── hooks/
|
|
@@ -282,7 +282,7 @@ Change-Id: I<sha1-hash>
|
|
|
282
282
|
|
|
283
283
|
```bash
|
|
284
284
|
# 1. 配置仓库
|
|
285
|
-
coding-config config repo https://github.com/your-org/
|
|
285
|
+
coding-config config repo https://github.com/your-org/coding-configs.git
|
|
286
286
|
|
|
287
287
|
# 2. 如果是 GitHub,配置 Token
|
|
288
288
|
coding-config config github-token ghp_xxx
|
|
@@ -365,7 +365,7 @@ git commit -m "Add project-specific Claude configuration"
|
|
|
365
365
|
```json
|
|
366
366
|
{
|
|
367
367
|
"registeredTeam": "team-a",
|
|
368
|
-
"repoUrl": "https://github.com/your-org/
|
|
368
|
+
"repoUrl": "https://github.com/your-org/coding-configs.git",
|
|
369
369
|
"githubToken": "ghp_xxx",
|
|
370
370
|
"cardId": "icode-5481"
|
|
371
371
|
}
|
package/dist/constants.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Git 仓库地址
|
|
3
3
|
* 使用 SSH 协议,需要配置 SSH 密钥
|
|
4
4
|
*/
|
|
5
|
-
export declare const REPO_URL = "ssh://liumengxin02@icode.baidu.com:8235/baidu/personal-code/
|
|
5
|
+
export declare const REPO_URL = "ssh://liumengxin02@icode.baidu.com:8235/baidu/personal-code/coding-configs";
|
|
6
6
|
/**
|
|
7
7
|
* 本地配置文件路径
|
|
8
8
|
*/
|
package/dist/constants.js
CHANGED
|
@@ -40,7 +40,7 @@ const path = __importStar(require("path"));
|
|
|
40
40
|
* Git 仓库地址
|
|
41
41
|
* 使用 SSH 协议,需要配置 SSH 密钥
|
|
42
42
|
*/
|
|
43
|
-
exports.REPO_URL = 'ssh://liumengxin02@icode.baidu.com:8235/baidu/personal-code/
|
|
43
|
+
exports.REPO_URL = 'ssh://liumengxin02@icode.baidu.com:8235/baidu/personal-code/coding-configs';
|
|
44
44
|
/**
|
|
45
45
|
* 本地配置文件路径
|
|
46
46
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coding-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "CLI tool for managing and syncing coding configurations across teams",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@octokit/rest": "^22.0.1",
|
|
29
|
-
"chalk": "^
|
|
29
|
+
"chalk": "^4.1.2",
|
|
30
30
|
"commander": "^14.0.2",
|
|
31
31
|
"fs-extra": "^11.3.3",
|
|
32
|
-
"inquirer": "^
|
|
33
|
-
"ora": "^
|
|
32
|
+
"inquirer": "^8.2.6",
|
|
33
|
+
"ora": "^5.4.1",
|
|
34
34
|
"simple-git": "^3.30.0",
|
|
35
|
-
"trash": "^
|
|
35
|
+
"trash": "^7.2.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/fs-extra": "^11.0.4",
|