mirror of
https://github.com/hanzoai/insights-icons.git
synced 2026-09-30 22:46:13 +00:00
213a74653983c672d7f56f8108f0c9e58f847d36
The gate runs `corepack enable; pnpm install`, and package.json named no
packageManager — so CI took whatever pnpm the runner happened to carry. That is
why declaring onlyBuiltDependencies twice changed nothing: the setting moved
between pnpm versions, and neither location matched the version actually
running.
Pinned to the one this was verified against. With it, locally:
pnpm install --frozen-lockfile Done in 2s, exit 0
pnpm build built in 1.29s
dist/icons.es.js IconInsightsQL x2, IconHogQL x0
An unpinned package manager is the same defect as an unpinned linter — the
thing that reads your config has to be the thing you tested the config with.
Co-authored-by: Hanzo Dev <[email protected]>
@hanzo/insights-icons
The product icon set used by Hanzo Insights — 319 React SVG icon components.
import { IconTrends } from '@hanzo/insights-icons'
<IconTrends />
Every icon renders an <svg> carrying the Icon class, which is the sizing hook
the @hanzo/elements design-system stylesheet keys on. Icons inherit currentColor
and size from that class, so colour and size are controlled by CSS, not props.
Build
pnpm install
pnpm build # -> dist/icons.es.js, dist/icons.cjs.js, dist/index.d.ts
Provenance
Derived from the MIT-licensed @posthog/icons. See NOTICE for the list of
changes and LICENSE for the retained upstream copyright.
Prior to this repository, @hanzo/insights-icons was published without a source
tree of its own — version 0.36.6 on npm was a byte-identical republish of
@posthog/[email protected] with only the package name changed. This repository is
that package's actual source.
Languages
TypeScript
100%