@tokenoftrust/cli 2.2.5 → 2.2.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/validate.mjs +9 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenoftrust/cli",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "Token of Trust developer CLI — clone a tenant store, run it locally with save→reload, and submit it for preview. Installs the `tot` command.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Token of Trust",
package/src/validate.mjs CHANGED
@@ -665,11 +665,15 @@ export const LARGE_PUBLIC_ASSET_IDEA_ID = "fb-1790956035713-snpovm";
665
665
  export const LARGE_PUBLIC_ASSET_FIX =
666
666
  `storing it under public/ will work, but every publish re-copies it into R2 and ` +
667
667
  `your Gitea repo keeps it forever — on a tenant with many of these, expect ` +
668
- `slower publishes and slower clones over time. Today, host it on a shared drive ` +
669
- `you control and tell us the URL so we can pull it in and serve it from R2 directly, ` +
670
- `rather than committing it to the tenant repo. We're tracking a built-in fix ` +
671
- `(automatic relocation to deduped storage, idea ${LARGE_PUBLIC_ASSET_IDEA_ID}) — ` +
672
- `vote for it if you'd like this handled for you sooner.`;
668
+ `slower publishes and slower clones over time. If this is an image, you don't ` +
669
+ `need to do anything extra: reference its public URL directly in your <img>/ ` +
670
+ `background-image/srcset and our capture step pulls it into CDN storage ` +
671
+ `automatically on publish. For a PDF or other non-image file, that auto-capture ` +
672
+ `doesn't apply yet — linking straight to an external URL avoids the repo-size ` +
673
+ `problem entirely, or send us the URL and we'll pull it in manually. We're ` +
674
+ `tracking a built-in fix to auto-relocate large files of any type the same way ` +
675
+ `images already work (idea ${LARGE_PUBLIC_ASSET_IDEA_ID}) — vote for it if ` +
676
+ `you'd like this handled for you sooner.`;
673
677
 
674
678
  /**
675
679
  * The advisory rules LOUD enough to call out by NAME at `tot validate` / `tot