Skip to content

fix(docs): depend on @bloxwap/hig@0.2.0 - #87

Merged
joeblau merged 1 commit into
mainfrom
cursor/hig-0-2-unified-package-48b2
Nov 7, 2026
Merged

joeblau merged 1 commit into
mainfrom
cursor/hig-0-2-unified-package-48b2

Conversation

@joeblau

@joeblau joeblau commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

The docs site pinned four HIG 0.1 split packages (@bloxwap/hig-tokens, @bloxwap/hig-contracts, @bloxwap/hig-react, and @bloxwap/hig-og-fonts). Those packages 404 on npm, so a clean install fails. HIG 0.2.0 publishes one package, @bloxwap/hig, and keeps the same entry points as subpath exports.

This follows the migration in bloxwap/sfx#79 and the “Moving from the 0.1 packages” notes, adapted to this repo:

  • apps/docs depends on @bloxwap/hig@0.2.0 only. Live imports, CSS, and Next transpilePackages use @bloxwap/hig/....
  • bun.lock and package-lock.json both resolve https://registry.npmjs.org/@bloxwap/hig/-/hig-0.2.0.tgz. docs/hig-adoption/registry-release.json records that URL and integrity hash. The lint guard checks both lockfiles and rejects the retired package names.
  • Published 0.2.0 peers @bloxwap/chart@^0.3.0, which does not include this workspace’s 0.4.0. The docs do not import @bloxwap/hig/chart. A root overrides entry points that peer at the workspace package so bun install and npm ci keep one chart link and do not download a second copy. Bun 1.4.2 records the override by writing bun.lock at lockfileVersion 3.
  • Historical adoption dumps under docs/hig-adoption/ are unchanged. The current install notes in the adoption README and apps/docs/README.md describe 0.2.0.

Verified locally with Bun 1.4.2 and Node 24:

  • bun install --frozen-lockfile from an empty node_modules
  • npm ci (workspace @bloxwap/chart@0.4.0 link preserved; no @bloxwap/hig-* packages installed)
  • bun run docs:build with NEXT_PUBLIC_BASE_PATH=/chart (30 HTML pages, 25 social cards)
  • bun run lint (registry integrity, installed version, copy drift)
  • bun run docs:test (Chrome for Testing; palette, controls, demo, search, touch)

Not merged.

Open in Web Open in Cursor 

The 0.1 split packages 404 on npm. Install the unified package and switch
live imports to its subpath exports. A root override keeps the required
chart peer on this workspace's 0.4.0, and both lockfiles resolve 0.2.0.

Co-authored-by: Joe Blau <joeblau@users.noreply.github.com>
@joeblau
joeblau merged commit 134f4c4 into main Nov 7, 2026
8 checks passed
@joeblau joeblau mentioned this pull request Nov 11, 2026
@joeblau
joeblau deleted the cursor/hig-0-2-unified-package-48b2 branch November 14, 2026 23:22
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.

2 participants