Skip to content

feat: migrate all dependencies to pnpm catalog#81

Merged
lollipop-onl merged 1 commit into
mainfrom
migrate-to-pnpm-catalog
Mar 12, 2026
Merged

feat: migrate all dependencies to pnpm catalog#81
lollipop-onl merged 1 commit into
mainfrom
migrate-to-pnpm-catalog

Conversation

@lollipop-onl
Copy link
Copy Markdown
Collaborator

@lollipop-onl lollipop-onl commented Mar 12, 2026

Summary

  • Centralize all external dependency versions using pnpm catalog in pnpm-workspace.yaml
  • Replace inline version ranges with "catalog:" protocol across all package.json files
  • Switch release workflow from npm publish to pnpm publish to ensure catalog: is resolved during publishing
  • Fix valibot version inconsistency (packages/config had ^1.0.0, others had ^1.2.0)
  • Document catalog convention in AGENTS.md (use pnpm add --save-catalog)

Test plan

  • pnpm install succeeds with regenerated lockfile
  • pnpm run build succeeds for all packages
  • pnpm run test passes all 720 tests across 115 files
  • Verify release workflow dry-run works with pnpm publish

🤖 Generated with Claude Code

Centralize dependency version management using pnpm catalog protocol.
All external dependency versions are now defined in the catalog section
of pnpm-workspace.yaml, and package.json files reference them via
"catalog:" instead of inline version ranges.

This also fixes a version inconsistency where packages/config had
valibot ^1.0.0 while all other packages used ^1.2.0.

Additionally, switch release workflow from npm publish to pnpm publish
to ensure catalog: protocol is properly resolved during publishing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lollipop-onl lollipop-onl added the enhancement New feature or request label Mar 12, 2026
@lollipop-onl lollipop-onl self-assigned this Mar 12, 2026
@github-actions
Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 92.12% 1826 / 1982
🔵 Statements 92.22% 1898 / 2058
🔵 Functions 90.2% 396 / 439
🔵 Branches 78.49% 814 / 1037
File CoverageNo changed files found.
Generated in workflow #394 for commit eb12a82 by the Vitest Coverage Report Action

@lollipop-onl lollipop-onl merged commit 74f95fb into main Mar 12, 2026
7 checks passed
@lollipop-onl lollipop-onl deleted the migrate-to-pnpm-catalog branch March 12, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant