@fatdoge/wtree 0.1.0 → 0.1.1

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.en.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # wtree
2
2
 
3
- English | [简体中文](./README.md)
3
+ English | [简体中文](https://github.com/FatDoge/wtree/blob/main/README.md)
4
4
 
5
5
  `wtree` is a local tool for managing git worktrees. It runs in an interactive command-line mode by default, and also supports a one-click local UI (TreeLab) for visual management.
6
6
 
@@ -15,14 +15,16 @@ English | [简体中文](./README.md)
15
15
 
16
16
  ## Installation
17
17
 
18
+ Install globally via npm (specify the public registry if you are using a private one):
19
+
18
20
  ```bash
19
- npm install -g wtree
21
+ npm install -g @fatdoge/wtree --registry=https://registry.npmjs.org/
20
22
  ```
21
23
 
22
24
  Or run directly using `npx`:
23
25
 
24
26
  ```bash
25
- npx wtree
27
+ npx --registry=https://registry.npmjs.org/ @fatdoge/wtree
26
28
  ```
27
29
 
28
30
  ## Usage
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # wtree
2
2
 
3
- [English](./README.en.md) | 简体中文
3
+ [English](https://github.com/FatDoge/wtree/blob/main/README.en.md) | 简体中文
4
4
 
5
5
  `wtree` 是一个本地工具,用于管理 git worktree。默认是交互式命令行模式,也支持一键启动 UI 页面 (TreeLab) 进行可视化操作。
6
6
 
@@ -15,16 +15,19 @@
15
15
 
16
16
  ## 安装
17
17
 
18
- 需要本机已安装 `git`,建议 Node.js `>= 18`。
18
+ 可以通过 npm 全局安装(如果使用了私有源,请指定官方源):
19
19
 
20
- 本地软链安装:
21
20
  ```bash
22
- pnpm install
23
- pnpm run build
24
- npm link
21
+ npm install -g @fatdoge/wtree --registry=https://registry.npmjs.org/
22
+ ```
23
+
24
+ 或者直接使用 `npx` 运行:
25
+
26
+ ```bash
27
+ npx --registry=https://registry.npmjs.org/ @fatdoge/wtree
25
28
  ```
26
29
 
27
- ## 快速开始
30
+ ## 运行与使用
28
31
 
29
32
  ### 交互式 CLI
30
33
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fatdoge/wtree",
3
3
  "private": false,
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "CLI + UI tool for managing git worktrees",
6
6
  "keywords": [
7
7
  "git",
@@ -12,6 +12,14 @@
12
12
  ],
13
13
  "author": "fatdoge",
14
14
  "license": "MIT",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/FatDoge/wtree.git"
18
+ },
19
+ "bugs": {
20
+ "url": "https://github.com/FatDoge/wtree/issues"
21
+ },
22
+ "homepage": "https://github.com/FatDoge/wtree#readme",
15
23
  "type": "module",
16
24
  "bin": {
17
25
  "wtree": "dist-node/api/cli/wtree.js"