Commit 0ca64a1
Update dependency typescript to v6 (#796)
* Update dependency typescript to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Re-baseline tsconfig from fresh Docusaurus scaffold
Silences the baseUrl deprecation warning via ignoreDeprecations
and enables strict mode, matching what a fresh Docusaurus 3.10
scaffold produces.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Fix sidebars.ts type error from JSON-imported CRD sidebar
TypeScript infers JSON import fields as widened strings, so
crdSidebar.type was "string" instead of "category". That made
the whole sidebar array fail to match SidebarItemConfig[] and
cascaded into bogus errors on every bare doc-ID string.
Cast the imported JSON to the extracted item type to break
the cascade. The type is derived from SidebarsConfig so it
stays accurate without importing from internal paths.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Fix type errors in custom components for TS 6
- mcp-metadata-plugin: narrow caught error with instanceof Error
before reading .message (TS 6 defaults catches to unknown).
- CRDReference: cast JSON-imported schemas to the minimal Schema
interface; the upstream JSON carries extra x-kubernetes-* fields
that don't structurally match.
- HubSpotForm: declare window.hbspt via a global interface and
switch to property access.
- Admonition/Types: pass the now-required type prop to
AdmonitionLayout.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d35a9ad commit 0ca64a1
9 files changed
Lines changed: 42 additions & 13 deletions
File tree
- plugins/mcp-metadata-plugin
- src
- src
- components
- CRDReference
- HubSpotForm
- theme/Admonition
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 | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | | - | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
30 | 48 | | |
31 | 49 | | |
32 | 50 | | |
| |||
46 | 64 | | |
47 | 65 | | |
48 | 66 | | |
49 | | - | |
| 67 | + | |
50 | 68 | | |
51 | 69 | | |
52 | 70 | | |
| |||
55 | 73 | | |
56 | 74 | | |
57 | 75 | | |
58 | | - | |
| 76 | + | |
59 | 77 | | |
60 | 78 | | |
61 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | | - | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
0 commit comments