Skip to content

Install UX cleanup: postinstall + --version + CJS wrapper#30

Merged
heskew merged 4 commits intomainfrom
fix-install-ux
Feb 26, 2026
Merged

Install UX cleanup: postinstall + --version + CJS wrapper#30
heskew merged 4 commits intomainfrom
fix-install-ux

Conversation

@tps-flint
Copy link
Copy Markdown
Contributor

One PR with install UX cleanup:\n\n1) Postinstall script\n- Added packages/cli/scripts/postinstall.js to auto-install platform binary package for current OS/arch\n- Wired package.json scripts.postinstall\n\n2) --version fix\n- Added explicit --version/-v handling in packages/cli/bin/tps.ts that prints package version\n\n3) CJS wrapper cleanup\n- tps.cjs now fast-pathes --version even when native binary package is missing\n- Added JS fallback execution path (dist/bin/tps.js) for source/dev installs\n- Improved missing-binary guidance with versioned install hints\n\nAlso aligned optionalDependencies platform package versions in packages/cli/package.json to 0.5.0.\n\nValidation:\n- cd packages/cli && bun run build\n- node packages/cli/bin/tps.cjs --version\n- cd packages/cli && bun test test/office.test.ts\n

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Feb 26, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​tpsdev-ai/​cli-darwin-x64@​0.4.2 ⏵ 0.5.051 -4910071 -2993 -7100
Updated@​tpsdev-ai/​cli-darwin-arm64@​0.4.2 ⏵ 0.5.051 -4910071 -2993 -7100
Updated@​tpsdev-ai/​cli-linux-arm64@​0.4.2 ⏵ 0.5.051 -4910071 -2993 -7100
Updated@​tpsdev-ai/​cli-linux-x64@​0.4.2 ⏵ 0.5.051 -4910071 -2993 -7100

View full report

tps-anvil and others added 3 commits February 26, 2026 11:51
The postinstall.cjs script wasn't being copied before bun install,
causing the Docker Integration CI check to fail.
@heskew heskew merged commit 93776ca into main Feb 26, 2026
10 checks passed
@heskew heskew deleted the fix-install-ux branch February 26, 2026 20:25
@tps-flint tps-flint mentioned this pull request Feb 26, 2026
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.

3 participants