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
67 changes: 49 additions & 18 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,63 @@
# Update PRs for every ecosystem in the repo. The cooldown matches .yarnrc.yml's npmMinimalAgeGate:
# a release is proposed only after it has been public for a week.
# One weekly pull request with every dependency update across all ecosystems, so CI runs once.
# Cooldown matches .yarnrc.yml's npmMinimalAgeGate: a release is proposed only after a week.
version: 2

multi-ecosystem-groups:
all-dependencies:
schedule:
interval: weekly
labels: ["dependencies"]

updates:
- package-ecosystem: npm
directory: /
schedule: { interval: weekly }
patterns: ["*"]
multi-ecosystem-group: all-dependencies
cooldown: { default-days: 7 }
versioning-strategy: increase
groups:
react-native:
patterns: ["react-native", "@react-native/*", "@react-native-community/*", "react", "@types/react"]
expo:
patterns: ["expo", "expo-*", "@expo/*"]
tooling:
patterns: ["*"]
ignore:
# Pinned by React Native / Expo, which ship and test an exact set: these move together
# with a React Native or Expo SDK upgrade, never on their own.
- dependency-name: "react"
- dependency-name: "react-test-renderer"
- dependency-name: "@types/react"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "react-native"
- dependency-name: "@react-native/*"
- dependency-name: "@react-native-community/cli*"
- dependency-name: "expo"
- dependency-name: "expo-*"
- dependency-name: "react-native-safe-area-context"
# Majors React Native's toolchain does not support yet: @react-native/eslint-config accepts
# ESLint 8–9, @react-native/babel-preset needs Babel 7, and Node types follow the Node we run
# (.nvmrc, 24).
- dependency-name: "eslint"
update-types: ["version-update:semver-major"]
- dependency-name: "@eslint/js"
update-types: ["version-update:semver-major"]
- dependency-name: "@babel/*"
update-types: ["version-update:semver-major"]
- dependency-name: "@types/node"
update-types: ["version-update:semver-major"]

- package-ecosystem: gradle
directory: /android
schedule: { interval: weekly }
cooldown: { default-days: 7 }
- package-ecosystem: gradle
directory: /tools/remote-compose-json
schedule: { interval: weekly }
directories: ["/android", "/tools/remote-compose-json"]
patterns: ["*"]
multi-ecosystem-group: all-dependencies
cooldown: { default-days: 7 }

- package-ecosystem: bundler
directory: /example
schedule: { interval: weekly }
patterns: ["*"]
multi-ecosystem-group: all-dependencies
cooldown: { default-days: 7 }
ignore:
# cocoapods-core requires activesupport < 8 (see Gemfile and osv-scanner.toml).
- dependency-name: "activesupport"
update-types: ["version-update:semver-major"]

- package-ecosystem: github-actions
directory: /
schedule: { interval: weekly }
patterns: ["*"]
multi-ecosystem-group: all-dependencies
cooldown: { default-days: 7 }
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Least privilege: every job, including ones running code from automated PRs, gets a read-only
# token unless it asks for more (supply-chain does, for the reusable OSV workflow).
permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -64,11 +69,16 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Gradle wrapper jars are Gradle's own
# Every gradle-wrapper.jar in the repo (including ones an automated PR changes) must match a
# checksum Gradle published, or the build stops before running it.
uses: gradle/actions/wrapper-validation@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1

- name: Setup
uses: ./.github/actions/setup

- name: Install JDK
uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'zulu'
java-version: '17'
Expand Down Expand Up @@ -128,7 +138,7 @@ jobs:

- name: Install JDK
if: env.turbo_cache_hit != 1
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'zulu'
java-version: '17'
Expand Down
2 changes: 2 additions & 0 deletions example/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
# Official checksum from services.gradle.org: a tampered download fails before it runs.
distributionSha256Sum=2ab2958f2a1e51120c326cad6f385153bb11ee93b3c216c5fccebfdfbb7ec6cb
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
Expand Down
8 changes: 4 additions & 4 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ PODS:
- React-Core (0.88.1):
- React-Core-prebuilt
- React-Core/Default (= 0.88.1)
- React-Core-prebuilt (0.88.0):
- React-Core-prebuilt (0.88.1):
- ReactNativeDependencies
- React-Core/CoreModulesHeaders (0.88.1):
- React-Core-prebuilt
Expand Down Expand Up @@ -1812,7 +1812,7 @@ PODS:
- React-perflogger (= 0.88.1)
- React-utils (= 0.88.1)
- ReactNativeDependencies
- ReactNativeDependencies (0.88.0)
- ReactNativeDependencies (0.88.1)
- RemoteCompose (0.1.0):
- hermes-engine
- RCTRequired
Expand Down Expand Up @@ -2129,7 +2129,7 @@ SPEC CHECKSUMS:
React-bridging: 48b96b1b423710103381dd90478513fff84456c4
React-callinvoker: 8eb02682e7fc3ddc0e25a8d96eb5733c367436e8
React-Core: 4cce9d3d50bd1544f33379cde3ae22175f6a1bcb
React-Core-prebuilt: 0fd2555a42f40e7770ced1c7dfc5ee1dbfe041cd
React-Core-prebuilt: dbd0bf94bbe1a1714bd4e27bc4f1bf33c02bb7b3
React-CoreModules: c96f14c068269b233fcabc8add64963132a371a2
React-cxxreact: 2956b35d64e2e5594607d359df31454a999acbed
React-cxxstableapi: 7019410c5d74d0a60cae97b5a636cd42017370a3
Expand Down Expand Up @@ -2196,7 +2196,7 @@ SPEC CHECKSUMS:
ReactAppDependencyProvider: 2dbb2d65f3a487b8a69449f5b1b12b44656d2204
ReactCodegen: 3840312f5071bb6b953b35a029c5c6dcf06b435e
ReactCommon: b63ce798b898ed77c6cfdeb80b18080161f52ed5
ReactNativeDependencies: d3b7423ba1e52525e42085c8470109abde583d2e
ReactNativeDependencies: a5164c3ebbe90d992022b5d9cbabbf770a6d7d05
RemoteCompose: 7ae606dc4a2805e305f334a715624c3c314dc5c1
SocketRocket: 37aec555668fb852ec12e3c0de59a86ca58f0871
Yoga: d1c536142c5ff8ec8cd856ab2a7c227a1d875c8e
Expand Down
Binary file modified tools/remote-compose-json/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
# Official checksum from services.gradle.org: a tampered download fails before it runs.
distributionSha256Sum=0b00b0ffe07c4d4789c12d4935a44a7057d55774b7540bd4a3f76f336deb177a
distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
6 changes: 3 additions & 3 deletions tools/remote-compose-json/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 52 additions & 38 deletions tools/remote-compose-json/gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading