chore: centralize vite/tsx/rimraf versions with pnpm catalog#683
Closed
Shinyaigeek wants to merge 1 commit into
Closed
chore: centralize vite/tsx/rimraf versions with pnpm catalog#683Shinyaigeek wants to merge 1 commit into
Shinyaigeek wants to merge 1 commit into
Conversation
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>
Contributor
Author
|
Splitting this into separate per-dependency PRs (vite / tsx / rimraf) to match the repo's one-dep-per-PR convention. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Centralize three shared dev-toolchain dependencies through the pnpm catalog:
packages/*)vite^6.4.2tsx^4.19.2rimraf^5.0.7Each 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.
vitewas^6.4.2in react-ui but^6.0.0in 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 thecatalog:protocol;examples/*,docs,benchmarks(not a workspace member), andsrc/templates/*intentionally keep their literal ranges.Notes
vite→6.4.2tsx→4.20.3rimraf→5.0.10pnpm installsucceeds andpnpm --filter @openuidev/react-ui typecheckpasses.🤖 Generated with Claude Code