@kungfu-tech/buildchain 4.0.2-alpha.43 → 4.0.2-alpha.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/architecture/maintainability-debt.json +18 -19
- package/architecture/maintainability-policy.json +4 -4
- package/architecture/v4-release-topology.json +9 -6
- package/architecture/v4-universal-workflow-train-admission.json +1 -1
- package/dist/site/buildchain-contract.json +7 -7
- package/dist/site/buildchain-site.json +50 -14
- package/dist/site/capability-registry.json +2 -2
- package/dist/site/kfd-claims.json +29 -5
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +3 -3
- package/dist/site/node-api-registry.json +154 -13
- package/dist/site/page-registry.json +43 -7
- package/dist/site/public-surface-audit.json +7 -3
- package/dist/site/publication-authority-registry.json +5 -17
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/release-provenance.json +2 -1
- package/dist/site/site-manifest.json +7 -7
- package/dist/site/workflow-registry.json +5 -5
- package/docs/MAP.md +1 -0
- package/docs/cli.md +3 -0
- package/docs/node-api-reference.md +21 -10
- package/docs/oci-publication.md +82 -0
- package/package.json +3 -2
- package/packages/core/buildchain-v4-domain.wasm +0 -0
- package/packages/core/oci-publication-bundle.js +241 -0
- package/packages/core/paper-agent-entry.js +26 -2
- package/packages/core/paper.js +4 -4
- package/packages/core/release-tail-product-capabilities.js +9 -0
- package/packages/core/v4-canonical-contracts.js +1 -0
- package/packages/core/v4-domain-wasm-artifact.js +2 -2
- package/scripts/check-v4-release-topology.mjs +14 -4
- package/scripts/generate-channel-promotion-workflow.mjs +2 -19
- package/scripts/generate-v4-universal-workflow-facades.mjs +8 -2
- package/scripts/publication-candidate-kind.mjs +92 -0
- package/scripts/publication-candidate-sealer.mjs +9 -0
- package/scripts/release-candidate-resolver.mjs +6 -17
- package/scripts/resume-from-candidate-run.mjs +10 -17
- package/scripts/site-capability-metadata.mjs +1 -0
- package/scripts/v4-product-publication-intent.mjs +1 -1
- package/scripts/v4-universal-workflow-engine.mjs +2 -0
|
@@ -65,7 +65,7 @@ export function resolveV4ProductPublicationIntent() {
|
|
|
65
65
|
const sourceSha = env("BUILDCHAIN_SOURCE_SHA", true);
|
|
66
66
|
const manifestPath = env(
|
|
67
67
|
"BUILDCHAIN_SEALED_BUNDLE_MANIFEST",
|
|
68
|
-
artifactKind
|
|
68
|
+
artifactKind !== "custom",
|
|
69
69
|
);
|
|
70
70
|
const manifest = manifestPath ? readJson(manifestPath) : null;
|
|
71
71
|
const requiredArtifacts = readJson(
|
|
@@ -306,6 +306,7 @@ async function materializeProductPublicationIntent({
|
|
|
306
306
|
BUILDCHAIN_SEALED_BUNDLE_MANIFEST: candidate.paths.sealedBundleManifest,
|
|
307
307
|
BUILDCHAIN_REQUIRED_ARTIFACTS_PATH:
|
|
308
308
|
candidate.paths.publishRequiredArtifacts,
|
|
309
|
+
BUILDCHAIN_PUBLISH_ARTIFACT_KIND: inputs["publish-artifact-kind"] || "npm",
|
|
309
310
|
BUILDCHAIN_PUBLISH_PACKAGE_MAIN: inputs["publish-package-main"] || "",
|
|
310
311
|
BUILDCHAIN_PUBLISH_DIST_TAG: inputs["publish-dist-tag"] || "",
|
|
311
312
|
BUILDCHAIN_PRODUCT_PUBLICATION_INTENT_PATH: intentPath,
|
|
@@ -449,6 +450,7 @@ async function executeReleasePromotion(request, admission) {
|
|
|
449
450
|
"candidate-build-summary-path": candidate.paths.buildSummary,
|
|
450
451
|
"stage-capsules-path": candidate.paths.stageCapsules,
|
|
451
452
|
"publication-qualification-path": candidate.paths.publicationQualification,
|
|
453
|
+
"publish-artifact-kind": payload.inputs["publish-artifact-kind"] || "npm",
|
|
452
454
|
"sealed-bundle-root": candidate.paths.sealedBundleRoot,
|
|
453
455
|
"sealed-bundle-manifest": candidate.paths.sealedBundleManifest,
|
|
454
456
|
"required-artifacts-path": candidate.paths.publishRequiredArtifacts,
|