You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Blog CMS CI passes React 19 and router 7 upgrades it cannot run #33
A React 19 or react-router-dom 7 upgrade to the blog CMS can pass CI and still break the admin panel, because strapi build only prints a version warning for both. A throwaway branch for #32 showed react 19, react-dom 19 and react-router-dom 7 each building green, while styled-components 5 failed. Strapi 5.59 declares React 18 and router 6, so Renovate's next major for either would merge with a passing check that never ran the code.
Plan
Add a CI step that runs npm ls on react, react-dom, react-router-dom and styled-components. .npmrc sets legacy-peer-deps=true so install succeeds, which also hides a version outside Strapi's peer range, and npm ls reports that version as invalid and exits non-zero.
Add a Renovate rule that holds react, react-dom and react-router-dom to Strapi's peer majors, so no upgrade PR opens until Strapi raises its ranges.
Later, if wanted, a boot smoke test that starts Strapi on SQLite and calls the admin panel and /graphql, which catches runtime breaks the first two cannot.
Activity