Add tsconfig for harness and tsserverlibrary, remove external dtses #9628
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a tsconfig for the harness and removes the ancient
node.d.ts
(and chai and mocha) we kept in our repo (instead, we now use the@types/node
(and chai and mocha) package(s)). Also, thelint
task is a bit more gulpy now - it uses globs to find files to lint, rather than a static list.We've been planning on adding a config file for the harness and tsserverlibrary for awhile (since they were the last major targets without one). The external
dts
es needed to be removed since once I started pulling files from the configs, as I was made aware that some tests included a secondnode.d.ts
, separate from the one the server included (and having nearly the same file in two different places is probably a mistake) - so rather than just collapsing them into one file, I just updated our build to use thenode
types from@types
, and added in our other "external"types
dependencies while I was there. (Since this is an exercise in modernizing our build).I'd also like to update our
tsconfig
files to useinclude
, but that will have to wait untilgulp-typescript
supports the option.