pingcode-cli-unofficial 1.8.3 → 1.9.0
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/dist/bin/pingcode.js +179 -379
- package/dist/bin/pingcode.js.map +1 -1
- package/package.json +2 -4
package/README.md
CHANGED
|
@@ -18,15 +18,17 @@ See [Coverage](#coverage-reach-vs-ergonomics) for the per-module split.
|
|
|
18
18
|
|
|
19
19
|
## Install
|
|
20
20
|
|
|
21
|
-
Requires **Node.js >= 20**. The package is published to **npm** as [`pingcode-cli-unofficial`](https://www.npmjs.com/package/pingcode-cli-unofficial). The build bundles the two runtime deps (`commander`, `picocolors`) into `dist/`, so an installed binary needs only Node — no `npm` on the client. A 1.8.1 or 1.8.2 install cannot self-update and must be reinstalled.
|
|
21
|
+
Requires **Node.js >= 20**. The package is published to **npm** as [`pingcode-cli-unofficial`](https://www.npmjs.com/package/pingcode-cli-unofficial). The build bundles the two runtime deps (`commander`, `picocolors`) into `dist/`, so an installed binary needs only Node — no `npm` on the client to *run* it. A 1.8.1 or 1.8.2 install cannot self-update and must be reinstalled.
|
|
22
22
|
|
|
23
|
-
### Via npm
|
|
23
|
+
### Via npm
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
26
|
npm install -g pingcode-cli-unofficial
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
That puts `pingcode` on your `PATH
|
|
29
|
+
That puts `pingcode` on your `PATH`, and it is the only install path. Self-update is
|
|
30
|
+
automatic: the CLI checks npm for new versions on startup and installs them with
|
|
31
|
+
`npm i -g`, so the box needs an `npm` alongside the `node` running the CLI.
|
|
30
32
|
|
|
31
33
|
### From source
|
|
32
34
|
|
|
@@ -40,8 +42,6 @@ npm run build # → dist/bin/pingcode.js
|
|
|
40
42
|
npm link # then just: pingcode --help
|
|
41
43
|
```
|
|
42
44
|
|
|
43
|
-
The one-click installers (`./install.sh`, `.\install.ps1`) still work for source installs, but **npm is the recommended path** for end users.
|
|
44
|
-
|
|
45
45
|
Development commands:
|
|
46
46
|
|
|
47
47
|
```bash
|