Skip to content

Commit

Permalink
Remove chalk in microapps-publish (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntharo authored Nov 30, 2021
1 parent f4ce8f8 commit f50ab33
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 26 deletions.
15 changes: 0 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/microapps-publish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"@oclif/errors": "^1.3.5",
"@oclif/plugin-help": "^3.2.7",
"chalk": "^4.1.2",
"commander": "^7.1.0",
"convict": "^6.1.0",
"convict-format-with-validator": "^6.0.1",
"fs-extra": "^9.1.0",
Expand Down
5 changes: 3 additions & 2 deletions packages/microapps-publish/src/commands/nextjs-docker-auto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ export class DockerAutoCommand extends Command {
private _restoreFilesStarted = false;

async run(): Promise<void> {
const RUNNING_TEXT = ' RUNS ';
const RUNNING = chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';
// const RUNNING_TEXT = ' RUNS ';
// const RUNNING = chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';
const RUNNING = ''; //chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';

const { flags: parsedFlags } = this.parse(DockerAutoCommand);
const version = parsedFlags.newVersion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ export class NextJSVersionRestoreCommand extends Command {
}[];

async run(): Promise<void> {
const RUNNING_TEXT = ' RUNS ';
const RUNNING = chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';
// const RUNNING_TEXT = ' RUNS ';
// const RUNNING = chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';
const RUNNING = ''; //chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';

const { flags: parsedFlags } = this.parse(NextJSVersionRestoreCommand);

Expand Down
5 changes: 3 additions & 2 deletions packages/microapps-publish/src/commands/nextjs-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ export class NextJSVersionCommand extends Command {
}[];

async run(): Promise<void> {
const RUNNING_TEXT = ' RUNS ';
const RUNNING = chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';
// const RUNNING_TEXT = ' RUNS ';
// const RUNNING = chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';
const RUNNING = ''; //chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';

const { flags: parsedFlags } = this.parse(NextJSVersionCommand);
const version = parsedFlags.newVersion;
Expand Down
5 changes: 3 additions & 2 deletions packages/microapps-publish/src/commands/preflight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ export class PreflightCommand extends Command {
async run(): Promise<void> {
const config = Config.instance;

const RUNNING_TEXT = ' RUNS ';
const RUNNING = chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';
// const RUNNING_TEXT = ' RUNS ';
// const RUNNING = chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';
const RUNNING = ''; //chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';

const { flags: parsedFlags } = this.parse(PreflightCommand);
const version = parsedFlags.newVersion;
Expand Down
5 changes: 3 additions & 2 deletions packages/microapps-publish/src/commands/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ export class PublishCommand extends Command {
async run(): Promise<void> {
const config = Config.instance;

const RUNNING_TEXT = ' RUNS ';
const RUNNING = chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';
// const RUNNING_TEXT = ' RUNS ';
// const RUNNING = chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';
const RUNNING = ''; //chalk.reset.inverse.yellow.bold(RUNNING_TEXT) + ' ';

const { flags: parsedFlags } = this.parse(PublishCommand);
const appLambdaName = parsedFlags.appLambdaName ?? config.app.lambdaName;
Expand Down

0 comments on commit f50ab33

Please sign in to comment.