@bagelink/blox 1.15.551 → 1.15.552

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
@@ -154,11 +154,12 @@ Environment:
154
154
  });
155
155
  if (code === 0 && (process.env.NODE_ENV === "production" || mode === "production")) {
156
156
  const uploadWebsiteId = (_a = process.env.BLOX_WEBSITE_ID) == null ? void 0 : _a.trim();
157
- if (uploadWebsiteId) {
157
+ const manifestExists = await fs.stat("dist/.blox-manifest.json").then(() => true, () => false);
158
+ if (uploadWebsiteId && manifestExists) {
158
159
  await llmArtifacts.uploadBloxManifest(apiBase2, uploadWebsiteId, buildRequest);
159
160
  console.log("Uploaded .blox-manifest.json with Git provenance");
160
161
  } else {
161
- console.log("Skipped Blox manifest upload (BLOX_WEBSITE_ID is not configured)");
162
+ console.log("Skipped Blox manifest upload (website ID or manifest is unavailable)");
162
163
  }
163
164
  }
164
165
  process.exitCode = code;
package/dist/ssg/cli.mjs CHANGED
@@ -153,11 +153,12 @@ Environment:
153
153
  });
154
154
  if (code === 0 && (process.env.NODE_ENV === "production" || mode === "production")) {
155
155
  const uploadWebsiteId = (_a = process.env.BLOX_WEBSITE_ID) == null ? void 0 : _a.trim();
156
- if (uploadWebsiteId) {
156
+ const manifestExists = await fs.stat("dist/.blox-manifest.json").then(() => true, () => false);
157
+ if (uploadWebsiteId && manifestExists) {
157
158
  await uploadBloxManifest(apiBase2, uploadWebsiteId, buildRequest);
158
159
  console.log("Uploaded .blox-manifest.json with Git provenance");
159
160
  } else {
160
- console.log("Skipped Blox manifest upload (BLOX_WEBSITE_ID is not configured)");
161
+ console.log("Skipped Blox manifest upload (website ID or manifest is unavailable)");
161
162
  }
162
163
  }
163
164
  process.exitCode = code;
@@ -215,6 +215,7 @@ function bloxPlugin(options = {}) {
215
215
  logLevel: "silent",
216
216
  server: { middlewareMode: true, hmr: false },
217
217
  resolve: { alias: resolvedAliases },
218
+ ssr: { noExternal: true },
218
219
  plugins: [
219
220
  {
220
221
  name: "vite-plugin-blox-manifest-entry",
@@ -1 +1 @@
1
- {"version":3,"file":"vite-plugin.d.ts","sourceRoot":"","sources":["../src/vite-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAc,MAAM,MAAM,CAAA;AAM9C,MAAM,WAAW,iBAAiB;IACjC;;;;;OAKG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;IACb;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CACzB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,OAAO,GAAE,iBAAsB,GAAG,MAAM,EAAE,CAugBpE"}
1
+ {"version":3,"file":"vite-plugin.d.ts","sourceRoot":"","sources":["../src/vite-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAc,MAAM,MAAM,CAAA;AAM9C,MAAM,WAAW,iBAAiB;IACjC;;;;;OAKG;IACH,GAAG,CAAC,EAAE,OAAO,CAAA;IACb;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CACzB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,OAAO,GAAE,iBAAsB,GAAG,MAAM,EAAE,CAwgBpE"}
@@ -191,6 +191,7 @@ function bloxPlugin(options = {}) {
191
191
  logLevel: "silent",
192
192
  server: { middlewareMode: true, hmr: false },
193
193
  resolve: { alias: resolvedAliases },
194
+ ssr: { noExternal: true },
194
195
  plugins: [
195
196
  {
196
197
  name: "vite-plugin-blox-manifest-entry",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/blox",
3
3
  "type": "module",
4
- "version": "1.15.551",
4
+ "version": "1.15.552",
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",