Build composable Camino packages with explicit type and source dependencies
This commit is contained in:
@@ -38,7 +38,7 @@ export const createGitCapabilityResolver = async (options: {
|
||||
}>;
|
||||
};
|
||||
for (const entry of document.resources ?? []) {
|
||||
if (entry.kind !== "interface" && entry.kind !== "package") {
|
||||
if (entry.kind !== "interface" && entry.kind !== "package" && entry.kind !== "build") {
|
||||
throw new Error(`Snapshot map has unsupported resource kind ${entry.kind}`);
|
||||
}
|
||||
const key = sourceKey(entry.kind, entry.repository, entry.commit);
|
||||
|
||||
Reference in New Issue
Block a user