Skip to content

fix(packages): publish annotation thread exports - #1447

Merged
backnotprop merged 1 commit into
mainfrom
codex-fix-ui-core-annotation-threads
Sep 1, 2026
Merged

backnotprop merged 1 commit into
mainfrom
codex-fix-ui-core-annotation-threads

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

Summary

  • bump @plannotator/core to 0.25.1 so the already-shipped annotation-threads source subpath is published
  • bump @plannotator/ui to 0.35.2 and pin the corrected Core version exactly
  • extend the package smoke to pack both packages and verify an external pnpm consumer with real Vite and TypeScript imports of AnnotationPanel and utils/parser

Root cause

@plannotator/ui 0.35.1 imports @plannotator/core/annotation-threads, but that Core export landed after @plannotator/core 0.25.0 had been published. The exact dependency fixed the workspace-protocol leak while exposing this independent missing-export defect.

Verification

  • bun install --frozen-lockfile
  • bun run --cwd packages/ui typecheck
  • bunx tsc --noEmit -p packages/ui/tsconfig.strict-consumer.json
  • bun run typecheck
  • bun test packages/core/annotation-threads.test.ts packages/ui/components/AnnotationPanel.inReplyTo.test.tsx packages/ui/components/AnnotationPanel.props.test.tsx packages/ui/components/AnnotationPanel.threadPerf.test.ts packages/ui/components/AnnotationPanel.unanchored.test.tsx packages/ui/utils/parser.inReplyTo.test.ts packages/ui/utils/parser.test.ts
  • bun run --cwd packages/ui smoke:package
  • git diff --check

The smoke installs only the packed UI as a consumer dependency. A pnpm override supplies the locally packed unpublished Core 0.25.1 transitively, allowing this prepublish gate to run before either new version exists in the registry.

@backnotprop
backnotprop merged commit 6a58922 into main Sep 1, 2026
28 checks passed
@backnotprop
backnotprop deleted the codex-fix-ui-core-annotation-threads branch September 1, 2026 20:00
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.

1 participant