@@ -35,15 +35,15 @@ func DetectProject(dir string) DetectionResult {
3535 // Read package.json deps early - needed for checks that must precede file-based signals.
3636 earlyDeps := readPackageJSONDeps (dir )
3737
38- // -- 1. Manage.py (Django) — checked before Ionic to prevent monorepo misdetection.
38+ // -- 1. Manage.py (Django) — Checked before Ionic to prevent monorepo misdetection.
3939 if fileExists (dir , "manage.py" ) {
4040 result .Framework = "django"
4141 result .Type = "regular"
4242 result .Detected = true
4343 return result
4444 }
4545
46- // -- 2. Ionic (package.json deps - must check BEFORE angular.json and vite.config) --.
46+ // -- 2. Ionic (package.json deps - Must check BEFORE angular.json and vite.config) --.
4747 if hasDep (earlyDeps , "@ionic/angular" ) {
4848 result .Framework = "ionic-angular"
4949 result .Type = "native"
@@ -80,7 +80,7 @@ func DetectProject(dir string) DetectionResult {
8080 if data , ok := readFileContent (dir , "pubspec.yaml" ); ok {
8181 if strings .Contains (data , "sdk: flutter" ) {
8282 result .Detected = true
83- // android /ios dirs signal native; flutter.web key signals web SPA; default native.
83+ // Android /ios dirs signal native; flutter.web key signals web SPA; default native.
8484 switch {
8585 case dirExists (dir , "android" ) || dirExists (dir , "ios" ):
8686 result .Framework = "flutter"
@@ -99,7 +99,7 @@ func DetectProject(dir string) DetectionResult {
9999 }
100100 }
101101
102- // -- 5. composer. json (PHP) — before vite.config to avoid Laravel misdetection.
102+ // Composer. json (PHP) — Before vite.config to avoid Laravel misdetection.
103103 if data , ok := readFileContent (dir , "composer.json" ); ok {
104104 result .BuildTool = "composer"
105105 result .Type = "regular"
@@ -112,7 +112,7 @@ func DetectProject(dir string) DetectionResult {
112112 return result
113113 }
114114
115- // -- 6. SvelteKit (@sveltejs/kit dep) — before vite.config; only reliable distinguishing signal.
115+ // -- 6. SvelteKit (@sveltejs/kit dep) — Before vite.config; only reliable distinguishing signal.
116116 if hasDep (earlyDeps , "@sveltejs/kit" ) {
117117 result .Framework = "sveltekit"
118118 result .Type = "regular"
@@ -121,7 +121,7 @@ func DetectProject(dir string) DetectionResult {
121121 return result
122122 }
123123
124- // -- 7. nuxt. config.[ts|js] — before vite.config (Nuxt uses Vite internally).
124+ // Nuxt. config.[ts|js] — Before vite.config (Nuxt uses Vite internally).
125125 if fileExistsAny (dir , "nuxt.config.ts" , "nuxt.config.js" ) {
126126 result .Framework = "nuxt"
127127 result .Type = "regular"
@@ -155,7 +155,7 @@ func DetectProject(dir string) DetectionResult {
155155 return result
156156 }
157157
158- // -- 10. svelte.config.[js|ts] — only label as sveltekit when @sveltejs/kit dep is confirmed.
158+ // -- 10. svelte.config.[js|ts] — Only label as sveltekit when @sveltejs/kit dep is confirmed.
159159 if fileExistsAny (dir , "svelte.config.js" , "svelte.config.ts" ) {
160160 framework := "sveltekit"
161161 appType := "regular"
@@ -192,7 +192,7 @@ func DetectProject(dir string) DetectionResult {
192192 }
193193 }
194194
195- // -- 13. Android (native Java/Kotlin) — before Java build files to avoid vanilla-java misdetection.
195+ // -- 13. Android (native Java/Kotlin) — Before Java build files to avoid vanilla-java misdetection.
196196 // Excludes React Native projects which also have AndroidManifest.xml in a sub-project.
197197 if fileExists (dir , filepath .Join ("app" , "src" , "main" , "AndroidManifest.xml" )) && ! hasDep (earlyDeps , "react-native" ) {
198198 result .Framework = "android"
@@ -203,7 +203,7 @@ func DetectProject(dir string) DetectionResult {
203203 return result
204204 }
205205
206- // -- 14. iOS Swift — .xcodeproj or Package.swift (excludes Vapor server-side Swift).
206+ // -- 14. iOS Swift — .xcodeproj or Package.swift (Excludes Vapor server-side Swift).
207207 if hasXcodeprojDir (dir ) || (fileExists (dir , "Package.swift" ) && ! isVaporSwiftPackage (dir )) {
208208 result .Framework = "ios-swift"
209209 result .Type = "native"
@@ -258,7 +258,7 @@ func DetectProject(dir string) DetectionResult {
258258 }
259259 }
260260
261- // -- 19. Package.json dep scanning (lowest priority) --
261+ // -- 19. Package.json dep scanning (Lowest priority) --
262262 // Note: Ionic deps are already handled above (step 2).
263263 if len (earlyDeps ) > 0 {
264264 candidates := collectPackageJSONCandidates (earlyDeps )
0 commit comments