@hypernewbie/phi-code 0.7.13 → 0.7.15
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 +18 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
## What's in this npm package
|
|
2
|
+
|
|
3
|
+
This npm package is intentionally tiny — it's a **launcher stub**, not the
|
|
4
|
+
full app:
|
|
5
|
+
|
|
6
|
+
```
|
|
7
|
+
package/
|
|
8
|
+
package.json # allowScripts, version, repo metadata
|
|
9
|
+
README.md # this file
|
|
10
|
+
scripts/install.js # downloads the platform-native binary from GitHub releases
|
|
11
|
+
bin/phi # node shim that spawns the downloaded binary
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
The real Go binary, the web UI (including `help.md` and `changelog.md`),
|
|
15
|
+
and all assets live in the GitHub release that `install.js` downloads. The
|
|
16
|
+
binary embeds the `web/` directory via `//go:embed all:web` so it serves
|
|
17
|
+
`help.md` and `changelog.md` directly at runtime — no separate hosting
|
|
18
|
+
needed.
|
|
2
19
|
|
|
3
20
|
## npm v12 install-time security
|
|
4
21
|
|