@mx-space/cli 0.6.4 → 0.6.5

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/bin/mxs.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { t as run } from "../mxs-BGjeCBcT.mjs";
2
+ import { t as run } from "../mxs-lcMA5vod.mjs";
3
3
  export { run };
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { a as defaultMessageFor, c as tagToCode, i as codeForTag, l as toErrorEnvelope, n as defaultGlobalFlags, o as exitCodeForError, r as parseGlobalFlags, s as exitCodeForTag, t as run } from "./mxs-BGjeCBcT.mjs";
1
+ import { a as defaultMessageFor, c as tagToCode, i as codeForTag, l as toErrorEnvelope, n as defaultGlobalFlags, o as exitCodeForError, r as parseGlobalFlags, s as exitCodeForTag, t as run } from "./mxs-lcMA5vod.mjs";
2
2
  export { codeForTag, defaultGlobalFlags, defaultMessageFor, exitCodeForError, exitCodeForTag, parseGlobalFlags, run, tagToCode, toErrorEnvelope };
@@ -12483,7 +12483,7 @@ function customAlphabet(alphabet, size = 21) {
12483
12483
  return customRandom(alphabet, size, random);
12484
12484
  }
12485
12485
  //#endregion
12486
- //#region ../../node_modules/.pnpm/@haklex+rich-litexml@0.15.2/node_modules/@haklex/rich-litexml/dist/src-DmI3DOeG.js
12486
+ //#region ../../node_modules/.pnpm/@haklex+rich-litexml@0.15.3/node_modules/@haklex/rich-litexml/dist/src-Chu1pfGY.js
12487
12487
  var impl = null;
12488
12488
  function registerParseHTML(fn) {
12489
12489
  impl = fn;
@@ -13510,6 +13510,7 @@ function deserializeFromXml(xml, registry) {
13510
13510
  }
13511
13511
  /** Structural containers whose whitespace-only text nodes are layout artifacts, not content */
13512
13512
  var BLOCK_TAGS = new Set([
13513
+ "body",
13513
13514
  "doc",
13514
13515
  "fragment",
13515
13516
  "root",
@@ -24750,7 +24751,7 @@ function Document() {
24750
24751
  }
24751
24752
  setPrototypeOf(Document, Document$1).prototype = Document$1.prototype;
24752
24753
  //#endregion
24753
- //#region ../../node_modules/.pnpm/@haklex+rich-litexml@0.15.2/node_modules/@haklex/rich-litexml/dist/node.mjs
24754
+ //#region ../../node_modules/.pnpm/@haklex+rich-litexml@0.15.3/node_modules/@haklex/rich-litexml/dist/node.mjs
24754
24755
  registerParseHTML((html) => parseHTML(html).document);
24755
24756
  //#endregion
24756
24757
  //#region src/services/Renderer/content.ts
@@ -31883,6 +31884,7 @@ const previewCmd = make$13("preview", {
31883
31884
  } catch (err) {
31884
31885
  return yield* fail$2(err instanceof ValidationXml ? err : new ValidationXml({ message: err instanceof Error ? err.message : String(err) }));
31885
31886
  }
31887
+ if (!body.includes("<doc")) body = `<doc>${body}</doc>`;
31886
31888
  const resolvedVariant = getOrElse(variant, () => detectedVariant);
31887
31889
  const resolvedTheme = getOrUndefined(theme);
31888
31890
  const savePath = getOrUndefined(save);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-space/cli",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Command line interface for mx-space (mx-core) — auth, content, configuration",
5
5
  "keywords": [
6
6
  "mx-space",
@@ -53,7 +53,7 @@
53
53
  "@effect/platform": "0.96.1",
54
54
  "@effect/platform-node": "0.106.0",
55
55
  "@haklex/rich-headless": "0.13.0",
56
- "@haklex/rich-litexml": "0.15.2",
56
+ "@haklex/rich-litexml": "0.15.3",
57
57
  "@haklex/rich-litexml-cli": "0.15.3",
58
58
  "@lexical/headless": "^0.44.0",
59
59
  "better-auth": "^1.6.9",