Commit fec6e80
committed
chore(repo): restore the root typecheck script and extend it over stories
The root `typecheck` script (tsc against tsconfig.storybook.json) was
lost in the reset to v1.4.8, leaving packages/*/stories with NO type
checking at all — the per-package tsconfigs include only src/, Storybook
transpiles without checking, and the vitest storybook project runs
pre-built stories. A rename of any src symbol deep-imported by a story
(e.g. devStageTimings' STAGE_MEASURE_PREFIX, consumed by the streaming
profiler) would pass every gate and only surface as a silently-empty
panel at runtime.
Restored and extended: the new tsconfig.storybook.json covers
.storybook/, packages/*/stories (which the pre-reset version never
included), and packages/*/src/typings so the shim declarations
(remark-pangu et al.) resolve for the transitively-checked src imports.1 parent 5d03da0 commit fec6e80
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments