@tokenoftrust/storefront-runner 2.2.27 → 2.2.29
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokenoftrust/storefront-runner",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.29",
|
|
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",
|
|
@@ -624,11 +624,15 @@ export const LARGE_PUBLIC_ASSET_IDEA_ID = "fb-1790956035713-snpovm";
|
|
|
624
624
|
export const LARGE_PUBLIC_ASSET_FIX =
|
|
625
625
|
`storing it under public/ will work, but every publish re-copies it into R2 and ` +
|
|
626
626
|
`your Gitea repo keeps it forever — on a tenant with many of these, expect ` +
|
|
627
|
-
`slower publishes and slower clones over time.
|
|
628
|
-
`
|
|
629
|
-
`
|
|
630
|
-
`
|
|
631
|
-
`
|
|
627
|
+
`slower publishes and slower clones over time. If this is an image, you don't ` +
|
|
628
|
+
`need to do anything extra: reference its public URL directly in your <img>/ ` +
|
|
629
|
+
`background-image/srcset and our capture step pulls it into CDN storage ` +
|
|
630
|
+
`automatically on publish. For a PDF or other non-image file, that auto-capture ` +
|
|
631
|
+
`doesn't apply yet — linking straight to an external URL avoids the repo-size ` +
|
|
632
|
+
`problem entirely, or send us the URL and we'll pull it in manually. We're ` +
|
|
633
|
+
`tracking a built-in fix to auto-relocate large files of any type the same way ` +
|
|
634
|
+
`images already work (idea ${LARGE_PUBLIC_ASSET_IDEA_ID}) — vote for it if ` +
|
|
635
|
+
`you'd like this handled for you sooner.`;
|
|
632
636
|
|
|
633
637
|
/**
|
|
634
638
|
* The advisory rules LOUD enough to call out by NAME at `tot validate` / `tot
|