@clarify-labs/cli 0.11.14 → 0.11.15
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/output/cli.cjs +1 -1
- package/output/cli.js +1 -1
- package/output/{engine-Cfo7Ncux.js → engine-DMfwsN-k.js} +4 -3
- package/output/{engine-Cfo7Ncux.js.map → engine-DMfwsN-k.js.map} +1 -1
- package/output/{engine-CkWY8FUi.cjs → engine-DQ_RfLxa.cjs} +4 -3
- package/output/{engine-CkWY8FUi.cjs.map → engine-DQ_RfLxa.cjs.map} +1 -1
- package/output/index.cjs +1 -1
- package/output/index.js +1 -1
- package/package.json +3 -3
package/output/cli.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const require_engine = require("./engine-
|
|
2
|
+
const require_engine = require("./engine-DQ_RfLxa.cjs");
|
|
3
3
|
let node_path = require("node:path");
|
|
4
4
|
let node_fs_promises = require("node:fs/promises");
|
|
5
5
|
let node_child_process = require("node:child_process");
|
package/output/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as createClarifyTempDir, c as cliPackageVersion, d as createViteAdapter, i as findRouteConflicts, l as cliPackageVersionWithCaret, n as createClarifyEngine, o as deserializeSearchIndex, r as createClarifyRuntimeAliases, s as searchMcpIndex, u as printCliVersion } from "./engine-
|
|
2
|
+
import { a as createClarifyTempDir, c as cliPackageVersion, d as createViteAdapter, i as findRouteConflicts, l as cliPackageVersionWithCaret, n as createClarifyEngine, o as deserializeSearchIndex, r as createClarifyRuntimeAliases, s as searchMcpIndex, u as printCliVersion } from "./engine-DMfwsN-k.js";
|
|
3
3
|
import { dirname, extname, isAbsolute, join, normalize, relative, resolve } from "node:path";
|
|
4
4
|
import { lstat, mkdir, readFile, stat, writeFile } from "node:fs/promises";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
@@ -1789,7 +1789,7 @@ function createViteAdapter(engine) {
|
|
|
1789
1789
|
}
|
|
1790
1790
|
var cliPackageVersion = {
|
|
1791
1791
|
name: "@clarify-labs/cli",
|
|
1792
|
-
version: "0.11.
|
|
1792
|
+
version: "0.11.15",
|
|
1793
1793
|
license: "AGPL-3.0-only",
|
|
1794
1794
|
type: "module",
|
|
1795
1795
|
repository: {
|
|
@@ -4176,6 +4176,7 @@ var ClarifyEngine = class {
|
|
|
4176
4176
|
assertNoContentDiagnostics(this.routes);
|
|
4177
4177
|
const outputDir = this.runtime.outputDirectory ?? this.generateOptions.outputDirectory;
|
|
4178
4178
|
if (!outputDir) throw new Error("[clarify] outputDirectory is required before SSG runs");
|
|
4179
|
+
const resolvedOutputDir = resolve(this.root, outputDir);
|
|
4179
4180
|
const ssrOutputDir = createClarifyTempDir("ssr-output");
|
|
4180
4181
|
let tempEntryPath;
|
|
4181
4182
|
try {
|
|
@@ -4187,7 +4188,7 @@ var ClarifyEngine = class {
|
|
|
4187
4188
|
plugins: this.runtime.ssrPlugins ?? []
|
|
4188
4189
|
});
|
|
4189
4190
|
const ssrBundlePath = join(ssrOutputDir, "entry-server.js");
|
|
4190
|
-
await renderSSGRoutes(this.routes, this.runtimeContext(),
|
|
4191
|
+
await renderSSGRoutes(this.routes, this.runtimeContext(), resolvedOutputDir, ssrBundlePath);
|
|
4191
4192
|
} catch (err) {
|
|
4192
4193
|
console.error("[clarify] SSG failed:", err);
|
|
4193
4194
|
throw err;
|
|
@@ -4235,4 +4236,4 @@ function createClarifyEngine(options = {}) {
|
|
|
4235
4236
|
//#endregion
|
|
4236
4237
|
export { createClarifyTempDir as a, cliPackageVersion as c, createViteAdapter as d, defineConfig as f, findRouteConflicts as i, cliPackageVersionWithCaret as l, createClarifyEngine as n, deserializeSearchIndex as o, createClarifyRuntimeAliases as r, searchMcpIndex as s, ClarifyEngine as t, printCliVersion as u };
|
|
4237
4238
|
|
|
4238
|
-
//# sourceMappingURL=engine-
|
|
4239
|
+
//# sourceMappingURL=engine-DMfwsN-k.js.map
|