zeekayandHanzo Dev a123916f0f build: let esbuild run its install script
pnpm 10 does not run a dependency's build scripts unless the package says so,
and vite's bundled esbuild fetches its binary in exactly that step. Without it:

    [ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: [email protected]

and `vite build` — which IS this repo's gate, since the build is what gets
published — fails. Red before this commit and unrelated to the icon rename; it
just had to be fixed before a release could carry it.

esbuild only, named rather than blanket-approved.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-09 20:49:32 -07:00
2026-08-09 20:48:07 -07:00

@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.

S
Description
Product icon set for Hanzo Insights
Readme MIT
138 KiB
Languages
TypeScript 100%