Repository navigation
chore(deps): Update @babel/preset-typescript dependency @babel/preset-typescript to v8 - autoclosed - #774
chore(deps): Update @babel/preset-typescript dependency @babel/preset-typescript to v8 - autoclosed#774renovate[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
…-typescript to v8
1928ab8 to
c52ccab
Compare
❌ 1 Tests Failed:
View the full list of 1 ❄️ flaky test(s)
To view more test analytics, go to the Test Analytics Dashboard |
|
Superseded by #791: |
…l 8 (sleepypod#791) ## Summary Removes the explicit `['@babel/preset-typescript', { isTSX: true, allExtensions: true }]` entry from `babel.config.js` and drops `@babel/preset-typescript` from devDependencies. - `next/babel` already ships Next's own TypeScript preset, so the extra entry was redundant. - Renovate sleepypod#774 bumps the preset to v8. Babel 8's TS transform can't run on the Babel 7 bundled inside Next 16; it crashes on enums (`body.members`). Removing the preset unblocks that, so this PR supersedes sleepypod#774. Other consumers checked: - vitest uses `@rolldown/plugin-babel`, which passes `configFile: false` and sets its own TS/TSX parser overrides. - The Lingui CLI extractor passes `configFile: false`. - Stryker uses vitest plus its own instrumenter. Next's build is the only thing that loads `babel.config.js`. No first-party `.js`/`.mjs` file contains TS syntax, so nothing needs `allExtensions`. ## Test plan - [x] `pnpm build` (runs prebuild `lingui compile` + `next build`): passes - [x] Lingui macro still transforms: the built `HealthcheckDemo` chunk renders `Trans` with `id:"9RckBe"`, and no built `.js` imports `@lingui/*/macro` - [x] `./node_modules/.bin/vitest run`: 317 files, 5524 passed, 1 skipped - [x] `./node_modules/.bin/tsc --noEmit`: clean - [x] `./node_modules/.bin/eslint .`: 0 errors (1 existing warning in `stryker.config.mjs`) - [x] `pnpm lingui:extract`: runs. The resulting `.po` diff is existing catalog drift unrelated to this change, so it is not committed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated the build configuration. This change does not add or remove any user-facing features, and no changes to app behavior are described in this update. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- sleepypod:install-start --> <!-- 🛑 AUTO-GENERATED — sleepypod-bot owns this block. Hello fellow agent / curious human! Anything between the sleepypod:install-start and sleepypod:install-end markers gets overwritten on the next CI run. Want to change what's here? Edit .github/workflows/build.yml instead. 💤 --> <details open> <summary>🛏️ <strong>Beam this PR onto a sleepypod</strong> ✨</summary> Pick the snippet that matches your pod. **Already-installed pods can't use the curl bootstraps below** — sleepypod's egress firewall DROPs github.com, and the script that knows how to unblock WAN is the very file curl is trying to fetch. Use `sp-update` instead; it's on disk and opens WAN as its first step. 🔄 **Already on a sleepypod** (most common — review a PR on a running pod): ```bash sudo sp-update chore/drop-babel-preset-typescript ``` 🚀 **Fresh pod / first install** — bootstraps from GitHub, rebuilds every push: ```bash curl -fsSL https://raw.githubusercontent.com/sleepypod/core/chore/drop-babel-preset-typescript/scripts/install \ | sudo bash -s -- --branch chore/drop-babel-preset-typescript ``` 🎯 **Pin to this exact build** ([run 37734959534](https://github.com/sleepypod/core/actions/runs/37734959534) · `aed9d69`) — fresh-pod path, locked to one CI artifact for reproducible review: ```bash curl -fsSL https://raw.githubusercontent.com/sleepypod/core/aed9d69c7a6b7ff6c3e8a5a912a286e875bfaff3/scripts/install \ | sudo bash -s -- \ --branch chore/drop-babel-preset-typescript \ --artifact-url 'https://nightly.link/sleepypod/core/actions/runs/37734959534/sleepypod-core.zip' ``` 🧊 Artifact: [`sleepypod-core`](https://github.com/sleepypod/core/actions/runs/37734959534/artifacts/11531556529) · self-destructs in 30 days 💥 </details> <!-- sleepypod:install-end -->
This PR contains the following updates:
^7.28.5→^8.0.0Release Notes
babel/babel (@babel/preset-typescript)
v8.0.1Compare Source
💥 Breaking Change
babel-core,babel-plugin-transform-object-rest-spread,babel-plugin-transform-runtime,babel-preset-env,babel-standalonepreset-env'suseBuiltIns(@nicolo-ribaudo)v8.0.0Compare Source
👓 Spec Compliance
babel-core💥 Breaking Change
babel-cli,babel-node,babel-plugin-proposal-decorators,babel-plugin-transform-classes,babel-plugin-transform-function-name,babel-plugin-transform-modules-commonjs,babel-plugin-transform-object-rest-spread,babel-plugin-transform-parameters,babel-plugin-transform-react-constant-elements,babel-plugin-transform-regenerator,babel-preset-env,babel-registermodules: auto(@nicolo-ribaudo)babel-plugin-transform-runtime,babel-runtime-corejs3,babel-runtime@babe/runtime-corejs3(@liuxingbaoyu)babel-parserlocations: "packed"(@liuxingbaoyu)🐛 Bug Fix
babel-generatorbabel-plugin-transform-modules-systemjs📝 Documentation
🏠 Internal
🏃♀️ Performance
babel-coreConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.