Skip to content

Use pnpm catalogs for shared dependencies#161

Merged
clavery merged 2 commits into
mainfrom
clavery/pnpm-catalogs
Feb 17, 2026
Merged

Use pnpm catalogs for shared dependencies#161
clavery merged 2 commits into
mainfrom
clavery/pnpm-catalogs

Conversation

@clavery

@clavery clavery commented Feb 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a catalog: section to pnpm-workspace.yaml with 26 shared dependencies (4 production, 22 dev), replacing duplicated inline versions across all 6 package.json files with catalog: references
  • Normalizes 11 version inconsistencies where the same dependency had different specifiers across packages
  • Replaces @tony.ganchev/eslint-plugin-header with the canonical eslint-plugin-header in the SDK package (eslint config + package.json)
  • Adds baseline-browser-mapping override to fix stale-data warning during lint

Test plan

  • Fresh pnpm install succeeds (rm -rf node_modules first)
  • pnpm run test:agent — all 2062 tests pass across SDK, CLI, and MCP
  • pnpm run lint:agent — clean output, no warnings
  • baseline-browser-mapping stale data warning is gone

Centralize 26 shared dependency versions in pnpm-workspace.yaml catalog
and replace inline versions with catalog: references across all packages.

- Add catalog section to pnpm-workspace.yaml (4 prod deps, 22 dev deps)
- Normalize version inconsistencies across packages (11 deps had mismatches)
- Replace @tony.ganchev/eslint-plugin-header with eslint-plugin-header in SDK
- Add baseline-browser-mapping override to fix stale data warning in eslint
@github-actions github-actions Bot added the needs-3pl-review PR introduces net-new third-party dependencies and needs discussion label Feb 17, 2026
@clavery clavery added 3pl-approved Maintainer approved net-new third-party dependency additions and removed needs-3pl-review PR introduces net-new third-party dependencies and needs discussion labels Feb 17, 2026
Document that shared dependencies use pnpm catalogs so contributors
know to update pnpm-workspace.yaml rather than individual package.json files.
@clavery clavery merged commit e5f59a2 into main Feb 17, 2026
4 checks passed
@clavery clavery deleted the clavery/pnpm-catalogs branch February 17, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3pl-approved Maintainer approved net-new third-party dependency additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants