fix(package): Add package exports entry and remove legacy main/typings fields

This commit is contained in:
2025-11-28 09:37:32 +00:00
parent 12f1630adf
commit 8ee45c5646
3 changed files with 11 additions and 3 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-11-28 - 7.0.5 - fix(package)
Add package exports entry and remove legacy main/typings fields
- Added an "exports" entry in package.json mapping "." to ./dist_ts/index.js to declare the package's ESM entrypoint.
- Removed legacy "main" and "typings" fields from package.json.
- Improves Node/module resolution and modern bundler compatibility by using the package exports field.
## 2025-11-28 - 7.0.4 - fix(decorators)
Add Symbol.metadata polyfill and import it at entry to ensure decorator metadata is available