diff --git a/index.ts b/index.ts index 80e7876..60f2040 100644 --- a/index.ts +++ b/index.ts @@ -1,6 +1,6 @@ #!/usr/bin/env node -import fs, { readFileSync } from "fs"; +import fs from "fs"; import { confirm, select, input } from "@inquirer/prompts"; import { exit } from "process"; import { @@ -13,10 +13,8 @@ import { } from "./configuration/configuration"; import { execSync } from "child_process"; import { program } from "commander"; -import { dirname, join } from "path"; -import { fileURLToPath } from "bun"; -const packageJson = require("./package.json"); +import packageJson from "./package.json"; export const VERSION = packageJson.version; const CLI_NAME = "pcli";