Deploy implemented Videoreg interface and persistent theme cycle
This commit is contained in:
1 parent
6405a8d101
commit
a12eefa1de
98 files changed
+4094
-2319
No files matched your search
@@ -236,12 +236,23 @@ def active_source_files():
|
||||
continue
|
||||
candidates = [stem, *[Path(str(stem) + suffix) for suffix in (".ts", ".tsx", ".js", ".jsx", ".json", ".css")], stem / "index.ts", stem / "index.tsx"]
|
||||
pending.extend(p for p in candidates if p.is_file())
|
||||
# Framework icon conventions and first-party public code/branding have no
|
||||
# import edge, but still belong to the exact source identity.
|
||||
seen.update((ROOT / "web-front/public").glob("*.js"))
|
||||
seen.update(p for p in (ROOT / "web-front/public/brand").rglob("*") if p.is_file())
|
||||
seen.update(p for pattern in ("icon.*", "favicon.ico", "apple-icon.*") for p in (src / "app").glob(pattern) if p.is_file())
|
||||
# Hash the actual build/check inputs too; they are not browser destinations.
|
||||
seen.update(ROOT / name for name in ("package.json", "package-lock.json", "tsconfig.json", "web-front/next.config.ts", "scripts/design-system/check-fsd.mjs", "scripts/rebuild-v2/check-built.py", "scripts/rebuild-v2/decode-raster-sharp.mjs", "scripts/rebuild-v2/check-raster-sharp.mjs"))
|
||||
return sorted(seen)
|
||||
|
||||
|
||||
def source_occurrences(files):
|
||||
occurrences = []
|
||||
for path in files:
|
||||
if not (path.is_relative_to(ROOT / "web-front/src") or path.is_relative_to(ROOT / "web-front/public")):
|
||||
continue # Build/check tooling is hash-bound, not an active web reference.
|
||||
if path.suffix.lower() not in (".ts", ".tsx", ".js", ".jsx", ".css", ".json", ".svg"):
|
||||
continue # Binary sources are hash-bound; never decode them as text.
|
||||
text = path.read_text()
|
||||
relative = path.relative_to(ROOT).as_posix()
|
||||
if path.suffix == ".json":
|
||||
|
||||
Reference in new issue
Block a user