This is the minimal upgrade to TypeScript 5.
I tried to upgrade only the necessary dependencies and keep the changes to a minimum.
Notable changes:
- `@vue/tsconfig` upgraded from 0.1.3 to 0.3.2. Note that according to semver, it contains breaking changes. See <https://github.com/vuejs/tsconfig#migrating-from-typescript--50> for more details.
- Vite, `vue-tsc`, and Cypress MUST be upgraded to the latest version to support TypeScript 5.
- The `tsconfig` files in the barebone TypeScript template have been updated.
- Previously, it was `tsconfig.json` + `tsconfig.node.json`, where `tsconfig.json` contains the configuration for the web app in the `src/` folder and a reference to the `tsconfig.node.json`.
- Now it is `tsconfig.json` + `tsconfig.app.json` + `tsconfig.node.json`, where `tsconfig.json` contains only references to the other 2 configs.
- This is to align it with the `tsconfig` files in the other templates, so that users can easily switch between templates. It also avoids some edge cases in solution-style tsconfigs.