Skip to content

fix: publish Madrigal under Block npm scope#20

Merged
nahiyankhan merged 1 commit into
mainfrom
codex/fix-release-package-scope
Jun 4, 2026
Merged

fix: publish Madrigal under Block npm scope#20
nahiyankhan merged 1 commit into
mainfrom
codex/fix-release-package-scope

Conversation

@nahiyankhan

Copy link
Copy Markdown
Collaborator

Summary

  • Renames the npm package from the occupied unscoped madrigal name to @block/madrigal.
  • Updates README examples, Changesets docs, and changelog heading to use the scoped package name.
  • Keeps the CLI binary name as madrigal.

Root Cause

The Release workflow reached npm publish --access public --provenance and failed with npm E403 because the unscoped madrigal package already exists on npm under another maintainer. Publishing under @block/madrigal avoids that name collision and matches the GitHub org/repo ownership.

Verification

  • pnpm build
  • npm pack --dry-run --ignore-scripts --access public --cache=/private/tmp/madrigal-npm-cache --loglevel=notice
  • pnpm check
  • pnpm typecheck
  • pnpm test
  • pre-commit hook: biome check .
  • pre-push hook: pnpm vitest run, pnpm biome check ., pnpm tsc --noEmit

Note

The next Release workflow still requires MADRIGAL_NPM_PUBLISH_TOKEN to have publish permission for the @block npm scope.

@nahiyankhan nahiyankhan merged commit 52fb68c into main Jun 4, 2026
4 checks passed
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