Skip to content

chore(deps): Update @babel/preset-typescript dependency @babel/preset-typescript to v8 - autoclosed - #774

Closed
renovate[bot] wants to merge 1 commit into
devfrom
renovate/major-babel-monorepo
Closed

renovate[bot] wants to merge 1 commit into
devfrom
renovate/major-babel-monorepo

Conversation

@renovate

@renovate renovate Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@babel/preset-typescript (source) ^7.28.5 → ^8.0.0 age confidence

Release Notes

babel/babel (@​babel/preset-typescript)

v8.0.1

Compare Source

💥 Breaking Change
  • babel-core, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-env, babel-standalone

v8.0.0

Compare Source

👓 Spec Compliance
💥 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-register
  • babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime
  • babel-parser
🐛 Bug Fix
  • babel-generator
  • babel-plugin-transform-modules-systemjs
📝 Documentation
🏠 Internal
🏃‍♀️ Performance

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 6am on monday"
  • Automerge
    • At any time (no schedule defined)

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
sleepypod-demo Ignored Ignored Preview Oct 5, 2026 6:53pm UTC

@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ecc1268d-44b7-4909-a127-d26637c73f78

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@renovate
renovate Bot force-pushed the renovate/major-babel-monorepo branch from 1928ab8 to c52ccab Compare October 5, 2026 18:53
@codecov

codecov Bot commented Oct 5, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
4952 1 4951 1
View the full list of 1 ❄️ flaky test(s)
src/demo/tests/coverage.test.ts > demo handlers > cover every procedure the UI calls

Flake rate in main: 100.00% (Passed 0 times, Failed 2 times)

Stack Traces | 0.0264s run time
AssertionError: expected [ 'system.getSensorSource' ] to deeply equal []

- Expected
+ Received

- []
+ [
+   "system.getSensorSource",
+ ]

 ❯ .../demo/tests/coverage.test.ts:45:21

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@ng

ng commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Superseded by #791: @babel/preset-typescript was redundant (next/babel already ships Next's TS preset) and has been removed. The v8 preset can't run on Next.js 16's bundled Babel 7 anyway (crashes on TS enums reading body.members).

@ng ng closed this Oct 8, 2026
@renovate renovate Bot changed the title chore(deps): Update @babel/preset-typescript dependency @babel/preset-typescript to v8 chore(deps): Update @babel/preset-typescript dependency @babel/preset-typescript to v8 - autoclosed Oct 8, 2026
@renovate
renovate Bot deleted the renovate/major-babel-monorepo branch October 8, 2026 06:09
ng added a commit to ng/core that referenced this pull request Oct 10, 2026
…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 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant