Add vite/client types to tsconfig.json

Proprietary

Appends vite/client to an existing compilerOptions.types list in tsconfig.json files. Files without a types list are left unchanged so that TypeScript keeps including every @types/* package.

org.openrewrite.react.cra-to-vite.update-tsconfig
mod run . --recipe=org.openrewrite.react.cra-to-vite.update-tsconfig

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.