Skip to content

Add ESM build, exports map, fix TS declarations, bump to 1.4.0#59

Merged
Teun merged 1 commit into
masterfrom
modernize2
Apr 10, 2026
Merged

Add ESM build, exports map, fix TS declarations, bump to 1.4.0#59
Teun merged 1 commit into
masterfrom
modernize2

Conversation

@Teun

@Teun Teun commented Apr 10, 2026

Copy link
Copy Markdown
Owner
  • Add thenBy.esm.js output (export { firstBy } + export default)
  • Migrate build script from build.js (CJS) to build.mjs (ESM)
  • Add package.json exports map with import/require/types conditions
  • Add module field, sideEffects: false
  • Fix thenBy.module.d.ts: class -> interface, fix shadowed type params, add top-level exports for node16/bundler moduleResolution
  • Update copyright year to 2026 throughout
  • Update inlined script in sample.htm to current thenBy.min.js
  • Version bump 1.3.5 -> 1.4.0

- Add thenBy.esm.js output (export { firstBy } + export default)
- Migrate build script from build.js (CJS) to build.mjs (ESM)
- Add package.json exports map with import/require/types conditions
- Add module field, sideEffects: false
- Fix thenBy.module.d.ts: class -> interface, fix shadowed type params,
  add top-level exports for node16/bundler moduleResolution
- Update copyright year to 2026 throughout
- Update inlined script in sample.htm to current thenBy.min.js
- Version bump 1.3.5 -> 1.4.0
@Teun Teun merged commit 18006e2 into master Apr 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant