diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json index 2938a70..8f2aa02 100644 --- a/packages/utils/tsconfig.json +++ b/packages/utils/tsconfig.json @@ -1,10 +1,10 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": "src", + // "rootDir": "utils", "outDir": "./dist", "allowJs": false }, - "include": ["src", "**/*.test.ts"], + "include": ["src", "tests"], "exclude": ["node_modules", "dist"] } diff --git a/tests/tsconfig.json b/tests/tsconfig.json index 9e9b613..0862ad3 100644 --- a/tests/tsconfig.json +++ b/tests/tsconfig.json @@ -4,6 +4,10 @@ "lib": ["es5", "dom"], "types": ["cypress", "@testing-library/cypress"] }, - "include": ["src", "node_modules/cypress", "**/*.ts"], - "exclude": ["node_modules/cypress", "./cypress.config.mjs", "**/*.test.ts"] + "include": ["node_modules/cypress", "cypress/**/*.ts"], + "exclude": [ + "node_modules/cypress", + "./cypress.config.mjs", + "../packages/utils/**/*.ts" + ] }