Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support TypeScript 5.1 (#7088)
* feat: support TypeScript 5.1 * Re-apply patch-package typescript * jsx: preserve in ast-spec * Added component-dashed fixture * Rename to avoid global naming conflict * chore: only run website tests on non-forks * chore: only run website tests on non-forks * Updated ast-spec snapshots * Let's try --runInBand * How about some logging * --verbose * Skip parse.moduleResolver.+ tests in Node 14 * map of undefined * more logging on process version * Remove jest.config.js shenanigans * Remove --frozen-lockfile for now * Mention ts version in jest.config.js * Split placeholder-error in twain * Try a .skip * Revert "Try a .skip" This reverts commit 0b4eb19. * Heck, let's try Node 20 * Revert "Heck, let's try Node 20" This reverts commit c6f949b. * skipLibCheck and strict * Undid some changes, for 5.1.3 again * Used new resolution courtesy of Jake * Corrected TypeScript patching and resolution * Fix packages/website/tsconfig.json module * 5.1.6 * Recreated patch-package typescript --------- Co-authored-by: “JamesHenry” <james@henry.sc>
- Loading branch information
1 parent
97abdbc
commit 4bf2d73
Showing
39 changed files
with
4,469 additions
and
41 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
7 changes: 7 additions & 0 deletions
7
packages/ast-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/fixture.tsx
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,7 @@ | ||
namespace JSX { | ||
export interface IntrinsicElements { | ||
'foo-bar:baz-bam': any; | ||
} | ||
} | ||
|
||
const componentDashed = <foo-bar:baz-bam />; |
211 changes: 211 additions & 0 deletions
211
...st-spec/src/jsx/JSXNamespacedName/fixtures/component-dashed/snapshots/1-TSESTree-AST.shot
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.