Skip to content

Commit

Permalink
Support TypeScript 5 (prettier#13819)
Browse files Browse the repository at this point in the history
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com>
  • Loading branch information
2 people authored and medikoo committed Feb 8, 2024
1 parent 5d8ffc4 commit 363a401
Show file tree
Hide file tree
Showing 21 changed files with 210 additions and 524 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dev-test.yml
Expand Up @@ -26,7 +26,8 @@ jobs:
- "macos-latest"
- "windows-latest"
node:
- "19"
# https://github.com/nodejs/node/issues/47096
- "19.7.0"
- "18"
- "16"
include:
Expand All @@ -38,9 +39,9 @@ jobs:
CHECK_TEST_PARSERS: true
exclude:
- os: "macos-latest"
node: "19"
node: "19.7.0"
- os: "windows-latest"
node: "19"
node: "19.7.0"
env:
ENABLE_CODE_COVERAGE: ${{ matrix.ENABLE_CODE_COVERAGE }}
FULL_TEST: ${{ matrix.FULL_TEST }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/prod-test.yml
Expand Up @@ -55,7 +55,8 @@ jobs:
- "macos-latest"
- "windows-latest"
node:
- "19"
# https://github.com/nodejs/node/issues/47096
- "19.7.0"
- "18"
- "16"
- "14"
Expand All @@ -65,9 +66,9 @@ jobs:
FULL_TEST: true
exclude:
- os: "macos-latest"
node: "19"
node: "19.7.0"
- os: "windows-latest"
node: "19"
node: "19.7.0"
- os: "macos-latest"
node: "16"
- os: "windows-latest"
Expand Down
2 changes: 1 addition & 1 deletion changelog_unreleased/typescript/14391-2.md
@@ -1,4 +1,4 @@
#### Support TypeScript 5.0 via `babel-ts` parser (#14391 by @fisker)
#### Support TypeScript 5.0 (#14391 by @fisker, #13819 by @fisker, @sosukesuzuki)

TypeScript 5.0 introduces two new syntactic features:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -39,7 +39,7 @@
"@prettier/is-es5-identifier-name": "0.1.0",
"@prettier/parse-srcset": "2.0.2",
"@typescript-eslint/typescript-estree": "5.55.0",
"@typescript-eslint/visitor-keys": "5.54.1",
"@typescript-eslint/visitor-keys": "5.55.0",
"acorn": "8.8.2",
"acorn-jsx": "5.3.2",
"angular-estree-parser": "6.0.0",
Expand Down

0 comments on commit 363a401

Please sign in to comment.