diff --git a/package-lock.json b/package-lock.json index 8cd3922a2b1f..3145a3815c60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "@taiga-ui/eslint-plugin-experience": "0.39.4", "@taiga-ui/prettier-config": "0.6.0", "@taiga-ui/stylelint-config": "0.10.1", - "@taiga-ui/tsconfig": "0.7.0", + "@taiga-ui/tsconfig": "0.8.0", "@testing-library/cypress": "10.0.1", "@tinkoff/ng-event-plugins": "3.1.0", "@tinkoff/tui-editor": "1.8.4", @@ -7499,9 +7499,9 @@ "link": true }, "node_modules/@taiga-ui/tsconfig": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/tsconfig/-/tsconfig-0.7.0.tgz", - "integrity": "sha512-Tmw4an6qdgFelTXkDyHL5eCpJ+rTmazXJV6HgcUv0LrBMvY0TpHUz70aqaotEVPrcyN8Ags0ukdGoBk8/Mv5Qw==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/tsconfig/-/tsconfig-0.8.0.tgz", + "integrity": "sha512-RRq7hbkNG4OOqRZqQ2dNXZmYyyC3FK3ufglr44LSyPHMZ6vEq5T1CcB673mZDQGxmm/8b9sQ2fgDZOnN1KOyAQ==", "dev": true }, "node_modules/@testing-library/cypress": { diff --git a/package.json b/package.json index 881215fd0b2b..efdf09a1ba94 100644 --- a/package.json +++ b/package.json @@ -130,7 +130,7 @@ "@taiga-ui/eslint-plugin-experience": "0.39.4", "@taiga-ui/prettier-config": "0.6.0", "@taiga-ui/stylelint-config": "0.10.1", - "@taiga-ui/tsconfig": "0.7.0", + "@taiga-ui/tsconfig": "0.8.0", "@testing-library/cypress": "10.0.1", "@tinkoff/ng-event-plugins": "3.1.0", "@tinkoff/tui-editor": "1.8.4", diff --git a/tsconfig.json b/tsconfig.json index c83a93c60613..57ca78b969ec 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,12 @@ "compilerOptions": { "baseUrl": "./", "outDir": "./dist", + "typeRoots": [ + "node_modules/@types", + "node_modules/@taiga-ui/tsconfig/@types", + "../node_modules/@types", + "../node_modules/@taiga-ui/tsconfig/@types" + ], "paths": { "@demo-cypress/*": ["projects/demo-cypress/cypress/*"], "@demo-playwright/utils": ["projects/demo-playwright/utils/index"], diff --git a/tsconfig.spec.json b/tsconfig.spec.json index d942d4036dfd..0fdb7503d727 100644 --- a/tsconfig.spec.json +++ b/tsconfig.spec.json @@ -1,7 +1,7 @@ { "extends": "./tsconfig.json", + "exclude": ["projects/demo-cypress", "**/scripts/**/*.ts"], "compilerOptions": { "types": ["jest", "node", "webpack-env", "ng-dev-mode"] - }, - "exclude": ["projects/demo-cypress"] + } }