Skip to content

Convert install-command to TypeScript#16

Merged
camacho merged 2 commits into
mainfrom
ts-install-command
Jul 5, 2026
Merged

Convert install-command to TypeScript#16
camacho merged 2 commits into
mainfrom
ts-install-command

Conversation

@camacho

@camacho camacho commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Wave-A TypeScript conversion (engines pilot pattern): exhaustive Client = 'npm' | 'yarn' | 'pnpm' | 'bun' union, typed installMappings table (values verified byte-identical to main), dist packaging + prepack, changeset minor.

Logic byte-for-byte vs main — all recently-shipped behavior (bun/pnpm detection, global-flag handling) preserved and covered by its 5 tests. One TS-narrowing accommodation adjudicated referentially identical (Object.keys(pkgPeers) — const alias of the same object). Reviewer P2 recorded (redundant as unknown as string cast — cosmetic).

Validation: typecheck + lint + prettier clean · workspace tests green · tarball gate incl. consumer-typecheck (compile AND runtime consumer run) · node example.ts exit 0 · docs idempotent (md5 ×2) · code-reviewed (APPROVE)

@camacho camacho merged commit f70f084 into main Jul 5, 2026
2 checks passed
@camacho camacho deleted the ts-install-command branch July 5, 2026 20:49
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.

1 participant