Skip to content

chore: suppress changelogen's browser tab + wrap vue code samples - #13

Merged
matt-rolley merged 2 commits into
mainfrom
chore/release-no-chrome-tab
Apr 21, 2026
Merged

matt-rolley merged 2 commits into
mainfrom
chore/release-no-chrome-tab

Conversation

@matt-rolley

Copy link
Copy Markdown
Contributor

Two small polish commits.

chore(release): suppress changelogen's GitHub Release step

`changelogen --release` was opening a new Chrome tab on every local release — its built-in "create a GitHub Release" prompt that fires when it can't auth against the GitHub API. We don't want it to: CI's `changelogithub` step already creates the Release body after npm publishes, so `changelogen` trying to do it in parallel is redundant and would collide if it ever did succeed.

`--no-github` tells `changelogen` to skip the GitHub Release step entirely — it now does exactly the four things we want from it (bump version, write CHANGELOG.md, commit, tag, push) and nothing else.

docs: wrap vue code samples in `` for correct rendering

VitePress's markdown renderer parses ```vue``` code blocks through the Vue SFC lexer, which rejects top-level HTML elements outside a `` or `<script>` tag. Several docs (README, iframe-blocking guide, dialog-link / dialog-trigger / widget / consent-manager component pages) had bare `<C15t...>` snippets that rendered as errors.

Wrapped every unwrapped `vue` code sample. Verified via script: zero unwrapped blocks remain.

Also fixed a typo where widget.md's closing `

` was written as ``.

Test plan

  • `pnpm lint` clean
  • `pnpm test` 90/90
  • Next release won't open a browser tab (verify on v0.2.5)
  • `pnpm docs:dev` — spot-check the edited doc pages render

changelogen calls its own syncGithubRelease after pushing the tag. If
it can't authenticate (no GITHUB_TOKEN locally), it falls back to
opening the Release page in a browser — on every release.

The CI workflow already creates the GitHub Release via changelogithub
after publishing to npm, so the local side's attempt was redundant and
noisy. --no-github disables the entire local Release step.
@vercel

vercel Bot commented Apr 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nuxt-c15t Ready Ready Preview, Comment Apr 21, 2026 8:43am

Request Review

@matt-rolley
matt-rolley merged commit eba6514 into main Apr 21, 2026
3 checks passed
@matt-rolley
matt-rolley deleted the chore/release-no-chrome-tab branch April 21, 2026 10:11

This branch was successfully deployed

1 active deployment
Preview — 3e5013a0 Deployed Apr 21, 2026 by vercel[bot]
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