Skip to content

Commit

Permalink
fix: tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganitzsh committed Oct 31, 2023
1 parent 04dc77f commit 1148fc4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
30 changes: 22 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
{
"files": [],
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.spec.ts"],
"extends": "@tsconfig/node20/tsconfig.json",
"files": ["./src/index.ts"],
"exclude": ["node_modules"],
"include": ["./jest.config.ts", "./src/**/*.ts", "./__mocks__/**/*.ts"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib",
"noEmit": false,
"types": ["node"]
"rootDir": ".",
"sourceMap": true,
"strictNullChecks": true,
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext",
"strict": true,
"noEmit": true,
"types": ["node", "jest"]
},
"extends": "./tsconfig.json"
"ts-node": {
"esm": true
}
}
30 changes: 8 additions & 22 deletions tsconfig.production.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"files": ["./src/index.ts"],
"exclude": ["node_modules"],
"include": ["./jest.config.ts", "./src/**/*.ts", "./__mocks__/**/*.ts"],
"files": [],
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.spec.ts"],
"compilerOptions": {
"rootDir": ".",
"sourceMap": true,
"strictNullChecks": true,
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext",
"strict": true,
"noEmit": true,
"types": ["node", "jest"]
"rootDir": "./src",
"outDir": "./lib",
"noEmit": false,
"types": ["node"]
},
"ts-node": {
"esm": true
}
"extends": "./tsconfig.json"
}

0 comments on commit 1148fc4

Please sign in to comment.