@kungfu-tech/buildchain 2.12.1-alpha.3 → 2.12.1-alpha.4

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.
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "name": "Buildchain",
6
6
  "package": "@kungfu-tech/buildchain",
7
- "version": "2.12.1-alpha.3",
7
+ "version": "2.12.1-alpha.4",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "majorLine": "v2",
@@ -507,5 +507,5 @@
507
507
  }
508
508
  ],
509
509
  "compatibilityDigest": "sha256:2090784977bc7d54fc647215ef73532b9db26147a0b40ec3f56c31d611d806cc",
510
- "contractDigest": "sha256:e994ecf6a36ba821d3180420460d66fb8d770b21c8b181e507c3eb316ca5456a"
510
+ "contractDigest": "sha256:31a47c658039810fe57ee5423a039046f55a13c0b9c0070e5103d8b40b737ce3"
511
511
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-bundle",
4
- "generatedAt": "2026-07-11T13:59:42.169Z",
5
- "publishedAt": "2026-07-11T13:59:42.169Z",
4
+ "generatedAt": "2026-07-11T14:36:25.121Z",
5
+ "publishedAt": "2026-07-11T14:36:25.121Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "61e0094e44bd74d3e933e673051c23620c384d67",
22
+ "sourceRevision": "a780c8fb19e7b37ec60b5f4e6b3eb11549799281",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "package": {
39
39
  "name": "@kungfu-tech/buildchain",
40
- "version": "2.12.1-alpha.3",
40
+ "version": "2.12.1-alpha.4",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "source": {
@@ -4,7 +4,7 @@
4
4
  "product": {
5
5
  "id": "kungfu-tech-buildchain",
6
6
  "name": "@kungfu-tech/buildchain",
7
- "version": "2.12.1-alpha.3",
7
+ "version": "2.12.1-alpha.4",
8
8
  "repository": "https://github.com/kungfu-systems/buildchain"
9
9
  },
10
10
  "source": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-publication-release-registry",
4
- "generatedAt": "2026-07-11T13:59:42.169Z",
5
- "publishedAt": "2026-07-11T13:59:42.169Z",
4
+ "generatedAt": "2026-07-11T14:36:25.121Z",
5
+ "publishedAt": "2026-07-11T14:36:25.121Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "61e0094e44bd74d3e933e673051c23620c384d67",
22
+ "sourceRevision": "a780c8fb19e7b37ec60b5f4e6b3eb11549799281",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "package": {
34
34
  "name": "@kungfu-tech/buildchain",
35
- "version": "2.12.1-alpha.3",
35
+ "version": "2.12.1-alpha.4",
36
36
  "versionSource": "package.json#version"
37
37
  },
38
38
  "sourceKind": "package-site-bundle",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "contract": "kungfu-buildchain-site-manifest",
4
- "generatedAt": "2026-07-11T13:59:42.169Z",
5
- "publishedAt": "2026-07-11T13:59:42.169Z",
4
+ "generatedAt": "2026-07-11T14:36:25.121Z",
5
+ "publishedAt": "2026-07-11T14:36:25.121Z",
6
6
  "reproducible": true,
7
7
  "timestampPolicy": "ci-injected",
8
8
  "deterministicInputs": [
@@ -19,7 +19,7 @@
19
19
  "declared Buildchain surface manifest contract"
20
20
  ],
21
21
  "sourceDateEpoch": "0",
22
- "sourceRevision": "61e0094e44bd74d3e933e673051c23620c384d67",
22
+ "sourceRevision": "a780c8fb19e7b37ec60b5f4e6b3eb11549799281",
23
23
  "timestampPolicyDetails": {
24
24
  "contract": "kungfu-buildchain-surface-timestamp-policy",
25
25
  "timestampFields": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "package": {
39
39
  "name": "@kungfu-tech/buildchain",
40
- "version": "2.12.1-alpha.3",
40
+ "version": "2.12.1-alpha.4",
41
41
  "versionSource": "package.json#version"
42
42
  },
43
43
  "entrypoint": "buildchain-site.json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kungfu-tech/buildchain",
3
- "version": "2.12.1-alpha.3",
3
+ "version": "2.12.1-alpha.4",
4
4
  "private": false,
5
5
  "description": "Buildchain Release Passport, release governance, CLI toolkit, and site facts.",
6
6
  "repository": "https://github.com/kungfu-systems/buildchain",
@@ -176,9 +176,10 @@ function bundleCli({ cwd, tempDir, version, logger }) {
176
176
  sourcemap: false,
177
177
  dts: false,
178
178
  shims: true,
179
- noExternal: ["smol-toml"],
179
+ noExternal: ["smol-toml", /^@kungfu-tech\\/kfd(?:\\/|$)/],
180
180
  define: {
181
181
  "process.env.BUILDCHAIN_EMBEDDED_PACKAGE_VERSION": ${JSON.stringify(JSON.stringify(version || packageVersion(cwd)))},
182
+ "process.env.BUILDCHAIN_EMBEDDED_ENTRYPOINT": ${JSON.stringify(JSON.stringify("1"))},
182
183
  },
183
184
  };
184
185
  `);
@@ -732,7 +732,8 @@ for (const requiredSnippet of [
732
732
  "../packages/core/logging.js",
733
733
  "standalone.cli-bundle.create",
734
734
  "BUILDCHAIN_EMBEDDED_PACKAGE_VERSION",
735
- "noExternal: [\"smol-toml\"]",
735
+ "BUILDCHAIN_EMBEDDED_ENTRYPOINT",
736
+ "noExternal: [\"smol-toml\",",
736
737
  "--macho-segment-name",
737
738
  "mainFormat: \"commonjs\"",
738
739
  "standalone.sea-blob.create",
@@ -477,7 +477,7 @@ function readArg(name, fallback = "") {
477
477
  return process.argv[index + 1] || "";
478
478
  }
479
479
 
480
- if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
480
+ if (!process.env.BUILDCHAIN_EMBEDDED_ENTRYPOINT && process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
481
481
  try {
482
482
  const result = initBuildchainRepo({
483
483
  cwd: readArg("cwd", process.cwd()),
@@ -155,7 +155,7 @@ function usage() {
155
155
  `;
156
156
  }
157
157
 
158
- if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
158
+ if (!process.env.BUILDCHAIN_EMBEDDED_ENTRYPOINT && process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
159
159
  try {
160
160
  const argv = process.argv.slice(2);
161
161
  if (hasFlag(argv, "help") || hasFlag(argv, "h")) {
@@ -57,7 +57,7 @@ export function runPublicationArtifactCli(args = process.argv.slice(2)) {
57
57
  return result;
58
58
  }
59
59
 
60
- if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
60
+ if (!process.env.BUILDCHAIN_EMBEDDED_ENTRYPOINT && process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
61
61
  try {
62
62
  runPublicationArtifactCli();
63
63
  } catch (error) {
@@ -28,7 +28,7 @@ export function runPublicationPackageCli(args = process.argv.slice(2)) {
28
28
  return result;
29
29
  }
30
30
 
31
- if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
31
+ if (!process.env.BUILDCHAIN_EMBEDDED_ENTRYPOINT && process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
32
32
  try {
33
33
  runPublicationPackageCli();
34
34
  } catch (error) {
@@ -93,6 +93,6 @@ export function runReleasePropagationCli(argv = process.argv.slice(2)) {
93
93
  throw new Error(`unsupported release-propagation command: ${mode}`);
94
94
  }
95
95
 
96
- if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
96
+ if (!process.env.BUILDCHAIN_EMBEDDED_ENTRYPOINT && process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
97
97
  runReleasePropagationCli();
98
98
  }