Keep React and React DOM upgrades synchronized

This commit is contained in:
BigBodyCobain committed 2026-10-30 00:03:46 -06:00
1 parent 50be1c2402
commit cd8b8a0d50
4 files changed
+32 -11

No files matched your search

+15
View File
@@ -4,6 +4,21 @@ updates:
directory: "/frontend"
schedule:
interval: "weekly"
groups:
react-runtime:
applies-to: version-updates
patterns:
- "react"
- "react-dom"
- "@types/react"
- "@types/react-dom"
react-runtime-security:
applies-to: security-updates
patterns:
- "react"
- "react-dom"
- "@types/react"
- "@types/react-dom"
- package-ecosystem: "pip"
directory: "/backend"
schedule:
+6
View File
@@ -44,6 +44,12 @@ jobs:
cache: npm
cache-dependency-path: frontend/package-lock.json
- run: npm ci
- name: Check React runtime versions match
run: >-
node -e "const react = require('react/package.json').version;
const dom = require('react-dom/package.json').version;
if (react !== dom) throw new Error('React runtime mismatch: react=' + react + ', react-dom=' + dom);
console.log('React and React DOM match: ' + react);"
- name: Audit production dependencies
run: npm audit --omit=dev --audit-level=high
- name: Test development credential bootstrap