0.13.1 • Published 7 days ago

@morpheusnetwork/trustmnw-cli-dev v0.13.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 days ago

TrustMNW-CLI

TrustMNW Command-Line Interface for running the node

Build

Development

Fill the .env.development file with variables:

MAIN_API_URL=https://api.trustmnw.dev/v2/graphql
NODES_API_URL=https://nodes.staging.trustmnw.dev/graphql
VALIDATE_API_URL=https://validate.staging.trustmnw.dev/graphql

SENTRY_DSN=https://0790c3c21d1541719ccfd3d23c81dfe8@o4504360929329152.ingest.sentry.io/4504719372713984

Then run

yarn build:dev

Production

Fill the .env.production file with variables:

MAIN_API_URL=https://api.trustmnw.com/v2/graphql
NODES_API_URL=https://nodes.api.trust.supply/graphql
VALIDATE_API_URL=https://validate.api.trust.supply/graphql

SENTRY_DSN=https://e7a2bf85f2d2408488937c9bec21eea5@o4504360929329152.ingest.sentry.io/4504719384182784

Then run

yarn build:prod

Run

To run built CLI, just type

node .

Debug mode

To enable debug mode, run the CLI with param --debug, like:

node . --debug

Publishing

  1. Set the correct name and bin[command] in package.json, (trustmnw-cli-dev for staging, trustmnw-cli for production)
  2. Set next version in package.json
  3. Build required environment (yarn build:prod or yarn build:dev)
  4. Rollback to current version in package.json
  5. Run git add .
  6. Run yarn publish --access public, set version, fill all required fields
  7. Done
0.13.1

7 days ago

0.13.0

7 days ago

0.12.0

14 days ago

0.11.2

5 months ago

0.11.3

5 months ago

0.11.4

5 months ago

0.11.5

5 months ago

0.11.0

6 months ago

0.10.1

7 months ago

0.11.1

6 months ago

0.10.0

8 months ago

0.9.1

9 months ago

0.9.0

11 months ago

0.8.1

1 year ago

0.7.2

1 year ago

0.8.0

1 year ago

0.7.1

1 year ago

0.7.3

1 year ago

0.7.0

1 year ago

0.6.0

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.8

1 year ago

0.3.7

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.5.2

1 year ago

0.3.4

1 year ago

0.5.1

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago