icon-project / Nexus

7 stars 3 forks source link

Contents

Development for Nexus is paused due to market conditions. This repository has been archived as a result. Please use the smart contracts for making transfers.

Admin boilerplate

Require install: node (>10), yarn, lerna

Instructions

Useful commands

Bootstrap project

yarn
lerna bootstrap

List available packages

lerna list -a

Add new packages

lerna create <package name>

Install dependencies

lerna add --help

Build

yarn build

Development

You can open project at root admin-boilerplate or single package packages/<package-name>.

Note for releasing

You run the script release.sh for releasing new version. You need to set GL_TOKEN so that the script can access the gitlab. The script will do:

More detail here.

Sample

export GL_TOKEN=<your gitlab token>
./release.sh

Explain

The script does:

# this is require for create release on the gitlab
export GL_API_URL=https://git.baikal.io/api/v4
export GL_TOKEN=<your gitlab token>

lerna version

For the GL_TOKEN, you can follow this document to genrate it.