@bagelink/blox 1.15.617 → 1.15.621

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.
@@ -2,7 +2,7 @@ import { spawn } from "node:child_process";
2
2
  import os from "node:os";
3
3
  import path from "node:path";
4
4
  import process from "node:process";
5
- import { f as fetchCmsSiteData, g as generateSitemapArtifacts } from "./validate-output-CyzlxxkS.js";
5
+ import { f as fetchCmsSiteData, g as generateSitemapArtifacts } from "./validate-output-e0E998g_.js";
6
6
  const AUTO_SHARD_CAP = Number(process.env.BLOX_SSG_SHARD_CAP) || 6;
7
7
  const PREFETCH_BUDGET = Number(process.env.BLOX_SSG_PREFETCH_BUDGET) || 24;
8
8
  const SEQUENTIAL_SHARDS = process.env.BLOX_SSG_SEQUENTIAL === "1";
@@ -142,7 +142,7 @@ async function runSharded(opts) {
142
142
  }
143
143
  if (process.env.BLOX_SSG_LLM !== "0") {
144
144
  try {
145
- const { mergeLlmParts } = await import("./validate-output-CyzlxxkS.js").then((n) => n.z);
145
+ const { mergeLlmParts } = await import("./validate-output-e0E998g_.js").then((n) => n.z);
146
146
  const mergeWebsite = website;
147
147
  const partFiles = Array.from({ length: total }, (_, i) => path.join(llmPartsDir, `part.${i}.json`));
148
148
  const { pages } = await mergeLlmParts({
@@ -26,7 +26,7 @@ const node_child_process = require("node:child_process");
26
26
  const os = require("node:os");
27
27
  const path = require("node:path");
28
28
  const process = require("node:process");
29
- const llmArtifacts = require("./validate-output-DwAoJflg.cjs");
29
+ const llmArtifacts = require("./validate-output-DQTw64Rc.cjs");
30
30
  const AUTO_SHARD_CAP = Number(process.env.BLOX_SSG_SHARD_CAP) || 6;
31
31
  const PREFETCH_BUDGET = Number(process.env.BLOX_SSG_PREFETCH_BUDGET) || 24;
32
32
  const SEQUENTIAL_SHARDS = process.env.BLOX_SSG_SEQUENTIAL === "1";
@@ -166,7 +166,7 @@ async function runSharded(opts) {
166
166
  }
167
167
  if (process.env.BLOX_SSG_LLM !== "0") {
168
168
  try {
169
- const { mergeLlmParts } = await Promise.resolve().then(() => require("./validate-output-DwAoJflg.cjs")).then((n) => n.llmArtifacts);
169
+ const { mergeLlmParts } = await Promise.resolve().then(() => require("./validate-output-DQTw64Rc.cjs")).then((n) => n.llmArtifacts);
170
170
  const mergeWebsite = website;
171
171
  const partFiles = Array.from({ length: total }, (_, i) => path.join(llmPartsDir, `part.${i}.json`));
172
172
  const { pages } = await mergeLlmParts({
package/dist/ssg/cli.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  const process = require("node:process");
4
4
  const fs = require("node:fs/promises");
5
5
  const ssg_buildGrant = require("./build-grant.cjs");
6
- const llmArtifacts = require("../validate-output-DwAoJflg.cjs");
6
+ const llmArtifacts = require("../validate-output-DQTw64Rc.cjs");
7
7
  function installFetchTimeout() {
8
8
  const ms = Number(process.env.BLOX_SSG_FETCH_TIMEOUT_MS) || 2e4;
9
9
  const original = globalThis.fetch;
@@ -141,7 +141,7 @@ Environment:
141
141
  if (shardsOpt !== null || routesCmd) {
142
142
  const { apiBase: apiBase2, websiteName: configWebsiteName2 } = await resolveApiBase(mode);
143
143
  const websiteName2 = process.env.WEBSITE_NAME ?? configWebsiteName2 ?? "default";
144
- const { runSharded } = await Promise.resolve().then(() => require("../shard-runner-B5xLPIMv.cjs"));
144
+ const { runSharded } = await Promise.resolve().then(() => require("../shard-runner-CinJMC5z.cjs"));
145
145
  const code = await runSharded({
146
146
  shards: shardsOpt ?? "auto",
147
147
  mode,
package/dist/ssg/cli.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import process from "node:process";
3
3
  import fs from "node:fs/promises";
4
4
  import { resolveBloxBuildGrant } from "./build-grant.mjs";
5
- import { v as validateSsgOutput, u as uploadBloxManifest, p as polyfillBloxSsgGlobals, f as fetchCmsSiteData, a as prerender } from "../validate-output-CyzlxxkS.js";
5
+ import { v as validateSsgOutput, u as uploadBloxManifest, p as polyfillBloxSsgGlobals, f as fetchCmsSiteData, a as prerender } from "../validate-output-e0E998g_.js";
6
6
  function installFetchTimeout() {
7
7
  const ms = Number(process.env.BLOX_SSG_FETCH_TIMEOUT_MS) || 2e4;
8
8
  const original = globalThis.fetch;
@@ -140,7 +140,7 @@ Environment:
140
140
  if (shardsOpt !== null || routesCmd) {
141
141
  const { apiBase: apiBase2, websiteName: configWebsiteName2 } = await resolveApiBase(mode);
142
142
  const websiteName2 = process.env.WEBSITE_NAME ?? configWebsiteName2 ?? "default";
143
- const { runSharded } = await import("../shard-runner-DX_UVx1L.js");
143
+ const { runSharded } = await import("../shard-runner-C7_xAkA1.js");
144
144
  const code = await runSharded({
145
145
  shards: shardsOpt ?? "auto",
146
146
  mode,
@@ -22,7 +22,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
22
22
  mod
23
23
  ));
24
24
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
25
- const llmArtifacts = require("../validate-output-DwAoJflg.cjs");
25
+ const llmArtifacts = require("../validate-output-DQTw64Rc.cjs");
26
26
  const ssg_buildGrant = require("./build-grant.cjs");
27
27
  const ssg_client = require("../client-AoDTJJXJ.cjs");
28
28
  const vue = require("vue");
@@ -1,5 +1,5 @@
1
- import { b as buildPageHead, c as primaryContextEntry, d as buildJsonLd, e as extractPageText, B as BloxBuildResponseError, h as bloxBuildJson } from "../validate-output-CyzlxxkS.js";
2
- import { i, j, f, k, l, m, n, g, o, q, r, s, t, w, p, a, x, y, u, v } from "../validate-output-CyzlxxkS.js";
1
+ import { b as buildPageHead, c as primaryContextEntry, d as buildJsonLd, e as extractPageText, B as BloxBuildResponseError, h as bloxBuildJson } from "../validate-output-e0E998g_.js";
2
+ import { i, j, f, k, l, m, n, g, o, q, r, s, t, w, p, a, x, y, u, v } from "../validate-output-e0E998g_.js";
3
3
  import { parseBloxBuildGrantBody, resolveBloxBuildGrant } from "./build-grant.mjs";
4
4
  import { B as BLOX_HYDRATION_WINDOW_KEY } from "../client-XQnL-B6N.js";
5
5
  import { createSSRApp, h, Suspense } from "vue";
@@ -1276,7 +1276,7 @@ const sitemapUrl = /<url>\s*<loc>[^<]+<\/loc>/m;
1276
1276
  const sitemapIndexEntry = /<sitemap>\s*<loc>[^<]+<\/loc>/gm;
1277
1277
  const sitemapLoc = /<loc>([^<]+)<\/loc>/;
1278
1278
  const loadingShell = /class=["'][^"']*\bblox-initial-loading\b/;
1279
- const embeddedCmsState = /\b__BLOX_(?:STATE|DATA)__\b/;
1279
+ const embeddedCmsState = /\b__BLOX_HYDRATION__\b/;
1280
1280
  async function validateSsgOutput(options) {
1281
1281
  const outDir = path.resolve(options.outDir);
1282
1282
  const failures = [];
@@ -1253,7 +1253,7 @@ const sitemapUrl = /<url>\s*<loc>[^<]+<\/loc>/m;
1253
1253
  const sitemapIndexEntry = /<sitemap>\s*<loc>[^<]+<\/loc>/gm;
1254
1254
  const sitemapLoc = /<loc>([^<]+)<\/loc>/;
1255
1255
  const loadingShell = /class=["'][^"']*\bblox-initial-loading\b/;
1256
- const embeddedCmsState = /\b__BLOX_(?:STATE|DATA)__\b/;
1256
+ const embeddedCmsState = /\b__BLOX_HYDRATION__\b/;
1257
1257
  async function validateSsgOutput(options) {
1258
1258
  const outDir = path.resolve(options.outDir);
1259
1259
  const failures = [];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/blox",
3
3
  "type": "module",
4
- "version": "1.15.617",
4
+ "version": "1.15.621",
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",