From 3b753085f0da8e370342765b8905fb5a1fd333f4 Mon Sep 17 00:00:00 2001 From: Danilo Tuler Date: Mon, 29 Apr 2024 13:57:15 -0400 Subject: [PATCH] fix(cli): wrong imports --- apps/cli/src/commands/clean.ts | 2 +- apps/cli/src/commands/create.ts | 2 +- apps/cli/src/commands/doctor.ts | 2 +- apps/cli/src/commands/shell.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/cli/src/commands/clean.ts b/apps/cli/src/commands/clean.ts index 8a69d5d0..feb22390 100644 --- a/apps/cli/src/commands/clean.ts +++ b/apps/cli/src/commands/clean.ts @@ -1,5 +1,5 @@ import fs from "fs-extra"; -import { BaseCommand } from "../baseCommand"; +import { BaseCommand } from "../baseCommand.js"; export default class Clean extends BaseCommand { static summary = "Clean build artifacts of application."; diff --git a/apps/cli/src/commands/create.ts b/apps/cli/src/commands/create.ts index 3c4e8d76..3bbfb780 100644 --- a/apps/cli/src/commands/create.ts +++ b/apps/cli/src/commands/create.ts @@ -3,7 +3,7 @@ import chalk from "chalk"; import type { TemplateProvider } from "giget"; import { DownloadTemplateResult, downloadTemplate } from "giget"; import ora from "ora"; -import { BaseCommand } from "../baseCommand"; +import { BaseCommand } from "../baseCommand.js"; export const DEFAULT_TEMPLATES_BRANCH = "sdk-0.4"; diff --git a/apps/cli/src/commands/doctor.ts b/apps/cli/src/commands/doctor.ts index f0776751..865e152f 100644 --- a/apps/cli/src/commands/doctor.ts +++ b/apps/cli/src/commands/doctor.ts @@ -1,6 +1,6 @@ import { execa } from "execa"; import semver from "semver"; -import { BaseCommand } from "../baseCommand"; +import { BaseCommand } from "../baseCommand.js"; export default class DoctorCommand extends BaseCommand { static description = "Verify the minimal sytem requirements"; diff --git a/apps/cli/src/commands/shell.ts b/apps/cli/src/commands/shell.ts index a4112dfa..d7034897 100644 --- a/apps/cli/src/commands/shell.ts +++ b/apps/cli/src/commands/shell.ts @@ -3,7 +3,7 @@ import { execa } from "execa"; import fs from "fs-extra"; import { lookpath } from "lookpath"; import path from "path"; -import { BaseCommand } from "../baseCommand"; +import { BaseCommand } from "../baseCommand.js"; export default class Shell extends BaseCommand { static description = "Start a shell in cartesi machine of application";