From 5b68a3af9d13556892592346478621509880ca74 Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Thu, 26 Dec 2024 11:58:22 +0600 Subject: [PATCH] feat: replace path with pathe --- package-lock.json | 1 + package.json | 1 + src/package-utils/setup-helpers.ts | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 64fd9c1..fbea386 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "chalk": "^5.3.0", "defu": "^6.1.4", "execa": "^8.0.1", + "pathe": "^1.1.2", "prompts": "^2.4.2" }, "devDependencies": { diff --git a/package.json b/package.json index 89ae048..831c120 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "chalk": "^5.3.0", "defu": "^6.1.4", "execa": "^8.0.1", + "pathe": "^1.1.2", "prompts": "^2.4.2" }, "devDependencies": { diff --git a/src/package-utils/setup-helpers.ts b/src/package-utils/setup-helpers.ts index fd5a089..8ec8330 100644 --- a/src/package-utils/setup-helpers.ts +++ b/src/package-utils/setup-helpers.ts @@ -11,7 +11,7 @@ import { PREDEFINED_LOG_MESSAGES, } from "./log-helpers"; import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs"; -import { join } from "path"; +import { join } from "pathe"; export type DatabaseProviderType = | "sqlite"