v10.7.0
Questions about this release? Ask in the official discussion thread: #1680
Added
- Adds
--esmflag, option, andts-node-esmbinary (#1258, #1655)- Enables full
esmsupport; no need for--loadernorNODE_OPTIONS - Use shebang
#!/usr/bin/env ts-node-esm, runts-node --esm, or add to your tsconfig.json:"ts-node": {"esm": true}
- Enables full
Changed
- Unflag ESM json modules on node >=17.5.0 (#1661, #1665) @Jamesernator
- no longer requires
--experimental-json-modules
- no longer requires
- Lazy-load dependencies to improve startup responsiveness. (#1676)
Fixed
- Fixed bug where "compiler", "transpiler", and swc backend would not resolve relative to the tsconfig.json that declared them (#1662, #1655)
- Enables reusable tsconfig.json shared via node module to include necessary dependencies
v10.6.0...v10.7.0
https://github.com/TypeStrong/ts-node/milestone/11