Skip to content

Merge upstream Modern.js updates - #9

Open
BleedingDev wants to merge 11 commits into
main-ultramodernfrom
automation/modern-js-update-20260702
Open

Merge upstream Modern.js updates#9
BleedingDev wants to merge 11 commits into
main-ultramodernfrom
automation/modern-js-update-20260702

Conversation

@BleedingDev

Copy link
Copy Markdown
Owner

Summary

  • merge latest upstream origin/main through e32d4e6 into the UltraModern branch line
  • keep UltraModern TypeScript/native-preview choices while taking upstream dependency bumps and docs/test updates
  • add the upstream Node < 22.18 runtime .ts fixture loader in scripts/rstest-config

Verification

  • pnpm exec biome check scripts/rstest-config/setup.ts scripts/rstest-config/ts-strip-loader.mjs
  • commit amend ran lint-staged/biome on staged files

Note: main-ultramodern is checked out in another local worktree, so this update is prepared on automation/modern-js-update-20260702.

renovate Bot and others added 11 commits June 29, 2026 12:15
…ra-dev#8731)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: caohuilin <caohuilin@bytedance.com>
…#8733)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: caohuilin <caohuilin@bytedance.com>
)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: caohuilin <caohuilin@bytedance.com>
…b-infra-dev#8730)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: caohuilin <caohuilin@bytedance.com>
…] (main) (web-infra-dev#8723)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: caohuilin <caohuilin@bytedance.com>
…rity] (main) (web-infra-dev#8722)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: caohuilin <caohuilin@bytedance.com>
…in) (web-infra-dev#8729)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…update-20260702

# Conflicts:
#	benchmark/bundle-diff/package.json
#	packages/cli/adapter-rstest/package.json
#	packages/cli/plugin-bff/package.json
#	packages/cli/plugin-data-loader/package.json
#	packages/cli/plugin-styled-components/package.json
#	packages/runtime/plugin-i18n/package.json
#	packages/runtime/plugin-image/package.json
#	packages/runtime/plugin-runtime/package.json
#	packages/server/bff-runtime/package.json
#	packages/server/create-request/package.json
#	packages/toolkit/create/package.json
#	packages/toolkit/plugin/package.json
#	packages/toolkit/sandpack-react/package.json
#	scripts/prebundle/package.json
#	scripts/rslib/package.json
#	scripts/rstest-config/setup.ts
#	tests/integration/image-component/package.json
#	tests/package.json
@semanticdiff-com

semanticdiff-com Bot commented Jul 2, 2026

Copy link
Copy Markdown

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 59aa20eb97

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +19 to +22
if (
!process.features.typescript &&
typeof nodeModule.stripTypeScriptTypes === 'function'
) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Cover Node 20 in the TS fixture fallback

The repo still allows Node >=20, but this guard only installs the hooks when module.stripTypeScriptTypes exists, which is only available on newer Node 22+ releases. On Node 20/22.0-22.12, process.features.typescript is false and stripTypeScriptTypes is undefined, so the newly added server setup silently does nothing; packages/server/server/src/helpers/mock.ts then dynamically imports tests/fixtures/mock/*/config/mock/index.ts and still hits Node's unknown .ts extension. Please add a real fallback transformer for those supported Node versions or narrow the supported test/runtime gate.

Useful? React with 👍 / 👎.

BleedingDev added a commit that referenced this pull request Jul 13, 2026
…#9)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
BleedingDev added a commit that referenced this pull request Jul 13, 2026
…Sol r3 #5 #9)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants