1.0.0 • Published 11 months ago

@morpheusnetwork/trustmnw-cli-dev v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months 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
1.0.0

11 months ago

0.13.6

1 year ago

0.14.1

12 months ago

0.14.2

12 months ago

0.13.5

1 year ago

0.13.3

1 year ago

0.13.1

1 year ago

0.13.0

1 year ago

0.12.0

1 year ago

0.11.2

2 years ago

0.11.3

2 years ago

0.11.4

2 years ago

0.11.5

2 years ago

0.11.0

2 years ago

0.10.1

2 years ago

0.11.1

2 years ago

0.10.0

2 years ago

0.9.1

2 years ago

0.9.0

2 years ago

0.8.1

2 years ago

0.7.2

2 years ago

0.8.0

2 years ago

0.7.1

2 years ago

0.7.3

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.5.2

2 years ago

0.3.4

2 years ago

0.5.1

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago