@hermespilot/link 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.md +2 -22
- package/dist/chunk-4CDHEW3J.js +1257 -0
- package/dist/chunk-4CDHEW3J.js.map +1 -0
- package/dist/cli/index.js +301 -97
- package/dist/cli/index.js.map +1 -1
- package/dist/http/app.js +2 -236
- package/dist/http/app.js.map +1 -1
- package/package.json +2 -3
- package/scripts/check-node-version.mjs +42 -8
- package/scripts/postinstall.mjs +30 -2
- package/dist/chunk-YTX3DQGX.js +0 -255
- package/dist/chunk-YTX3DQGX.js.map +0 -1
package/README.md
CHANGED
|
@@ -27,6 +27,8 @@ hermeslink doctor
|
|
|
27
27
|
|
|
28
28
|
`hermeslink pair` requires HermesPilot Server and Relay to be available. The terminal side does not ask for a HermesPilot account; the App must be logged in before it scans or claims a pairing session.
|
|
29
29
|
|
|
30
|
+
CLI output follows the current system language when it is Chinese or English. You can override it for a single command with `HERMESLINK_LANG=zh-CN` or `HERMESLINK_LANG=en`.
|
|
31
|
+
|
|
30
32
|
## Runtime data
|
|
31
33
|
|
|
32
34
|
Hermes Link keeps its local identity and runtime state under:
|
|
@@ -36,25 +38,3 @@ Hermes Link keeps its local identity and runtime state under:
|
|
|
36
38
|
```
|
|
37
39
|
|
|
38
40
|
Uninstalling the npm package does not remove this directory, so the same Link ID can be reused after reinstalling.
|
|
39
|
-
|
|
40
|
-
## Publish
|
|
41
|
-
|
|
42
|
-
This package is published as a public scoped npm package:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
npm publish --access public
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Before publishing, run:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
npm run release -- --version 0.1.1 --no-publish
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
The release script syncs `package.json`, `package-lock.json`, and `src/constants.ts`, then runs type checks, tests, and an npm pack dry run. To publish through the script, use `--publish` explicitly:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
npm run release -- --version 0.1.1 --publish
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
The package command is always `hermeslink`; there is no `hermes-link` alias.
|