@hype-stack/cli 0.5.7 → 0.5.8
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.8", j = "gh:BetterTyped/hype-stack", M = "stack.json", te = "/schema/stack.json", N = "https://api.hype-stack.dev", P = "HYPE_STACK_API_URL", F = "https://www.hype-stack.dev", ne = /^[a-z0-9](?:[a-z0-9._-]*[a-z0-9])?$/, I = [
|
|
17
17
|
{
|
|
18
18
|
value: "cursor",
|
|
19
19
|
label: "Cursor",
|
|
@@ -3929,19 +3929,27 @@ async function Ja(e, t) {
|
|
|
3929
3929
|
//#endregion
|
|
3930
3930
|
//#region src/core/apply-theme.ts
|
|
3931
3931
|
function Ya(e, t) {
|
|
3932
|
-
let n =
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3932
|
+
let n = 0;
|
|
3933
|
+
for (; n < e.length;) {
|
|
3934
|
+
let r = e.indexOf(t, n);
|
|
3935
|
+
if (r === -1) return null;
|
|
3936
|
+
let i = e.indexOf("{", r);
|
|
3937
|
+
if (i === -1) return null;
|
|
3938
|
+
if (e.slice(r + t.length, i).trim() !== "") {
|
|
3939
|
+
n = r + t.length;
|
|
3940
|
+
continue;
|
|
3941
|
+
}
|
|
3942
|
+
let a = 1, o = i + 1;
|
|
3943
|
+
for (; o < e.length && a > 0;) {
|
|
3944
|
+
let t = e[o];
|
|
3945
|
+
t === "{" ? a++ : t === "}" && a--, o++;
|
|
3946
|
+
}
|
|
3947
|
+
return a === 0 ? {
|
|
3948
|
+
bodyStart: i + 1,
|
|
3949
|
+
bodyEnd: o - 1
|
|
3950
|
+
} : null;
|
|
3940
3951
|
}
|
|
3941
|
-
return
|
|
3942
|
-
bodyStart: r + 1,
|
|
3943
|
-
bodyEnd: a - 1
|
|
3944
|
-
} : null;
|
|
3952
|
+
return null;
|
|
3945
3953
|
}
|
|
3946
3954
|
function Xa(e, t) {
|
|
3947
3955
|
let n = e;
|
package/dist/config/bin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply-theme.d.ts","sourceRoot":"","sources":["../../src/core/apply-theme.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"apply-theme.d.ts","sourceRoot":"","sources":["../../src/core/apply-theme.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AA4EjE;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAyBjE;AAED,eAAO,MAAM,0BAA0B,sBAAsB,CAAC;AAE9D;;;;GAIG;AACH,wBAAsB,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAe9F"}
|
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-BkQLqKas.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 };
|