document-operations 0.0.0 → 1.0.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/LICENSE +21 -0
- package/README.md +108 -0
- package/dist/index.cjs +1010 -0
- package/dist/index.d.cts +2259 -0
- package/dist/index.d.ts +2259 -0
- package/dist/index.js +973 -0
- package/package.json +106 -2
package/package.json
CHANGED
|
@@ -1,5 +1,109 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-operations",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "The canonical set of document-conversion, editing, inspection, and .odb operations documents.js exposes -- one Zod input/output schema and one transport-agnostic run() function per operation, shared by document-mcp, document-cli, and a REST API server rather than each defining its own copy.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/ExaDev/documents.js.git",
|
|
9
|
+
"directory": "packages/document-operations"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/ExaDev/documents.js/tree/main/packages/document-operations",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/ExaDev/documents.js/issues"
|
|
14
|
+
},
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": {
|
|
18
|
+
"import": "./dist/index.d.ts",
|
|
19
|
+
"require": "./dist/index.d.cts"
|
|
20
|
+
},
|
|
21
|
+
"import": "./dist/index.js",
|
|
22
|
+
"require": "./dist/index.cjs"
|
|
23
|
+
},
|
|
24
|
+
"./*": {
|
|
25
|
+
"types": {
|
|
26
|
+
"import": "./dist/*.d.ts",
|
|
27
|
+
"require": "./dist/*.d.cts"
|
|
28
|
+
},
|
|
29
|
+
"import": "./dist/*.js",
|
|
30
|
+
"require": "./dist/*.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"main": "./dist/index.cjs",
|
|
34
|
+
"module": "./dist/index.js",
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"files": [
|
|
37
|
+
"dist"
|
|
38
|
+
],
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public",
|
|
41
|
+
"provenance": true,
|
|
42
|
+
"registry": "https://registry.npmjs.org/"
|
|
43
|
+
},
|
|
44
|
+
"sideEffects": false,
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=20"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "turbo run _build",
|
|
50
|
+
"_build": "tsdown",
|
|
51
|
+
"prepublishOnly": "pnpm run lint && pnpm run typecheck && tsdown && publint && attw --pack",
|
|
52
|
+
"lint": "turbo run _lint",
|
|
53
|
+
"_lint": "eslint . --fix --cache --max-warnings 0",
|
|
54
|
+
"typecheck": "turbo run _typecheck _typecheck:attw",
|
|
55
|
+
"_typecheck": "tsc --noEmit",
|
|
56
|
+
"_typecheck:attw": "attw --pack",
|
|
57
|
+
"test": "turbo run _test",
|
|
58
|
+
"_test": "vitest run",
|
|
59
|
+
"test:workers": "turbo run _test:workers",
|
|
60
|
+
"_test:workers": "vitest run --config vitest.workers.config.ts",
|
|
61
|
+
"test:watch": "vitest",
|
|
62
|
+
"test:coverage": "turbo run _test:coverage",
|
|
63
|
+
"_test:coverage": "vitest run --coverage",
|
|
64
|
+
"test:mutation": "turbo run _test:mutation",
|
|
65
|
+
"_test:mutation": "stryker run stryker.config.ts",
|
|
66
|
+
"prepare": "husky",
|
|
67
|
+
"release": "semantic-release"
|
|
68
|
+
},
|
|
69
|
+
"keywords": [
|
|
70
|
+
"docx",
|
|
71
|
+
"pptx",
|
|
72
|
+
"pdf",
|
|
73
|
+
"odt",
|
|
74
|
+
"odp",
|
|
75
|
+
"ods",
|
|
76
|
+
"odg",
|
|
77
|
+
"odf",
|
|
78
|
+
"odb",
|
|
79
|
+
"document-conversion",
|
|
80
|
+
"zod"
|
|
81
|
+
],
|
|
82
|
+
"license": "MIT",
|
|
83
|
+
"packageManager": "pnpm@11.6.0",
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"document-compute.js": "1.5.3",
|
|
86
|
+
"document-outline.js": "3.7.2",
|
|
87
|
+
"document-schema.js": "7.11.1",
|
|
88
|
+
"documents.js": "7.20.1",
|
|
89
|
+
"zod": "4.4.3"
|
|
90
|
+
},
|
|
91
|
+
"devDependencies": {
|
|
92
|
+
"@arethetypeswrong/cli": "0.18.5",
|
|
93
|
+
"@cloudflare/vitest-pool-workers": "0.21.2",
|
|
94
|
+
"@stryker-mutator/core": "10.0.0",
|
|
95
|
+
"@stryker-mutator/typescript-checker": "10.0.0",
|
|
96
|
+
"@stryker-mutator/vitest-runner": "10.0.0",
|
|
97
|
+
"@types/node": "26.2.0",
|
|
98
|
+
"@vitest/coverage-v8": "4.1.11",
|
|
99
|
+
"eslint": "10.8.1",
|
|
100
|
+
"husky": "9.1.7",
|
|
101
|
+
"odf.js": "7.25.1",
|
|
102
|
+
"publint": "0.3.22",
|
|
103
|
+
"semantic-release": "25.0.9",
|
|
104
|
+
"tsdown": "0.22.14",
|
|
105
|
+
"turbo": "2.10.8",
|
|
106
|
+
"typescript": "6.0.3",
|
|
107
|
+
"vitest": "4.1.11"
|
|
108
|
+
}
|
|
5
109
|
}
|