Skip to content

Latest commit

 

History

History
76 lines (47 loc) · 1.03 KB

README.md

File metadata and controls

76 lines (47 loc) · 1.03 KB

HEIMDALLR-SDK

一款简单易用、轻量化、插件化的前端监控sdk

An easy-to-use, lightweight, plug-in front-end monitoring 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