Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/cli/src/utils/parse-project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ export function detectFramework(projectRoot: string): Framework {

// go.mod is a strong, cheap-to-check signal unique to Go — checked before
// the fallback heuristics below so a Gin project never falls through to
// the Laravel default.
if (existsSync(join(projectRoot, "go.mod")) && isGinProject(projectRoot)) return "go"
// the Laravel default. isGinProject also finds a go.mod one directory down
// (api/, server/), as analysis and the MCP server do.
if (isGinProject(projectRoot)) return "go"

// Fallback heuristics
if (existsSync(join(projectRoot, "artisan"))) return "laravel"
Expand Down
Loading