Yeg-A / network-monorepo

A monorepo containing all the main components of Streamr Network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streamr Network + Client Monorepo

Streamr network, client & supporting packages. Work in progress.

Contains

Build Status

Client – Lint, Unit, Integration Tests

Client – Test Build

Protocol – Lint, Test and Publish

Broker – Lint, Test and Publish

Network – Lint, Test and Publish

Installation

Uses lerna.

npm ci
npm run bootstrap

Bootstrap one sub-package

npm run bootstrap-pkg streamr-client
npm run bootstrap-pkg streamr-network

Install a dependency into a sub-package

npx lerna add mkdirp --scope streamr-client

Updating from Remotes

Temporary feature until monorepo becomes primary repo.

Merge remote changes from all remote repos:

make pull # keep rerunning until no errors

List active versions & symlinks

Check which packages are currently being symlinked.

npm run versions

This lists internal packages & their versions on the left, linked packages are columns. If the package on the left links to the package in the column, it shows a checkmark & the semver range, otherwise it shows the mismatched semver range and prints a warning at the end. It prints the version ranges so you can double-check that they're formatted as you expect e.g. ^X.Y.Z vs X.Y.Z

image

About

A monorepo containing all the main components of Streamr Network.


Languages

Language:TypeScript 79.0%Language:JavaScript 18.2%Language:Java 2.3%Language:HTML 0.4%Language:Makefile 0.1%Language:Dockerfile 0.0%Language:Shell 0.0%