@tokenoftrust/storefront-runner 2.0.52 → 2.0.54
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.
|
@@ -212,7 +212,7 @@ if (features.catalog) {
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
// Per-vendor header treatment from the theme file: a "dark" header renders the
|
|
215
|
-
// bar in the primary color carrying the light logo (e.g.
|
|
215
|
+
// bar in the primary color carrying the light logo (e.g. a merchant's navy +
|
|
216
216
|
// white logo); a light header always shows the text wordmark (no logo image).
|
|
217
217
|
const headerDark = theme.brand.headerVariant === "dark";
|
|
218
218
|
const headerLogoSrc = headerDark ? theme.brand.logoLight : theme.brand.logoDark;
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* Families/weights (keep in sync with the themes in src/themes/*):
|
|
15
15
|
* Reference (PVC, sample-store-2, home): Space Grotesk 500/600/700 (display),
|
|
16
16
|
* Source Serif 4 400/500/600 (body), Space Mono 400 (mono)
|
|
17
|
-
* sample-store-3.com: Montserrat 600/700/800 (display), Inter 400/500/600 (body)
|
|
18
17
|
* tokenoftrust.com: Plus Jakarta Sans 500/600/700/800 (display),
|
|
19
18
|
* Inter 400/500/600 (body), JetBrains Mono 400/500 (mono)
|
|
20
19
|
* vapenicotinefree.com: Anuphan 400/500/600/700 (display + body)
|
|
@@ -30,15 +29,15 @@
|
|
|
30
29
|
@import "@fontsource/source-serif-4/500.css";
|
|
31
30
|
@import "@fontsource/source-serif-4/600.css";
|
|
32
31
|
|
|
33
|
-
/* Space Mono — reference mono
|
|
32
|
+
/* Space Mono — reference mono */
|
|
34
33
|
@import "@fontsource/space-mono/400.css";
|
|
35
34
|
|
|
36
|
-
/* Montserrat —
|
|
35
|
+
/* Montserrat — merchant display */
|
|
37
36
|
@import "@fontsource/montserrat/600.css";
|
|
38
37
|
@import "@fontsource/montserrat/700.css";
|
|
39
38
|
@import "@fontsource/montserrat/800.css";
|
|
40
39
|
|
|
41
|
-
/* Inter —
|
|
40
|
+
/* Inter — merchant and platform body */
|
|
42
41
|
@import "@fontsource/inter/400.css";
|
|
43
42
|
@import "@fontsource/inter/500.css";
|
|
44
43
|
@import "@fontsource/inter/600.css";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokenoftrust/storefront-runner",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.54",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "World-shareable storefront runner: multi-tenant renderer on Astro/Cloudflare. No control plane.",
|
|
6
6
|
"packageManager": "pnpm@11.9.0",
|
|
@@ -211,7 +211,7 @@ export function materializeTenant({
|
|
|
211
211
|
const cloneUrl = remote ?? buildCloneUrl({ base: gitBase, repo, user, token });
|
|
212
212
|
const work = mkdtempSync(join(tmpdir(), `materialize-${tenant}-`));
|
|
213
213
|
const git = (args, cwd = work) =>
|
|
214
|
-
execFileSync("git", args, { cwd, stdio: ["ignore", "pipe", "pipe"] })
|
|
214
|
+
execFileSync("git", ["-c", "http.followRedirects=false", ...args], { cwd, stdio: ["ignore", "pipe", "pipe"] })
|
|
215
215
|
.toString()
|
|
216
216
|
.trim();
|
|
217
217
|
try {
|
|
@@ -462,7 +462,7 @@ export function checkFresh(
|
|
|
462
462
|
const cloneUrl = buildCloneUrl({ base: gitBase, repo, user, token });
|
|
463
463
|
let liveSha = "";
|
|
464
464
|
try {
|
|
465
|
-
const out = execFileSync("git", ["ls-remote", cloneUrl, movableRef], {
|
|
465
|
+
const out = execFileSync("git", ["-c", "http.followRedirects=false", "ls-remote", cloneUrl, movableRef], {
|
|
466
466
|
stdio: ["ignore", "pipe", "pipe"],
|
|
467
467
|
}).toString();
|
|
468
468
|
liveSha = (out.split(/\s+/)[0] || "").trim();
|