generated from Byndyusoft/node-base-template
-
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.
- Loading branch information
1 parent
c19febd
commit 9c742b6
Showing
5 changed files
with
64 additions
and
2 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 |
---|---|---|
|
@@ -23,6 +23,8 @@ yarn add -D @byndyusoft/tsconfig | |
|
||
Add to your `tsconfig.json`: | ||
|
||
### Node 16 | ||
|
||
```json | ||
{ | ||
"extends": "@byndyusoft/tsconfig/tsconfig.node16.json" | ||
|
@@ -37,7 +39,7 @@ or | |
} | ||
``` | ||
|
||
or | ||
### Node 18 | ||
|
||
```json | ||
{ | ||
|
@@ -53,6 +55,22 @@ or | |
} | ||
``` | ||
|
||
### Node 20 | ||
|
||
```json | ||
{ | ||
"extends": "@byndyusoft/tsconfig/tsconfig.node20.json" | ||
} | ||
``` | ||
|
||
or | ||
|
||
```json | ||
{ | ||
"extends": "@byndyusoft/tsconfig/tsconfig.app.node20.json" | ||
} | ||
``` | ||
|
||
## Maintainers | ||
|
||
- [@Byndyusoft/owners](https://github.com/orgs/Byndyusoft/teams/owners) <<[email protected]>> | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "./tsconfig.node20.json", | ||
"compilerOptions": { | ||
// Emit | ||
"declaration": false, | ||
"declarationMap": false, | ||
"removeComments": true | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"extends": "@tsconfig/node20/tsconfig.json", | ||
"compilerOptions": { | ||
// Type Checking | ||
"allowUnreachableCode": false, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitReturns": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
// Modules | ||
"module": "Node16", | ||
"moduleResolution": "Node16", | ||
// Emit | ||
"declaration": true, | ||
"declarationMap": true, | ||
"importHelpers": true, | ||
"newLine": "lf", | ||
"preserveConstEnums": true, | ||
"sourceMap": true, | ||
// Language and Environment | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
// Projects | ||
"incremental": true | ||
} | ||
} |
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