TypeScript/src/harness
Wesley Wigham 586b0d5011
moduleResolution: node12 support (#45884)
* Initial support for module: node12

* Add allowJs and declaration emit enabled tests

* Fix typos

* cts, mts, cjs, mjs, etc extension support

* Fix watch of files whose intepretation changes due to a package.json update

* Minor PR feedback

* Adjust error message

* Initial import/export/self-name support

* Accept new error codes

* TypesVersions support in export/import map conditions

* Fix import suggestion and autoimport default extensions under new resolution modes

* Add tests for import maps non-relative name lookup feature

* Fix isDeclarationFileName for .d.mts and .d.cts

* Preserve new extensions when generating module specifiers

* Fix spurious implict any suggestion caused by file ordering bug and optimize import name format detection by relying on parents being set

* Fix a bunch of incremental bugs that dont repro under fourslash for some reason

* Accept updated baseline

* Always include extensions on completions for cjs/mjs style imports

* String completion relative import suggestions respect the mode of the import when choosing if they provide extensions

* Style feedback

* Change diagnostic case
2021-09-24 14:25:59 -07:00
..
client.ts Let AutoImportProviderProject resolve JS when allowJs and maxNodeModulesJsDepth allows (#45524) 2021-08-25 15:06:14 -07:00
collectionsImpl.ts Use fs.realpathSync.native when available (#41292) 2020-12-18 09:23:42 -08:00
compilerImpl.ts moduleResolution: node12 support (#45884) 2021-09-24 14:25:59 -07:00
documentsUtil.ts Move most harness globals into namespaces (#35530) 2019-12-06 15:20:49 -08:00
evaluatorImpl.ts Fix and validate post-increment/decrement in module emit (#44968) 2021-07-19 13:34:42 -07:00
fakesHosts.ts Reduce exceptions (#44710) 2021-06-28 15:45:35 -07:00
fourslashImpl.ts moduleResolution: node12 support (#45884) 2021-09-24 14:25:59 -07:00
fourslashInterfaceImpl.ts Remove referenceGroups/noReferences from fourslash (#45988) 2021-09-21 16:25:52 -07:00
harnessGlobals.ts Enable max-statements-per-line lint rule (#45475) 2021-08-16 13:53:51 -07:00
harnessIO.ts moduleResolution: node12 support (#45884) 2021-09-24 14:25:59 -07:00
harnessLanguageService.ts Use realpathSync.native on case-insensitive file systems (#44966) 2021-08-26 15:35:04 -07:00
harnessUtils.ts Enable max-statements-per-line lint rule (#45475) 2021-08-16 13:53:51 -07:00
runnerbase.ts Move most harness globals into namespaces (#35530) 2019-12-06 15:20:49 -08:00
sourceMapRecorder.ts Migrate more places to use Map/Set 2020-06-26 10:15:53 -07:00
tsconfig.json Update tsc-instrumented for project build (#45383) 2021-08-10 14:53:17 -07:00
typeWriter.ts Enable max-statements-per-line lint rule (#45475) 2021-08-16 13:53:51 -07:00
util.ts Move most harness globals into namespaces (#35530) 2019-12-06 15:20:49 -08:00
vfsUtil.ts Enable max-statements-per-line lint rule (#45475) 2021-08-16 13:53:51 -07:00
virtualFileSystemWithWatch.ts Reduce exceptions (#44710) 2021-06-28 15:45:35 -07:00
vpathUtil.ts moduleResolution: node12 support (#45884) 2021-09-24 14:25:59 -07:00