Files
bootnode/console/pnpm-workspace.yaml
zeekayandHanzo Dev da98c0de75 feat(console): one icon set — every glyph comes from @luxfi/ui/icons
74 files imported `lucide-react` directly, pinned ^1.26.0, while @luxfi/ui —
which this console renders alongside — resolves 1.27. Two Lucide copies from two
resolutions in one bundle is how a set stops being one set. Two more glyphs were
not from any icon library at all: the node list drew its network in/out arrows as
the literal characters "↓" and "↑", and the chain onboarding selector drew its
tick as "✓". Those are font glyphs — they take the text metrics, not the icon
box, so they sit on a different baseline and scale with the font, not `size-*`.

One source now: `@luxfi/ui/icons`, Lucide as @hanzo/gui standardises on it and
@luxfi/ui themes it. `lucide-react` is out of package.json, so per-surface drift
is no longer expressible; @luxfi/ui comes in at 7.4.3, which is where `./icons`
lives. The three text glyphs are ArrowDown / ArrowUp / Check.

All 121 distinct icon names this console uses were checked against the 6014
symbols @luxfi/ui/icons exports before the rewrite — zero missing, with a
negative control. `next build` is clean: 78 routes, Next 16.2.11 + Turbopack.

The d3 chart roots (node-globe, node-map, globe-view, donut-chart, fleet-map)
keep their <svg>: those are plots, not glyphs. The command menu's "↑↓" stays —
it is a keyboard legend inside <kbd>, and it means the keys.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-27 14:57:55 -07:00

18 lines
852 B
YAML

# pnpm settings. As of pnpm 11 the `pnpm` field in package.json is no longer
# read and `.npmrc` is auth/registry only — every other setting lives here.
# `packageManager` in package.json pins the version corepack resolves, so this
# file and the running pnpm can never disagree.
#
# Without that pin, `corepack enable pnpm` fetched whatever pnpm was newest at
# build time. When pnpm 11 shipped it removed `onlyBuiltDependencies` outright
# (replaced by `allowBuilds`) and made `strictDepBuilds` default to true, so the
# old allowlist silently stopped applying and every build of this repo began
# failing with ERR_PNPM_IGNORED_BUILDS.
#
# sharp compiles a native binary that Next.js uses for image optimisation, so it
# must be allowed to run its install script.
allowBuilds:
sharp: true
minimumReleaseAgeExclude:
- '@luxfi/[email protected] || 7.4.3'