The root .gitignore's bare `dist` pattern matches at any depth, which
was also silently excluding sdk/js/test/dist/ -- a real, hand-written
test suite (cjs.dist.ts/esm.dist.ts/types.dist-d.ts/helpers.ts) that
verifies the published package's actual compiled exports, not build
output. `git log --all` shows zero commits ever touched this path: it
has been untracked since the repo's initial commit, so a fresh clone
(CI, another machine, a contributor) silently never had these tests.
Un-ignore sdk/js/test/dist/ explicitly while leaving the real build
output (sdk/js/dist/) ignored. Also fixed the EXPECTED_VALUE_EXPORTS
list in helpers.ts, which had drifted from src/index.ts's deprecated
OpenTypeSafeClient/OpenTypeSafeError aliases and was failing both dist
tests the moment they actually ran.
This also resolves the "biome: command not found" report from the
2026-11-09 npm publish --dry-run attempt: @biomejs/biome was already a
correct devDependency, the real missing step was `npm install` (never
run that session). Verified live: fresh npm install + npm run check
(lint/typecheck/test:coverage/build/test:dist/check:package) + npm
publish --dry-run all pass clean end to end now.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>