Граф коммитов

40 Коммитов

Автор SHA1 Сообщение Дата
Jake Bailey 320e17f122
"Annotate" exported object to fix named / namespace imports of our API in Node ESM (#57133) 2024-03-04 13:06:41 -08:00
Jake Bailey 23156cb970
Error on unused eslint directives, reenable lost eslint rules (#57350) 2024-02-27 10:49:41 -08:00
Jake Bailey b1dca1d171
Consider dtsBundler.mjs mod time in `hereby dts` (#57256) 2024-01-31 20:49:46 -08:00
Jake Bailey 1982349339
Update dependencies to latest compatible versions (#56561)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2024-01-19 12:44:01 -08:00
Jake Bailey c5a8636a79
Make esbuild require hack look better in output (#56060) 2023-11-03 09:08:39 -07:00
Jimmy Wärting 3a22d3aded
Remove the dependency of "del" (#55112)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-08-23 16:42:37 -07:00
Jake Bailey 5e8c261b6a
dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Jake Bailey 3c6c557039
Move tsserverlibrary.js to typescript.js, make tsserverlibrary.js a shim (#55273) 2023-08-14 12:45:27 -07:00
Jake Bailey 7eece9f798
Remove RWC runner and related infrastructure (#55187) 2023-08-07 14:35:15 -07:00
Ron Buckton 913e556373
Add --coverage option to build scripts for tests (#54499) 2023-06-02 16:00:47 -04:00
Petra Jaros 7c378dbab3
runtests-watch: Don't try to listen for SIGKILL (#54114) 2023-05-03 15:07:55 -07:00
Jake Bailey 04f813d164
Bump minimum Node to 14.17, ES to 2020 for TS 5.1 (#53291) 2023-04-14 19:36:13 -07:00
Jake Bailey edc343d733
Add custom GHA report for package size (#53241) 2023-03-14 09:23:51 -07:00
Jake Bailey 3f4d16a25e
Remove lib folder (LKG) and use node_modules for building (#52226) 2023-03-07 15:34:47 -08:00
Jake Bailey c97ddac60d
Run lint in parallel with runtests-parallel (#52945)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-02-27 11:06:20 -08:00
Jake Bailey 2a8436c529
Use eslint-plugin-simple-import-sort (#52090) 2023-02-02 14:36:21 -08:00
Jake Bailey d32118c7f9
Remove line/col for all lib file diagnostics in baselines, completions (#52380)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-02-01 09:33:01 -08:00
Jake Bailey a514c7b15b
Prevent generation of dynamic require in library bundles (#52522) 2023-01-30 13:15:34 -08:00
Jake Bailey ef2d363d43
Ensure built/local exists before producing typesMap.json (#52468) 2023-01-27 12:55:46 -08:00
Jake Bailey da085ae57d
Update to esbuild 0.17 (#52238) 2023-01-18 10:51:53 -08:00
Jake Bailey ef81c80482
Bump LKG and package.json to 5.0.0-dev.20230112 (#51787) 2023-01-12 19:17:37 -08:00
Jake Bailey 91822db8e0
Remove doc folder (old archived spec and assets), word2md script (#51791) 2023-01-05 13:49:00 -08:00
Jake Bailey 0c23344a1e
Update esbuild to v0.16.5 and use new --packages=external option (#51877) 2022-12-13 12:47:36 -08:00
Jake Bailey 4ac75fa2b6
Remove emitDeclarationOnly hack now that build mode supports it as a flag (#51795) 2022-12-06 16:02:23 -08:00
Jake Bailey 703652cebf
Remove some files from the repo root (#51446) 2022-12-06 13:42:54 -08:00
Nathan Shively-Sanders 5bb204e321
Remove webServer (#51699)
* Remove webServer

First draft; I may move some things around to be more readable.

* Refactor moved code

1. Move StartSessionOptions to common next to where it's first used.
2. Inline single-use BaseLogger base class into its only child class,
Logger.
3. Start using direct imports, eg `import {} from './common'`. I hope
this is OK?!

* Fix lint

* move imports back to namespace import

* hereby tsserver: remove exportIsTsObject
2022-12-06 08:41:01 -08:00
Sheetal Nandi f636fc1846
Fix the name of the file to be deleted when doing baseline accept (#51705) 2022-11-30 14:01:03 -08:00
Jake Bailey 2d2a4343b8
Reformat imports to be one identifier per line (#51565) 2022-11-17 13:42:18 -08:00
Jake Bailey 8eed2ca2dd
Consistently respect --no-typecheck flag in build (#51575) 2022-11-17 12:44:39 -08:00
Jake Bailey 2ade485685
Make lkg task depend on local task instead (#51468) 2022-11-09 13:46:28 -08:00
Ron Buckton e67b06e909
Simplistic watch mode for runtests (#51461)
* Simplistic watch mode for runtests

* Use esbuild WatchMode object for testRunner updates

* switch AbortController to CancelToken
2022-11-09 15:07:08 -05:00
Jake Bailey 19091abda1
Fix missing awaits in Herebyfile (#51465) 2022-11-09 08:00:58 -08:00
Jake Bailey d237468cda
Add --no-typecheck option for runtests/runtests-parallel/min/local (#51460) 2022-11-08 15:39:04 -08:00
Jake Bailey 1b35985f4f
Fix --bundle=false on Windows (#51459) 2022-11-08 15:20:22 -08:00
Jake Bailey 20a04633f6
Depend on build-src in runtests (#51436) 2022-11-07 17:19:15 -08:00
Jake Bailey da6f0671ae Remove dynamicImport and setDynamicImport
It turns out that the import expression won't actally be rewritten by
esbuild, so we can just write it directly.

While this won't help CJS emit, that already didn't work anyway, and
it's likely that this code is going to be moved outside of the codebase
into VS Code or a shared package elsewhere anyway.
2022-11-07 13:36:22 -08:00
Jake Bailey 25a85d1faa Move compiler-debug into Debug namespace, which allows the compiler to be tree shaken
This debug code was added quite a while ago, constructed such that we
wouldn't have to ship this code to our users.

However, this is the sole place in the compiler project where the ts
namespace "escapes" the bundle. By moving this debug code into the
compiler itself, we no longer have any references to the ts namespace
itself for our bundles that don't export anything (tsc,
typingsInstaller). This lets bundlers tree shake the compiler, reducing
the size of our output by _5.7 MB_ (a ridiculous improvement for
_adding_ code).
2022-11-07 13:36:22 -08:00
Jake Bailey bbc906dea3 Don't use needsUpdate for quick tasks
needsUpdate may be wrong when the branch changes; these ones are now so
fast thanks to being pure JS that we can just always run their contents
and be sure that the outputs are right.
2022-11-07 13:35:48 -08:00
Jake Bailey 3cd72e76b2 Change build system to hereby
This eliminates a significant number of dependencies, eliminating all
npm audit issues, speeding up `npm ci` by 20%, and overall making the
build faster (faster startup, direct code is faster than streams, etc)
and clearer to understand.

I'm finding it much easier to make build changes for the module
transform with this; I can more clearly indicate task dependencies and
prevent running tasks that don't need to be run.

Given we're changing our build process entirely (new deps, new steps),
it seems like this is a good time to change things up.
2022-11-07 13:35:48 -08:00
Jake Bailey f45cc4578e Rename Gulpfile to Herebyfile for improved git diff
The next commit will switch the build system, but git doesn't detect
that the two config files are related.
2022-11-07 13:35:48 -08:00