mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-11 16:34:02 +01:00
`web-ui-tests` has been red since6714d13and the cause was not a stale dist/: the content is byte-identical. Every one of the 16 files differed only by a trailing newline that tsc does not emit. Where the newline came from: at03bf1edthe subproject config had no exclude, so pre-commit's end-of-file-fixer appended a newline to each generated file.eaa5683added `exclude: ^web_ui/dist/` to stop that recurring, but did not revert the newlines already committed -- leaving a dist/ that no `pnpm build` can ever reproduce, and therefore a job that could never go green. It looked fine locally because `tsc -b` is incremental: with a warm tsconfig.tsbuildinfo it skips emit entirely, so `pnpm build` was a no-op and printed no diff. CI has no cache, always emits, and always failed. Deleting tsbuildinfo reproduces the failure locally in one command. Verified: after deleting tsbuildinfo and all of dist/, a from-scratch `pnpm build` reproduces exactly what is committed here -- `git diff --exit-code -- dist` is clean, which is the assertion CI makes. pnpm lint passes and pnpm coverage is 84 tests, 100% statements/branches/functions. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CFSGeWxHPY5rHUGrPqhcmG
10 lines
422 B
TypeScript
10 lines
422 B
TypeScript
/**
|
|
* The shared web token + component layer.
|
|
*
|
|
* `tokens.css` is not re-exported here — CSS is imported by path:
|
|
* `import "@kuhyx/web-ui/tokens.css";`
|
|
*/
|
|
export { clamp01, fractionFromPointer, nth, quantileValue, valueQuantile } from "./quantile.ts";
|
|
export { RangeSlider, steppedValue, type RangeSliderProps } from "./range-slider.tsx";
|
|
export { fuzzyMatch } from "./text.ts";
|
|
//# sourceMappingURL=index.d.ts.map
|