Repository navigation
Conversation
The 0.1 split packages 404 on npm. Docs now import tokens, React, CSS, and OG fonts from the unified package, and both lockfiles resolve @bloxwap/hig@0.2.0 from the registry while keeping the workspace chart link. Co-authored-by: Joe Blau <joeblau@users.noreply.github.com>
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 depended on four unpublished HIG 0.1 packages (
@bloxwap/hig-tokens,@bloxwap/hig-contracts,@bloxwap/hig-react, and@bloxwap/hig-og-fonts). Those registry URLs 404, so a clean install cannot fetch them.This replaces them with the published
@bloxwap/hig@0.2.0package and points every live import, CSS@import, and script at its subpath exports (/tokens,/tokens/css,/react/*,/react/css,/og-fonts/node). Next lists@bloxwap/higintranspilePackages.bun.lockandpackage-lock.jsonboth resolvehttps://registry.npmjs.org/@bloxwap/hig/-/hig-0.2.0.tgz. Historical adoption dumps underdocs/hig-adoption/are left as evidence of the earlier steps.The published 0.2.0 tarball requires
@bloxwap/chart@^0.3.0. This workspace is@bloxwap/chart@0.4.0, which is outside that range (later HIG source accepts^0.3.0 || ^0.4.0, but that widening is not in the published tarball).bun installandnpm cikeepnode_modules/@bloxwap/chartlinked topackages/chartand do not fetch chart 0.3.0. A resolvingnpm installstops withERESOLVE;--forcecan replace the workspace link with the registry package, so the lockfile was updated in place instead.Verified locally with Bun 1.4.2 and Node 24:
bun install --frozen-lockfilefrom an emptynode_modulesnpm cinode apps/docs/scripts/hig-tokens.mjs --checkNEXT_PUBLIC_BASE_PATH=/chart bun run docs:build(30 HTML pages, 25 social cards, docs typecheck)bun run lintThe static export still emits the existing Fumadocs
::highlight(fd-search)CSS optimizer warnings. Not merged.