@donezone/cli 0.1.14 → 0.1.16

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.
Files changed (2) hide show
  1. package/README.md +9 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,7 +12,8 @@ logic outlined in the spec, add supporting modules under `src/`, and extend the
12
12
  Single-file binaries for `@donezone/cli` are built automatically via the
13
13
  `cli-build` job inside `.github/workflows/npm-publish.yml`. Every publishable tag uploads archives for Linux
14
14
  (glibc only, x64 + arm64), macOS (arm64 + x64), and Windows (x64). Each release also includes a `manifest.json`
15
- file used by the installer.
15
+ file used by the installer. After each release, the workflow mirrors all binaries + manifest to the public
16
+ `mccallofthewild/done-cli-binaries` repository so `install.sh` can pull them without authenticating.
16
17
 
17
18
  To install the latest CLI binary without cloning this repo, run:
18
19
 
@@ -21,12 +22,17 @@ curl -fsSL https://raw.githubusercontent.com/mccallofthewild/cw-js/main/packages
21
22
  ```
22
23
 
23
24
  Pass an explicit tag or version (`bash install.sh v0.1.4`) to install a historical build. Set
24
- `DONECLI_BIN_DIR` to override the installation directory.
25
+ `DONECLI_BIN_DIR` to override the installation directory. Point `DONECLI_RELEASE_REPO` at your own public
26
+ releases repository if you mirror binaries elsewhere.
25
27
 
26
28
  ### Publishing binaries
27
29
 
28
30
  Push a tag named `vX.Y.Z` (or run the workflow manually) to build and publish a new set of multi-platform
29
31
  binaries (Linux glibc, macOS, Windows) plus the manifest file. The `.github/workflows/npm-publish.yml` workflow
30
- (jobs `cli-build`/`cli-release`) runs automatically for each such tag push.
32
+ (jobs `cli-build`/`cli-release`) runs automatically for each such tag push and mirrors artifacts to the public
33
+ `mccallofthewild/done-cli-binaries` releases (requires a `CLI_RELEASES_TOKEN` PAT secret so the workflow can
34
+ publish to that repository).
35
+ Make sure the mirror repository has been initialised (e.g. add an empty README and push a `main` branch) before
36
+ running the workflow; GitHub's release API rejects uploads to entirely empty repositories with HTTP 422.
31
37
  Run `bun bump-cli [patch|minor|major]` from the repo root to bump the CLI version, stamp the release commit,
32
38
  and create the tag in one step.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@donezone/cli",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {