Skip to content

Add the @gaffa-dev/cli package skeleton - #1

Merged
DominicFrei merged 2 commits into
mainfrom
gaf-666-cli-skeleton
Jul 22, 2026
Merged

Add the @gaffa-dev/cli package skeleton#1
DominicFrei merged 2 commits into
mainfrom
gaf-666-cli-skeleton

Conversation

@DominicFrei

Copy link
Copy Markdown
Contributor

The CLI package skeleton for GAF-666: @gaffa-dev/cli with --version and --help and nothing else, to prove the npm release path before there is anything to release.

What is in it:

  • TypeScript compiled to dist/cli.js, Node 22 floor.
  • eslint (flat config) and node --test running the built binary.
  • CI matrix across Windows, macOS and Linux: lint, build, test, and npm publish --dry-run on every PR.
  • Publish workflow on a version tag: provenance, plus dist-tags (a prerelease tag goes to next, otherwise latest).

Before the first real publish, not blocking this PR:

  • Add an NPM_TOKEN as a GitHub Actions repo secret, or set up an npm trusted-publisher for @gaffa-dev/cli.
  • The v0.0.1 tag that fires the real publish comes last, after this merges.

Refs GAF-666.

--version and --help only. TypeScript, Node 22 floor, eslint, node --test,
CI across Windows, macOS and Linux, and a publish workflow with provenance
and dist-tags. Proves the release path before there is anything to release.
Comment thread LICENSE Outdated
Comment thread package.json
@DominicFrei
DominicFrei merged commit b548551 into main Jul 22, 2026
6 checks passed
@DominicFrei
DominicFrei deleted the gaf-666-cli-skeleton branch July 22, 2026 08:18
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.

2 participants