kordoc 2.4.1 → 2.5.0
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/README.md +15 -1
- package/dist/{chunk-IVC5CB2Q.cjs → chunk-5HWLDNT5.cjs} +2 -2
- package/dist/{chunk-IVC5CB2Q.cjs.map → chunk-5HWLDNT5.cjs.map} +1 -1
- package/dist/{chunk-JFPF7B5L.js → chunk-JU7NRDCV.js} +78 -8
- package/dist/chunk-JU7NRDCV.js.map +1 -0
- package/dist/{chunk-T65PPCNU.js → chunk-UOBENOSJ.js} +2 -2
- package/dist/{chunk-VYFIAYCW.js → chunk-V6STPG3I.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/index.cjs +162 -92
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +77 -7
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +3 -3
- package/dist/{parser-ZORW4RSC.cjs → parser-BYHUJ5GP.cjs} +16 -15
- package/dist/{parser-ZORW4RSC.cjs.map → parser-BYHUJ5GP.cjs.map} +1 -1
- package/dist/{parser-VXUBNDG4.js → parser-W4P5VX7T.js} +3 -2
- package/dist/parser-W4P5VX7T.js.map +1 -0
- package/dist/{parser-UHUCMAA7.js → parser-YHW6R62S.js} +3 -2
- package/dist/parser-YHW6R62S.js.map +1 -0
- package/dist/{watch-SSENKOE2.js → watch-Z2YSFSQ3.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-JFPF7B5L.js.map +0 -1
- package/dist/parser-UHUCMAA7.js.map +0 -1
- package/dist/parser-VXUBNDG4.js.map +0 -1
- /package/dist/{chunk-T65PPCNU.js.map → chunk-UOBENOSJ.js.map} +0 -0
- /package/dist/{chunk-VYFIAYCW.js.map → chunk-V6STPG3I.js.map} +0 -0
- /package/dist/{watch-SSENKOE2.js.map → watch-Z2YSFSQ3.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/utils.ts
|
|
2
|
-
var VERSION = true ? "2.
|
|
2
|
+
var VERSION = true ? "2.5.0" : "0.0.0-dev";
|
|
3
3
|
function toArrayBuffer(buf) {
|
|
4
4
|
if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) {
|
|
5
5
|
return buf.buffer;
|
|
@@ -447,4 +447,4 @@ export {
|
|
|
447
447
|
HEADING_RATIO_H2,
|
|
448
448
|
HEADING_RATIO_H3
|
|
449
449
|
};
|
|
450
|
-
//# sourceMappingURL=chunk-
|
|
450
|
+
//# sourceMappingURL=chunk-UOBENOSJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// src/utils.ts
|
|
4
|
-
var VERSION = true ? "2.
|
|
4
|
+
var VERSION = true ? "2.5.0" : "0.0.0-dev";
|
|
5
5
|
function toArrayBuffer(buf) {
|
|
6
6
|
if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) {
|
|
7
7
|
return buf.buffer;
|
|
@@ -454,4 +454,4 @@ export {
|
|
|
454
454
|
HEADING_RATIO_H2,
|
|
455
455
|
HEADING_RATIO_H3
|
|
456
456
|
};
|
|
457
|
-
//# sourceMappingURL=chunk-
|
|
457
|
+
//# sourceMappingURL=chunk-V6STPG3I.js.map
|
package/dist/cli.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
fillHwpx,
|
|
6
6
|
markdownToHwpx,
|
|
7
7
|
parse
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JU7NRDCV.js";
|
|
9
9
|
import {
|
|
10
10
|
detectFormat,
|
|
11
11
|
detectZipFormat
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
blocksToMarkdown,
|
|
16
16
|
sanitizeError,
|
|
17
17
|
toArrayBuffer
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V6STPG3I.js";
|
|
19
19
|
import "./chunk-MOL7MDBG.js";
|
|
20
20
|
|
|
21
21
|
// src/cli.ts
|
|
@@ -113,7 +113,7 @@ program.name("kordoc").description("\uBAA8\uB450 \uD30C\uC2F1\uD574\uBC84\uB9AC\
|
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
program.command("watch <dir>").description("\uB514\uB809\uD1A0\uB9AC \uAC10\uC2DC \u2014 \uC0C8 \uBB38\uC11C \uC790\uB3D9 \uBCC0\uD658").option("--webhook <url>", "\uACB0\uACFC \uC804\uC1A1 \uC6F9\uD6C5 URL").option("-d, --out-dir <dir>", "\uBCC0\uD658 \uACB0\uACFC \uCD9C\uB825 \uB514\uB809\uD1A0\uB9AC").option("-p, --pages <range>", "\uD398\uC774\uC9C0/\uC139\uC158 \uBC94\uC704").option("--format <type>", "\uCD9C\uB825 \uD615\uC2DD: markdown \uB610\uB294 json", "markdown").option("--silent", "\uC9C4\uD589 \uBA54\uC2DC\uC9C0 \uC228\uAE30\uAE30").action(async (dir, opts) => {
|
|
116
|
-
const { watchDirectory } = await import("./watch-
|
|
116
|
+
const { watchDirectory } = await import("./watch-Z2YSFSQ3.js");
|
|
117
117
|
await watchDirectory({
|
|
118
118
|
dir,
|
|
119
119
|
outDir: opts.outDir,
|