@bagelink/blox 1.15.506 → 1.15.508

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/dist/ssg/cli.cjs CHANGED
@@ -135,9 +135,12 @@ Environment:
135
135
  });
136
136
  if (code === 0 && (process.env.NODE_ENV === "production" || mode === "production")) {
137
137
  const uploadWebsiteId = (_a = process.env.BLOX_WEBSITE_ID) == null ? void 0 : _a.trim();
138
- if (!uploadWebsiteId) throw new Error("BLOX_WEBSITE_ID is required to upload the Blox manifest");
139
- await llmArtifacts.uploadBloxManifest(apiBase2, uploadWebsiteId);
140
- console.log("Uploaded .blox-manifest.json with Git provenance");
138
+ if (uploadWebsiteId) {
139
+ await llmArtifacts.uploadBloxManifest(apiBase2, uploadWebsiteId);
140
+ console.log("Uploaded .blox-manifest.json with Git provenance");
141
+ } else {
142
+ console.log("Skipped Blox manifest upload (BLOX_WEBSITE_ID is not configured)");
143
+ }
141
144
  }
142
145
  process.exitCode = code;
143
146
  return;
package/dist/ssg/cli.mjs CHANGED
@@ -134,9 +134,12 @@ Environment:
134
134
  });
135
135
  if (code === 0 && (process.env.NODE_ENV === "production" || mode === "production")) {
136
136
  const uploadWebsiteId = (_a = process.env.BLOX_WEBSITE_ID) == null ? void 0 : _a.trim();
137
- if (!uploadWebsiteId) throw new Error("BLOX_WEBSITE_ID is required to upload the Blox manifest");
138
- await uploadBloxManifest(apiBase2, uploadWebsiteId);
139
- console.log("Uploaded .blox-manifest.json with Git provenance");
137
+ if (uploadWebsiteId) {
138
+ await uploadBloxManifest(apiBase2, uploadWebsiteId);
139
+ console.log("Uploaded .blox-manifest.json with Git provenance");
140
+ } else {
141
+ console.log("Skipped Blox manifest upload (BLOX_WEBSITE_ID is not configured)");
142
+ }
140
143
  }
141
144
  process.exitCode = code;
142
145
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/blox",
3
3
  "type": "module",
4
- "version": "1.15.506",
4
+ "version": "1.15.508",
5
5
  "description": "Blox page builder library for drag-and-drop page building and static data management",
6
6
  "author": {
7
7
  "name": "Bagel Studio",