Skip to content

fix(init): detect src/app as App Router#86

Closed
toddLiao469469 wants to merge 1 commit intocloudflare:mainfrom
toddLiao469469:fix/src-appdir-detection
Closed

fix(init): detect src/app as App Router#86
toddLiao469469 wants to merge 1 commit intocloudflare:mainfrom
toddLiao469469:fix/src-appdir-detection

Conversation

@toddLiao469469
Copy link
Copy Markdown
Contributor

Summary

  • align hasAppDir with Next.js by checking both app/ and src/app/
  • add regression test in tests/init.test.ts for src/app projects

Testing

  • pnpm exec vitest run tests/init.test.ts

Align hasAppDir detection with Next.js by checking both app/ and src/app. Add regression test to ensure init treats src/app projects as App Router and installs App Router deps.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@toddLiao469469 toddLiao469469 deleted the fix/src-appdir-detection branch February 26, 2026 03:18
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.

1 participant