Files
create-react-component-library/tsconfig.cy.json
Alejandro Lembke Barrientos 62dd7186c1 PR-733704: fix tsconfig.cy.json type errors
- Remove 'cypress' from types array: Cypress ships its own types,
  not via @types/cypress — the /// <reference types="cypress" />
  in support files resolves them correctly without this entry.
- Exclude *.stories.* and *.test.* from the program: ts-loader
  does full program type-checking, pulling in stories (@storybook
  types unavailable) and Jest tests (@testing-library/jest-dom not
  in scope). These files are irrelevant to Cypress.
2026-06-21 06:04:24 +00:00

19 lines
234 B
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "."
},
"include": [
"src",
"cypress",
"src/@types"
],
"exclude": [
"node_modules",
"dist",
"**/*.stories.*",
"**/*.test.ts",
"**/*.test.tsx"
]
}