Skip to content

Commit c7fc2ef

Browse files
committed
chore(deps): update Roxy SDK to 1.2.48, pin actions to latest, put npm on autopilot
The npm ecosystem was never in dependabot.yml, only github-actions, so package updates have been drifting since the repo was created. Only security advisories were landing, because those need no config. Roxy SDK moves to 1.2.48 and the rest of the tree to current in-range versions. Actions pin to checkout v7, setup-node v7, fetch-metadata v3, on Node 22. Expo SDK majors stay ignored: the expo-* family, its babel preset, its jest runner and the React Native pin ship as one SDK release and have to move together, so a lone major bump just breaks the app.
1 parent cc33830 commit c7fc2ef

5 files changed

Lines changed: 1889 additions & 2023 deletions

File tree

.github/dependabot.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
version: 2
22
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 5
8+
groups:
9+
# One PR for routine bumps, so CI runs once and the auto-merge workflow can clear it.
10+
minor-and-patch:
11+
update-types:
12+
- "minor"
13+
- "patch"
14+
ignore:
15+
# The expo-* family, its babel preset, its jest runner, and the React Native pin all move
16+
# together as one Expo SDK release, driven by "npx expo install --fix" and the upgrade guide.
17+
# A lone major bump of any one of them just breaks the app, so an SDK jump is a deliberate
18+
# migration, never a weekly PR. Minor and patch updates inside the current SDK still flow.
19+
- dependency-name: "expo"
20+
update-types: ["version-update:semver-major"]
21+
- dependency-name: "expo-*"
22+
update-types: ["version-update:semver-major"]
23+
- dependency-name: "jest-expo"
24+
update-types: ["version-update:semver-major"]
25+
- dependency-name: "babel-preset-expo"
26+
update-types: ["version-update:semver-major"]
27+
- dependency-name: "react-native*"
28+
update-types: ["version-update:semver-major"]
29+
- dependency-name: "@react-native-async-storage/async-storage"
30+
update-types: ["version-update:semver-major"]
31+
- dependency-name: "jest"
32+
update-types: ["version-update:semver-major"]
33+
- dependency-name: "@types/jest"
34+
update-types: ["version-update:semver-major"]
35+
# TypeScript 7 is a full compiler rewrite. Revisit deliberately, not as a drive-by bump.
36+
- dependency-name: "typescript"
37+
update-types: ["version-update:semver-major"]
338
- package-ecosystem: "github-actions"
439
directory: "/"
540
schedule:

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v7
13-
- uses: actions/setup-node@v6
13+
- uses: actions/setup-node@v7
1414
with:
15-
node-version: 20
15+
node-version: 22
1616
cache: npm
1717
- run: npm ci
1818
- run: npx tsc --noEmit

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- name: Fetch Dependabot metadata
1515
id: meta
16-
uses: dependabot/fetch-metadata@v2
16+
uses: dependabot/fetch-metadata@v3
1717
- name: Auto-approve patch and minor bumps
1818
if: steps.meta.outputs.update-type == 'version-update:semver-patch' || steps.meta.outputs.update-type == 'version-update:semver-minor'
1919
run: gh pr review --approve "$PR_URL"

0 commit comments

Comments
 (0)