Commit 2030f79
fix(charts): author missing prop types, regen lockfile, drop transit files
The PR previously imported chart prop types from "../components" but
never declared them — typecheck failed with ~50 errors. This commit
makes the branch buildable end-to-end against current main.
src/components.ts — add chart prop interfaces (CHARTS section):
RenderEngine, ChartType, ChartPoint, ChartSeries, ChartProps,
SparklineProps, DonutSegment, DonutProps, RadialGaugeProps,
UptimeStatus, UptimeCell, UptimeBarProps, TreemapNode, TreemapProps,
ServiceNode, ServiceEdge, ServiceMapProps.
src/charts/Chart.tsx, ServiceMap.tsx, renderer.ts — remove unused
@ts-expect-error directives now that types resolve; cast cytoscape
through unknown for the extension registration; widen CytoElement
fields to overlap with cytoscape's EdgeSingular type.
src/components.d.ts — delete (stale duplicate of components.ts; main
renamed it in b43d802 and the PR branch had reintroduced it).
README.md.bundle — delete (transit artifact, not for git).
pnpm-lock.yaml — regenerate to add the 7 new chart peer-deps
(uplot, d3-hierarchy, d3-force, cytoscape, cytoscape-cose-bilkent,
@deck.gl/core, @deck.gl/layers).
tests/unit/setup.ts — stub ResizeObserver (jsdom doesn't implement
it; charts use it to track container width).
tests/unit/ServiceMap.test.tsx — new smoke test for the headline
chart component.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2308bb9 commit 2030f79
9 files changed
Lines changed: 673 additions & 712 deletions
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | 55 | | |
57 | | - | |
| 56 | + | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
201 | 200 | | |
202 | 201 | | |
203 | | - | |
204 | | - | |
| 202 | + | |
| 203 | + | |
205 | 204 | | |
206 | 205 | | |
207 | | - | |
208 | | - | |
209 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
210 | 209 | | |
211 | 210 | | |
212 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | 97 | | |
99 | | - | |
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
| |||
0 commit comments