-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* order of elements but also values: * module: nodeNext, moduleResolution: nodeNext, esModuleInterop: true, resolveJsonModule: true * tichu-term-client still uses commonjs for now (#829)
- Loading branch information
Gregory Joseph
committed
Dec 13, 2024
1 parent
e5ac888
commit 2daface
Showing
3 changed files
with
37 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2023", // when we had es2019, we left a comment to say that: Node doesn't understand nullish coalescing or optional chaining, so instruct ts to transpile | ||
"target": "es2023", | ||
"module": "nodenext", | ||
"moduleResolution": "nodenext", | ||
"esModuleInterop": true, | ||
"resolveJsonModule": true, | ||
"lib": ["es2023", "dom"], | ||
"types": ["node", "fs-extra"], | ||
|
||
"allowJs": false, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"experimentalDecorators": true, | ||
"outDir": "./lib", | ||
"rootDir": "./src", | ||
"importHelpers": true, | ||
"strict": true, | ||
"types": ["node", "fs-extra"], | ||
"esModuleInterop": false, | ||
"moduleResolution": "nodenext", | ||
"resolveJsonModule": true, | ||
"importHelpers": true | ||
|
||
"outDir": "./lib", | ||
"rootDir": "./src" | ||
}, | ||
"exclude": ["node_modules", "lib", "templates"] | ||
} |
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 |
---|---|---|
@@ -1,19 +1,22 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2023", // when we had es2019, we left a comment to say that: Node doesn't understand nullish coalescing or optional chaining, so instruct ts to transpile | ||
"target": "es2023", | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"esModuleInterop": true, | ||
"resolveJsonModule": true, | ||
"lib": ["es2023", "dom"], | ||
"types": ["node", "fs-extra"], | ||
|
||
"allowJs": false, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"experimentalDecorators": true, | ||
"outDir": "./lib", | ||
"rootDir": "./src", | ||
"importHelpers": true, | ||
"strict": true, | ||
"types": ["node", "fs-extra"], | ||
"esModuleInterop": true, | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true, | ||
"importHelpers": true | ||
|
||
"outDir": "./lib", | ||
"rootDir": "./src" | ||
}, | ||
"exclude": ["node_modules", "lib", "templates"] | ||
} |
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