From 94bcc79d4c62315b80f9b6fcf00c5f8b4e0243f7 Mon Sep 17 00:00:00 2001 From: bntvllnt Date: Wed, 17 Jun 2026 01:53:15 +0200 Subject: [PATCH 1/3] =?UTF-8?q?docs(release):=20prep=200.3.0=20=E2=80=94?= =?UTF-8?q?=20cut=20changelog,=20sync=20counts,=20registry=20steps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make main release-ready for the stable 0.3.0 cut (per docs/RELEASING.md). Does NOT release — merge + dispatch Publish is a separate step. - CHANGELOG.md + packages/ui/CHANGELOG.md: move [Unreleased] → dated [0.3.0] - 2026-06-16 (the publish workflow greps `## [0.3.0]`), drop the now-satisfied pre-release notes, add a Fixed entry for the theme-adaptive CandlestickChart/SparklineGrid colors, add the v0.3.0 link reference, and open a fresh empty [Unreleased]. - Fix stale component counts 144 → 225 in README.md, packages/ui/README.md, docs/ARCHITECTURE.md. - ROADMAP: status planning → release prep; link the real 0.3.0 milestone. - RELEASING.md: document the apps/registry version bump, the doc-sync step, and the post-publish PUBLISHED_VERSION flip (registry install target must advance only after the version is live on npm latest). Deliberately NOT flipping PUBLISHED_VERSION here — that stays ^0.2.1 until 0.3.0 is published, else the deployed registry would advertise an unpublished version and break `npx shadcn add`. --- CHANGELOG.md | 16 ++++++++-------- README.md | 2 +- ROADMAP.md | 2 +- docs/ARCHITECTURE.md | 2 +- docs/RELEASING.md | 13 +++++++++++++ packages/ui/CHANGELOG.md | 10 ++++++---- packages/ui/README.md | 2 +- 7 files changed, 31 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae6be8be..dcf14d8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,9 @@ Release automation can regenerate this file from Conventional Commits with ## [Unreleased] -> Target version: **`0.3.0`** - shipping as `0.3.0-canary.` on the npm -> `canary` tag on every merge to main. The stable `latest` release is gated on -> the [ROADMAP.md](./ROADMAP.md) shipping criteria and is not yet published. +_Nothing yet._ + +## [0.3.0] - 2026-06-16 ### Added @@ -103,12 +103,11 @@ Release automation can regenerate this file from Conventional Commits with inlined, sibling registry items resolve via `@vllnt/ui` to keep installs minimal and dedupe shared primitives. -### Notes +### Fixed -- `ROADMAP.md` tracks the open work gating the `0.3.0` cut. -- `0.3.0` requires the codebase-health gate (`react-doctor` CI + 0 errors), the - agent-first surface (`/llms.txt`, `/mcp`, sitemap, JSON-LD), and the rebuilt - landing page before shipping. +- **Theme-adaptive chart colors** - `CandlestickChart` and `SparklineGrid` + series colors now follow the active theme and dark mode instead of hardcoded + values. ## [0.2.1] - 2026-04-21 @@ -233,6 +232,7 @@ Release automation can regenerate this file from Conventional Commits with - Initial public publish to the public npm registry. +[0.3.0]: https://github.com/vllnt/ui/releases/tag/v0.3.0 [0.2.1]: https://github.com/vllnt/ui/releases/tag/v0.2.1 [0.2.0]: https://github.com/vllnt/ui/releases/tag/v0.2.0 [0.1.11]: https://github.com/vllnt/ui/releases/tag/v0.1.11 diff --git a/README.md b/README.md index 58c2b327..098e79bc 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # @vllnt/ui -**144 accessible React components** built on [Radix UI](https://radix-ui.com) primitives, styled with [Tailwind CSS](https://tailwindcss.com), powered by [CVA](https://cva.style). +**225 accessible React components** built on [Radix UI](https://radix-ui.com) primitives, styled with [Tailwind CSS](https://tailwindcss.com), powered by [CVA](https://cva.style). [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue)](https://www.typescriptlang.org) diff --git a/ROADMAP.md b/ROADMAP.md index 02244472..f4c2972c 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -1,6 +1,6 @@ # Roadmap — 0.3.0 -> Status: **planning** · Previous release: `v0.2.1` · Current canary: `0.3.0-canary.` (+85 components) · Tracking: [milestone TBD](https://github.com/vllnt/ui/milestones) +> Status: **release prep** · Previous release: `v0.2.1` · Current canary: `0.3.0-canary.` (+85 components) · Tracking: [milestone 0.3.0](https://github.com/vllnt/ui/milestone/1) ## TLDR diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index ca6abdb8..19465b8b 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -7,7 +7,7 @@ vllnt/ui/ ├── packages/ │ └── ui/ # @vllnt/ui — the shipped library │ ├── src/ -│ │ ├── components/ # 144 component folders +│ │ ├── components/ # 225 component folders │ │ ├── hooks/ # shared hooks (useDebounce, etc.) │ │ ├── lib/ # utilities (cn, registry helpers) │ │ └── index.ts # barrel — the public surface diff --git a/docs/RELEASING.md b/docs/RELEASING.md index e6117cbc..2911eaaf 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -23,7 +23,11 @@ The release workflow does not push commits to `main`. Version bumps land via nor Open a PR that: - Updates `packages/ui/package.json` `"version"` to the new target (follow SemVer — see below). +- Updates `apps/registry/package.json` `"version"` to match. - Moves the matching entry in root `CHANGELOG.md` and `packages/ui/CHANGELOG.md` from `[Unreleased]` to a dated `[x.y.z]` section. Root `CHANGELOG.md` is the source used for the website, feeds, and GitHub Release notes. +- Syncs docs that name a count or version: component count in `README.md` + `packages/ui/README.md`, `docs/ARCHITECTURE.md`, and the ROADMAP status line. + +Do **not** touch `PUBLISHED_VERSION` in `apps/registry/scripts/inline-component-source.ts` here — that pins the shadcn install target and must only advance **after** the new version is live on npm `latest` (see step 3). Bumping it before publish makes the deployed registry advertise `@vllnt/ui@^{x.y.z}` while npm `latest` is still the previous version, breaking `npx shadcn add`. Merge the PR normally. The canary workflow on `main` will immediately publish `@vllnt/ui@{x.y.z}-canary.{sha}` — a dress-rehearsal of the release tarball. @@ -40,6 +44,15 @@ CI will: - `pnpm pack` and `npx --yes npm@latest publish --tag latest --provenance --access public`. OIDC trusted publishing signs the provenance attestation. - Create the GitHub Release for the new tag. +### 3. Point the registry at the published version (post-publish) + +Once `@vllnt/ui@{x.y.z}` is live on npm `latest`, open a small follow-up PR that: + +- Sets `PUBLISHED_VERSION` in `apps/registry/scripts/inline-component-source.ts` to `{x.y.z}`. +- Runs `pnpm -F @vllnt/ui-registry registry:build` and commits the regenerated `registry.json` + `registry/default` shims (the install target becomes `@vllnt/ui@^{x.y.z}` and item versions update). + +The `registry:check` and `registry:integrity` CI guards confirm the regenerated registry is in sync and pins a real (non-prerelease) published version. Until this lands, `npx shadcn add` keeps resolving to the previous published version — harmless, just one release behind. + ## Versioning policy - [SemVer](https://semver.org). Track API compatibility, not surface area — adding 50 new components is a **minor** bump if no existing exports break. diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 2b345fd4..37a0facb 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -6,7 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ## [Unreleased] -> Target version: **`0.3.0`** — shipping as `0.3.0-canary.` on the npm `canary` tag on every merge to main. The stable `latest` release is gated on the [ROADMAP.md](../../ROADMAP.md) shipping criteria and is not yet published. +_Nothing yet._ + +## [0.3.0] - 2026-06-16 ### Added @@ -38,10 +40,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), - Registry installs use a **hybrid CLI strategy** — leaf component source is inlined, sibling registry items resolve via `@vllnt/ui` to keep installs minimal and dedupe shared primitives. -### Notes +### Fixed -- `ROADMAP.md` added at repo root tracking 50 open issues across 8 phases gating the `0.3.0` cut. -- `0.3.0` requires the codebase-health gate (`react-doctor` CI + 0 errors), the agent-first surface (`/llms.txt`, `/mcp`, sitemap, JSON-LD), and the rebuilt landing page before shipping. +- **Theme-adaptive chart colors** — `CandlestickChart` and `SparklineGrid` series colors now follow the active theme and dark mode instead of hardcoded values. ## [0.2.1] - 2026-04-21 @@ -145,6 +146,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), - Initial public publish to the public npm registry. +[0.3.0]: https://github.com/vllnt/ui/releases/tag/v0.3.0 [0.2.1]: https://github.com/vllnt/ui/releases/tag/v0.2.1 [0.2.0]: https://github.com/vllnt/ui/releases/tag/v0.2.0 [0.1.11]: https://github.com/vllnt/ui/releases/tag/v0.1.11 diff --git a/packages/ui/README.md b/packages/ui/README.md index 07361b05..d854ae4f 100644 --- a/packages/ui/README.md +++ b/packages/ui/README.md @@ -1,6 +1,6 @@ # @vllnt/ui -React component library — 144 components built on Radix UI primitives, Tailwind CSS, and CVA. +React component library — 225 components built on Radix UI primitives, Tailwind CSS, and CVA. See [CHANGELOG.md](./CHANGELOG.md) for release history. From 1d723ad09186e36fffb8fb680e83f1e469df5e7f Mon Sep 17 00:00:00 2001 From: bntvllnt Date: Wed, 17 Jun 2026 15:21:25 +0200 Subject: [PATCH 2/3] =?UTF-8?q?docs(release):=20record=200.3.0=20train=20?= =?UTF-8?q?=E2=80=94=20React=2019=20(breaking),=20+70=20components,=20side?= =?UTF-8?q?bar=20fix,=20react-doctor=20sweep?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CHANGELOG (root + packages/ui): add BREAKING React 19 requirement (drop React 18, forwardRef -> ref-as-prop, useContext -> use), the 70 new components (forms 18, motion 37, core 7, charts 5, AI 3), the docs-sidebar category fix, shared-internals extraction, and the react-doctor warning sweep; re-date to 2026-06-17. - Component count 225 -> 295 across README (root + package), ARCHITECTURE, ROADMAP metric. --- CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++++++-- README.md | 6 +++--- ROADMAP.md | 2 +- docs/ARCHITECTURE.md | 2 +- packages/ui/CHANGELOG.md | 13 +++++++++++-- packages/ui/README.md | 2 +- 6 files changed, 55 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcf14d8b..fbb18357 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ Release automation can regenerate this file from Conventional Commits with _Nothing yet._ -## [0.3.0] - 2026-06-16 +## [0.3.0] - 2026-06-17 ### Added @@ -72,7 +72,26 @@ _Nothing yet._ `ContextLens`. - **Time navigation** - `TimelineScrubber`, `PlaybackGhost`, `BottomActivityStrip`, and `RunTimeline`. -- Total component count: **225** (up from 140). +- **Form primitives (18)** - `ButtonGroup`, `InputGroup`, `Field`, `Fieldset`, + `Item`, `ColorPicker`, `CheckboxGroup`, `NativeSelect`, `ListBox`, + `SearchField`, `TextField`, `PhoneInput`, `TimePicker`, `TimeField`, + `DateField`, `DateRangePicker`, `RangeCalendar`, and `TagGroup`. +- **Charts / dataviz (5)** - `PieChart`, `RadarChart`, `GaugeChart`, + `SankeyChart`, and `ContributionGraph` (joining the existing `BarChart` / + `LineChart` / `AreaChart`). +- **AI primitives (3)** - `Reasoning`, `ChainOfThought`, and `PromptInput`. +- **Core primitives (7)** - `Typography`, `Link`, `Toolbar`, `Meter`, `QrCode`, + `Grid`, and `Panel`. +- **Motion / effects (37)** - `BentoGrid`, `Sparkles`, `Typewriter`, + `AnimatedList`, `Dock`, `MagneticButton`, `TextShimmer`, `AnimatedBeam`, + `AnimatedTabs`, `ScrollProgress`, `ShimmerButton`, `ShimmerText`, + `AnimatedGridPattern`, `AnimatedTestimonials`, `AnimatedTooltip`, `BlurReveal`, + `CardFlip`, `Cursor`, `DotPattern`, `ExpandableCards`, `FloatingNavbar`, + `GlassCard`, `GlassProgress`, `LiquidGlass`, `Magnetic`, `Meteors`, + `Particles`, `ProgressiveBlur`, `RevealText`, `ScrambleText`, `ShineBorder`, + `ShinyButton`, `SpinningText`, `SpotlightCard`, `TextAnimate`, `TextReveal`, + and `TiltCard`. +- Total component count: **295** (up from 140). - **OKLCH theming system** - color tokens migrated to the OKLCH color space, with 13 runtime theme presets, a `/themes` web theme editor route, and a `/r/themes` endpoint. New public theme exports from `@vllnt/ui` (`THEME_PRESETS`, @@ -99,12 +118,29 @@ _Nothing yet._ ### Changed +- **BREAKING - React 19 required.** The peer dependency moved to `react` / + `react-dom` `>=19`; **React 18 is no longer supported**. Components migrated + from `React.forwardRef` to the React 19 ref-as-prop pattern, and `useContext` + → `use()`. React-18 consumers must upgrade to React 19. +- **Internal quality sweep** - cleared the react-doctor backlog: + `no-react19-deprecated-apis` 456 → 0, plus state/effect warnings + (`useEffectEvent` for effect-captured handlers, derived-state, cascading + `setState`) and structural warnings (giant-component splits, render-in-render, + polymorphic children, passive listeners). +- **Shared internals** - extracted reusable hooks/utilities (reference-counted + body-scroll-lock fixing a multi-overlay unlock bug, escape-key, live-date, + cached `Intl` formatters, clipboard migration) and a Zod parse seam for the + registry shape. - Registry installs use a **hybrid CLI strategy** - leaf component source is inlined, sibling registry items resolve via `@vllnt/ui` to keep installs minimal and dedupe shared primitives. ### Fixed +- **Docs sidebar dropped components** - the registry category union omitted four + categories (`ai`, `billing`, `data-display`, `educational`), silently hiding + ~32 components from the docs sidebar; all now render, with a structural + fallback so a missing category can no longer regress. - **Theme-adaptive chart colors** - `CandlestickChart` and `SparklineGrid` series colors now follow the active theme and dark mode instead of hardcoded values. diff --git a/README.md b/README.md index 098e79bc..7e33c141 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # @vllnt/ui -**225 accessible React components** built on [Radix UI](https://radix-ui.com) primitives, styled with [Tailwind CSS](https://tailwindcss.com), powered by [CVA](https://cva.style). +**295 accessible React components** built on [Radix UI](https://radix-ui.com) primitives, styled with [Tailwind CSS](https://tailwindcss.com), powered by [CVA](https://cva.style). [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue)](https://www.typescriptlang.org) @@ -16,7 +16,7 @@ ## Features -- **225 components** — primitives (Button, Input), composites (Command, DataTable, Carousel), and domain families (AI, Financial, Ops, Educational, Billing, Animation, Maps, Canvas, Timelines) +- **295 components** — primitives (Button, Input), composites (Command, DataTable, Carousel), and domain families (AI, Financial, Ops, Educational, Billing, Animation, Maps, Canvas, Timelines) - **Accessible by default** — Radix UI handles focus, keyboard nav, and ARIA - **Tailwind CSS + CVA** — variant-driven styling with full theme override via CSS variables - **shadcn-compatible registry** — install individual components with `shadcn add` @@ -112,7 +112,7 @@ Override CSS variables after importing styles: ## Components
-All 225 components +All 295 components | Category | Components | |----------|------------| diff --git a/ROADMAP.md b/ROADMAP.md index f4c2972c..d18a1b1e 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -16,7 +16,7 @@ ## Components — canary → release (+85) -Counts taken from `registry.json` at `v0.2.1` (140) vs `HEAD` (225). +Counts taken from `registry.json` at `v0.2.1` (140) vs `HEAD` (295). ### Hooks + utility primitives - `CopyButton` + `useCopyToClipboard` hook (#159) diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 19465b8b..fb798d69 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -7,7 +7,7 @@ vllnt/ui/ ├── packages/ │ └── ui/ # @vllnt/ui — the shipped library │ ├── src/ -│ │ ├── components/ # 225 component folders +│ │ ├── components/ # 295 component folders │ │ ├── hooks/ # shared hooks (useDebounce, etc.) │ │ ├── lib/ # utilities (cn, registry helpers) │ │ └── index.ts # barrel — the public surface diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 37a0facb..88c11a92 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), _Nothing yet._ -## [0.3.0] - 2026-06-16 +## [0.3.0] - 2026-06-17 ### Added @@ -30,7 +30,12 @@ _Nothing yet._ - **Inspector + dock panels** — `PropertySection`, `ObjectInspector`, `RelationshipInspector`, `RuntimeOverviewPanel`, `RoutingAssignmentPanel`, `PolicyDeliveryPanel`. - **Runtime overlays** — `AlertPulse`, `ThresholdRing`, `StickyMetric`, `HeatOverlay`, `StateBadgeOverlay`, `MetricCluster`, `JarvisDock`, `ContextLens`. - **Time navigation** — `TimelineScrubber`, `PlaybackGhost`, `BottomActivityStrip`, `RunTimeline`. -- Total component count: **225** (up from 140). +- **Form primitives (18)** — `ButtonGroup`, `InputGroup`, `Field`, `Fieldset`, `Item`, `ColorPicker`, `CheckboxGroup`, `NativeSelect`, `ListBox`, `SearchField`, `TextField`, `PhoneInput`, `TimePicker`, `TimeField`, `DateField`, `DateRangePicker`, `RangeCalendar`, `TagGroup`. +- **Charts / dataviz (5)** — `PieChart`, `RadarChart`, `GaugeChart`, `SankeyChart`, `ContributionGraph` (joining the existing `BarChart` / `LineChart` / `AreaChart`). +- **AI primitives (3)** — `Reasoning`, `ChainOfThought`, `PromptInput`. +- **Core primitives (7)** — `Typography`, `Link`, `Toolbar`, `Meter`, `QrCode`, `Grid`, `Panel`. +- **Motion / effects (37)** — `BentoGrid`, `Sparkles`, `Typewriter`, `AnimatedList`, `Dock`, `MagneticButton`, `TextShimmer`, `AnimatedBeam`, `AnimatedTabs`, `ScrollProgress`, `ShimmerButton`, `ShimmerText`, `AnimatedGridPattern`, `AnimatedTestimonials`, `AnimatedTooltip`, `BlurReveal`, `CardFlip`, `Cursor`, `DotPattern`, `ExpandableCards`, `FloatingNavbar`, `GlassCard`, `GlassProgress`, `LiquidGlass`, `Magnetic`, `Meteors`, `Particles`, `ProgressiveBlur`, `RevealText`, `ScrambleText`, `ShineBorder`, `ShinyButton`, `SpinningText`, `SpotlightCard`, `TextAnimate`, `TextReveal`, `TiltCard`. +- Total component count: **295** (up from 140). - **OKLCH theming system** — color tokens migrated to the OKLCH color space, with 13 runtime theme presets (`default`, `matrix`, `dracula`, `synthwave`, `tron`, `cyberpunk`, `nord`, `claude`, `chatgpt`, `gemini`, `dusk`, `cyberlime`, `aura`). New public theme exports from `@vllnt/ui`: `THEME_PRESETS`, `DEFAULT_THEME_PRESET`, `CUSTOM_THEME_NAME`, `isThemePresetName`, the `ThemePreset` and `ThemePresetName` types, plus the `useThemePreset` hook (with `UseThemePresetResult`), `setThemePreset`, and `setCustomTheme` for runtime preset switching and user-supplied custom themes. @@ -38,10 +43,14 @@ _Nothing yet._ ### Changed +- **BREAKING — React 19 required.** The peer dependency moved to `react` / `react-dom` `>=19`; **React 18 is no longer supported**. Components migrated from `React.forwardRef` to the React 19 ref-as-prop pattern, and `useContext` → `use()`. React-18 consumers must upgrade to React 19. +- **Internal quality sweep** — cleared the react-doctor backlog: `no-react19-deprecated-apis` 456 → 0, plus state/effect warnings (`useEffectEvent` for effect-captured handlers, derived-state, cascading `setState`) and structural warnings (giant-component splits, render-in-render, polymorphic children, passive listeners). +- **Shared internals** — extracted reusable hooks/utilities (reference-counted body-scroll-lock that fixes a multi-overlay unlock bug, escape-key, live-date, cached `Intl` formatters, clipboard migration) and a Zod parse seam for the registry shape. - Registry installs use a **hybrid CLI strategy** — leaf component source is inlined, sibling registry items resolve via `@vllnt/ui` to keep installs minimal and dedupe shared primitives. ### Fixed +- **Docs sidebar dropped components** — the registry category union omitted four categories (`ai`, `billing`, `data-display`, `educational`), silently hiding ~32 components from the docs sidebar; all now render, with a structural fallback so a missing category can no longer regress. - **Theme-adaptive chart colors** — `CandlestickChart` and `SparklineGrid` series colors now follow the active theme and dark mode instead of hardcoded values. ## [0.2.1] - 2026-04-21 diff --git a/packages/ui/README.md b/packages/ui/README.md index d854ae4f..fa3a0ed0 100644 --- a/packages/ui/README.md +++ b/packages/ui/README.md @@ -1,6 +1,6 @@ # @vllnt/ui -React component library — 225 components built on Radix UI primitives, Tailwind CSS, and CVA. +React component library — 295 components built on Radix UI primitives, Tailwind CSS, and CVA. See [CHANGELOG.md](./CHANGELOG.md) for release history. From 80c04924e38cee64a4c55f3956dda163aa7ecf08 Mon Sep 17 00:00:00 2001 From: bntvllnt Date: Fri, 26 Jun 2026 17:52:09 +0200 Subject: [PATCH 3/3] fix(test): reword count-guard comment to satisfy write-good-comments lint The added comment used "just" and "immediately", which the registry's write-good-comments ESLint rule rejects. Reworded without weasel words. Claude-Session: https://claude.ai/code/session_01KB2yTDBo7Knydqvz1VvFdF --- apps/registry/lib/component-count.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/registry/lib/component-count.test.ts b/apps/registry/lib/component-count.test.ts index bec1f28f..fe15a866 100644 --- a/apps/registry/lib/component-count.test.ts +++ b/apps/registry/lib/component-count.test.ts @@ -33,9 +33,9 @@ describe("component count stays consistent with the registry", () => { it("the newest CHANGELOG component-count snapshot matches the live count", () => { const changelog = read(path.join(repoRoot, "CHANGELOG.md")); // The count snapshot lives in the newest section that declares one: - // [Unreleased] while changes are pending, or the just-cut release section - // immediately after a release. The file is newest-first, so the first - // match is always the current snapshot. + // [Unreleased] while changes are pending, or the dated release section + // after a release cut. The file is newest-first, so the first match + // is the current snapshot. const match = /total component count:\s*\*\*(\d+)\*\*/i.exec(changelog); expect( match,