Skip to content

Commit

Permalink
chore: update tsconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Aug 1, 2023
1 parent b023855 commit 040c6b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "MIT",
"repository": "https://github.com/nestjs/swagger",
"scripts": {
"build": "tsc -p tsconfig.json",
"build": "tsc -p tsconfig.build.json",
"format": "prettier \"lib/**/*.ts\" --write",
"lint": "eslint 'lib/**/*.ts' --fix",
"prepublish:next": "npm run build",
Expand Down
7 changes: 3 additions & 4 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
"target": "es6",
"sourceMap": false,
"outDir": "./dist",
"rootDir": ".",
"rootDir": "./lib",
"skipLibCheck": true
},
"include": [
"lib/**/*",
"e2e/**/*"
"lib/**/*"
],
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
"exclude": ["node_modules", "test", "dist", "**/*spec.ts", "e2e"]
}
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
"skipLibCheck": true
},
"include": [
"lib/**/*"
"lib/**/*",
"test/**/*",
"e2e/**/*"
],
"exclude": [
"node_modules",
"**/*.spec.ts"
]
}

0 comments on commit 040c6b9

Please sign in to comment.