pnpm typecheck fails on a clean checkout of origin/main in both javascript/ and docs/:
$ cd javascript && pnpm typecheck
> tsc --noEmit
error TS2688: Cannot find type definition file for 'yauzl'.
The file is in the program because:
Entry point for implicit type library 'yauzl'
ELIFECYCLE Command failed with exit code 2.
Same error in docs/. Verified on an untouched worktree at origin/main with git status --porcelain empty, immediately after pnpm install --frozen-lockfile.
yauzl is not a direct dependency of either workspace. It arrives transitively, and because neither tsconfig sets an explicit types array, TypeScript walks every @types/* in the hoisted node_modules and tries to load @types/yauzl, whose own package is not fully present. The usual fixes are to add an explicit "types": [...] to the tsconfig so the implicit sweep stops, or to add @types/yauzl so the entry point resolves.
pnpm build succeeds in both, so this is typecheck only.
Found while verifying #873. That PR does not cause it and does not fix it; noting here so the failure is not attributed to it on review.
pnpm typecheckfails on a clean checkout oforigin/mainin bothjavascript/anddocs/:Same error in
docs/. Verified on an untouched worktree atorigin/mainwithgit status --porcelainempty, immediately afterpnpm install --frozen-lockfile.yauzlis not a direct dependency of either workspace. It arrives transitively, and because neither tsconfig sets an explicittypesarray, TypeScript walks every@types/*in the hoistednode_modulesand tries to load@types/yauzl, whose own package is not fully present. The usual fixes are to add an explicit"types": [...]to the tsconfig so the implicit sweep stops, or to add@types/yauzlso the entry point resolves.pnpm buildsucceeds in both, so this is typecheck only.Found while verifying #873. That PR does not cause it and does not fix it; noting here so the failure is not attributed to it on review.