Trrackjs
A library for history/provenance tracking in web-based visualizations.
Install / Use
/learn @Trrack/TrrackjsREADME
Trrack
Trrack stands for reproducible tracking. Originally Trrack is a web-based provenance tracking library that can track application state in directed provenance graph. The core library is framework-agnostic and can be used in any JavaScript/TypeScript application. The React visualization package provides components for rendering the provenance graph in a React application.
Table of Contents
Packages
@trrack/coreCore action-based provenance tracking library.@trrack/vis-reactReact components for rendering a Trrack provenance graph.
Installation
Install the core package:
yarn add @trrack/core
Install the React visualization package with our peer dependencies:
yarn add react react-dom @trrack/core @trrack/vis-react
Quick Start
For core usage, start with our documentation.
Developer Docs
Development
Install dependencies:
yarn install
Run the example apps:
yarn dev:react
yarn dev:dummy
yarn dev:lineup
yarn dev:docs
Run all dev targets at once:
yarn dev
Testing and Linting
Build the published packages:
yarn build
Run package tests:
yarn test
Generate package coverage reports:
yarn test:coverage
Coverage reports are written to coverage/core and coverage/vis-react.
Run package linting:
yarn lint
Releasing
Packages are published from a GitHub Release via .github/workflows/build_test_release.yml.
Release flow:
- Create a GitHub Release from the commit you want to publish.
- Tag it as
v<version>orv<version>-<prerelease>. - Mark prerelease releases as prereleases in GitHub.
- Automatically generate release notes with the "Generate release notes" button in GitHub, or write your own release notes.
- Publish the release.
The release workflow installs dependencies, builds and tests the packages, verifies package contents with npm pack --dry-run, and publishes both @trrack/core and @trrack/vis-react at the same version number.
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
