This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Commit 158d75b
docs(auth): compile every README snippet against the shipped surface (#8189)
Burns down the `packages/auth/README.md` row of `UNGATED_DOCS` in
`scripts/check-doc-snippet-types.mjs`: the page's ten `tsx` fences now
compile in the gate's covered tier instead of being ledgered.
Census on the base, with the gate's own analyzer, matched the ledger row
exactly (17 = 1 parse + 15 TS2304 + 1 TS2741). Re-measured after adding
only the missing import lines and `declare` stand-ins, the real debt is
2 TS2741, both the same defect: `AuthProviderOptions.authUrl` is
required and the Quick Start omitted it. The second one was hidden --
an unresolved `AuthProvider` tag suppresses the prop check on its own
element.
- Every continuation fence gets its own import line and typed bindings
(`declare const X: () => ReactNode`) for the names it uses.
- The three-form fence parsed as one JSX expression (TS2657); the
elements are now separate statements. Measured: it hid no prop defect.
- `authUrl` added beside `client` in the two `AuthProvider` examples --
the spelling every call site in this repository already writes,
including `skills/objectui/guides/auth-permissions.md`.
- No type was widened, no fragment marker added, no `src/` file touched.
Part of #5174 (batch 28)
Claude-Session: https://claude.ai/code/session_01FhBNJcLRZLe8M87VcUgpKr
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0c8dbc4 commit 158d75b
2 files changed
Lines changed: 45 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
64 | 75 | | |
65 | | - | |
| 76 | + | |
66 | 77 | | |
67 | 78 | | |
68 | 79 | | |
69 | 80 | | |
70 | 81 | | |
71 | 82 | | |
72 | 83 | | |
| 84 | + | |
| 85 | + | |
73 | 86 | | |
74 | 87 | | |
75 | 88 | | |
| |||
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
103 | 121 | | |
104 | 122 | | |
105 | | - | |
| 123 | + | |
106 | 124 | | |
107 | 125 | | |
108 | 126 | | |
109 | 127 | | |
110 | 128 | | |
111 | 129 | | |
112 | 130 | | |
113 | | - | |
114 | | - | |
115 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
116 | 138 | | |
117 | 139 | | |
118 | 140 | | |
119 | 141 | | |
120 | 142 | | |
121 | 143 | | |
122 | 144 | | |
123 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
124 | 148 | | |
125 | 149 | | |
126 | 150 | | |
| |||
129 | 153 | | |
130 | 154 | | |
131 | 155 | | |
| 156 | + | |
| 157 | + | |
132 | 158 | | |
133 | 159 | | |
134 | 160 | | |
| |||
330 | 356 | | |
331 | 357 | | |
332 | 358 | | |
| 359 | + | |
333 | 360 | | |
334 | 361 | | |
| 362 | + | |
| 363 | + | |
335 | 364 | | |
336 | 365 | | |
337 | 366 | | |
| |||
377 | 406 | | |
378 | 407 | | |
379 | 408 | | |
| 409 | + | |
| 410 | + | |
380 | 411 | | |
381 | 412 | | |
382 | 413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
778 | | - | |
779 | | - | |
780 | 778 | | |
781 | 779 | | |
782 | 780 | | |
| |||
0 commit comments