diff --git a/.changeset/seven-boats-battle.md b/.changeset/seven-boats-battle.md new file mode 100644 index 00000000000..0a07b1a4e72 --- /dev/null +++ b/.changeset/seven-boats-battle.md @@ -0,0 +1,5 @@ +--- +'@talend/react-containers': patch +--- + +fix(containers): Fix tsconfig to have right d.ts files diff --git a/packages/containers/tsconfig.esm.json b/packages/containers/tsconfig.esm.json index 11b76596549..ff222b4ce99 100644 --- a/packages/containers/tsconfig.esm.json +++ b/packages/containers/tsconfig.esm.json @@ -1,6 +1,6 @@ { - "extends": "@talend/scripts-config-typescript/tsconfig.json", - "include": ["src/**/*"], + "extends": "./tsconfig.json", + "exclude": ["node_modules", "src/**/*.stories.*", "src/**/*.test.*"], "compilerOptions": { "declaration": true, "outDir": "lib-esm", diff --git a/packages/containers/tsconfig.json b/packages/containers/tsconfig.json new file mode 100644 index 00000000000..5b10cd04196 --- /dev/null +++ b/packages/containers/tsconfig.json @@ -0,0 +1,12 @@ +{ + "extends": "@talend/scripts-config-typescript/tsconfig.json", + "include": ["custom.d.ts", "src/**/*"], + "exclude": ["node_modules"], + "compilerOptions": { + "types": ["jest", "@testing-library/jest-dom"], + "allowJs": true, + "checkJs": false, + "declaration": true, + "noEmit": false + } +}