[PR #86] [CLOSED] fix(init): detect src/app as App Router #298

Closed
opened 2026-05-06 12:39:03 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/86
Author: @toddLiao469469
Created: 2/26/2026
Status: Closed

Base: mainHead: fix/src-appdir-detection


📝 Commits (1)

  • 3f55713 fix(init): detect src/app App Router

📊 Changes

2 files changed (+21 additions, -1 deletions)

View changed files

📝 packages/vinext/src/utils/project.ts (+4 -1)
📝 tests/init.test.ts (+17 -0)

📄 Description

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/86 **Author:** [@toddLiao469469](https://github.com/toddLiao469469) **Created:** 2/26/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/src-appdir-detection` --- ### 📝 Commits (1) - [`3f55713`](https://github.com/cloudflare/vinext/commit/3f5571333ffb4309b60cbc9ba326958f94d39320) fix(init): detect src/app App Router ### 📊 Changes **2 files changed** (+21 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/vinext/src/utils/project.ts` (+4 -1) 📝 `tests/init.test.ts` (+17 -0) </details> ### 📄 Description ## 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:39:03 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#298
No description provided.