chore(chore): capitalize step 2 decisions, learning and journal
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
ci / check (push) Canceled after 0s
ci / docker (push) Canceled after 0s
This commit is contained in:
1 parent
49596022c9
commit
ab8451210b
3 files changed
+36
No files matched your search
@@ -259,3 +259,11 @@ Apply: never `export PATH=…` in Bash tool (denied); call `corepack pnpm`. Pin
|
||||
Untestable seams (click chain inside route, PDF text) pinned without touching src: render route in MemoryRouter + mock `@/anatomy/svgLoader` to parse real files, dispatch bubbling click on `[data-anno-id]`; `vi.spyOn(PDFPage.prototype,'drawText')` captures every drawn string (pdf-lib has no extractor); attachment dicts via `doc.context.enumerateIndirectObjects()` + `String(obj)` (object streams hide names from raw bytes). Standalone HTML tool: slice functions by text markers, `new Function(src)` → parity test.
|
||||
Trap: store set outside React then click = stale closure; drive state through UI (collapse card) and `waitFor`.
|
||||
Apply: any "tests before migration" step on untested legacy code.
|
||||
|
||||
---
|
||||
|
||||
## LRN-034 | 2026-10-08 | pnpm 10.13 reads onlyBuiltDependencies, not allowBuilds
|
||||
|
||||
`allowBuilds` key in pnpm-workspace.yaml = pnpm ≥10.14 syntax; 10.13.1 ignores it silently → "Ignored build scripts: @swc/core, esbuild" on every install. Fix: `onlyBuiltDependencies` list. Warning persists until `pnpm rebuild` (state cached in node_modules/.modules.yaml), then disappears.
|
||||
Also: root scripts calling `pnpm -r` fail under `corepack pnpm` (shim not on child PATH) → pin pnpm as root devDependency.
|
||||
Apply: any pnpm 10.x workspace; check `pnpm --version` vs key syntax before trusting a silent config.
|
||||
Reference in new issue
Block a user