Repository navigation
fix(docs): depend on @bloxwap/hig@0.2.0 - #87
Merged
Merged
Conversation
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>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/docsdepends on@bloxwap/hig@0.2.0only. Live imports, CSS, and NexttranspilePackagesuse@bloxwap/hig/....bun.lockandpackage-lock.jsonboth resolvehttps://registry.npmjs.org/@bloxwap/hig/-/hig-0.2.0.tgz.docs/hig-adoption/registry-release.jsonrecords that URL and integrity hash. The lint guard checks both lockfiles and rejects the retired package names.@bloxwap/chart@^0.3.0, which does not include this workspace’s0.4.0. The docs do not import@bloxwap/hig/chart. A rootoverridesentry points that peer at the workspace package sobun installandnpm cikeep one chart link and do not download a second copy. Bun 1.4.2 records the override by writingbun.lockat lockfileVersion 3.docs/hig-adoption/are unchanged. The current install notes in the adoption README andapps/docs/README.mddescribe 0.2.0.Verified locally with Bun 1.4.2 and Node 24:
bun install --frozen-lockfilefrom an emptynode_modulesnpm ci(workspace@bloxwap/chart@0.4.0link preserved; no@bloxwap/hig-*packages installed)bun run docs:buildwithNEXT_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.