Socket
Socket
Sign inDemoInstall

dai-monorepo

Package Overview
Dependencies
1
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dai-monorepo

[![Build Status][build]][build-url] [![Coverage Status][cover]][cover-url]


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Dai.js SDK monorepo

Build Status Coverage Status

Uses Lerna. Automatically lints and prettifies code on commit.

Documentation

Please view README.md for each individual package (e.g. packages/dai) and/or docs.makerdao.com.

Getting started

yarn
curl https://dapp.tools/install | sh // Installs dapptools
yarn lerna bootstrap // Installs dependencies & links all local dependencies together
yarn build // builds each plugin for local use

Running the testchain

yarn testchain
yarn test:logs // get testchain logs

Running tests

yarn test
yarn test:integration
yarn test:build

Run yarn coverage to generate a test coverage report.

Creating a UMD build

See packages/dai/README.md for instructions.

Adding a package as dependency of another

 npx lerna add @makerdao/services-core packages/dai-plugin-mcd

Releasing a version

From the root of the project:

npx lerna version prerelease
npx lerna publish from-package

This will create a new version for all the packages and publish automatically, prerelease is for alpha versions.

If you want a release or another kind please check lerna version documentation.

FAQs

Last updated on 13 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc