Skip to content

chore(ui): bump @plannotator/ui past 0.28.0 and document the .hljs to pn-code migration before the next publish #1222

Description

@backnotprop

TLDR: The repo's packages/ui still says version 0.28.0, but its content has drifted breaking-ly from the published 0.28.0: highlight.js dropped, @pierre/diffs pinned 1.3.2, and the consumer-visible .hljs class renamed to pn-code (#1218). The release pipeline never publishes this package, and republishing 0.28.0 would 403, so nothing is at risk today. But the next intentional @plannotator/ui publish must bump to 0.29.0 or higher and carry a consumer migration note.

Before the next ui publish:

  • Bump packages/ui/package.json to 0.29.0+
  • Document in packages/ui/README.md / HANDOFF.md: .hljs selectors are inert; style via the exported CODE_BLOCK_CLASS (pn-code); new utils codeHighlight / codeBlockMark / syntaxTheme and the @pierre/diffs dependency
  • Consider whether the Workspaces consumer needs a heads-up before upgrade

Found by the v0.26.2 dependency audit. AI-assisted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions