ooxml.js 2.9.3 → 2.9.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.
Files changed (2) hide show
  1. package/README.md +11 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,6 +13,7 @@ graph TD
13
13
  odf("odf.js")
14
14
  pdfcodec("pdf-codec")
15
15
  mdcodec("markdown-codec")
16
+ bytecodec("byte-codec")
16
17
  documents("documents.js")
17
18
  mcp("document-mcp")
18
19
  cli("document-cli")
@@ -26,6 +27,8 @@ graph TD
26
27
  odf --> documents
27
28
  pdfcodec --> documents
28
29
  mdcodec --> documents
30
+ bytecodec --> pdfcodec
31
+ bytecodec --> documents
29
32
  documents --> mcp
30
33
  pdfcodec --> mcp
31
34
  documents --> cli
@@ -37,6 +40,7 @@ graph TD
37
40
  click odf "https://github.com/ExaDev/odf.js" "odf.js"
38
41
  click pdfcodec "https://github.com/ExaDev/pdf-codec" "pdf-codec"
39
42
  click mdcodec "https://github.com/ExaDev/markdown-codec" "markdown-codec"
43
+ click bytecodec "https://github.com/ExaDev/byte-codec" "byte-codec"
40
44
  click documents "https://github.com/ExaDev/documents.js" "documents.js"
41
45
  click mcp "https://github.com/ExaDev/document-mcp" "document-mcp"
42
46
  click cli "https://github.com/ExaDev/document-cli" "document-cli"
@@ -197,12 +201,13 @@ const out = encodeCompactPackage(compact); // CompactPackage -> OOXML bytes dire
197
201
  ## Build, test, and lint
198
202
 
199
203
  ```sh
200
- pnpm build # tsdown -> dist/ (one ESM + CJS + .d.ts set per source module, via tsdown.config.ts)
201
- pnpm lint # eslint . --fix --cache --max-warnings 0
202
- pnpm typecheck # tsc --noEmit
203
- pnpm test # vitest run
204
- pnpm test:watch # vitest
205
- pnpm test:smoke # builds dist/, then runs test/smoke.test.mjs to verify the built ESM and CJS artifacts both load and behave identically
204
+ pnpm build # turbo run _build (tsdown -> dist/: one ESM + CJS + .d.ts set per source module, via tsdown.config.ts)
205
+ pnpm lint # turbo run _lint (eslint . --fix --cache --max-warnings 0)
206
+ pnpm typecheck # turbo run _typecheck _typecheck:node (tsc against tsconfig.json + tsconfig.node.json, the dual-tsconfig setup)
207
+ pnpm test # turbo run _test (vitest run --project unit)
208
+ pnpm test:watch # vitest --project unit
209
+ pnpm test:workers # turbo run _test:workers (vitest run --config vitest.workers.config.ts)
210
+ pnpm test:smoke # turbo run _test:smoke (builds dist/, then runs test/smoke.test.mjs to verify the built ESM and CJS artifacts both load and behave identically)
206
211
  ```
207
212
 
208
213
  `pnpm prepublishOnly` runs `lint`, `typecheck`, `tsdown`, `publint`, and `@arethetypeswrong/cli` (`attw --pack`) — the full publish-readiness check — before a release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ooxml.js",
3
- "version": "2.9.3",
3
+ "version": "2.9.5",
4
4
  "description": "Type-safe, lossless round-trip conversion between OOXML packages (docx, pptx, xlsx) and JSON, built on Zod 4 codecs.",
5
5
  "type": "module",
6
6
  "repository": {