Migrating to ESM (#8)

* Migrating to ESM

* Fixing broken prettier
This commit is contained in:
Marco Lipparini
2024-02-25 10:47:00 +01:00
committed by GitHub
parent 0ec6b214cd
commit 1961d75eec
6 changed files with 13 additions and 10 deletions

View File

@@ -1,12 +1,13 @@
import fs from 'fs';
import { fileURLToPath } from 'node:url';
import fs from 'node:fs';
import { program } from 'commander';
import { confirm } from '@inquirer/prompts';
import { dockerCommand } from 'docker-cli-js';
import mysql from 'mysql';
import config from './config';
import config from './config.js';
const LDD_ROOT_PATH = `${__dirname}/..`;
const LDD_ROOT_PATH = fileURLToPath(new URL('..', import.meta.url));
interface DockerImagesCommandResult {
images: {