Skip to content

feat: publish to npm as ai-forms - #6

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/npm-publishable
Aug 15, 2026
Merged

feat: publish to npm as ai-forms#6
github-actions[bot] merged 1 commit into
mainfrom
feat/npm-publishable

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Why

The package was installable only via a git URL under a private @fleet scope — unusable by anyone outside the fleet, invisible to registry search. The name ai-forms is free on npm.

What

  • Rename @fleet/ai-formsai-forms (package.json, lockfile, README)
  • Add the MIT LICENSE file that package.json already claimed
  • Add .github/workflows/publish.yml: tag-driven, npm provenance, gated on npm run verify and on the tag matching package.json version
  • README rewritten for a stranger: provider-agnostic complete example (was an internal Groq helper), real install line, badges

Verification

  • npm run verify — build clean, 14/14 tests pass
  • npm pack --dry-run — 16.2 kB, 21 files, dist/ only, name ai-forms

One thing this PR cannot do

Publishing needs an NPM_TOKEN repo secret. Until it exists the workflow will fail at the final step. Everything before it is green.

🤖 Generated with Claude Code

The package was installable only via a git URL under a private `@fleet`
scope, which made it unusable by anyone outside this fleet and invisible
to search. `ai-forms` was free on the registry, so take it.

- rename `@fleet/ai-forms` -> `ai-forms` (package, lockfile, README, docs)
- add the MIT LICENSE file the package.json already claimed
- add a tag-driven publish workflow with provenance, gated on `verify`
  and on the tag matching package.json (a mismatched tag fails loudly
  instead of shipping the wrong version)
- make the README readable by someone who has never seen this fleet:
  provider-agnostic `complete` example instead of an internal Groq
  helper, real install line, badges

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions
github-actions Bot merged commit 2a8be0f into main Aug 15, 2026
1 check passed
@github-actions
github-actions Bot deleted the feat/npm-publishable branch August 15, 2026 09:48
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