@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 +3 -2
- package/dist/ssg/cli.mjs +3 -2
- package/dist/vite-plugin.cjs +1 -0
- package/dist/vite-plugin.d.ts.map +1 -1
- package/dist/vite-plugin.mjs +1 -0
- package/package.json +1 -1
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
|
-
|
|
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 (
|
|
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
|
-
|
|
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 (
|
|
161
|
+
console.log("Skipped Blox manifest upload (website ID or manifest is unavailable)");
|
|
161
162
|
}
|
|
162
163
|
}
|
|
163
164
|
process.exitCode = code;
|
package/dist/vite-plugin.cjs
CHANGED
|
@@ -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,
|
|
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"}
|
package/dist/vite-plugin.mjs
CHANGED
package/package.json
CHANGED