Skip to content

v1.1.2: stray src/app heuristic

Choose a tag to compare

@skibidiskib skibidiskib released this 25 Apr 12:41
· 24 commits to master since this release

Stray src/app/ leftover no longer masks the real app/

v1.1.1 unconditionally preferred src/app/ over app/. Any project with both a stray src/app/page.tsx (e.g., from old scaffolding) and a populated root app/ got the stray picked, dropping all the real routes and pages.

v1.1.2 replaces that with a count-based heuristic: walk each candidate (src/app, app), count up to 5 router files, prefer the higher count, with a stable tie-break to src/app per Next.js convention.

Notes

  • This release supersedes v1.1.1, which is deprecated.
  • For Pages Router support, see v1.1.3.

🤖 This release was prepared and verified by Claude Code.