@hype-stack/cli 1.20.0 → 1.20.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.
|
@@ -49,7 +49,7 @@ function ve(e, t, n) {
|
|
|
49
49
|
}
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/constants/constants.ts
|
|
52
|
-
var ye = "1.20.
|
|
52
|
+
var ye = "1.20.1", be = "BetterTyped/hype-stack", xe = "main", Se = `gh:${be}`, Ce = "HYPE_STACK_TEMPLATE_REF", we = "/cli/template-channel", Te = "stack.json", Ee = "/schema/stack.json", De = "https://api.hype-stack.dev", Oe = "HYPE_STACK_API_URL", ke = "https://www.hype-stack.dev", Ae = /^[a-z0-9](?:[a-z0-9._-]*[a-z0-9])?$/, je = [
|
|
53
53
|
{
|
|
54
54
|
value: "cursor",
|
|
55
55
|
label: "Cursor",
|
|
@@ -832,8 +832,8 @@ function yn(e) {
|
|
|
832
832
|
return i;
|
|
833
833
|
}
|
|
834
834
|
function bn(e) {
|
|
835
|
-
let t = e.missing.map((e) => `"${e}"`).join(", "), n = e.missing.includes("admin") ? "the SaaS starters ship the admin app" : e.missing.includes("invitations") ? "the SaaS starters ship invitations" : "
|
|
836
|
-
return `${e.pack} requires ${t}, which no installed or selected pack provides (${n})
|
|
835
|
+
let t = e.missing.map((e) => `"${e}"`).join(", "), n = e.missing.includes("admin") ? "the SaaS starters ship the full admin app" : e.missing.includes("invitations") ? "the SaaS starters ship invitations" : "a SaaS starter provides it";
|
|
836
|
+
return `${e.pack} requires ${t}, which no installed or selected pack provides (${n}). Swap the starter with: npx @hype-stack/cli compose --packs starter-saas-betterauth`;
|
|
837
837
|
}
|
|
838
838
|
function xn(e, t) {
|
|
839
839
|
let n = new Set(t);
|
|
@@ -7355,7 +7355,7 @@ async function fp() {
|
|
|
7355
7355
|
commit: null,
|
|
7356
7356
|
source: "env"
|
|
7357
7357
|
};
|
|
7358
|
-
if (rp === "1.20.
|
|
7358
|
+
if (rp === "1.20.1") return {
|
|
7359
7359
|
ref: xe,
|
|
7360
7360
|
commit: null,
|
|
7361
7361
|
source: "dev"
|
|
@@ -8652,7 +8652,7 @@ async function Gm(e = {}) {
|
|
|
8652
8652
|
if (t.aborted) {
|
|
8653
8653
|
s.stop("Installation aborted");
|
|
8654
8654
|
for (let e of t.errors) ar(e);
|
|
8655
|
-
W(["No files were written. Fix these (or pass --force for existing files) and try again:", ...t.errors.map((e) => ` ${e}`)].join("\n"));
|
|
8655
|
+
W([t.errors.some((e) => /already exists/i.test(e)) ? "No files were written. Fix these (or pass --force for existing files) and try again:" : "No files were written. Fix these and try again:", ...t.errors.map((e) => ` ${e}`)].join("\n"));
|
|
8656
8656
|
}
|
|
8657
8657
|
s.stop("Files installed"), t.installed.length > 0 && u.log.success(`${V.highlight(String(t.installed.length))} files installed`);
|
|
8658
8658
|
for (let e of ae) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../../src/commands/compose.ts"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAyB,MAAM,mBAAmB,CAAC;AAsB5G,wBAAsB,cAAc,CAAC,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../../src/commands/compose.ts"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAyB,MAAM,mBAAmB,CAAC;AAsB5G,wBAAsB,cAAc,CAAC,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CA8chF;AA8RD;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,MAAM,EAAE,CAUxG;AAID;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAIhE"}
|
package/dist/config/bin.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, o as i, r as a, s as o, t as s } from "./cli-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, o as i, r as a, s as o, t as s } from "./cli-DpBxnC3i.js";
|
|
2
2
|
export { i as composeCommand, r as createCommand, s as createProgram, e as deployCommand, o as ensureInit, t as initCommand, n as loginCommand, a as logoutCommand };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hype-stack/cli",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.1",
|
|
4
4
|
"description": "Scaffold a full-stack TypeScript app (React 19, Hono, Prisma, Kysely, Postgres) and compose features like auth, billing, and notifications into code you own. Deploys to Railway or Fly.io.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|