chore: migrate to rolldown and remove babel#758
Conversation
- Removed `rollup` and replaced it with `rolldown` bundler. - Removed `@babel/*` dependencies, including `babel-jest` for testing. - Added `ts-jest` for running Jest tests with TypeScript directly. - Updated `npm` dependencies to their latest actual versions. Co-authored-by: georgesmith46 <40513209+georgesmith46@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Co-authored-by: georgesmith46 <40513209+georgesmith46@users.noreply.github.com>
| "declaration": true, | ||
| "declarationMap": true, | ||
| "strict": true, | ||
| "allowJs": true, |
There was a problem hiding this comment.
Why do we need this?
There was a problem hiding this comment.
It's needed because jest uses the source files (.spec.js files) which are plain javascript rather than typescript. If allowJs is set to false, typescript will refuse to parse/type-check JS files which will fail jest tests since we are using ts-jest. I have updated the dependencies properly and re-added allowJs.
Co-authored-by: georgesmith46 <40513209+georgesmith46@users.noreply.github.com>
Migrate to rolldown and update dependencies
PR created automatically by Jules for task 802906917508628586 started by @georgesmith46