@ahmedrowaihi/8n 0.5.4 → 0.5.6
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/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -15146,7 +15146,7 @@ async function checkSelfUpdate() {
|
|
|
15146
15146
|
});
|
|
15147
15147
|
if (!res.ok) return;
|
|
15148
15148
|
const { version: latest } = await res.json();
|
|
15149
|
-
const current = "0.5.
|
|
15149
|
+
const current = "0.5.6";
|
|
15150
15150
|
if (latest !== current) console.log(import_picocolors.default.yellow("⚠") + import_picocolors.default.dim(` new CLI version available: `) + import_picocolors.default.cyan(latest) + import_picocolors.default.dim(` (current: ${current}) — run `) + import_picocolors.default.cyan("npm i -g @ahmedrowaihi/8n") + import_picocolors.default.dim(" to update"));
|
|
15151
15151
|
} catch {}
|
|
15152
15152
|
}
|
|
@@ -15293,7 +15293,7 @@ async function build() {
|
|
|
15293
15293
|
stdio: "inherit",
|
|
15294
15294
|
env: buildEnv(config, contentDir)
|
|
15295
15295
|
} });
|
|
15296
|
-
const outDir = join(process.cwd(), ".
|
|
15296
|
+
const outDir = join(process.cwd(), ".8n");
|
|
15297
15297
|
if (existsSync(outDir)) rmSync(outDir, {
|
|
15298
15298
|
recursive: true,
|
|
15299
15299
|
force: true
|
|
@@ -15439,7 +15439,7 @@ async function init() {
|
|
|
15439
15439
|
|
|
15440
15440
|
//#endregion
|
|
15441
15441
|
//#region src/index.ts
|
|
15442
|
-
const program = new Command().name("8n").description("Run your Thmanyah docs site").version("0.5.
|
|
15442
|
+
const program = new Command().name("8n").description("Run your Thmanyah docs site").version("0.5.6").addOption(new Option("--debug").hideHelp()).hook("preAction", (cmd) => {
|
|
15443
15443
|
if (cmd.opts().debug) process.env.DEBUG_8N = "1";
|
|
15444
15444
|
});
|
|
15445
15445
|
program.command("init").description("Scaffold a new docs project in the current directory").action(init);
|