Skip to content

Commit

Permalink
fix(containers): Fix tsconfig to have right d.ts files (#5349)
Browse files Browse the repository at this point in the history
* fix(containers): Fix tsconfig to have right d.ts files

* changeset
  • Loading branch information
mhuchet authored Jun 19, 2024
1 parent 9f38adc commit c520cd8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-boats-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/react-containers': patch
---

fix(containers): Fix tsconfig to have right d.ts files
4 changes: 2 additions & 2 deletions packages/containers/tsconfig.esm.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
12 changes: 12 additions & 0 deletions packages/containers/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit c520cd8

Please sign in to comment.