Skip to content

PAT-free standalone release tarball and install script - #25

Merged
R-Dson merged 1 commit into
mainfrom
fork/standalone
Aug 23, 2026
Merged

R-Dson merged 1 commit into
mainfrom
fork/standalone

Conversation

@R-Dson

@R-Dson R-Dson commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Resolves #24 (asset + URL-install verification happens with the next release trigger).

  • `scripts/fork-standalone-package.mjs`: derives a self-contained `@r-dson/pi-standalone` package from the coding-agent build — the bundle already inlines every workspace package, so dependencies are coding-agent's non-workspace entries verbatim (public npmjs only; no curated list to maintain). Ships the same file set as the upstream npm package (`dist`, `docs`, `examples`, `CHANGELOG.md` — the CLI reads themes/export templates/assets package-relative at runtime; a bundle-only tarball would crash at startup, caught in review), minus the shrinkwrap. Packs to a stable `pi-fork.tgz`.
  • Workflow attaches `pi-fork.tgz` to each release (`--clobber` for re-runs) and the notes carry the one-line installs.
  • `scripts/install-fork.sh` (curl|sh): validates npm/curl, accepts `v`-prefixed versions, downloads the release tarball, `npm install -g --ignore-scripts`.

Install with zero configuration and zero GitHub auth:
```
npm install -g https://github.com/R-Dson/pi/releases/latest/download/pi-fork.tgz

or

curl -fsSL https://raw.githubusercontent.com/R-Dson/pi/main/scripts/install-fork.sh | sh
```
GitHub Packages stays as the secondary channel for library-style use of the individual `@r-dson/*` packages (PAT required there).

14/14 script tests; `npm run check` clean.

This PR description is AI-generated.

…ll script

Each fork release now attaches a self-contained pi-fork.tgz to the GitHub
Release. scripts/fork-standalone-package.mjs derives @r-dson/pi-standalone
mechanically from coding-agent's manifest (non-workspace deps verbatim) and
packs the release bundle; scripts/install-fork.sh provides the curl | sh
path. Docs make standalone the primary install and GitHub Packages the
secondary library channel.
@R-Dson
R-Dson merged commit d0bdf1e into main Aug 23, 2026
1 check passed
@R-Dson
R-Dson deleted the fork/standalone branch August 23, 2026 17:45
R-Dson added a commit that referenced this pull request Aug 31, 2026
R-Dson added a commit that referenced this pull request Sep 4, 2026
…arball with vendored deps, fork-aware self-update (#22, #23, #25, #26, #27, #28, #36, #37, #97, #98, #151)

Squash of the fork's packaging, publishing, install, and self-update work
onto upstream history.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PAT-free standalone install tarball + curl|sh install script (GitHub-only)

1 participant