File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ updates:
1818 - " eslint"
1919 - " eslint-*"
2020 - " prettier"
21+ react :
22+ patterns :
23+ - " react"
24+ - " react-dom"
2125 ignore :
2226 - dependency-name : " @rjsf/core"
2327 update-types : ["version-update:semver-major"]
Original file line number Diff line number Diff line change 2323 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424 - uses : ./.github/actions/set-up-node
2525 - run : npm ci
26+ - name : Ensure installed React and React-DOM versions match
27+ run : |
28+ REACT_VERSION=$(npm ls react --depth=0 --json | jq -r '.dependencies.react.version')
29+ REACT_DOM_VERSION=$(npm ls react-dom --depth=0 --json | jq -r '.dependencies["react-dom"].version')
30+ echo "Installed React: $REACT_VERSION"
31+ echo "Installed React-DOM: $REACT_DOM_VERSION"
32+ if [ "$REACT_VERSION" != "$REACT_DOM_VERSION" ]; then
33+ echo "ERROR: Installed React and React-DOM versions must match!"
34+ exit 1
35+ fi
2636 - run : npm run build
2737 - run : npm run build # Needed to avoid incremental build quirks
2838 - run : npm run api:verify
Original file line number Diff line number Diff line change 7575 "prosemirror-schema-basic" : " ^1.2.4" ,
7676 "prosemirror-tables" : " ^1.6.4" ,
7777 "puppeteer" : " ^19.11.1" ,
78- "react" : " 19.1.0" ,
79- "react-dom" : " 19.1.0" ,
78+ "react" : " ^ 19.1.0" ,
79+ "react-dom" : " ^ 19.1.0" ,
8080 "react-shadow-dom-retarget-events" : " ^1.1.0" ,
8181 "rehype-parse" : " ^9.0.1" ,
8282 "rehype-raw" : " ^7.0.0" ,
You can’t perform that action at this time.
0 commit comments