jovotech / jovo-templates

💬 Code Patterns and Templates for Jovo Voice Apps
https://www.jovo.tech
Apache License 2.0
27 stars 30 forks source link

TS-Jest version is breaking "jovo new" for Typescript #61

Closed allanmelo closed 3 years ago

allanmelo commented 3 years ago

Error: When trying to create a new project with the New CLI in Typescript, the dependency libs conflict. Jovo-sample-voice-app uses version 26.6.3 of Jest. However, TS-Jest supports only up to version 25.5.1.

Evidence:

Captura de Tela 2021-02-22 às 16 15 44

To reproduce error:

jovo new test --language typescript

Solution: Update TS-Jest to a newer version: 26.5.1

aswetlow commented 3 years ago

Hey @allanmelo

I couldn't reproduce it.

Nevertheless, the upgrade to 26.5.1 won't break anything. I will do some tests and merge your PR. Thank you

allanmelo commented 3 years ago

Thanks @aswetlow. It could be something about the compatibility of libs with my dev environment. I'm using macOS Catalina 10.15.7 (19H2), node v14.15.3. Anyway, from what I tested here, nothing really broke, so it's not something that should be problematic.

It doesn't hurt to mention, other libs have also had updates. I updated everything using npm-check and this updated version is running smoothly, with no problems here.