feat: remove extension in import
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { logger } from "../utils/logger.js";
|
||||
import { logger } from "@/utils/logger";
|
||||
|
||||
interface GreetOptions {
|
||||
uppercase?: boolean;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user