document-mcp 1.3.10 → 1.4.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/dist/bin.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +16 -8
package/dist/bin.js
CHANGED
|
@@ -8,7 +8,7 @@ import { readFontFace } from "pdf-codec";
|
|
|
8
8
|
import { existsSync, readFileSync } from "node:fs";
|
|
9
9
|
import { basename, join } from "node:path";
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "1.
|
|
11
|
+
var version = "1.4.0";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/io/document-input.ts
|
|
14
14
|
const EXTENSION_TO_FORMAT = {
|
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ let pdf_codec = require("pdf-codec");
|
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
let node_path = require("node:path");
|
|
9
9
|
//#region package.json
|
|
10
|
-
var version = "1.
|
|
10
|
+
var version = "1.4.0";
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/io/document-input.ts
|
|
13
13
|
const EXTENSION_TO_FORMAT = {
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { readFontFace } from "pdf-codec";
|
|
|
6
6
|
import { existsSync, readFileSync } from "node:fs";
|
|
7
7
|
import { basename, join } from "node:path";
|
|
8
8
|
//#region package.json
|
|
9
|
-
var version = "1.
|
|
9
|
+
var version = "1.4.0";
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/io/document-input.ts
|
|
12
12
|
const EXTENSION_TO_FORMAT = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "MCP (Model Context Protocol) server exposing documents.js's document-conversion, .odb, metadata, and font tooling as MCP tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -48,15 +48,22 @@
|
|
|
48
48
|
"node": ">=20"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
|
-
"build": "
|
|
51
|
+
"build": "turbo run _build",
|
|
52
|
+
"_build": "tsdown",
|
|
52
53
|
"prepublishOnly": "pnpm run lint && pnpm run typecheck && tsdown && publint && attw --pack",
|
|
53
|
-
"lint": "
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
54
|
+
"lint": "turbo run _lint",
|
|
55
|
+
"_lint": "eslint . --fix --cache --max-warnings 0",
|
|
56
|
+
"typecheck": "turbo run _typecheck",
|
|
57
|
+
"_typecheck": "tsc --noEmit",
|
|
58
|
+
"test": "turbo run _test",
|
|
59
|
+
"_test": "vitest run --project unit",
|
|
60
|
+
"test:workers": "turbo run _test:workers",
|
|
61
|
+
"_test:workers": "vitest run --config vitest.workers.config.ts",
|
|
57
62
|
"test:watch": "vitest --project unit",
|
|
58
|
-
"test:coverage": "
|
|
59
|
-
"
|
|
63
|
+
"test:coverage": "turbo run _test:coverage",
|
|
64
|
+
"_test:coverage": "vitest run --project unit --coverage",
|
|
65
|
+
"test:smoke": "turbo run _test:smoke",
|
|
66
|
+
"_test:smoke": "tsdown && vitest run --project smoke",
|
|
60
67
|
"prepare": "husky",
|
|
61
68
|
"release": "semantic-release"
|
|
62
69
|
},
|
|
@@ -101,6 +108,7 @@
|
|
|
101
108
|
"publint": "^0.3.22",
|
|
102
109
|
"semantic-release": "^25.0.8",
|
|
103
110
|
"tsdown": "^0.22.14",
|
|
111
|
+
"turbo": "^2.10.8",
|
|
104
112
|
"typescript": "^6.0.3",
|
|
105
113
|
"typescript-eslint": "^8.65.0",
|
|
106
114
|
"vitest": "^4.1.10"
|