chore: update @vitejs/plugin-react to 6.0.0#1002
chore: update @vitejs/plugin-react to 6.0.0#1002juliusmarminge merged 4 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@rolldown/plugin-babel imports types from @babel/core, which doesn't ship its own types. Without @types/babel__core in the lockfile, CI's frozen install skipped it, causing Pick<any, K> to produce required fields in PluginOptions.
|
we can close #999 right? this has the commits from that PR already? |
@juliusmarminge yeah, they were stacked but because I'm working on a fork I'm not allowed to stack for real 🙃 |
Upstream features: - Selective file staging in commit dialog (pingdotgg#872) - Compact Codex tool-call icons in chat timeline (pingdotgg#988) - Replace worktree toggle with Select dropdown (pingdotgg#1001) - Timestamp format override setting (pingdotgg#855) - Preferred editor resolver + useLocalStorage helper (pingdotgg#662) - Extract reusable clipboard hook and media queries (pingdotgg#1006) - Default thread env mode setting (pingdotgg#892) - Block image uploads during plan mode (pingdotgg#621) Upstream bug fixes: - Prompt editor + Plan mode cursor fixes (pingdotgg#867) - Composer @file autocomplete cursor/spacing bugs (pingdotgg#936) - Diff panel unclosable after retainSearchParams (pingdotgg#937) - Fix agent response duration always 1ms (pingdotgg#866) - Defer diff worker startup until diff opens (pingdotgg#934) - Fix new-thread shortcuts when terminal focused (pingdotgg#984) - PlanSidebar memory leak fix (pingdotgg#949) - WebSocket error logging (pingdotgg#948) - Desktop "Check for Updates" dialog (pingdotgg#955) - macOS logo alignment fix (pingdotgg#960) Upstream tooling: - Upgrade oxfmt/oxlint versions (pingdotgg#1010) - Update @vitejs/plugin-react to 6.0.0 (pingdotgg#1002) - Upgrade marketing app to Astro 6 (pingdotgg#1005) Conflict resolutions: - workspaceEntries.ts: kept our zortos-ported fuzzy search (better ranked insertion) over upstream's pingdotgg#256 - appSettings.ts: merged our display settings with upstream's timestamp format and env mode settings - MessagesTimeline.tsx: merged our showCommandOutput gating with upstream's compact tool-call icons - DiffPanel.tsx: fixed duplicate useAppSettings import - open.test.ts: added missing node:fs/os/path imports for new test
* remove triggers * feat: replace worktree toggle with discoverable Select dropdown (pingdotgg#1001) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(desktop): show dialog after "Check for Updates" menu action (pingdotgg#955) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> * chore: Upgrade marketing app to Astro 6 (pingdotgg#1005) * feat(github): add issue templates for automatic triage (pingdotgg#896) * Actions dialog: autofocus script-name field (pingdotgg#912) * chore: update actions/checkout and actions/github-script (pingdotgg#956) Co-authored-by: Julius Marminge <julius0216@outlook.com> * Add Antigravity to supported editors in Open menu (macOS, Windows, and Linux) (pingdotgg#841) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix: block image uploads during plan mode questions (pingdotgg#621) * chore: update @vitejs/plugin-react to 6.0.0 (pingdotgg#1002) * fix(web): defer diff worker startup until diff opens (pingdotgg#934) Co-authored-by: Julius Marminge <julius0216@outlook.com> * Extract reusable clipboard hook and standardize media queries (pingdotgg#1006) Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com> Co-authored-by: codex <codex@users.noreply.github.com> Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com> * Upgrade oxfmt and oxlint tooling versions (pingdotgg#1010) * chore: regenerate bun.lock after upstream cherry-picks Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Add compact Codex tool-call icons and details to the chat timeline (pingdotgg#988) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat: Allow Overriding Timestamp Format in Settings (pingdotgg#855) * fix(web): add default thread env mode setting (pingdotgg#892) Co-authored-by: Julius Marminge <julius0216@outlook.com> * Fix mod+N new thread flow and terminal split limits - ensure `chat.new` creates a fresh draft after a promoted draft thread - enforce terminal cap per split group (4) while allowing additional terminal groups - refine sidebar row selected/active styling via shared class-name logic and tests * Fix new-thread shortcuts when terminal is focused - move chat-wide key handling into `_chat` route-level shortcut handler - extract reusable `useHandleNewThread` hook and `isTerminalFocused` helper - update browser WS fixture to support `terminalOpen` RPC shape * fix: remove duplicate ChatRouteGlobalShortcuts from cherry-pick merge Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: composer @file autocomplete cursor and spacing bugs (pingdotgg#936) * fix(web): resolve preferred editor from available editors & introduce `useLocalStorage` helper (pingdotgg#662) Co-authored-by: Julius Marminge <julius0216@outlook.com> * refactor: mover isToolLifecycleItemType para shared/providerRuntime e remover duplicação --------- Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Zortos <zortosdev@proton.me> Co-authored-by: dpav02 <dpav02@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Jono Kemball <Noojuno@users.noreply.github.com> Co-authored-by: 0x1f99d <crazywolf132@gmail.com> Co-authored-by: Vitor Buzinaro <funny.hc@gmail.com> Co-authored-by: Adam Naji <110662505+Bashamega@users.noreply.github.com> Co-authored-by: WilgotM <wilgot10@yahoo.com> Co-authored-by: (CJ) Chukwudi Nwobodo <142016413+chuks-qua@users.noreply.github.com> Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com> Co-authored-by: codex <codex@users.noreply.github.com> Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com> Co-authored-by: Hugo Blom <6117705+huxcrux@users.noreply.github.com> Co-authored-by: Magnus Buvarp <magnus.buvarp@gmail.com>
* remove triggers * feat: replace worktree toggle with discoverable Select dropdown (pingdotgg#1001) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(desktop): show dialog after "Check for Updates" menu action (pingdotgg#955) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> * chore: Upgrade marketing app to Astro 6 (pingdotgg#1005) * feat(github): add issue templates for automatic triage (pingdotgg#896) * Actions dialog: autofocus script-name field (pingdotgg#912) * chore: update actions/checkout and actions/github-script (pingdotgg#956) Co-authored-by: Julius Marminge <julius0216@outlook.com> * Add Antigravity to supported editors in Open menu (macOS, Windows, and Linux) (pingdotgg#841) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix: block image uploads during plan mode questions (pingdotgg#621) * chore: update @vitejs/plugin-react to 6.0.0 (pingdotgg#1002) * fix(web): defer diff worker startup until diff opens (pingdotgg#934) Co-authored-by: Julius Marminge <julius0216@outlook.com> * Extract reusable clipboard hook and standardize media queries (pingdotgg#1006) Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com> Co-authored-by: codex <codex@users.noreply.github.com> Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com> * Upgrade oxfmt and oxlint tooling versions (pingdotgg#1010) * chore: regenerate bun.lock after upstream cherry-picks Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Add compact Codex tool-call icons and details to the chat timeline (pingdotgg#988) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat: Allow Overriding Timestamp Format in Settings (pingdotgg#855) * fix(web): add default thread env mode setting (pingdotgg#892) Co-authored-by: Julius Marminge <julius0216@outlook.com> * Fix mod+N new thread flow and terminal split limits - ensure `chat.new` creates a fresh draft after a promoted draft thread - enforce terminal cap per split group (4) while allowing additional terminal groups - refine sidebar row selected/active styling via shared class-name logic and tests * Fix new-thread shortcuts when terminal is focused - move chat-wide key handling into `_chat` route-level shortcut handler - extract reusable `useHandleNewThread` hook and `isTerminalFocused` helper - update browser WS fixture to support `terminalOpen` RPC shape * fix: remove duplicate ChatRouteGlobalShortcuts from cherry-pick merge Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: composer @file autocomplete cursor and spacing bugs (pingdotgg#936) * fix(web): resolve preferred editor from available editors & introduce `useLocalStorage` helper (pingdotgg#662) Co-authored-by: Julius Marminge <julius0216@outlook.com> * refactor: mover isToolLifecycleItemType para shared/providerRuntime e remover duplicação * Add global favorite model toggle in provider picker - persist a single favorite provider/model in app settings - use favorite model as default for new local draft chats - add star toggle UI in model picker with toast feedback - cover favorite read/toggle behavior with app settings tests * fix: validate provider in FavoriteModelSchema to prevent crash Use Schema.Literals instead of Schema.String for the provider field in FavoriteModelSchema, ensuring invalid provider values from localStorage are rejected at the schema level. Add runtime guard in getFavoriteModel as defense-in-depth. Remove unsafe `as ProviderKind` casts in appSettings.ts and ChatView.tsx. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Zortos <zortosdev@proton.me> Co-authored-by: dpav02 <dpav02@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Jono Kemball <Noojuno@users.noreply.github.com> Co-authored-by: 0x1f99d <crazywolf132@gmail.com> Co-authored-by: Vitor Buzinaro <funny.hc@gmail.com> Co-authored-by: Adam Naji <110662505+Bashamega@users.noreply.github.com> Co-authored-by: WilgotM <wilgot10@yahoo.com> Co-authored-by: (CJ) Chukwudi Nwobodo <142016413+chuks-qua@users.noreply.github.com> Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com> Co-authored-by: codex <codex@users.noreply.github.com> Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com> Co-authored-by: Hugo Blom <6117705+huxcrux@users.noreply.github.com> Co-authored-by: Magnus Buvarp <magnus.buvarp@gmail.com>
REQUIRES #999 (stacked on top but unable to actually target it with a PR in this repo, so we're targeting main)
What Changed
Updates
@vitejs/plugin-reactto 6.0.0 with the Vite 8 release.I had to specifically configure the ts and jsx parsers in babel options due to some quirks with how the babel parser was working by default with our
packages/directory.Why
Aiming to try help keep the packages up to date here.
This isn't a required change as the old plugin still supports Vite 8 so we could definitely shelve it for now, but I was updating other stuff so I wanted to raise this too.
Checklist
Note
Update
@vitejs/plugin-reactto 6.0.0 and migrate Babel config to@rolldown/plugin-babel@vitejs/plugin-reactfrom^5.1.4to^6.0.0andvitefrom^8.0.0-beta.12to^8.0.0in bothapps/web/package.jsonand the rootpackage.json.react()plugin and into a standalonebabel()call (via@rolldown/plugin-babel) invite.config.ts, with explicit TypeScript and JSX parser options.package.jsonimport invite.config.tsfrom a namedversionexport to a defaultpkgimport;APP_VERSIONis now sourced viapkg.version.Macroscope summarized 275387c.