grf-cli 1.0.0 → 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 +5 -5
- package/README.zh-CN.md +5 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Git Reference (grf)
|
|
2
2
|
|
|
3
|
-
English | [简体中文](https://github.com/haiyewei/
|
|
3
|
+
English | [简体中文](https://github.com/haiyewei/grf-cli/blob/main/README.zh-CN.md)
|
|
4
4
|
|
|
5
5
|
A lightweight CLI tool for managing reference code from Git repositories. Easily add, load, and sync reference code into your projects without cluttering your main codebase.
|
|
6
6
|
|
|
@@ -23,10 +23,10 @@ A lightweight CLI tool for managing reference code from Git repositories. Easily
|
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
25
|
# Global installation (recommended)
|
|
26
|
-
npm install -g
|
|
26
|
+
npm install -g grf-cli
|
|
27
27
|
|
|
28
28
|
# Or use npx without installation
|
|
29
|
-
npx
|
|
29
|
+
npx grf-cli <command>
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
## Quick Start
|
|
@@ -458,7 +458,7 @@ grf follows a two-stage workflow to manage reference code:
|
|
|
458
458
|
|
|
459
459
|
## License
|
|
460
460
|
|
|
461
|
-
This project is licensed under the MIT License - see the [LICENSE](https://github.com/haiyewei/
|
|
461
|
+
This project is licensed under the MIT License - see the [LICENSE](https://github.com/haiyewei/grf-cli/blob/main/LICENSE) file for details.
|
|
462
462
|
|
|
463
463
|
---
|
|
464
464
|
|
|
@@ -469,7 +469,7 @@ Contributions are welcome! Here's how you can help:
|
|
|
469
469
|
### Getting Started
|
|
470
470
|
|
|
471
471
|
1. Fork the repository
|
|
472
|
-
2. Clone your fork: `git clone https://github.com/your-username/
|
|
472
|
+
2. Clone your fork: `git clone https://github.com/your-username/grf-cli.git`
|
|
473
473
|
3. Install dependencies: `npm install`
|
|
474
474
|
4. Create a feature branch: `git checkout -b feature/your-feature`
|
|
475
475
|
|
package/README.zh-CN.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[English](https://github.com/haiyewei/
|
|
1
|
+
[English](https://github.com/haiyewei/grf-cli/blob/main/README.md) | 简体中文
|
|
2
2
|
|
|
3
3
|
# Git Reference (grf)
|
|
4
4
|
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
25
|
# 全局安装(推荐)
|
|
26
|
-
npm install -g
|
|
26
|
+
npm install -g grf-cli
|
|
27
27
|
|
|
28
28
|
# 或者使用 npx 无需安装
|
|
29
|
-
npx
|
|
29
|
+
npx grf-cli <command>
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
## 快速开始
|
|
@@ -458,7 +458,7 @@ grf 采用两阶段工作流来管理参考代码:
|
|
|
458
458
|
|
|
459
459
|
## 许可证
|
|
460
460
|
|
|
461
|
-
本项目采用 MIT 许可证 - 详见 [LICENSE](https://github.com/haiyewei/
|
|
461
|
+
本项目采用 MIT 许可证 - 详见 [LICENSE](https://github.com/haiyewei/grf-cli/blob/main/LICENSE) 文件。
|
|
462
462
|
|
|
463
463
|
---
|
|
464
464
|
|
|
@@ -469,7 +469,7 @@ grf 采用两阶段工作流来管理参考代码:
|
|
|
469
469
|
### 开始
|
|
470
470
|
|
|
471
471
|
1. Fork 本仓库
|
|
472
|
-
2. 克隆你的 fork:`git clone https://github.com/your-username/
|
|
472
|
+
2. 克隆你的 fork:`git clone https://github.com/your-username/grf-cli.git`
|
|
473
473
|
3. 安装依赖:`npm install`
|
|
474
474
|
4. 创建功能分支:`git checkout -b feature/your-feature`
|
|
475
475
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grf-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A CLI tool for managing Git reference repositories - easily add, load, and sync reference code from any Git repository",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
31
|
-
"url": "git+https://github.com/haiyewei/
|
|
31
|
+
"url": "git+https://github.com/haiyewei/grf-cli.git"
|
|
32
32
|
},
|
|
33
|
-
"homepage": "https://github.com/haiyewei/
|
|
33
|
+
"homepage": "https://github.com/haiyewei/grf-cli#readme",
|
|
34
34
|
"bugs": {
|
|
35
|
-
"url": "https://github.com/haiyewei/
|
|
35
|
+
"url": "https://github.com/haiyewei/grf-cli/issues"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=18.0.0"
|