Revert "Add figlet to CLI (#3008)" (#3033)

This reverts commit c606b6a485.

### Description

<!--
What's included in this PR?
-->

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
pull/3040/head
Nam Chu Hoai 12 months ago committed by GitHub
parent 1a64cef37e
commit 980ef1fc4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      typescript/cli/cli.ts
  2. 2
      typescript/cli/package.json
  3. 18
      yarn.lock

@ -1,5 +1,5 @@
#! /usr/bin/env node
import figlet from 'figlet';
import chalk from 'chalk';
import yargs from 'yargs';
import { errorRed } from './logger.js';
@ -13,11 +13,7 @@ import { VERSION } from './src/version.js';
// From yargs code:
const MISSING_PARAMS_ERROR = 'Not enough non-option arguments';
console.log(
figlet.textSync('Hyperlane', {
font: 'ANSI Shadow',
}),
);
console.log(chalk.blue('Hyperlane'), chalk.magentaBright('CLI'));
try {
await yargs(process.argv.slice(2))

@ -9,14 +9,12 @@
"bignumber.js": "^9.1.1",
"chalk": "^5.3.0",
"ethers": "^5.7.2",
"figlet": "^1.7.0",
"terminal-link": "^3.0.0",
"yaml": "^2.3.1",
"yargs": "^17.7.2",
"zod": "^3.21.2"
},
"devDependencies": {
"@types/figlet": "^1",
"@types/mocha": "^10.0.1",
"@types/node": "^18.14.5",
"@types/yargs": "^17.0.24",

@ -4238,7 +4238,6 @@ __metadata:
"@hyperlane-xyz/sdk": "npm:3.3.0"
"@hyperlane-xyz/utils": "npm:3.3.0"
"@inquirer/prompts": "npm:^3.0.0"
"@types/figlet": "npm:^1"
"@types/mocha": "npm:^10.0.1"
"@types/node": "npm:^18.14.5"
"@types/yargs": "npm:^17.0.24"
@ -4250,7 +4249,6 @@ __metadata:
eslint: "npm:^8.43.0"
eslint-config-prettier: "npm:^8.8.0"
ethers: "npm:^5.7.2"
figlet: "npm:^1.7.0"
mocha: "npm:^10.2.0"
prettier: "npm:^2.8.8"
terminal-link: "npm:^3.0.0"
@ -5930,13 +5928,6 @@ __metadata:
languageName: node
linkType: hard
"@types/figlet@npm:^1":
version: 1.5.8
resolution: "@types/figlet@npm:1.5.8"
checksum: 95d81e778265bc8b4f1b58e98c7d8889b8a3046ef775aa0e95b6d41ad97ace47813887427d5bdfd760b6a3a4767d8799bbb8a1f7d5bbf17f6142ae46e32509d2
languageName: node
linkType: hard
"@types/form-data@npm:0.0.33":
version: 0.0.33
resolution: "@types/form-data@npm:0.0.33"
@ -9816,15 +9807,6 @@ __metadata:
languageName: node
linkType: hard
"figlet@npm:^1.7.0":
version: 1.7.0
resolution: "figlet@npm:1.7.0"
bin:
figlet: bin/index.js
checksum: 1baeed096fa90f5802022c4d36c24ebd59331f77f00f9b3de68b13f42f7ab210b327f4935fd194fc29575120e91aa95a2f43d63c2760f3e374a4f8348070c784
languageName: node
linkType: hard
"figures@npm:^3.2.0":
version: 3.2.0
resolution: "figures@npm:3.2.0"

Loading…
Cancel
Save