Add Chromium-only Blender WebEngine parity work

This commit is contained in:
mes123456
2026-08-12 04:47:48 -04:00
commit 9fd26010f6
18225 changed files with 11622124 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import fs from "node:fs";
import path from "node:path";
const root = path.dirname(new URL(import.meta.url).pathname);
const packageJson = JSON.parse(fs.readFileSync(path.join(root, "package.json"), "utf8"));
const runtimePackages = Object.keys(packageJson.dependencies ?? {});
for (const name of runtimePackages) {
const packagePath = path.join(root, "node_modules", ...name.split("/"));
if (!fs.existsSync(packagePath)) throw new Error(`runtime dependency is not installed locally: ${name}`);
}
if (runtimePackages.includes("three")) throw new Error("Three.js must use the vendored project copy");
if (packageJson.dependencies?.["@sqlite.org/sqlite-wasm"]) throw new Error("SQLite WASM is not a current runtime dependency");
console.log(`runtime-deps-local packages=${runtimePackages.join(",")}`);