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 🙃 |
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.