Skip to content

Commit d8830ba

Browse files
committed
update expo to 54 and enable react compiler
1 parent 105eafb commit d8830ba

File tree

15 files changed

+861
-559
lines changed

15 files changed

+861
-559
lines changed

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222
"@mdx-js/react": "^3.0.0",
2323
"clsx": "^2.0.0",
2424
"prism-react-renderer": "^2.3.0",
25-
"react": "19.0.0",
26-
"react-dom": "19.0.0"
25+
"react": "19.1.0",
26+
"react-dom": "19.1.0"
2727
},
2828
"devDependencies": {
2929
"@docusaurus/module-type-aliases": "3.8.1",
3030
"@docusaurus/tsconfig": "3.8.1",
3131
"@docusaurus/types": "3.8.1",
32-
"typescript": "~5.8.3"
32+
"typescript": "~5.9.2"
3333
},
3434
"browserslist": {
3535
"production": [

examples/expo-example/app.config.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

examples/expo-example/app.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "Expo Example",
3+
"slug": "expo-example",
4+
"web": {
5+
"bundler": "metro",
6+
"output": "single"
7+
},
8+
"experiments": {
9+
"reactCompiler": true
10+
},
11+
"userInterfaceStyle": "automatic",
12+
"newArchEnabled": true
13+
}

examples/expo-example/babel.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ module.exports = function (api) {
44
api.cache(true);
55
return {
66
presets: [['babel-preset-expo']],
7-
plugins: [['babel-plugin-react-docgen-typescript', { exclude: 'node_modules' }]],
7+
plugins: [
8+
['babel-plugin-react-docgen-typescript', { exclude: 'node_modules' }],
9+
'react-native-worklets/plugin',
10+
],
811
};
912
};

examples/expo-example/package.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
},
2424
"dependencies": {
2525
"@babel/plugin-transform-class-static-block": "^7.27.1",
26-
"@expo/metro-runtime": "~5.0.4",
27-
"@gorhom/bottom-sheet": "^5.0.6",
28-
"@react-native-async-storage/async-storage": "2.1.2",
29-
"@react-native-community/datetimepicker": "8.4.1",
30-
"@react-native-community/slider": "4.5.6",
26+
"@expo/metro-runtime": "~6.1.0",
27+
"@gorhom/bottom-sheet": "^5.2.3",
28+
"@react-native-async-storage/async-storage": "2.2.0",
29+
"@react-native-community/datetimepicker": "8.4.4",
30+
"@react-native-community/slider": "5.0.0",
3131
"@storybook/addon-ondevice-actions": "^9.1.1",
3232
"@storybook/addon-ondevice-backgrounds": "^9.1.1",
3333
"@storybook/addon-ondevice-controls": "^9.1.1",
@@ -40,30 +40,31 @@
4040
"@storybook/react-native-ui-lite": "^9.1.1",
4141
"@storybook/react-native-web-vite": "^9.1.2",
4242
"babel-plugin-react-compiler": "^19.1.0-rc.2",
43-
"expo": "~53.0.20",
44-
"react": "19.0.0",
43+
"expo": "next",
44+
"react": "19.1.0",
4545
"react-compiler-runtime": "^19.1.0-rc.2",
46-
"react-dom": "19.0.0",
47-
"react-native": "0.79.5",
48-
"react-native-gesture-handler": "~2.24.0",
49-
"react-native-reanimated": "~3.17.4",
50-
"react-native-safe-area-context": "5.4.0",
51-
"react-native-svg": "15.11.2",
52-
"react-native-web": "^0.20.0",
46+
"react-dom": "19.1.0",
47+
"react-native": "0.81.0",
48+
"react-native-gesture-handler": "~2.28.0",
49+
"react-native-reanimated": "~4.0.2",
50+
"react-native-safe-area-context": "~5.6.0",
51+
"react-native-svg": "15.12.1",
52+
"react-native-web": "^0.21.0",
53+
"react-native-worklets": "^0.4.1",
5354
"storybook": "^9.1.2",
5455
"storybook-addon-deep-controls": "^0.9.3",
5556
"ws": "^8.18.0"
5657
},
5758
"devDependencies": {
5859
"@babel/core": "^7.26.0",
5960
"@testing-library/react-native": "14.0.0-alpha.1",
60-
"@types/react": "~19.0.10",
61+
"@types/react": "~19.1.10",
6162
"@types/ws": "^8.5.10",
6263
"babel-plugin-react-docgen-typescript": "^1.5.1",
6364
"jest": "^29.7.0",
64-
"jest-expo": "~53.0.9",
65+
"jest-expo": "~54.0.1",
6566
"rn-storybook-test": "^0.0.1",
66-
"typescript": "~5.8.3",
67+
"typescript": "~5.9.2",
6768
"universal-test-renderer": "^0.6.0",
6869
"vite": "^6.1.1"
6970
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"lerna": "^8.2.3",
5858
"prettier": "^3.5.3",
5959
"sherif": "^1.4.0",
60-
"typescript": "~5.8.3"
60+
"typescript": "~5.9.2"
6161
},
6262
"resolutions": {
6363
"react-docgen-typescript": "2.2.2",

packages/ondevice-actions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"fast-deep-equal": "^2.0.1"
3232
},
3333
"devDependencies": {
34-
"typescript": "~5.8.3"
34+
"typescript": "~5.9.2"
3535
},
3636
"peerDependencies": {
3737
"react": "*",

packages/ondevice-backgrounds/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@storybook/react-native-theming": "^9.1.1"
3636
},
3737
"devDependencies": {
38-
"typescript": "~5.8.3"
38+
"typescript": "~5.9.2"
3939
},
4040
"peerDependencies": {
4141
"react": "*",

packages/ondevice-controls/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"devDependencies": {
4141
"cross-env": "^7.0.3",
42-
"typescript": "~5.8.3"
42+
"typescript": "~5.9.2"
4343
},
4444
"peerDependencies": {
4545
"@gorhom/bottom-sheet": ">=4",

packages/ondevice-notes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"devDependencies": {
3535
"react-native-markdown-display": "^7.0.2",
3636
"tsup": "^8.5.0",
37-
"typescript": "~5.8.3"
37+
"typescript": "~5.9.2"
3838
},
3939
"peerDependencies": {
4040
"react": "*",

0 commit comments

Comments
 (0)