Skip to content

fix(super-editor): re-export ContentControlViewportAddress and ViewportEntityAddress (SD-3156)#3316

Merged
caio-pizzol merged 1 commit into
mainfrom
caio/fix-ui-viewport-exports
May 15, 2026
Merged

fix(super-editor): re-export ContentControlViewportAddress and ViewportEntityAddress (SD-3156)#3316
caio-pizzol merged 1 commit into
mainfrom
caio/fix-ui-viewport-exports

Conversation

@caio-pizzol
Copy link
Copy Markdown
Contributor

Re-exports two viewport-address types from @superdoc/super-editor/ui that #3310 (SD-3156) added to the package internals and to the superdoc/ui public barrel, but forgot to wire through the upstream module.

packages/superdoc/src/ui.d.ts already lists ContentControlViewportAddress and ViewportEntityAddress as re-exports from @superdoc/super-editor/ui, but packages/super-editor/src/ui/index.ts did not export them. The existing ui.barrel.test.ts only string-scans the barrel file for the names, so it passed even though the names didn't resolve. The consumer-typecheck matrix (bundler | node16 | nodenext with skipLibCheck=false) is the one that actually compiles the public surface and has been failing with TS2305: Module ... has no exported member since #3310 landed.

Verified locally: cd tests/consumer-typecheck && node typecheck-matrix.mjs now reports 57 passed, 0 failed. The three scenarios that were failing in CI (*/all public surface / skipLibCheck=false) all pass.

Verified: node tests/consumer-typecheck/typecheck-matrix.mjs → 57 passed, 0 failed; pnpm --filter @superdoc/super-editor test → 12964 passed.

…rtEntityAddress (SD-3156)

The public `superdoc/ui` barrel (`packages/superdoc/src/ui.d.ts`) imports both names from `@superdoc/super-editor/ui`, but they were missing from `packages/super-editor/src/ui/index.ts`. The existing `ui.barrel.test.ts` only string-scans the barrel file, so it didn't catch the upstream gap.

CI's consumer-typecheck matrix (`bundler | node16 | nodenext` with `skipLibCheck=false`) was failing with TS2305 on both names since #3310 landed.
@caio-pizzol caio-pizzol requested a review from a team as a code owner May 15, 2026 12:27
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 15, 2026

SD-3156

@caio-pizzol caio-pizzol merged commit b60212a into main May 15, 2026
25 checks passed
@caio-pizzol caio-pizzol deleted the caio/fix-ui-viewport-exports branch May 15, 2026 12:27
@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 15, 2026

🎉 This PR is included in vscode-ext v2.3.0-next.149

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 15, 2026

🎉 This PR is included in @superdoc-dev/mcp v0.3.0-next.103

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 15, 2026

🎉 This PR is included in @superdoc-dev/react v1.2.0-next.147

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 15, 2026

🎉 This PR is included in superdoc-cli v0.8.0-next.118

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 15, 2026

🎉 This PR is included in superdoc-sdk v1.8.0-next.101

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 15, 2026

🎉 This PR is included in superdoc v1.30.0-next.97

The release is available on GitHub release

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants