Monorepo for real-time canvas charts.
| Package | Publish | Role |
|---|---|---|
@livecharts/core |
private | Framework-agnostic canvas engine |
@livecharts/react |
private | <LiveChart /> React wrapper |
@workspace/ui |
private | Shared shadcn/Base UI components |
livecharts |
npm | Public package — subpaths below |
npm install livechartsimport { LiveChart } from "livecharts/react";import { LiveChartEngine } from "livecharts";Workspace package for apps (shadcn + Base UI). Add components from packages/ui:
cd packages/ui
bunx shadcn@latest add cardImport in an app:
import { Button } from "@workspace/ui/components/ui/button";bun install
bun run lint
bun run dev --filter=docs
bun run build --filter=livecharts...
bun run test --filter=@livecharts/coreDocs site: Fumadocs app at apps/docs (bun run dev --filter=docs). Static export deploys to GitHub Pages on push to main → https://livecharts.soralabs.io.vn/
Lint/format uses Ultracite (Biome) at the repo root. packages/core and packages/react are excluded so Liveline-extracted sources keep their original style. Lefthook runs ultracite fix on pre-commit and bun run build on pre-push (bun install installs hooks via prepare).
- Bump
packages/livecharts/package.jsonversion - Commit, tag
vX.Y.Z, push tag - GitHub Actions publishes to npm
Requires NPM_TOKEN repository secret.
MIT. Engine based on Liveline (MIT).