npm release readiness

TypeMCP publishes one public npm organization package: @theorvane/type-mcp. Its Fetch-compatible HTTP entry point is the @theorvane/type-mcp/http subpath. Repository visibility and npm package visibility remain separate controls.

Trusted publication from main

  1. In npm package settings, configure a Trusted Publisher for package @theorvane/type-mcp with GitHub repository Theorvane/type-mcp, workflow filename .github/workflows/publish.yml, and environment npm.

  2. Do not create an npm token or repository npm secret. The workflow receives npm identity through GitHub Actions OIDC and publishes with provenance.

  3. Make a reviewed version change on dev; npm versions are immutable and must not already exist in the registry.

  4. Promote that reviewed dev head to main through the protected release PR. The publish.yml workflow verifies the package, publishes once, then creates annotated v<version> tag and a GitHub Release from the exact main SHA.

  5. Run the repository checks and inspect the generated tarball:

    npm ci
    npm run lint
    npm run typecheck
    npm test
    npm run verify:package
    npm run verify:publish
    

Safety controls

Safety controls in this repository