Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Next Next commit
chore: drop TypeScript versions below 5.4
  • Loading branch information
SimenB committed May 24, 2025
commit 3f09dfffd8fd4114aeb6ab64152835c1da279996
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
- name: ts integration
run: yarn test-ts --selectProjects ts-integration
- name: type tests
run: yarn test-types --target 5.0,current
- name: verify TypeScript@5.0 compatibility
run: yarn test-types --target 5.4,current
- name: verify TypeScript@5.4 compatibility
run: yarn verify-old-ts
- name: run ESLint with type info
run: yarn lint-ts-files
Expand Down
2 changes: 1 addition & 1 deletion scripts/verifyOldTs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const tsConfig = {
};
/* eslint-enable sort-keys */

const tsVersion = '5.0';
const tsVersion = '5.4';

function smoketest() {
const jestDirectory = path.resolve(
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node16/tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"module": "preserve",
"moduleResolution": "bundler",
"composite": true,
"declaration": true,
"emitDeclarationOnly": true,
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.typetest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"module": "preserve",
"moduleResolution": "bundler",
"noEmit": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
Expand Down
Loading