@powerhousedao/shared 6.2.3-dev.28 → 6.2.3-dev.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clis/index.mjs +2 -2
- package/dist/clis/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/clis/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import { isTruthy } from "remeda";
|
|
|
16
16
|
import npa from "npm-package-arg";
|
|
17
17
|
import { packageDirectory } from "package-directory";
|
|
18
18
|
import { execSync } from "child_process";
|
|
19
|
-
import { dirname } from "path";
|
|
19
|
+
import { dirname, resolve } from "path";
|
|
20
20
|
import { writePackage } from "write-package";
|
|
21
21
|
import lt from "semver/functions/lt.js";
|
|
22
22
|
//#region \0rolldown/runtime.js
|
|
@@ -6147,7 +6147,7 @@ PH CLI package manager: ${packageManager}
|
|
|
6147
6147
|
//#endregion
|
|
6148
6148
|
//#region clis/file-system/write-file-ensuring-dir.ts
|
|
6149
6149
|
async function writeFileEnsuringDir(filePath, contents) {
|
|
6150
|
-
await mkdir(dirname(filePath), { recursive: true });
|
|
6150
|
+
await mkdir(dirname(resolve(filePath)), { recursive: true });
|
|
6151
6151
|
await writeFile(filePath, contents, { encoding: "utf-8" });
|
|
6152
6152
|
}
|
|
6153
6153
|
//#endregion
|