Skip to content

Commit

Permalink
chore: upgrade tsconfig rootDir
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Feb 1, 2024
1 parent 93fb514 commit 889d545
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 32 deletions.
9 changes: 3 additions & 6 deletions v3/midway-framework-koa-esm/boilerplate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@
"declaration": true,
"forceConsistentCasingInFileNames": true,
"typeRoots": [ "./typings", "./node_modules/@types"],
"outDir": "dist"
"outDir": "dist",
"rootDir": "./src"
},
"exclude": [
"dist",
"node_modules",
"test"
]
"include": ["**/*.ts"]
}
9 changes: 3 additions & 6 deletions v3/midway-framework-koa/boilerplate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@
"declaration": true,
"forceConsistentCasingInFileNames": true,
"typeRoots": [ "./typings", "./node_modules/@types"],
"outDir": "dist"
"outDir": "dist",
"rootDir": "./src"
},
"exclude": [
"dist",
"node_modules",
"test"
]
"include": ["**/*.ts"]
}
9 changes: 3 additions & 6 deletions v3/midway-framework-web/boilerplate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@
"declaration": true,
"forceConsistentCasingInFileNames": true,
"typeRoots": [ "./typings", "./node_modules/@types"],
"outDir": "dist"
"outDir": "dist",
"rootDir": "./src"
},
"exclude": [
"dist",
"node_modules",
"test"
]
"include": ["**/*.ts"]
}
9 changes: 3 additions & 6 deletions v3/midway-quick-start/boilerplate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@
"declaration": true,
"forceConsistentCasingInFileNames": true,
"typeRoots": [ "./typings", "./node_modules/@types"],
"outDir": "dist"
"outDir": "dist",
"rootDir": "./src"
},
"exclude": [
"dist",
"node_modules",
"test"
]
"include": ["**/*.ts"]
}
9 changes: 3 additions & 6 deletions v3/midway-serverless-http-new-esm/boilerplate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@
"declaration": true,
"forceConsistentCasingInFileNames": true,
"typeRoots": [ "./typings", "./node_modules/@types"],
"outDir": "dist"
"outDir": "dist",
"rootDir": "./src"
},
"exclude": [
"dist",
"node_modules",
"test"
]
"include": ["**/*.ts"]
}
5 changes: 3 additions & 2 deletions v3/midway-serverless-http-new/boilerplate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"pretty": true,
"declaration": true,
"forceConsistentCasingInFileNames": true,
"outDir": "dist"
"outDir": "dist",
"rootDir": "./src"
},
"exclude": ["dist", "node_modules", "test"]
"include": ["**/*.ts"]
}

0 comments on commit 889d545

Please sign in to comment.