0.6.0 • Published 5 months ago

@clickhouse/viz-house v0.6.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

Viz-house is the charting library that powers the Sql Console and Control Plane charts. It uses Highcharts under the hood. It is a yarn project that uses storybook and vite.

Prerequisites

  • You must have yarn installed

Setup

  1. Install dependencies
  2. Build

Dev

  1. Run tests
  2. Run Storybook
  3. Run in dev mode
  4. Run tests in watch mode

Install dependencies

yarn

done.

Build

yarn build

This will create the dist directory. The index.js file is the exported library built and minified.

Run tests

yarn test

Run Storybook

yarn storybook

Run in dev mode

yarn dev

dev mode will watch for changes and rebuild the project when changes are detected. There is a sample application with a number of charts, that will be available at http://localhost:5174/. If port 5174 is in use, it will increment the port until one is available.

Run tests in watch mode

yarn test:watch

This will run tests in watch mode, which will let you develop while running tests. Tests will automatically re-run after changes. We use vitest, which has a similar interface and commands to jest.

0.6.0

5 months ago

0.5.0

5 months ago

0.4.0

5 months ago

0.3.0

5 months ago

0.2.0

5 months ago

0.1.0

5 months ago

1.0.0

5 months ago