Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
df89c74
Make a few changes to allow all code to be loaded as one project
jakebailey Jul 26, 2022
7698653
Explicitly reference ts namespace in tsserverlibrary
jakebailey Jul 26, 2022
94724a8
Generated module conversion step - unindent
jakebailey Nov 7, 2022
9a0b85c
Generated module conversion step - explicitify
jakebailey Nov 7, 2022
b6c0538
Generated module conversion step - stripNamespaces
jakebailey Nov 7, 2022
07758c0
Generated module conversion step - inlineImports
jakebailey Nov 7, 2022
5f5ccc9
Generated module conversion step - .git-ignore-blame-revs
jakebailey Nov 7, 2022
d5274a9
Add gitlens settings suggestion
jakebailey Oct 14, 2022
180554c
Make processDiagnosticMessages generate a module
jakebailey May 26, 2022
39e27fb
Fix up linting, make lint clean
jakebailey Sep 7, 2022
8bd5e54
Undo changes needed to load codebase into ts-morph
jakebailey Oct 3, 2022
231fa27
Add JSDoc eslint rule
jakebailey Sep 24, 2022
d12116d
Fix all internal JSDoc comments
jakebailey Sep 7, 2022
01e5200
Convert require calls to imports
jakebailey May 27, 2022
6dfa429
Remove typescriptServices, protocol.d.ts, typescript_standalone.d.ts
jakebailey Sep 13, 2022
36e2944
Get codebase building pre bundling
jakebailey May 31, 2022
4139807
Add build via esbuild
jakebailey Sep 13, 2022
c651422
Add dts bundling
jakebailey Sep 2, 2022
dc92488
Consolidate checks that test if the current environment is Node
jakebailey Sep 26, 2022
776907c
Add ts to globalThis in run.js for convenience during debugging
jakebailey Sep 30, 2022
f45cc45
Rename Gulpfile to Herebyfile for improved git diff
jakebailey Oct 9, 2022
3cd72e7
Change build system to hereby
jakebailey Oct 9, 2022
d0db80e
Update baselines for corrected line endings in lib files
jakebailey Oct 10, 2022
394c4ae
Use jsonc-parser instead of LKG compiler in build
jakebailey Oct 9, 2022
aec2761
Modernize localize script, use new XML library
jakebailey Oct 10, 2022
bbc906d
Don't use needsUpdate for quick tasks
jakebailey Oct 10, 2022
acfe7ac
Remove mkdirp
jakebailey Oct 10, 2022
8486229
Export ts namespace from tsserver for hacky-post patching
jakebailey Oct 13, 2022
db440d8
Directly import namespaces for improved esbuild output
jakebailey Oct 18, 2022
c5a9573
Ensure ts object passed to plugins contains deprecatedCompat declarat…
jakebailey Oct 18, 2022
25a85d1
Move compiler-debug into Debug namespace, which allows the compiler t…
jakebailey Oct 15, 2022
43cf787
Remove Promise redeclaration
jakebailey Oct 19, 2022
b9e24ee
Remove globalThisShim and globalThis modification for TypeScriptServi…
jakebailey Oct 19, 2022
8edbf8d
Disable slow CodeQL queries
jakebailey Oct 22, 2022
7988e40
Remove outFiles from launch.json
jakebailey Oct 25, 2022
da6f067
Remove dynamicImport and setDynamicImport
jakebailey Nov 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update baselines for corrected line endings in lib files
The old gulpfile produced lib.d.ts files with mixed newlines, thanks to
the files containing CRLF, but the gulp streams adding in LF.

Now they're all LF, which matches every other file in built / lib, but
our baselines are sensitive to this. Rerun the tests and accept them.
  • Loading branch information
jakebailey committed Nov 7, 2022
commit d0db80e5c15fe59d388f679195e983ec62badece
30 changes: 15 additions & 15 deletions tests/baselines/reference/completionEntryForUnionMethod.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@
],
"documentation": [
{
"text": "Combines two or more arrays.\r\nThis method returns a new array without modifying any existing arrays.",
"text": "Combines two or more arrays.\nThis method returns a new array without modifying any existing arrays.",
"kind": "text"
}
],
Expand Down Expand Up @@ -1047,7 +1047,7 @@
"kind": "space"
},
{
"text": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
"text": "A function that accepts up to three arguments. The every method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value false, or until the end of the array.",
"kind": "text"
}
]
Expand All @@ -1064,7 +1064,7 @@
"kind": "space"
},
{
"text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
"text": "An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",
"kind": "text"
}
]
Expand All @@ -1081,7 +1081,7 @@
"kind": "space"
},
{
"text": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
"text": "A function that accepts up to three arguments. The every method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value false, or until the end of the array.",
"kind": "text"
}
]
Expand All @@ -1098,7 +1098,7 @@
"kind": "space"
},
{
"text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
"text": "An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",
"kind": "text"
}
]
Expand Down Expand Up @@ -3001,7 +3001,7 @@
],
"documentation": [
{
"text": "Removes the last element from an array and returns it.\r\nIf the array is empty, undefined is returned and the array is not modified.",
"text": "Removes the last element from an array and returns it.\nIf the array is empty, undefined is returned and the array is not modified.",
"kind": "text"
}
]
Expand Down Expand Up @@ -4696,7 +4696,7 @@
],
"documentation": [
{
"text": "Reverses the elements in an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
"text": "Reverses the elements in an array in place.\nThis method mutates the array and returns a reference to the same array.",
"kind": "text"
}
]
Expand Down Expand Up @@ -4786,7 +4786,7 @@
],
"documentation": [
{
"text": "Removes the first element from an array and returns it.\r\nIf the array is empty, undefined is returned and the array is not modified.",
"text": "Removes the first element from an array and returns it.\nIf the array is empty, undefined is returned and the array is not modified.",
"kind": "text"
}
]
Expand Down Expand Up @@ -4940,7 +4940,7 @@
],
"documentation": [
{
"text": "Returns a copy of a section of an array.\r\nFor both start and end, a negative index can be used to indicate an offset from the end of the array.\r\nFor example, -2 refers to the second to last element of the array.",
"text": "Returns a copy of a section of an array.\nFor both start and end, a negative index can be used to indicate an offset from the end of the array.\nFor example, -2 refers to the second to last element of the array.",
"kind": "text"
}
],
Expand All @@ -4957,7 +4957,7 @@
"kind": "space"
},
{
"text": "The beginning index of the specified portion of the array.\r\nIf start is undefined, then the slice begins at index 0.",
"text": "The beginning index of the specified portion of the array.\nIf start is undefined, then the slice begins at index 0.",
"kind": "text"
}
]
Expand All @@ -4974,7 +4974,7 @@
"kind": "space"
},
{
"text": "The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\r\nIf end is undefined, then the slice extends to the end of the array.",
"text": "The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\nIf end is undefined, then the slice extends to the end of the array.",
"kind": "text"
}
]
Expand Down Expand Up @@ -5323,7 +5323,7 @@
"kind": "space"
},
{
"text": "A function that accepts up to three arguments. The some method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value true, or until the end of the array.",
"text": "A function that accepts up to three arguments. The some method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value true, or until the end of the array.",
"kind": "text"
}
]
Expand All @@ -5340,7 +5340,7 @@
"kind": "space"
},
{
"text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
"text": "An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",
"kind": "text"
}
]
Expand Down Expand Up @@ -5616,7 +5616,7 @@
],
"documentation": [
{
"text": "Sorts an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
"text": "Sorts an array in place.\nThis method mutates the array and returns a reference to the same array.",
"kind": "text"
}
],
Expand All @@ -5633,7 +5633,7 @@
"kind": "space"
},
{
"text": "Function used to determine the order of the elements. It is expected to return\r\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\r\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r\n```ts\r\n[11,2,22,1].sort((a, b) => a - b)\r\n```",
"text": "Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11,2,22,1].sort((a, b) => a - b)\n```",
"kind": "text"
}
]
Expand Down
22 changes: 11 additions & 11 deletions tests/baselines/reference/completionsCommentsClass.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@
],
"documentation": [
{
"text": "Represents a raw buffer of binary data, which is used to store data for the\r\ndifferent typed arrays. ArrayBuffers cannot be read from or written to directly,\r\nbut can be passed to a typed array or DataView Object to interpret the raw\r\nbuffer as needed.",
"text": "Represents a raw buffer of binary data, which is used to store data for the\ndifferent typed arrays. ArrayBuffers cannot be read from or written to directly,\nbut can be passed to a typed array or DataView Object to interpret the raw\nbuffer as needed.",
"kind": "text"
}
]
Expand Down Expand Up @@ -1748,7 +1748,7 @@
],
"documentation": [
{
"text": "A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\r\nof bytes could not be allocated an exception is raised.",
"text": "A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\nof bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -1802,7 +1802,7 @@
],
"documentation": [
{
"text": "A typed array of 64-bit float values. The contents are initialized to 0. If the requested\r\nnumber of bytes could not be allocated an exception is raised.",
"text": "A typed array of 64-bit float values. The contents are initialized to 0. If the requested\nnumber of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -2060,7 +2060,7 @@
],
"documentation": [
{
"text": "A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -2114,7 +2114,7 @@
],
"documentation": [
{
"text": "A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -2168,7 +2168,7 @@
],
"documentation": [
{
"text": "A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\r\nnumber of bytes could not be allocated an exception is raised.",
"text": "A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\nnumber of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -2937,7 +2937,7 @@
"kind": "space"
},
{
"text": "A value between 2 and 36 that specifies the base of the number in `string`.\r\nIf this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.\r\nAll other strings are considered decimal.",
"text": "A value between 2 and 36 that specifies the base of the number in `string`.\nIf this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.\nAll other strings are considered decimal.",
"kind": "text"
}
]
Expand Down Expand Up @@ -3448,7 +3448,7 @@
],
"documentation": [
{
"text": "A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -3502,7 +3502,7 @@
],
"documentation": [
{
"text": "A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -3556,7 +3556,7 @@
],
"documentation": [
{
"text": "A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -3610,7 +3610,7 @@
],
"documentation": [
{
"text": "A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\r\nIf the requested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\nIf the requested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down
Loading