diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index 610120d7cec0..90e03ee4f325 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -13,6 +13,7 @@ _Released 05/23/2023 (PENDING)_ - Moved `types` condition to the front of `package.json#exports` since keys there are meant to be order-sensitive. Fixed in [#26630](https://github.com/cypress-io/cypress/pull/26630). - Fixed an issue where newly-installed dependencies would not be detected during Component Testing setup. Addresses [#26685](https://github.com/cypress-io/cypress/issues/26685). - Fixed a UI regression that was flashing an "empty" state inappropriately when loading the Debug page. Fixed in [#26761](https://github.com/cypress-io/cypress/pull/26761). +- Fixed an issue in Component Testing setup where TypeScript version 5 was not properly detected. Fixes [#26204](https://github.com/cypress-io/cypress/issues/26204). **Misc:** diff --git a/packages/scaffold-config/src/dependencies.ts b/packages/scaffold-config/src/dependencies.ts index 54b5c9d7d48e..7db54e8c7113 100644 --- a/packages/scaffold-config/src/dependencies.ts +++ b/packages/scaffold-config/src/dependencies.ts @@ -49,7 +49,7 @@ export const WIZARD_DEPENDENCY_TYPESCRIPT = { package: 'typescript', installer: 'typescript', description: 'TypeScript is a language for application-scale JavaScript', - minVersion: '^=3.4.0 || ^=4.0.0' || '^=5.0.0', + minVersion: '^=3.4.0 || ^=4.0.0 || ^=5.0.0', } as const export const WIZARD_DEPENDENCY_REACT_SCRIPTS = {