Skip to content

chore: centralize vite/tsx/rimraf versions with pnpm catalog#683

Closed
Shinyaigeek wants to merge 1 commit into
thesysdev:mainfrom
Shinyaigeek:chore/catalog-toolchain-vite-tsx-rimraf
Closed

chore: centralize vite/tsx/rimraf versions with pnpm catalog#683
Shinyaigeek wants to merge 1 commit into
thesysdev:mainfrom
Shinyaigeek:chore/catalog-toolchain-vite-tsx-rimraf

Conversation

@Shinyaigeek

Copy link
Copy Markdown
Contributor

What

Centralize three shared dev-toolchain dependencies through the pnpm catalog:

dep catalog range consumers (packages/*)
vite ^6.4.2 react-ui, svelte-lang, vue-lang
tsx ^4.19.2 react-ui
rimraf ^5.0.7 react-ui, openui-cli, browser-bundle

Each consumer now references the version via the catalog: protocol instead of an inline range.

Why

These tools were duplicated across packages with some drift (e.g. vite was ^6.4.2 in react-ui but ^6.0.0 in svelte-lang/vue-lang). Centralizing keeps them aligned in one place, consistent with the already-centralized deps (react, react-dom, @types/*, eslint, typescript, …).

Scope

Following the established convention, only packages/* use the catalog: protocol; examples/*, docs, benchmarks (not a workspace member), and src/templates/* intentionally keep their literal ranges.

Notes

  • Resolved versions are unchanged — pure centralization, no behavioral impact:
    • vite6.4.2
    • tsx4.20.3
    • rimraf5.0.10
  • pnpm install succeeds and pnpm --filter @openuidev/react-ui typecheck passes.

🤖 Generated with Claude Code

Add vite (^6.4.2), tsx (^4.19.2), and rimraf (^5.0.7) to the shared pnpm
catalog and reference them from the workspace packages via the catalog:
protocol:

- vite: react-ui, svelte-lang, vue-lang
- tsx: react-ui
- rimraf: react-ui, openui-cli, browser-bundle

Following the existing convention, only packages/* use catalog:; examples,
docs, and src/templates keep their literal ranges. Resolved versions are
unchanged (vite 6.4.2, tsx 4.20.3, rimraf 5.0.10).

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

Copy link
Copy Markdown
Contributor Author

Splitting this into separate per-dependency PRs (vite / tsx / rimraf) to match the repo's one-dep-per-PR convention.

@Shinyaigeek Shinyaigeek deleted the chore/catalog-toolchain-vite-tsx-rimraf branch June 28, 2026 07:24
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