Skip to content

chore: centralize @types/node version with pnpm catalog#653

Merged
ankit-thesys merged 1 commit into
thesysdev:mainfrom
Shinyaigeek:chore/centralize-types-node-pnpm-catalog
Jun 15, 2026
Merged

chore: centralize @types/node version with pnpm catalog#653
ankit-thesys merged 1 commit into
thesysdev:mainfrom
Shinyaigeek:chore/centralize-types-node-pnpm-catalog

Conversation

@Shinyaigeek

Copy link
Copy Markdown
Contributor

What

Adds @types/node to the pnpm catalog and references it via the catalog: protocol across all packages.

Why

@types/node versions had drifted across the workspace:

version where
^20 most examples
^22 openui-react-native/backend
^22.12.0 packages/react-ui
^22.15.32 packages/openui-cli
^25.2.3 docs

Unified on ^22.15.32 (Node 22 LTS, already used by the core react-ui / openui-cli packages). docs moves from ^25 down to the LTS line.

This follows the same pattern as the already-merged react (#624), eslint (#634) and typescript (#645) catalog work.

Notes

  • 16 package.json files updated to "@types/node": "catalog:".
  • Lockfile regenerated; catalog resolves to 22.19.19.
  • Pre-existing peer-dependency warnings (openai/zod, vue, nuxt) are unrelated to this change.

🤖 Generated with Claude Code

Add @types/node to the pnpm catalog and reference it via the `catalog:`
protocol across all packages. Previously versions diverged between ^20,
^22, ^22.12.0, ^22.15.32 and ^25.2.3; unify on ^22.15.32 (Node 22 LTS,
already used by the core react-ui / openui-cli packages).

Follows the same pattern as the react/eslint/typescript catalog work.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@ankit-thesys ankit-thesys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
Thank you for your contribution.

@ankit-thesys ankit-thesys merged commit f5e144a into thesysdev:main Jun 15, 2026
1 check passed
vishxrad added a commit that referenced this pull request Jun 15, 2026
#653 centralized @types/node via the pnpm catalog and migrated every workspace project, but examples/langgraph-chat (merged around the same time in #644) was left on "^20". The regenerated lockfile dropped the @types/node@20.x package entry, leaving a dangling 20.19.35 reference for this example that breaks `pnpm install --frozen-lockfile` on every PR.

Switch the example to "@types/node": "catalog:" like the other 12 examples and regenerate the lockfile so it resolves to the catalog's 22.19.19.
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