Skip to content

Conversation

@lars-hagen
Copy link
Contributor

@lars-hagen lars-hagen commented Oct 1, 2025

This PR restores the original full pattern **/*.{jsx,tsx,js,ts,mjs,mts} for code-inspector and fixes Next.js 16 Turbopack configuration warnings.

Background

The original pattern was restricted in two previous PRs due to a Turbopack middleware crash bug:

The Turbopack crash bug was fixed in Next.js 15.6.0-canary.22, but 15.6.0 was never released as stable. Next.js jumped from 15.5.6 directly to 16.0.0 (Oct 22, 2025).

What This PR Does

  1. Restores full pattern: Returns to **/*.{jsx,tsx,js,ts,mjs,mts} to properly cover all project files
  2. Fixes Next.js 16 warnings: Removes unrecognized enforce keys that cause config warnings in Next.js 16
  3. Updates demo: Upgraded to Next.js 16.0.1
  4. Renames demo folder: turbopack-next15turbopack-next to avoid version number maintenance

Testing

Tested with Next.js 16.0.1 - no warnings, full file coverage restored.

@lars-hagen lars-hagen marked this pull request as ready for review October 1, 2025 11:17
@zh-lx
Copy link
Owner

zh-lx commented Oct 2, 2025

Thank you for your PR, I believe this PR can be merged after the official release of NextJS 15.6.0.

@lars-hagen lars-hagen changed the title fix: restore full pattern after Next.js 15.6 Turbopack fix fix: restore full pattern + fix Next.js 16 Turbopack warnings Nov 4, 2025
@lars-hagen
Copy link
Contributor Author

lars-hagen commented Nov 4, 2025

Updated this PR for Next.js 16!

Next.js 15.6.0 was never released as stable - Vercel jumped from 15.5.6 directly to 16.0.0 (Oct 22, 2025).

Changes:

  • Demo updated to Next.js 16.0.1
  • Fixes the enforce key warnings in Turbopack config
  • Demo folder renamed to turbopack-next (no more version number maintenance)

This is now ready to merge with full Next.js 16 support!

Copy link
Owner

@zh-lx zh-lx left a comment

Choose a reason for hiding this comment

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

LGTM!

@zh-lx zh-lx merged commit 6ad2559 into zh-lx:main Nov 6, 2025
1 check passed
@zh-lx
Copy link
Owner

zh-lx commented Nov 6, 2025

Thanks for your PR! It's awesome.

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.

2 participants