Platform-v2 step 2.2: react/react-dom 19.2.5, react-router-dom 7.14.1, vite 8.0.9, @vitejs/plugin-react 6.0.1, and react-is 19.2.5 (recharts' peer dependency, no longer installed implicitly). React and the router are now shared by both apps at the workspace root; the waiter resolves exactly the versions it had. - .npmrc legacy-peer-deps for the whole workspace (vite-plugin-pwa 1.2 does not list Vite 8 yet; the waiter always installed this way) - manager Vite dev/preview proxies /api, /api/ws and /static to :8000 like the waiter No code changes were needed: every route renders and the main flows work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 lines
268 B
Plaintext
5 lines
268 B
Plaintext
# vite-plugin-pwa 1.2 (waiter) does not list Vite 8 as a peer yet; the waiter always
|
|
# installed with --legacy-peer-deps. One setting for the whole workspace so local
|
|
# installs, npm ci in the Dockerfiles and the e2e builds resolve the same way.
|
|
legacy-peer-deps=true
|