Files and paths (IAWL ideas 12, 13, 36): resolved --dest, starter refuses links and escaping paths, Office ZIP entries with trailing dots, proxy matcher ends api/admin/_next at /
- iapl-skills: --dest is compared with the project root after resolving links; a folder that is the root or holds it (.., /) is refused - starter: collectBundle refuses symbolic links (their target would ship in the published bundle); writeFiles refuses absolute or escaping paths - form files: a program inside a DOCX/XLSX is found with trailing dots or spaces (Windows drops them) - proxy matcher: (?!(?:api|admin|_next)(?:/|$)|...) so /administracja, /apis get the proxy; doctor rule proxy-matcher reports the old literal - pnpm: @swc/core in ignoredBuiltDependencies (its postinstall only checks the native binary, already installed) Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e821d52d19
commit
498b3dbf38
+1
-1
@@ -528,7 +528,7 @@ No abbreviations (`HeroSection`, not `HeroSec`). Do not create `lib/pages.ts`,
|
||||
|
||||
1. **`proxy.ts`, never `middleware.ts`.** middleware.ts exists → delete it. Proxy:
|
||||
`export const proxy = createProxy(i18nConfig, { NextResponse, markdown: true })`, the matcher
|
||||
as an **inline literal** (`['/((?!api|admin|_next|.*\\..*).*)']`), not an import.
|
||||
as an **inline literal** (`['/((?!(?:api|admin|_next)(?:/|$)|.*\\..*).*)']`), not an import.
|
||||
2. **No explicit `<head>` in the layout.** It pushes metadata into `<body>`.
|
||||
`<MediaPreconnect/>` in `<body>` (React 19 hoists it).
|
||||
3. **ISR:** `export const revalidate = 3600` in `page.tsx`. Refresh after save:
|
||||
|
||||
Reference in New Issue
Block a user