mirror of
https://github.com/hanzoai/ts-node.git
synced 2026-10-30 19:36:25 +00:00
* feat: support .mts .cts * stuff * WIP with TODOs * WIP * lint-fix * WIP * WIP * WIP * fixes * flatten resolver tests by splitting into more functions * address extension-handling code * lint-fix * Fix; update resolver tests to test more things * fix * fix * test against TS rc on nodes 14, 16, 18 (good sanity-checking with these new nodenext features) * Teach ts.transpileModule to handle NodeNext correctly * tweak tests * fix test typos; update pluggable dep tests; update ignore() tests for new file extensions * fix tests * fix * fix build against stable ts, no need for 4.7.0 just yet * Gate nodenext/node16 tests behind a TS version check; fix TSCommon types * Fix nyc require.extensions issues * lint-fix * tricky types * skip nodenext tests on older TS * fix tests * fix bug and tests * fix windows * turn off another test on ancient TS versions * fix windows * fix allowing `moduleTypeOverrides` to override cts/cjs * Update moduleTypes docs * add mts and cts awareness to internal/external classifier; add .d.cts/.d.mts extensions to tests * cleanup misc markdown files * more markdown cleanup Co-authored-by: bluelovers <[email protected]>
3 lines
57 B
JavaScript
3 lines
57 B
JavaScript
import { main } from './index.mjs';
|
|
console.log(main());
|