Host persistent Camino services and authenticated workspace bootstrap (WI-06)
This commit is contained in:
@@ -7,6 +7,7 @@ const [compilerPath, planPath, checksPath, output] = process.argv.slice(2);
|
||||
const compiler = await import(pathToFileURL(compilerPath));
|
||||
const plan = JSON.parse(await readFile(planPath, "utf8"));
|
||||
const checks = JSON.parse(await readFile(checksPath, "utf8"));
|
||||
compiler.compileWorkspaceEntry(plan, JSON.parse(await readFile(join(output, "entry.json"), "utf8")));
|
||||
const roots = Object.create(null);
|
||||
for (const check of checks) {
|
||||
if (Object.hasOwn(roots, check.packageRevisionId)) throw Error("Duplicate checked package revision");
|
||||
|
||||
Reference in New Issue
Block a user