Commit cfa835c
fix: auto-discover embedded sub-projects (Tauri src-tauri, etc.)
When a directory already has a project signature (e.g. svelte.config.js),
also scan its immediate children for additional project signatures.
This catches hybrid projects like Tauri where the frontend (SvelteKit)
and backend (Rust/Cargo.toml) coexist under the same parent directory.
Generic approach: no framework-specific hardcoding — any sub-directory
with a build file (Cargo.toml, package.json, pom.xml, etc.) inside an
already-detected project is added as a separate project entry.
Before: desktop (sveltekit) — Tauri Rust backend silently ignored
After: desktop (sveltekit) + src-tauri (tauri, 162 commands, 39 entities)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3a35afa commit cfa835c
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
268 | 269 | | |
269 | 270 | | |
270 | 271 | | |
| 272 | + | |
271 | 273 | | |
272 | 274 | | |
273 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
274 | 283 | | |
275 | 284 | | |
276 | | - | |
| 285 | + | |
277 | 286 | | |
| 287 | + | |
278 | 288 | | |
279 | 289 | | |
280 | 290 | | |
| |||
0 commit comments