Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ updates:
- "eslint"
- "eslint-*"
- "prettier"
react:
patterns:
- "react"
- "react-dom"
ignore:
- dependency-name: "@rjsf/core"
update-types: ["version-update:semver-major"]
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: ./.github/actions/set-up-node
- run: npm ci
- name: Ensure installed React and React-DOM versions match
run: |
REACT_VERSION=$(npm ls react --depth=0 --json | jq -r '.dependencies.react.version')
REACT_DOM_VERSION=$(npm ls react-dom --depth=0 --json | jq -r '.dependencies["react-dom"].version')
echo "Installed React: $REACT_VERSION"
echo "Installed React-DOM: $REACT_DOM_VERSION"
if [ "$REACT_VERSION" != "$REACT_DOM_VERSION" ]; then
echo "ERROR: Installed React and React-DOM versions must match!"
exit 1
fi
- run: npm run build
- run: npm run build # Needed to avoid incremental build quirks
- run: npm run api:verify
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"prosemirror-schema-basic": "^1.2.4",
"prosemirror-tables": "^1.6.4",
"puppeteer": "^19.11.1",
"react": "19.1.0",
"react-dom": "19.1.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-shadow-dom-retarget-events": "^1.1.0",
"rehype-parse": "^9.0.1",
"rehype-raw": "^7.0.0",
Expand Down