Build composable Camino packages with explicit type and source dependencies
This commit is contained in:
@@ -209,7 +209,7 @@ export const checkWorkspaceCandidate = async (options: {
|
||||
: [];
|
||||
const evolution = planEvolution(baseline, compiled.workspace, { reviews });
|
||||
blockers.push(...evolution.blockers);
|
||||
for (const resource of compiled.resources.filter((entry) => entry.kind === "package")) {
|
||||
for (const resource of compiled.capabilityResources.filter((entry) => entry.kind === "package")) {
|
||||
// Per-package recursive schema, identical to host activation, not unrelated
|
||||
// workspace declarations that would unnecessarily invalidate build caches.
|
||||
const candidate = await compileCapabilityResourceRepository({
|
||||
@@ -218,6 +218,7 @@ export const checkWorkspaceCandidate = async (options: {
|
||||
source: resource.source,
|
||||
resolveResource,
|
||||
});
|
||||
if (candidate.resource.kind !== "package") throw Error("Expected checked package contract");
|
||||
const schema = path.join(temporary, "bindings.json");
|
||||
await fs.writeFile(
|
||||
schema,
|
||||
|
||||
Reference in New Issue
Block a user