Skip to content

Add standalone npm distribution for the CLI - #5

Merged
alihd-tech merged 10 commits into
mainfrom
feature/npm-cli-distribution
Sep 21, 2026
Merged

alihd-tech merged 10 commits into
mainfrom
feature/npm-cli-distribution

Conversation

@alihd-tech

Copy link
Copy Markdown
Owner

CLI distribution

  • generates a dependency-free npm package in dist/npm
  • ships only the CLI plus shared core, GitHub client, and report renderer
  • supports npx code-life-balance
  • validates package execution and npm pack --dry-run in CI
  • prepares version 1.2.0

Secure publishing

  • adds a manual publish-npm-cli.yml workflow
  • checks out the exact matching GitHub tag
  • uses Node 24
  • uses npm trusted publishing through GitHub OIDC
  • stores no long-lived npm publish token

Bootstrap note

The first npm publish still requires an npm maintainer with 2FA because npm trusted-publisher configuration can only be attached after the package exists. After that one bootstrap publication, the GitHub OIDC workflow handles future releases.

@vercel

vercel Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
coder Ready Ready Preview Sep 21, 2026 7:52pm UTC

@alihd-tech
alihd-tech merged commit 1f4a5dc into main Sep 21, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 63f3ec4c Deployed Sep 21, 2026 by vercel[bot]
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