@hype-stack/cli 1.7.0 → 1.8.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/{cli-Bud76Eow.js → cli-BuNNZClf.js} +1270 -1236
- package/dist/commands/compose.d.ts.map +1 -1
- package/dist/commands/template.d.ts.map +1 -1
- package/dist/config/bin.js +1 -1
- package/dist/core/variants.d.ts +19 -0
- package/dist/core/variants.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../../src/commands/compose.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../../src/commands/compose.ts"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,aAAa,EAGd,MAAM,mBAAmB,CAAC;AAqB3B,wBAAsB,cAAc,CAAC,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CA4ShF;AAgLD;;;;;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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/commands/template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/commands/template.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAIV,sBAAsB,EAGvB,MAAM,mBAAmB,CAAC;AAoB3B;;;;;;;;;GASG;AACH,wBAAsB,eAAe,CAAC,OAAO,GAAE,sBAA2B,GAAG,OAAO,CAAC,IAAI,CAAC,CAyYzF"}
|
package/dist/config/bin.js
CHANGED
package/dist/core/variants.d.ts
CHANGED
|
@@ -66,6 +66,25 @@ export interface FamilyVariantConflict {
|
|
|
66
66
|
/** The conflicting pack names, in selection order. */
|
|
67
67
|
packs: string[];
|
|
68
68
|
}
|
|
69
|
+
/** A candidate pack that clashes with an already-present variant of the same family. */
|
|
70
|
+
export interface FamilyReplacement {
|
|
71
|
+
family: string;
|
|
72
|
+
/** The already-present same-family pack the candidate would replace. */
|
|
73
|
+
replaces: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Map each candidate that is a same-family sibling of an already-present pack to
|
|
77
|
+
* the pack it would clash with. "Present" covers whatever the caller already
|
|
78
|
+
* committed to: chosen template slot variants, fixed template packs, installed
|
|
79
|
+
* packs. Since same-family variants ship the same files behind different
|
|
80
|
+
* engines, a family with a representative must not gain a second one, so
|
|
81
|
+
* callers hide these candidates (interactive) or fail fast (`--packs`). Layout
|
|
82
|
+
* packs are exempt for the same reason as in
|
|
83
|
+
* {@link findFamilyVariantConflicts}: the layout family installs per app shell.
|
|
84
|
+
* Any family, present or future, gets this for free because membership comes
|
|
85
|
+
* from the backend's `family` field.
|
|
86
|
+
*/
|
|
87
|
+
export declare function findFamilyReplacements(candidates: string[], present: string[], packs: PackListItem[]): Map<string, FamilyReplacement>;
|
|
69
88
|
/**
|
|
70
89
|
* Same-family variants ship the same files behind different engines, so
|
|
71
90
|
* installing two of them stacks conflicting copies of every shared path. This
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../src/core/variants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEpE;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,oCAAoC;IACpC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5B,iFAAiF;IACjF,QAAQ,EAAE,GAAG,CAAC,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B,CACxC,aAAa,EAAE,MAAM,EAAE,EACvB,KAAK,EAAE,YAAY,EAAE,GACpB,qBAAqB,EAAE,CAezB"}
|
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-BuNNZClf.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 };
|