fix(package.json): replace main and typings with exports field pointing to ./dist_ts/index.js

This commit is contained in:
2026-02-03 07:29:20 +00:00
parent 0d450e7d4e
commit 0ad7f316c4
3 changed files with 11 additions and 3 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2026-02-03 - 4.2.1 - fix(package.json)
replace main and typings with exports field pointing to ./dist_ts/index.js
- Added package.json exports field mapping "." to ./dist_ts/index.js to declare the package entrypoint.
- Removed main (dist_ts/index.js) and typings (dist_ts/index.d.ts) entries.
- Note: switching to exports improves Node resolution but removing the typings entry may affect TypeScript consumers expecting index.d.ts.
## 2026-02-01 - 4.2.0 - feat(tsmdb)
implement TsmDB Mongo-wire-compatible server, add storage/engine modules and reorganize exports