Skip to content

feat(publish): support registry priority configuration#132

Merged
Tecvan-fe merged 1 commit into
mainfrom
feat/support-registry-config
Jan 7, 2026
Merged

feat(publish): support registry priority configuration#132
Tecvan-fe merged 1 commit into
mainfrom
feat/support-registry-config

Conversation

@Tecvan-fe

Copy link
Copy Markdown
Collaborator
  • Remove hardcoded DEFAULT_NPM_REGISTRY constant
  • Add resolveRegistry utility to handle registry resolution with priority: CLI parameter > package.json publishConfig.registry > npm config
  • Update GitHub Actions workflows to configure npm auth tokens
  • Add comprehensive unit tests for registry resolution
  • Update related type definitions to make registry optional
  • Fix eslint errors: extract magic number constant and fix type assertion

🤖 Generated with Claude Code

- Remove hardcoded DEFAULT_NPM_REGISTRY constant
- Add resolveRegistry utility to handle registry resolution with priority:
  CLI parameter > package.json publishConfig.registry > npm config
- Update GitHub Actions workflows to configure npm auth tokens
- Add comprehensive unit tests for registry resolution
- Update related type definitions to make registry optional
- Fix eslint errors: extract magic number constant and fix type assertion

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@Tecvan-fe
Tecvan-fe enabled auto-merge January 7, 2026 13:00
@Tecvan-fe
Tecvan-fe added this pull request to the merge queue Jan 7, 2026
Merged via the queue into main with commit 7ad925f Jan 7, 2026
11 checks passed
@Tecvan-fe
Tecvan-fe deleted the feat/support-registry-config branch January 7, 2026 13:02
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