Skip to content

Drop the dead react/index.d.ts skip from copy-declarations - #184

Merged
dave-hillier merged 1 commit into
mainfrom
fix-154-final
Sep 24, 2026
Merged

dave-hillier merged 1 commit into
mainfrom
fix-154-final

Conversation

@dave-hillier

Copy link
Copy Markdown
Owner

The last reference to the deleted `src/react` index files. `scripts/copy-declarations.mjs` skipped a stub `src/react/index.d.ts` that went away with `index.tsx` when the `replot/react` entry moved to `api.tsx`, so the skip no longer matched anything.

The rest of #154 was already done by #182 and #183: the `src/core` and `src/react` barrels and `__validate.tsx` are deleted, and no `<style>` elements are left in TSX.

tsc, eslint, prettier and the tests pass (1818 passing), and the build still copies the declarations correctly.

Closes #154

🤖 Generated with Claude Code

The last reference to the deleted src/react index files (#154). The skip
guarded a stub src/react/index.d.ts that went with index.tsx when the
replot/react entry moved to api.tsx, so it no longer matches anything.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@dave-hillier
dave-hillier merged commit d82527b into main Sep 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Project-rule violations: index barrels, style blocks in TSX, shipped __validate.tsx

1 participant