Skip to content
ContractSpec
Start here

Package manual · examples

·Examples and implementation patterns

example.visualization-showcase

Focused visualization showcase for ContractSpec primitives and design-system wrappers

examplesexamplev5.0.4stableservernode
@lssm-tech/example.visualization-showcase
bun add @lssm-tech/example.visualization-showcase
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

@lssm-tech/example.visualization-showcase is the focused reference package for ContractSpec's visualization layer.

It demonstrates:

  • Contract-owned VisualizationSpec primitives
  • Shared visualization registries and refs
  • Design-system wrappers like VisualizationCard, VisualizationGrid, ComparisonView, and TimelineView
  • Markdown summaries for non-React surfaces

Use this package when you want a lightweight, deterministic reference for the visualization contract model without the heavier domain logic of analytics-dashboard.

Running Locally

From examples/visualization-showcase:

  • bun run build
  • bun run typecheck
  • bun run test
  • bun run preflight runs build, typecheck and test before a release.

Relationships

THIS PACKAGEexample.visualization-showcase17 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

5 declarations

Declared capabilities

This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.

Scripts

  • publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
  • publish:pkg:canarybun publish:pkg --tag canary
  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • devcontractspec-bun-build dev
  • cleanrimraf dist .turbo
  • lintbun lint:fix
  • lint:fixnode ../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../scripts/biome.cjs check --write .
  • lint:checknode ../../scripts/biome.cjs check .
  • testbun test
  • prebuildcontractspec-bun-build prebuild
  • typechecktsgo --noEmit
  • preflightbun run build && bun run typecheck && bun run test