Skip to content

Commit

Permalink
chore: changes in tsconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
rudemex committed Jan 20, 2023
1 parent dc7de36 commit 73f1198
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 30 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
"@types/glob": "^8.0.1",
"@types/inline-css": "^3.0.1",
"@types/jest": "^29.2.6",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"@types/nodemailer": "^6.4.4",
"@types/pug": "^2.0.6",
Expand All @@ -123,6 +124,7 @@
"jest-sonar-reporter": "^2.0.0",
"lerna": "^4.0.0",
"lint-staged": "^13.1.0",
"mocha": "^10.2.0",
"nodemailer-mock": "^1.5.12",
"plop": "^3.0.5",
"prettier": "^2.8.3",
Expand Down
3 changes: 1 addition & 2 deletions packages/archetype/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/camunda/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
2 changes: 1 addition & 1 deletion packages/config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
coverageDirectory: './coverage',
coveragePathIgnorePatterns: ['node_modules', 'node_modules/*', 'dist', 'dist/*', 'src/index.ts'],
testEnvironment: 'node',
setupFilesAfterEnv: [path.join(__dirname, 'jest.setup.js'), 'jest-extended'],
setupFilesAfterEnv: [path.join(__dirname, 'jest.setup.js'), 'jest-extended/all'],
moduleDirectories: ['node_modules'],
preset: 'ts-jest',
testResultsProcessor: 'jest-sonar-reporter',
Expand Down
3 changes: 2 additions & 1 deletion packages/config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"strict": false,
"skipLibCheck": true
"skipLibCheck": true,
"types": ["tresdoce-nestjs-toolkit", "jest"]
}
}
3 changes: 1 addition & 2 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/elk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/filters/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/health/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/http-client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/mailer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/paas/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/redis/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/response-parser/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/test-utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions packages/typeorm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions plops-templates/packages/basic/tsconfig.json.hbs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@tresdoce-nestjs-toolkit/config",
"compilerOptions": {
"rootDir": "./src",
"types": ["tresdoce-nestjs-toolkit", "jest"]
"rootDir": "./src"
},
"include": ["src/**/*"],
"exclude": [
Expand Down

0 comments on commit 73f1198

Please sign in to comment.