Skip to content

Commit bf7d023

Browse files
committed
use node strip-types instead of ts-node
requires dropping v20
1 parent e28da52 commit bf7d023

File tree

290 files changed

+1620
-2031
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+1620
-2031
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
runs-on: ubuntu-latest
146146
strategy:
147147
matrix:
148-
node_version_to_setup: [20, 22, 24]
148+
node_version_to_setup: [22, 24]
149149
permissions:
150150
contents: read # for actions/checkout
151151
steps:

.mocharc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ check-leaks: true
44
extension:
55
- ts
66
node-option:
7-
- 'import=./resources/register-ts-node.js'
7+
- 'experimental-strip-types=true'

eslint.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ export default tsConfig(
4444
// eslint-plugin-import tries to parse all imported files included huge ones (e.g. 'typescript')
4545
// that leads to very poor performance so to fix that we disable all checks on external files.
4646
'import/ignore': '/node_modules/',
47+
n: {
48+
typescriptExtensionMap: [
49+
['', '.ts'],
50+
['.ts', '.ts'],
51+
],
52+
},
4753
},
4854
rules: {
4955
//////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)