Skip to content

Release v1.7.0: rescue the orphaned v1.6.0, bundled types, changelog - #6

Merged
StanBarrows merged 6 commits into
mainfrom
feat/tokenless-git-install
Jul 30, 2026
Merged

Release v1.7.0: rescue the orphaned v1.6.0, bundled types, changelog#6
StanBarrows merged 6 commits into
mainfrom
feat/tokenless-git-install

Conversation

@StanBarrows

Copy link
Copy Markdown
Contributor

Follow-up to #5, which was merged while three further commits were still in flight. main currently has only the first of them, so it is still on 1.5.0 and still missing the work below.

main had lost the published v1.6.0 — the important one

v1.6.0 was tagged and published from a commit that was never merged. main was therefore missing 437 lines that consumers on ^1.6.0 already depend on:

  • CodeEditor, FullscreenPanel
  • Card's sm size
  • the PageHeading actions slot
  • CodePreview refinements, useEscapeKey, codeMirrorTheme

Anything released from main before this merge would have silently regressed them — llm-gateway uses <Card size="sm">, which does not exist on main.

Version 1.7.0, not 1.6.0

1.6.0 is already tagged and published, so it cannot be republished. 1.7.0 is the first release whose main actually contains that work.

Types are a single bundled index.d.ts again

vite-plugin-dts 5 renamed rollupTypesbundleTypes and ignores the old name rather than rejecting it, so the build had quietly started emitting split per-component declarations: dist/index.d.ts fell from ~84 KB to 9 KB with the real types moved into a dist/components/ tree.

Importing from the package still resolved, which is why nothing failed. But a consumer that reads the declaration file to check its own usage got a valid-looking file describing almost nothing — found exactly that way, when llm-gateway's prop checker reported "clean against 0 components". Adds @microsoft/api-extractor, which bundleTypes requires.

CHANGELOG.md

Release notes move out of the README. Gaps between v1.3.0 and now are filled from each release commit rather than invented, and v1.4.0 is marked superseded since v1.4.1 exists only to revert it.

Verified

  • npm ci succeeds · npm audit 0 vulnerabilities
  • build, lint, typecheck clean · index.d.ts back to 84 KB bundled
  • build-storybook succeeds · 192 Playwright tests pass
  • tokenless git install verified in a clean directory with no GITHUB_TOKEN and no .npmrc

After merging

Tag and release v1.7.0 so the registry and the git-dependency route both have it:

git tag v1.7.0 && git push --tags

🤖 Generated with Claude Code

StanBarrows and others added 6 commits July 29, 2026 03:59
…actions slot, Card sm size

Additive package changes for the app-wide frontend consistency refactor:
- Promote CodeEditor (replacing the app's JsonEditor/MarkdownEditor) and
  FullscreenPanel into the kit, both lazy-loading CodeMirror consistently
  with CodePreview's existing convention.
- Add an optional #actions slot to PageHeading and a purple legacy tone
  alias to StatusBadge, closing gaps the app was working around locally.
- Add a Card size="sm" variant for nested/compact container use.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
v1.6.0 was tagged and published from 3472cdf but never merged, so main lost
CodeEditor, FullscreenPanel, Card's sm size, the PageHeading actions slot and
the CodePreview changes — 407 lines that consumers on ^1.6.0 already depend on.
Releasing anything from main without this would silently regress them.
Version 1.7.0 rather than 1.6.0: that version is already tagged and published,
so it cannot be republished. 1.7.0 is the first release whose `main` actually
contains the v1.6.0 work, which until the preceding merge existed only on an
orphaned tag.

Adds CHANGELOG.md and moves the release notes out of the README, which had
accumulated three "What's new in …" sections and the v1.3.0 migration notes.
Versions between those and now had no notes at all; the gaps are filled from
each release commit rather than invented, and v1.4.0 is marked superseded since
v1.4.1 exists only to revert it.

Documents the tokenless git-dependency install in the README, and corrects the
claim there that a token is needed because the package is private — it is needed
because GitHub's npm registry authenticates every read, public or not.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
vite-plugin-dts 5 renamed the option and accepts-and-ignores the old name
rather than rejecting it, so `rollupTypes: true` had silently stopped doing
anything after the dependency bump. The build was emitting split per-component
declarations: dist/index.d.ts fell from ~84 KB to 9 KB, with the real types
moved into a dist/components tree.

Importing from the package still resolved, which is why nothing failed — but a
consumer that reads the declaration file to check its own usage against the
public API got a valid-looking file describing almost nothing. Found exactly
that way: llm-gateway's design-system prop checker silently matched zero
components and passed every file.

Adds @microsoft/api-extractor, which bundleTypes requires and which was
previously only present transitively.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Storybook inherits vite.config.ts, so enabling `bundleTypes` also pointed API
Extractor at the docs build, where it walks the stories and dies on Vue's
internal template symbols: "Symbol not found for identifier: __VLS_1". The
library build was fine; `build-storybook` was not, which broke CI.

This build has no declarations to emit, so the plugin is filtered out in
viteFinal rather than made conditional in vite.config.ts — that keeps the
library build's own config honest instead of teaching it about Storybook.

Missed locally because build-storybook had been run before `bundleTypes` was
enabled and the Playwright suite then served that already-built
storybook-static, so both looked green against a stale artefact. Re-verified by
running the CI steps in order from a clean npm ci: typecheck, lint, build
(index.d.ts 84 KB bundled), build-storybook, 192 Playwright tests.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@StanBarrows
StanBarrows merged commit 529a18f into main Jul 30, 2026
2 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.

1 participant