Upgrade TypeScript - #2029
Conversation
|
Code Review ReportTerraform Plan:
|
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://proud-mud-0405c6703-2029.westeurope.1.azurestaticapps.net |
| "redis": "^5.12.1", | ||
| "testcontainers": "^12.0.4", | ||
| "tsup": "catalog:", | ||
| "tsdown": "catalog:", |
There was a problem hiding this comment.
issue: I think this is out of scope.
The PR should handle only the TS upgrade, not changing the bundler (which should be in a separate PR)
There was a problem hiding this comment.
I will check that, If I remember correctly, tsup does not work with latest typescript version due to compiler changes.
| tsup: ^8.5.1 | ||
| tsx: ^4.23.1 | ||
| typescript: ~5.9.3 | ||
| typescript: ~6.0.3 |
There was a problem hiding this comment.
question: why not moving directly to version 7?
There was a problem hiding this comment.
@kin0992 version 7 is a complete rewrite in Go, that can break our toolchain and IDE-integration. Version 6.x is a "migration release" meant to prepare the codebase to be ported on version 7 (which shares the same config file and same deprecations).
I prefer to do a gradual upgrade, in order to avoid breaking our tools.
| '@pagopa/azure-tracing': patch | ||
| --- | ||
|
|
||
| Build the package with TypeScript 6-compatible tooling without changing its public API. |
There was a problem hiding this comment.
question: is this true? is tsup not working with version 6?
There was a problem hiding this comment.
note: it looks to me that tsup continues to work with TS 6: https://github.com/pagopa/dx/actions/runs/30647189843/job/91211379188?pr=2029#step:9:980
No description provided.