Skip to content

Commit ea87fc2

Browse files
authored
0.83 upgrade (#17)
* Upgrade to react native 0.83 * Upgrade to SDK 55
1 parent ded8b29 commit ea87fc2

15 files changed

Lines changed: 2558 additions & 3983 deletions

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@amazon-devices:registry=https://k-artifactory-external.labcollab.net/artifactory/api/npm/vegasdk-npm-rn83-alpha_prod/
2+
always-auth=true
3+
strict-ssl=true

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ yarn expotv:web
156156

157157
| | Expo TV | Vega (Fire TV) |
158158
|---|---------|----------------|
159-
| Framework | Expo SDK 54 | Kepler (@amazon-devices/react-native-kepler ^2.0.0) |
160-
| React | 19.1.0 | 18.2.0 |
161-
| React Native | react-native-tvos 0.81-stable | 0.72.0 |
159+
| Framework | Expo SDK 55 | Kepler (@amazon-devices/react-native-kepler ^2.0.0) |
160+
| React | 19.2.0 | 18.2.0 |
161+
| React Native | react-native-tvos 0.83.6-0 | 0.72.0 |
162162
| TypeScript | ~5.9.2 | 4.8.4 |
163163

164164
The shared package (`@multitv/shared`) provides:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"clean": "yarn workspaces foreach --all run clean ; rm -rf node_modules",
77
"vega:build": "yarn workspace @multitv/vega run build:debug",
88
"expotv": "yarn workspace @multitv/expotv",
9-
"expotv:prebuild": "yarn workspace @multitv/expotv run prebuild",
9+
"expotv:prebuild": "yarn workspace @multitv/expotv run prebuild:tv",
1010
"expotv:android": "yarn workspace @multitv/expotv run android",
1111
"expotv:ios": "yarn workspace @multitv/expotv run ios",
1212
"expotv:web": "yarn workspace @multitv/expotv run web"

packages/expotv/app.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"expo-web-browser"
3131
],
3232
"android": {
33-
"edgeToEdgeEnabled": true,
3433
"splash": {
3534
"image": "./assets/images/splash.png"
3635
},
@@ -51,7 +50,6 @@
5150
"autolinkingModuleResolution": true,
5251
"typedRoutes": true
5352
},
54-
"newArchEnabled": true,
5553
"name": "MyTVProject",
5654
"slug": "MyTVProject"
5755
}

packages/expotv/package.json

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,34 @@
1414
"deploy": "npx expo export -p web && npx eas-cli@latest deploy"
1515
},
1616
"dependencies": {
17+
"@expo/log-box": "55.0.12",
1718
"@expo/vector-icons": "^15.0.2",
1819
"@multitv/shared": "*",
19-
"expo": "^54.0.20",
20-
"expo-build-properties": "~1.0.9",
21-
"expo-font": "~14.0.9",
22-
"expo-linking": "~8.0.8",
23-
"expo-router": "~6.0.13",
24-
"expo-splash-screen": "~31.0.10",
25-
"expo-status-bar": "~3.0.8",
26-
"expo-system-ui": "~6.0.8",
27-
"expo-web-browser": "~15.0.8",
20+
"expo": "^55.0.0",
21+
"expo-build-properties": "~55.0.14",
22+
"expo-constants": "~55.0.16",
23+
"expo-font": "~55.0.7",
24+
"expo-linking": "~55.0.15",
25+
"expo-router": "~55.0.14",
26+
"expo-splash-screen": "~55.0.21",
27+
"expo-status-bar": "~55.0.6",
28+
"expo-system-ui": "~55.0.18",
29+
"expo-web-browser": "~55.0.16",
2830
"lottie-react-native": "7.3.4",
29-
"react": "19.1.0",
30-
"react-dom": "19.1.0",
31-
"react-native": "npm:react-native-tvos@0.81-stable",
32-
"react-native-gesture-handler": "~2.28.0",
33-
"react-native-reanimated": "~4.1.1",
31+
"react": "19.2.0",
32+
"react-dom": "19.2.0",
33+
"react-native": "npm:react-native-tvos@0.83.6-0",
34+
"react-native-gesture-handler": "~2.30.0",
35+
"react-native-reanimated": "4.2.1",
3436
"react-native-safe-area-context": "~5.6.0",
35-
"react-native-screens": "~4.16.0",
37+
"react-native-screens": "~4.23.0",
3638
"react-native-web": "^0.21.0",
37-
"react-native-worklets": "0.5.1"
39+
"react-native-worklets": "0.7.4"
3840
},
3941
"devDependencies": {
42+
"@babel/core": "^7.25.0",
4043
"@react-native-tvos/config-tv": "^0.1.4",
41-
"@types/react": "~19.1.10",
44+
"@types/react": "~19.2.10",
4245
"typescript": "~5.9.2"
4346
},
4447
"expo": {

packages/shared/src/components/Tile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ const styles = StyleSheet.create({
8888
fontWeight: 'bold',
8989
textAlign: 'center',
9090
lineHeight: scaleFontSize(52),
91-
includeFontPadding: false,
91+
width: '100%'
9292
},
9393
});

packages/vega/.prettierrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"bracketSameLine": true,
3-
"bracketSpacing": false,
42
"singleQuote": true,
53
"trailingComma": "all",
64
"tabWidth": 2

packages/vega/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module.exports = {
77
presets: [
88
[
9-
'module:metro-react-native-babel-preset',
9+
'module:@react-native/babel-preset',
1010
],
1111
'module:@amazon-devices/kepler-module-resolver-preset', // Enables usage of VegaModuleResolverPreset
1212
]

packages/vega/jest.config.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"preset": "react-native",
33
"transform": {
4-
"^.+\\.tsx?$": "ts-jest"
4+
"^.+\\.tsx?$": ["ts-jest", { "babelConfig": true, "diagnostics": true }]
55
},
66
"setupFiles": ["./node_modules/@amazon-devices/react-native-kepler/jest/setup.js"],
77
"testRegex": "/test/.*\\.(test|spec)\\.(ts|tsx|js)$",
@@ -24,13 +24,7 @@
2424
"!src/**/*.d.ts"
2525
],
2626
"transformIgnorePatterns": [
27-
"node_modules/(?![\\w\\-_]+)/node_modules/(?!react-native|@react-native)/"
27+
"node_modules/(?!((jest-)?react-native|@react-native(-community)?|@amazon-devices/react-native-kepler|react-native-safe-area-context)/)"
2828
],
29-
"coverageDirectory": ".tmp/coverage",
30-
"globals": {
31-
"ts-jest": {
32-
"babelConfig": true,
33-
"diagnostics": true
34-
}
35-
}
29+
"coverageDirectory": ".tmp/coverage"
3630
}

packages/vega/manifest.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ id = "com.amazondeveloper.hellosharedworkspace"
1313
[components]
1414
[[components.interactive]]
1515
id = "com.amazondeveloper.hellosharedworkspace.main"
16-
runtime-module = "/com.amazon.kepler.keplerscript.runtime.loader_2@IKeplerScript_2_0"
16+
runtime-module = "/com.amazon.kepler.runtime.react_native_kepler_4@IReactNativeKepler_0"
1717
launch-type = "singleton"
1818
categories = ["com.amazon.category.main"]

0 commit comments

Comments
 (0)