ipal-doctor: find the frontend route group by structure, accept notFoundView.tsx

layout-required no longer assumes src/app/(frontend): any app/(<group>) (or app itself) holding the
catch-all page is the frontend, a localized one first; two candidates give a warning naming both.
notFoundView.ts or .tsx, and the usual extensions for the other required files. New
ipal-doctor.json layout.frontend override and export findFrontend. Reported by Say Diamonds
(1.15.1, route group (site)).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-03 15:00:05 +01:00
co-authored by Claude Opus 5.5
parent a515bd6851
commit b80770bc2e
13 changed files with 154 additions and 45 deletions
+1 -1
View File
@@ -422,7 +422,7 @@ CDN preconnect: `<MediaPreconnect />` (from env). Media: `normalizeFilenameHook`
```
src/
app/
(frontend)/
(frontend)/ # any route group name works ((site) …); ipal-doctor finds it by structure
styles.css # Tailwind + @source on node_modules/@intecion/ipal-kit/dist
[locale]/ # single-language: no [locale] (see i18n.md)
layout.tsx # no <head>; <SiteProviders shell={await getSiteShell(locale)}> + Header/Footer