mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-12-05 00:53:37 +01:00
Merge pull request #641 from BigBodyCobain/codex/react-runtime-sync
Keep React and React DOM upgrades synchronized
This commit is contained in:
4 files changed
+25
-4
No files matched your search
@@ -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:
|
||||
|
||||
@@ -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);"
|
||||
- run: npm run lint
|
||||
- run: npm run format:check
|
||||
- run: npx vitest run --reporter=verbose
|
||||
|
||||
Generated
+2
-2
@@ -19,8 +19,8 @@
|
||||
"maplibre-gl": "^4.7.1",
|
||||
"next": "16.3.8",
|
||||
"qrcode": "^1.5.4",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.3.1",
|
||||
"react": "19.3.1",
|
||||
"react-dom": "19.3.1",
|
||||
"react-map-gl": "^8.1.0",
|
||||
"satellite.js": "^6.0.2",
|
||||
"zod": "^4.6.7"
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
"maplibre-gl": "^4.7.1",
|
||||
"next": "16.3.8",
|
||||
"qrcode": "^1.5.4",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.3.1",
|
||||
"react": "19.3.1",
|
||||
"react-dom": "19.3.1",
|
||||
"react-map-gl": "^8.1.0",
|
||||
"satellite.js": "^6.0.2",
|
||||
"zod": "^4.6.7"
|
||||
|
||||
Reference in new issue
Block a user