chore: UI migration to Vite + ESLint 9, bump UI dependencies, fix CVEs
## Summary Migrate UI from Create React App (craco) to Vite, upgrade ESLint to v9 with flat config, bump UI dependencies, and fix transitive CVEs. ## Motivation - Close 5 GitHub Dependabot PRs: #274 (eslint), #297 (@babel/core), #300 (monaco-editor), #304 (@emotion/react), #307 (node Dockerfile) - Fix 7 CVEs currently in the dep tree via webpack/react-scripts (serialize-javascript, webpack-dev-server, brace-expansion, dompurify, elliptic) - react-scripts is EOL; Vite is the standard replacement ## Scope - Replace `react-scripts` + `@craco/craco` with Vite + `@vitejs/plugin-react` - Migrate ESLint config from `.eslintrc` to `eslint.config.js` (flat config, ESLint 9) - Upgrade `@typescript-eslint` to v8+ (ESLint 9 compatible) - Bump `@emotion/react` to 11.14.0, `monaco-editor` to 0.55.1, `@babel/core` to 7.29.0 - Update `ui/packages/ce/Dockerfile` for Vite build output - Update `ui/packages/ce/nginx.conf` env var prefix (`REACT_APP_*` → `VITE_*`) - Run `pnpm audit` to confirm CVEs resolved ## Acceptance criteria - `pnpm --filter @postgres.ai/ce build` succeeds - `pnpm --filter @postgres.ai/ce lint` passes (ESLint 9) - Docker image builds successfully - No high/critical CVEs in `pnpm audit`
issue