From a226dbb544fe5552f70ed05a1461d8ca7043704c Mon Sep 17 00:00:00 2001 From: Matthew Richardson Date: Mon, 26 Oct 2026 22:50:19 +0000 Subject: [PATCH] ci: stop dependabot proposing updates that cannot install Several open Dependabot PRs fail npm ci or bump one package of a set that has to move together: - `/sdk`: typescript 7 is outside typescript-eslint's range (`<6.1.0`). The Babel and Jest presets are released with react-native, so they are grouped into one PR - `/demo`: react-native 0.88 needs react `^19.3.0` and changes the native projects, so the React Native packages are upgraded by hand. `@react-native/eslint-config` only supports eslint 8 and 9 - `/ExpoDemo`: babel-preset-expo is built on Babel 7. CI builds debug apps, which do not bundle JS, so it cannot catch a Babel 8 break --- .github/dependabot.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 72168bf..8ace49c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -12,6 +12,15 @@ updates: # Matches the minimum Node in `engines`; raise it with that floor. - dependency-name: "@types/node" update-types: ["version-update:semver-major"] + # typescript-eslint must support a TypeScript major before the SDK can move to it. + - dependency-name: "typescript" + update-types: ["version-update:semver-major"] + groups: + # The Babel and Jest presets are released with react-native and should match it. + react-native: + patterns: + - "react-native" + - "@react-native/*" # Dependencies updates config for examples - package-ecosystem: "npm" @@ -25,6 +34,15 @@ updates: # Package in example is accessed by path, # do not update in package.json. - dependency-name: "raygun4reactnative" + # A React Native upgrade also changes the native projects, so these + # move together by hand, with the React Native Upgrade Helper. + - dependency-name: "react" + - dependency-name: "react-test-renderer" + - dependency-name: "react-native" + - dependency-name: "@react-native/*" + # @react-native/eslint-config supports eslint 8 and 9 only. + - dependency-name: "eslint" + update-types: ["version-update:semver-major"] - package-ecosystem: "npm" directory: "/ExpoDemo" @@ -49,6 +67,10 @@ updates: - dependency-name: "@react-native-async-storage/async-storage" - dependency-name: "@types/react" - dependency-name: "typescript" + # babel-preset-expo is built on Babel 7; move to a new Babel major + # with the Expo SDK. + - dependency-name: "@babel/*" + update-types: ["version-update:semver-major"] # Github Actions dependencies updates config - package-ecosystem: "github-actions"