Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.

## [Unreleased] - .NET 8 / Open XML SDK 3.x Migration

### Fixed (npm)
- **TypeScript subpath exports not resolving under `moduleResolution: "node"` (Issue #113)** - Added `typesVersions` fallback to npm package.json so `docxodus/react` and `docxodus/worker` subpath imports resolve types correctly under all TypeScript module resolution modes. Also reordered export conditions to put `types` before `import` per TypeScript requirements.

### Added
- **Incremental annotation overlay API (Issue #106)** - Decouple HTML conversion from annotation projection to avoid full WASM re-conversion
- `ProjectAnnotationsOntoHtml()` - Project a full annotation set onto already-converted HTML
Expand Down
18 changes: 12 additions & 6 deletions npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,22 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./react": {
"import": "./dist/react.js",
"types": "./dist/react.d.ts"
"types": "./dist/react.d.ts",
"import": "./dist/react.js"
},
"./worker": {
"import": "./dist/worker-proxy.js",
"types": "./dist/worker-proxy.d.ts"
"types": "./dist/worker-proxy.d.ts",
"import": "./dist/worker-proxy.js"
}
},
"typesVersions": {
"*": {
"react": ["./dist/react.d.ts"],
"worker": ["./dist/worker-proxy.d.ts"]
}
},
"files": [
Expand Down
Loading