dheerajturaga commented on PR #70848: URL: https://github.com/apache/airflow/pull/70848#issuecomment-5145969315
I pushed a commit that pins `typescript` back to `~6.0.3` (from `~7.0.2`), keeping the `eslint` and `globals` bumps from this Dependabot update. **Why:** same issue as in #70616 — TypeScript 7.0.2 dropped the legacy JS Compiler API, which `unplugin-dts` (used via `vite-plugin-dts`) still depends on. That breaks `pnpm build` and fails CI's `Static checks / compile-edge-assets` prek hook: ``` Error: [unplugin-dts] The installed "typescript" package does not provide the JavaScript Compiler API (this happens with TypeScript 7+), and the fallback "@typescript/typescript6" was not found. ``` Dependabot keeps proposing this same major bump since the `edge-ui-package-updates` group has no restriction on major versions. I'll follow up separately to fix `.github/dependabot.yml` so it stops recurring. Once `vite-plugin-dts`/`unplugin-dts` add TypeScript 7 support, this pin can be lifted. --- Drafted-by: Claude Code (Sonnet 5); reviewed by @dheerajturaga before posting -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
