feat: remove extension in import

This commit is contained in:
2026-05-31 22:54:11 +09:00
parent 737019de8d
commit b87e735cb9
4 changed files with 9 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import { logger } from "../utils/logger.js";
import { logger } from "@/utils/logger";
interface GreetOptions {
uppercase?: boolean;

View File

@@ -3,8 +3,8 @@ import { Command } from "commander";
import { readFileSync } from "fs";
import { fileURLToPath } from "url";
import { dirname, join } from "path";
import { logger } from "./utils/logger.js";
import { greet } from "./commands/greet.js";
import { logger } from "@/utils/logger";
import { greet } from "@/commands/greet";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

View File

@@ -1,6 +1,7 @@
import chalk, { type ChalkInstance } from "chalk";
import { appendFileSync, existsSync, mkdirSync, createWriteStream, type WriteStream } from "fs";
import { dirname } from "path";
import { config } from "@/config";
export type LogLevel = "debug" | "info" | "success" | "warn" | "error" | "fatal";