refactor(binary): move production composition outside application workflows (#965)

This commit is contained in:
Ysopwnable
2026-10-07 21:56:58 +08:00
committed by GitHub
parent b5afa5f91e
commit 33d4761cc7
34 changed files with 359 additions and 76 deletions
+3 -1
View File
@@ -89,12 +89,14 @@ const failedBoundary = (file, target) => {
)
return "pure-layer";
}
if (file === "src/application/runtime.ts") return undefined;
if (layer === "application" && targetLayer === "composition")
return "application-composition";
if (
(layer === "application" || layer === "server") &&
(MIGRATED_PROVIDER_ROOTS.has(targetLayer) ||
/^src\/(?:artifacts\/ArtifactProvider|dotnet\/ManagedStaticProvider|native\/NativeMacOSProvider)\.[^/]+$/u.test(
target,
) ||
/^src\/browser\/[^/]*Provider\.[^/]+$/u.test(target))
)
return "provider-construction";