-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: convert the entire codebase to TypeScript
This is the first stage of converting the entire codebase over to TypeScript. The goals of this step were to preserve history as well as functional output of the compilation step. Here is a summary of the commits involved: - move all files to `src`, preserving history this also maintains a copy of the original js source in the `lib` folder (without history) so we can compare the transpiled output for potential issues - add type information to all types - move index to `src` folder for ease of future testing - run tests against transpiled module code - fix all linting issues with ts conversion - remove move script and save ts-convert script for later use - fix running manual tests with ts codebase - ensure we run the ts pipeline before publish - bump typescript version, fix last outstanding issue - `prepublish` => `prepublishOnly` NODE-1452
- Loading branch information
Showing
267 changed files
with
5,326 additions
and
3,580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extension": ["js"], | ||
"require": "ts-node/register", | ||
"file": "test/tools/runner", | ||
"ui": "test/tools/runner/metadata_ui.js", | ||
"recursive": true, | ||
"timeout": 60000 | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.