@beingniloy/megon 1.0.0 → 1.0.1
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/bin/index.js +6 -6
- package/dist/bin/worker.js +882 -882
- package/package.json +1 -1
package/dist/bin/index.js
CHANGED
|
@@ -154666,7 +154666,7 @@ function lazy2(fn3) {
|
|
|
154666
154666
|
}
|
|
154667
154667
|
|
|
154668
154668
|
// ../../packages/server/src/installation/meta.ts
|
|
154669
|
-
var VERSION = "1.0.
|
|
154669
|
+
var VERSION = "1.0.1", CHANNEL = "local";
|
|
154670
154670
|
|
|
154671
154671
|
// ../../packages/server/src/effect/logger.ts
|
|
154672
154672
|
var EffectLogger;
|
|
@@ -235028,7 +235028,7 @@ var init_installation = __esm(async () => {
|
|
|
235028
235028
|
});
|
|
235029
235029
|
for (const check6 of checks3) {
|
|
235030
235030
|
const output = yield* check6.command();
|
|
235031
|
-
const installedName = check6.name === "brew" || check6.name === "choco" || check6.name === "scoop" ? "megon" : "megon
|
|
235031
|
+
const installedName = check6.name === "brew" || check6.name === "choco" || check6.name === "scoop" ? "megon" : "@beingniloy/megon";
|
|
235032
235032
|
if (output.includes(installedName)) {
|
|
235033
235033
|
return check6.name;
|
|
235034
235034
|
}
|
|
@@ -235053,7 +235053,7 @@ var init_installation = __esm(async () => {
|
|
|
235053
235053
|
const reg = r14 || "https://registry.npmjs.org";
|
|
235054
235054
|
const registry2 = reg.endsWith("/") ? reg.slice(0, -1) : reg;
|
|
235055
235055
|
const channel = Installation.CHANNEL;
|
|
235056
|
-
const response2 = yield* httpOk.execute(exports_HttpClientRequest.get(`${registry2}/megon
|
|
235056
|
+
const response2 = yield* httpOk.execute(exports_HttpClientRequest.get(`${registry2}/@beingniloy/megon/${channel}`).pipe(exports_HttpClientRequest.acceptJson));
|
|
235057
235057
|
const data3 = yield* exports_HttpClientResponse.schemaBodyJson(NpmPackage)(response2);
|
|
235058
235058
|
return data3.version;
|
|
235059
235059
|
}
|
|
@@ -235078,13 +235078,13 @@ var init_installation = __esm(async () => {
|
|
|
235078
235078
|
result6 = yield* upgradeCurl(target);
|
|
235079
235079
|
break;
|
|
235080
235080
|
case "npm":
|
|
235081
|
-
result6 = yield* run7(["npm", "install", "-g",
|
|
235081
|
+
result6 = yield* run7(["npm", "install", "-g", `@beingniloy/megon@${target}`]);
|
|
235082
235082
|
break;
|
|
235083
235083
|
case "pnpm":
|
|
235084
|
-
result6 = yield* run7(["pnpm", "install", "-g",
|
|
235084
|
+
result6 = yield* run7(["pnpm", "install", "-g", `@beingniloy/megon@${target}`]);
|
|
235085
235085
|
break;
|
|
235086
235086
|
case "bun":
|
|
235087
|
-
result6 = yield* run7(["bun", "install", "-g",
|
|
235087
|
+
result6 = yield* run7(["bun", "install", "-g", `@beingniloy/megon@${target}`]);
|
|
235088
235088
|
break;
|
|
235089
235089
|
case "brew": {
|
|
235090
235090
|
const formula = yield* getBrewFormula();
|