@hype-stack/cli 0.5.16 → 0.5.17
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.
|
@@ -13,7 +13,7 @@ import { Prompt as O } from "@clack/core";
|
|
|
13
13
|
import { styleText as k } from "node:util";
|
|
14
14
|
import { downloadTemplate as ee } from "giget";
|
|
15
15
|
//#region src/constants/constants.ts
|
|
16
|
-
var A = "0.5.
|
|
16
|
+
var A = "0.5.17", te = "gh:BetterTyped/hype-stack", ne = "stack.json", re = "/schema/stack.json", j = "https://api.hype-stack.dev", M = "HYPE_STACK_API_URL", N = "https://www.hype-stack.dev", ie = /^[a-z0-9](?:[a-z0-9._-]*[a-z0-9])?$/, P = [
|
|
17
17
|
{
|
|
18
18
|
value: "cursor",
|
|
19
19
|
label: "Cursor",
|
|
@@ -4243,8 +4243,8 @@ async function zo(e, t) {
|
|
|
4243
4243
|
let n = await Bo(e);
|
|
4244
4244
|
await Promise.all(n.map(async (e) => {
|
|
4245
4245
|
let n = await y.readFile(e, "utf-8").catch(() => null);
|
|
4246
|
-
if (!n || !/^name:[ \t]*hype-stack/m.test(n)) return;
|
|
4247
|
-
let r = n.replace(/^(name:[ \t]*)hype-stack/gm, `$1${t}`);
|
|
4246
|
+
if (!n || !/^[ \t]*(?:name|container_name):[ \t]*hype-stack/m.test(n)) return;
|
|
4247
|
+
let r = n.replace(/^(name:[ \t]*)hype-stack/gm, `$1${t}`).replace(/^([ \t]*container_name:[ \t]*)hype-stack/gm, `$1${t}`);
|
|
4248
4248
|
await y.writeFile(e, r, "utf-8");
|
|
4249
4249
|
}));
|
|
4250
4250
|
}
|
package/dist/config/bin.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./cli-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./cli-CpvJkOtv.js";
|
|
2
2
|
export { t as composeCommand, a as createCommand, o as createProgram, e as ensureInit, r as initCommand, i as loginCommand, n as logoutCommand };
|