Skip to content

Commit 1eea6f9

Browse files
authored
Merge pull request #3 from radiofrance/next
2 parents d812e09 + b35ae7c commit 1eea6f9

2 files changed

Lines changed: 24 additions & 18 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"author": {
88
"name": "Radio France",
99
"email": "[email protected]",
10-
"url": "www.radiofrance.fr"
10+
"url": "https://www.radiofrance.fr"
1111
},
1212
"main": "tsconfig.json",
1313
"engines": {
14-
"node": ">=8"
14+
"node": ">=22"
1515
},
1616
"files": [
1717
"tsconfig.json"

tsconfig.json

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
11
{
22
// For more information on theses keys, see https://www.typescriptlang.org/tsconfig/
33
"compilerOptions": {
4-
// Disabled because configDir is in beta https://github.com/microsoft/TypeScript/releases/tag/v5.5-beta
5-
// "outDir": "${configDir}/dist",
4+
"outDir": "${configDir}/dist",
65

7-
"module": "node16",
8-
"moduleResolution": "node16",
6+
"module": "node18",
97
"moduleDetection": "force",
10-
"target": "es2022",
8+
"target": "es2024",
119

12-
"resolveJsonModule": false, // ESM doesn't support JSON modules.
1310
"declaration": true,
14-
"sourceMap": true,
15-
"stripInternal": true,
16-
"strict": true,
17-
"noImplicitReturns": true,
11+
"erasableSyntaxOnly": true,
12+
"forceConsistentCasingInFileNames": true,
13+
14+
"noEmitOnError": true,
15+
"noFallthroughCasesInSwitch": true,
1816
"noImplicitOverride": true,
17+
"noImplicitReturns": true,
18+
"noPropertyAccessFromIndexSignature": true,
19+
"noUncheckedIndexedAccess": true,
20+
"noUncheckedSideEffectImports": true,
1921
"noUnusedLocals": true,
2022
"noUnusedParameters": true,
21-
"noFallthroughCasesInSwitch": true,
22-
"noUncheckedIndexedAccess": true,
23-
"noPropertyAccessFromIndexSignature": true,
24-
"noEmitOnError": true,
25-
"forceConsistentCasingInFileNames": true,
26-
"skipLibCheck": true
23+
24+
"resolveJsonModule": false, // ESM doesn't support JSON modules.
25+
"rewriteRelativeImportExtensions": true,
26+
"skipLibCheck": true,
27+
"sourceMap": true,
28+
29+
"strict": true,
30+
"stripInternal": true,
31+
32+
"verbatimModuleSyntax": true,
2733
}
2834
}

0 commit comments

Comments
 (0)