/heimdallr-sdk

A lightweight front-end monitoring sdk

Primary LanguageTypeScriptMIT LicenseMIT

heimdallr-sdk

Documentation

To check out docs, visit heimdallr-sdk.

Env

  • node version: 16+
  • npm script: yarn

Preparation

Make sure MySQL and RabbitMQ are installed

Dev

Installation Dependency

yarn

Ensure that the local MySQL database service is started

  • host: localhost
  • port: 3306

Initialize the database and automatically create a database named test_base database for debugging

yarn prisma

If this is the first run, execute the build script first

yarn build

Start Local Service

yarn dev

Build

Installation Dependency

yarn

Build a single package

yarn workspace [packageName] build

For example, build a browser package

yarn workspace @heimdallr-sdk/browser build

Build all packages

yarn build