diff --git a/apps/cli/src/builder/directory.ts b/apps/cli/src/builder/directory.ts index 75840220..e9618e46 100644 --- a/apps/cli/src/builder/directory.ts +++ b/apps/cli/src/builder/directory.ts @@ -1,7 +1,7 @@ import fs from "fs-extra"; import path from "path"; -import { DirectoryDriveConfig } from "../config"; -import { execaDockerFallback } from "../exec"; +import { DirectoryDriveConfig } from "../config.js"; +import { execaDockerFallback } from "../exec.js"; export const build = async ( name: string, diff --git a/apps/cli/src/builder/docker.ts b/apps/cli/src/builder/docker.ts index ed84a5d1..faa2238b 100644 --- a/apps/cli/src/builder/docker.ts +++ b/apps/cli/src/builder/docker.ts @@ -4,9 +4,9 @@ import fs from "fs-extra"; import path from "path"; import { finished } from "stream/promises"; import tmp from "tmp"; -import { tarToExt } from "."; -import { DockerDriveConfig } from "../config"; -import { execaDockerFallback } from "../exec"; +import { DockerDriveConfig } from "../config.js"; +import { execaDockerFallback } from "../exec.js"; +import { tarToExt } from "./index.js"; type ImageBuildOptions = Pick< DockerDriveConfig, diff --git a/apps/cli/src/builder/empty.ts b/apps/cli/src/builder/empty.ts index 6db2ab29..861a6ba2 100644 --- a/apps/cli/src/builder/empty.ts +++ b/apps/cli/src/builder/empty.ts @@ -1,7 +1,7 @@ import fs from "fs-extra"; import path from "path"; -import { EmptyDriveConfig } from "../config"; -import { execaDockerFallback } from "../exec"; +import { EmptyDriveConfig } from "../config.js"; +import { execaDockerFallback } from "../exec.js"; export const build = async ( name: string, diff --git a/apps/cli/src/builder/index.ts b/apps/cli/src/builder/index.ts index 3349da8c..0a36754d 100644 --- a/apps/cli/src/builder/index.ts +++ b/apps/cli/src/builder/index.ts @@ -1,10 +1,10 @@ -import { execaDockerFallback, OptionsDockerFallback } from "../exec"; +import { execaDockerFallback, OptionsDockerFallback } from "../exec.js"; -export { build as buildDirectory } from "./directory"; -export { build as buildDocker } from "./docker"; -export { build as buildEmpty } from "./empty"; -export { build as buildNone } from "./none"; -export { build as buildTar } from "./tar"; +export { build as buildDirectory } from "./directory.js"; +export { build as buildDocker } from "./docker.js"; +export { build as buildEmpty } from "./empty.js"; +export { build as buildNone } from "./none.js"; +export { build as buildTar } from "./tar.js"; export const tarToExt = async ( input: string, diff --git a/apps/cli/src/builder/none.ts b/apps/cli/src/builder/none.ts index 6e54bdcd..2e0d8fea 100644 --- a/apps/cli/src/builder/none.ts +++ b/apps/cli/src/builder/none.ts @@ -1,6 +1,6 @@ import fs from "fs-extra"; import path from "path"; -import { ExistingDriveConfig, getDriveFormat } from "../config"; +import { ExistingDriveConfig, getDriveFormat } from "../config.js"; export const build = async ( name: string, diff --git a/apps/cli/src/builder/tar.ts b/apps/cli/src/builder/tar.ts index dc0b09b8..4fad8e26 100644 --- a/apps/cli/src/builder/tar.ts +++ b/apps/cli/src/builder/tar.ts @@ -1,8 +1,8 @@ import fs from "fs-extra"; import path from "path"; -import { tarToExt } from "."; -import { TarDriveConfig } from "../config"; -import { execaDockerFallback } from "../exec"; +import { TarDriveConfig } from "../config.js"; +import { execaDockerFallback } from "../exec.js"; +import { tarToExt } from "./index.js"; export const build = async ( name: string,