Skip to content

Commit

Permalink
Adopt chalk 5
Browse files Browse the repository at this point in the history
  • Loading branch information
eaviles committed Apr 21, 2022
1 parent 5bb4a46 commit e851b47
Show file tree
Hide file tree
Showing 4 changed files with 597 additions and 19 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"no-bitwise": "off",
"no-console": "off",
"no-process-exit": "off",
"node/no-unsupported-features/es-syntax": ["error", { "ignores": ["dynamicImport"] }],
"unicorn/no-process-exit": "off"
}
}
3 changes: 2 additions & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

'use strict';

const chalk = require('chalk');
const path = require('path');
const yargs = require('yargs');

const { description, homepage } = require('../package.json');

(async function start() {
const { default: chalk } = await import('chalk');

const argv = process.argv.slice(2);
const learnMore = `Read the manual at ${homepage}`;
const { npm_lifecycle_event: lifecycleEvent } = process.env;
Expand Down

0 comments on commit e851b47

Please sign in to comment.