chore: cleanup 2.0 tsconfigs, fix building types for db adapters (#3293)
* chore: cleanup tsconfigs and fix db-mongodb builds * chore: make the db adapters depend on payload * chore: fix tsconfig for test directory * chore: fix packages/db-mongodb not building
This commit is contained in:
@@ -61,7 +61,7 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
parserOptions: {
|
||||
project: ['../tsconfig.json'],
|
||||
project: ['./tsconfig.json'],
|
||||
tsconfigRootDir: __dirname,
|
||||
},
|
||||
root: true,
|
||||
|
||||
19
test/tsconfig.json
Normal file
19
test/tsconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"noEmit": false /* Do not emit outputs. */,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "./dist" /* Specify an output folder for all emitted files. */,
|
||||
"rootDir": "../" /* Specify the root folder within your source files. */
|
||||
},
|
||||
"exclude": ["dist", "build", "node_modules", ".eslintrc.js"],
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.tsx",
|
||||
"src/**/*.d.ts",
|
||||
"src/**/*.json",
|
||||
"**/*.ts",
|
||||
"test/**/*.tsx",
|
||||
"../packages/**/src/**/*.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user