@kungfu-tech/buildchain 2.10.9 → 2.10.10
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/bin/buildchain.mjs +11 -1
- package/dist/site/buildchain-contract.json +6 -6
- package/dist/site/buildchain-site.json +79 -16
- package/dist/site/capability-registry.json +5 -5
- package/dist/site/cli-registry.json +25 -1
- package/dist/site/kfd-claims.json +114 -13
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/manual-registry.json +3 -3
- package/dist/site/node-api-registry.json +17 -4
- package/dist/site/page-registry.json +72 -9
- package/dist/site/public-surface-audit.json +63 -9
- package/dist/site/release-provenance.json +1 -0
- package/dist/site/site-manifest.json +7 -7
- package/dist/site/workflow-registry.json +25 -1
- package/docs/MAP.md +6 -1
- package/docs/cli.md +19 -2
- package/docs/publication-artifacts.md +126 -0
- package/docs/web-surface-deployments.md +8 -2
- package/fixtures/publication-artifact-shaped/README.md +11 -0
- package/package.json +2 -1
- package/packages/core/README.md +11 -0
- package/packages/core/buildchain-config.js +33 -2
- package/packages/core/index.js +8 -0
- package/packages/core/public-surface-audit.js +4 -0
- package/packages/core/publication-artifact.js +245 -0
- package/scripts/generate-site-bundle.mjs +5 -1
- package/scripts/init-repo.mjs +80 -6
- package/scripts/publication-artifact.mjs +45 -0
package/bin/buildchain.mjs
CHANGED
|
@@ -9,6 +9,7 @@ import { npmPublishDryRun } from "../scripts/npm-publish-dry-run.mjs";
|
|
|
9
9
|
import { runLifecycle } from "../scripts/run-lifecycle-core.mjs";
|
|
10
10
|
import { verifyInfraContractEvidenceBundle } from "../scripts/infra-contract-core.mjs";
|
|
11
11
|
import { runReleasePropagationCli } from "../scripts/release-propagation.mjs";
|
|
12
|
+
import { runPublicationArtifactCli } from "../scripts/publication-artifact.mjs";
|
|
12
13
|
import { validateBuildchainConfig } from "../packages/core/buildchain-config.js";
|
|
13
14
|
import { detectPackageManager } from "../packages/core/package-manager.js";
|
|
14
15
|
import {
|
|
@@ -92,7 +93,7 @@ function usage() {
|
|
|
92
93
|
return `Usage:
|
|
93
94
|
buildchain --help
|
|
94
95
|
buildchain version
|
|
95
|
-
buildchain init [--cwd <dir>] [--type package|native|web-surface|infra-contract|anchored-package] [--force]
|
|
96
|
+
buildchain init [--cwd <dir>] [--type package|native|web-surface|infra-contract|publication-artifact|anchored-package] [--force]
|
|
96
97
|
[--package-manager pnpm|npm|yarn] [--runner-preset <preset>]
|
|
97
98
|
[--artifact-name <template>]
|
|
98
99
|
buildchain validate [--cwd <dir>] [--require-version-state]
|
|
@@ -200,6 +201,9 @@ function usage() {
|
|
|
200
201
|
[--path <jsonl>] -- <command> [args...]
|
|
201
202
|
buildchain web-surface ...
|
|
202
203
|
buildchain infra-contract ...
|
|
204
|
+
buildchain publication-artifact manifest [--cwd <dir>] [--source-sha <sha>]
|
|
205
|
+
[--output <file>] [--passport-output <file>]
|
|
206
|
+
[--source-bundle <file>] [--no-source-bundle] [--json]
|
|
203
207
|
buildchain release-propagation <plan|write-lock> ...
|
|
204
208
|
buildchain badges readme [--cwd <dir>] [--readme <path>] [--check] [--write] [--json]
|
|
205
209
|
buildchain badges bundle [--cwd <dir>] [--readme <path>] [--claims <csv>] [--check] [--write] [--json]
|
|
@@ -228,6 +232,7 @@ Examples:
|
|
|
228
232
|
buildchain infra-contract --mode apply --plan <plan.json> --source-sha <sha> --approval-id <id> --dry-run false --execute-adapter-commands true
|
|
229
233
|
buildchain infra-contract --mode propagation-apply --propagation-plan <plan.json> --dry-run true
|
|
230
234
|
buildchain infra-contract --mode evidence-bundle --artifact <artifact.json> --propagation-result <result.json>
|
|
235
|
+
buildchain publication-artifact manifest --source-sha <sha> --json
|
|
231
236
|
buildchain release-propagation plan --graph graph.json --upstream-release release.json --json
|
|
232
237
|
buildchain kfd status --json
|
|
233
238
|
buildchain kfd schema list --json
|
|
@@ -1780,6 +1785,11 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
1780
1785
|
return;
|
|
1781
1786
|
}
|
|
1782
1787
|
|
|
1788
|
+
if (command === "publication-artifact" || command === "publication") {
|
|
1789
|
+
runPublicationArtifactCli(args);
|
|
1790
|
+
return;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1783
1793
|
if (command === "release-propagation") {
|
|
1784
1794
|
runReleasePropagationCli(args);
|
|
1785
1795
|
return;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"product": {
|
|
5
5
|
"name": "Buildchain",
|
|
6
6
|
"package": "@kungfu-tech/buildchain",
|
|
7
|
-
"version": "2.10.
|
|
7
|
+
"version": "2.10.10",
|
|
8
8
|
"repository": "https://github.com/kungfu-systems/buildchain"
|
|
9
9
|
},
|
|
10
10
|
"majorLine": "v2",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"breaking contract drift fails closed before rendering, deployment, or release publication"
|
|
135
135
|
],
|
|
136
136
|
"breakingDigest": "sha256:82ee63cb336e40d832dfff4a1c5e6cbfa221a4fc8b2359990033bc931bffc43a",
|
|
137
|
-
"auditDigest": "sha256:
|
|
137
|
+
"auditDigest": "sha256:fdb586f033b0bcbe2455b1f9e1ced419d22b715fcdcb5d096265b741471cac9a"
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"contractVersion": 1,
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
"README badge block checks and writes are generated from machine-readable repository facts"
|
|
345
345
|
],
|
|
346
346
|
"breakingDigest": "sha256:90a73892b2d6c214048448d5f45df75639bdf7b7e8fefd9c596e04b087407bcc",
|
|
347
|
-
"auditDigest": "sha256:
|
|
347
|
+
"auditDigest": "sha256:e2ffc6b772e24ebb72dfc8c7ee55eb533d48dbcb6223707387010a505155a3c3"
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
350
|
"contractVersion": 1,
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"manual entries carry source file digests so downstream sites and agents can detect stale hand-written documentation"
|
|
435
435
|
],
|
|
436
436
|
"breakingDigest": "sha256:7d0d2819e3a3e72989d9c57b5efe9d0bc0a79bc0f2c82a0c7b9d6c5a211a91f2",
|
|
437
|
-
"auditDigest": "sha256:
|
|
437
|
+
"auditDigest": "sha256:3d69a844c04e29c55ee82e5485960a0d21701de44f28358b3b21d05db26e1754"
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
440
|
"contractVersion": 1,
|
|
@@ -456,9 +456,9 @@
|
|
|
456
456
|
"agents can discover supported Node APIs without importing internal file paths"
|
|
457
457
|
],
|
|
458
458
|
"breakingDigest": "sha256:48f925608d3e2131d90936b07dc2a30341204cae3e6e785c0f77d61ad755c945",
|
|
459
|
-
"auditDigest": "sha256:
|
|
459
|
+
"auditDigest": "sha256:44685053beb1571e543d5912009acea8eb29e13ca9bb96baffb10e87805dfcbf"
|
|
460
460
|
}
|
|
461
461
|
],
|
|
462
462
|
"compatibilityDigest": "sha256:967df7e854fdf582294ddfb6403eff25c00db9518a24051e7d47cbd75527c785",
|
|
463
|
-
"contractDigest": "sha256:
|
|
463
|
+
"contractDigest": "sha256:3ed710d73ac54819396ec372044ec633230fac360b8cad972b4318044d782538"
|
|
464
464
|
}
|