parent
aecfdbb644
commit
760b5f7eb0
@ -0,0 +1,14 @@ |
|||||||
|
/* eslint-disable @typescript-eslint/no-var-requires */ |
||||||
|
// packages/dataset/jest.config.cjs |
||||||
|
const sharedConfig = require("../../jest.config.js"); |
||||||
|
|
||||||
|
module.exports = { |
||||||
|
...sharedConfig, |
||||||
|
rootDir: "./", // Sets context for this package |
||||||
|
collectCoverageFrom: [ |
||||||
|
"src/**/*.ts", |
||||||
|
"!src/**/*.d.ts", |
||||||
|
// "!src/index.ts", // Optional, if index.ts only re-exports |
||||||
|
], |
||||||
|
modulePathIgnorePatterns: ["<rootDir>/dist/"], |
||||||
|
}; |
@ -1,6 +0,0 @@ |
|||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
||||||
const sharedConfig = require("../../jest.config.js"); |
|
||||||
module.exports = { |
|
||||||
...sharedConfig, |
|
||||||
rootDir: "./", |
|
||||||
}; |
|
@ -1,7 +0,0 @@ |
|||||||
{ |
|
||||||
"extends": "../../tsconfig.base.json", |
|
||||||
"compilerOptions": { |
|
||||||
"outDir": "./dist" |
|
||||||
}, |
|
||||||
"include": ["./src"] |
|
||||||
} |
|
@ -0,0 +1,10 @@ |
|||||||
|
{ |
||||||
|
"extends": "../../tsconfig.cjs.json", |
||||||
|
"compilerOptions": { |
||||||
|
"outDir": "./dist/cjs", |
||||||
|
"rootDir": "./src" |
||||||
|
}, |
||||||
|
"include": [ |
||||||
|
"src" |
||||||
|
] |
||||||
|
} |
@ -0,0 +1,11 @@ |
|||||||
|
{ |
||||||
|
"extends": "../../tsconfig.esm.json", |
||||||
|
"compilerOptions": { |
||||||
|
"outDir": "./dist/esm", |
||||||
|
"rootDir": "./src", |
||||||
|
"declarationDir": "./dist/types" |
||||||
|
}, |
||||||
|
"include": [ |
||||||
|
"src" |
||||||
|
] |
||||||
|
} |
Loading…
Reference in new issue