Make pi-loop an installable CLI (Phase 1: maintainer-only local install) #25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Package pi-loop so it installs as a real global
pi-loopcommand, mirroring how piitself is packaged (
tsc → dist). Phase 1 is maintainer-only local install vianpm i -g .; publishing to Verdaccio is deferred to Phase 2.See
docs/implementation-plan-installable-cli.mdfor the full plan.Scope (Phase 1)
tsconfig.build.json(outDir: dist),build=tsc -p tsconfig.build.json, keep atypecheckscript.bin→dist/cli.js; shebang →#!/usr/bin/env node; ensuredist/cli.jsis executable.filesallowlist (dist, README); addpreparebuild hook; verify.pi-loop/andsrc/absent vianpm pack --dry-run.install:localscript (build +npm i -g .); keeptsx/npm startdev workflow.Acceptance ("done")
Full end-to-end run of the installed
pi-loop(no tsx/npx) from an unrelated targetrepo against a real/sandbox issue produces a Draft MR. Plus:
npm run buildemitsdist/,npm i -g .succeeds, andnpm pack --dry-runexcludes.pi-loop//src/.Out of scope (Phase 2)
Package scope/name, publish automation (manual vs CI), and Verdaccio
.npmrc/auth.