@mushi-mushi/cli 0.11.1 → 0.11.2
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/chunk-GPF6KFBM.js +6 -0
- package/dist/index.js +2 -3
- package/dist/init.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-EXLNHPSC.js +0 -6
package/dist/index.js
CHANGED
|
@@ -595,7 +595,7 @@ function getFrameworkFromPkg(pkg) {
|
|
|
595
595
|
}
|
|
596
596
|
|
|
597
597
|
// src/version.ts
|
|
598
|
-
var MUSHI_CLI_VERSION = true ? "0.11.
|
|
598
|
+
var MUSHI_CLI_VERSION = true ? "0.11.2" : "0.0.0-dev";
|
|
599
599
|
|
|
600
600
|
// src/init.ts
|
|
601
601
|
var ENV_FILES = [".env.local", ".env"];
|
|
@@ -1453,11 +1453,10 @@ async function checkEndpointReachability(endpoint, doFetch = globalThis.fetch) {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
async function checkSdkInstall(cwd) {
|
|
1455
1455
|
try {
|
|
1456
|
-
const { readFile: readFile2
|
|
1456
|
+
const { readFile: readFile2 } = await import("fs/promises");
|
|
1457
1457
|
const { join: join6, resolve: resolve2 } = await import("path");
|
|
1458
1458
|
const root = resolve2(cwd);
|
|
1459
1459
|
const pkgPath = join6(root, "package.json");
|
|
1460
|
-
await access(pkgPath);
|
|
1461
1460
|
const pkg = JSON.parse(await readFile2(pkgPath, "utf8"));
|
|
1462
1461
|
const deps = { ...pkg.dependencies ?? {}, ...pkg.devDependencies ?? {} };
|
|
1463
1462
|
const sdks = [
|
package/dist/init.js
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED