misc: upgrade to expo 55 #1
7
app.json
7
app.json
@@ -7,7 +7,6 @@
|
|||||||
"icon": "./assets/images/icon.png",
|
"icon": "./assets/images/icon.png",
|
||||||
"scheme": "remotewol-upsnap",
|
"scheme": "remotewol-upsnap",
|
||||||
"userInterfaceStyle": "automatic",
|
"userInterfaceStyle": "automatic",
|
||||||
"newArchEnabled": true,
|
|
||||||
"ios": {
|
"ios": {
|
||||||
"supportsTablet": true,
|
"supportsTablet": true,
|
||||||
"icon": "./assets/remotewol-ios.icon",
|
"icon": "./assets/remotewol-ios.icon",
|
||||||
@@ -26,7 +25,6 @@
|
|||||||
"backgroundImage": "./assets/images/android-icon-background.png",
|
"backgroundImage": "./assets/images/android-icon-background.png",
|
||||||
"monochromeImage": "./assets/images/android-icon-monochrome.png"
|
"monochromeImage": "./assets/images/android-icon-monochrome.png"
|
||||||
},
|
},
|
||||||
"edgeToEdgeEnabled": true,
|
|
||||||
"predictiveBackGestureEnabled": false
|
"predictiveBackGestureEnabled": false
|
||||||
},
|
},
|
||||||
"web": {
|
"web": {
|
||||||
@@ -48,7 +46,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@bacons/apple-targets"
|
"@bacons/apple-targets",
|
||||||
|
"expo-font",
|
||||||
|
"expo-image",
|
||||||
|
"expo-web-browser"
|
||||||
],
|
],
|
||||||
"experiments": {
|
"experiments": {
|
||||||
"typedRoutes": true,
|
"typedRoutes": true,
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
import { Icon, Label, NativeTabs } from "expo-router/unstable-native-tabs";
|
import { NativeTabs } from 'expo-router/unstable-native-tabs';
|
||||||
import React from "react";
|
import React from 'react';
|
||||||
|
|
||||||
export default function TabsLayout() {
|
export default function TabsLayout() {
|
||||||
return (
|
return (
|
||||||
<NativeTabs>
|
<NativeTabs>
|
||||||
<NativeTabs.Trigger name="index">
|
<NativeTabs.Trigger name="index">
|
||||||
<Icon sf="desktopcomputer" />
|
<NativeTabs.Trigger.Icon sf="desktopcomputer" md="home" />
|
||||||
<Label>Devices</Label>
|
<NativeTabs.Trigger.Label>Devices</NativeTabs.Trigger.Label>
|
||||||
</NativeTabs.Trigger>
|
</NativeTabs.Trigger>
|
||||||
<NativeTabs.Trigger name="settings">
|
<NativeTabs.Trigger name="settings">
|
||||||
<Icon sf="gear" />
|
<NativeTabs.Trigger.Icon sf="gear" md="settings" />
|
||||||
<Label>Settings</Label>
|
<NativeTabs.Trigger.Label>Settings</NativeTabs.Trigger.Label>
|
||||||
</NativeTabs.Trigger>
|
</NativeTabs.Trigger>
|
||||||
</NativeTabs>
|
</NativeTabs>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
|
Button,
|
||||||
ContextMenu,
|
ContextMenu,
|
||||||
Host,
|
Host,
|
||||||
Button as SwiftUIButton,
|
|
||||||
} from '@expo/ui/swift-ui';
|
} from '@expo/ui/swift-ui';
|
||||||
import { Ionicons } from '@expo/vector-icons';
|
import { Ionicons } from '@expo/vector-icons';
|
||||||
import * as Burnt from 'burnt';
|
import * as Burnt from 'burnt';
|
||||||
@@ -306,15 +306,14 @@ export default function DeviceListScreen() {
|
|||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<Host>
|
<Host>
|
||||||
<ContextMenu activationMethod="longPress">
|
<ContextMenu>
|
||||||
<ContextMenu.Items>
|
<ContextMenu.Items>
|
||||||
<SwiftUIButton
|
<Button
|
||||||
systemImage="trash"
|
systemImage="trash"
|
||||||
role="destructive"
|
role="destructive"
|
||||||
|
label='Delete Device'
|
||||||
onPress={() => handleDelete(item)}
|
onPress={() => handleDelete(item)}
|
||||||
>
|
/>
|
||||||
Delete Device
|
|
||||||
</SwiftUIButton>
|
|
||||||
</ContextMenu.Items>
|
</ContextMenu.Items>
|
||||||
<ContextMenu.Trigger>
|
<ContextMenu.Trigger>
|
||||||
<View style={styles.deviceHeader}>
|
<View style={styles.deviceHeader}>
|
||||||
|
|||||||
2337
package-lock.json
generated
2337
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
47
package.json
47
package.json
@@ -12,39 +12,40 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bacons/apple-targets": "^3.0.6",
|
"@bacons/apple-targets": "^3.0.6",
|
||||||
"@expo/ui": "~0.2.0-beta.9",
|
"@expo/ui": "55.0.1",
|
||||||
"@expo/vector-icons": "^15.0.3",
|
"@expo/vector-icons": "^15.0.3",
|
||||||
"@react-native-async-storage/async-storage": "^2.2.0",
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
||||||
"@react-navigation/bottom-tabs": "^7.4.0",
|
"@react-navigation/bottom-tabs": "^7.4.0",
|
||||||
"@react-navigation/elements": "^2.6.3",
|
"@react-navigation/elements": "^2.6.3",
|
||||||
"@react-navigation/native": "^7.1.8",
|
"@react-navigation/native": "^7.1.8",
|
||||||
"burnt": "^0.13.0",
|
"burnt": "^0.13.0",
|
||||||
"expo": "~54.0.30",
|
"expo": "^55.0.5",
|
||||||
"expo-constants": "~18.0.12",
|
"expo-constants": "~55.0.7",
|
||||||
"expo-font": "~14.0.10",
|
"expo-font": "~55.0.4",
|
||||||
"expo-haptics": "~15.0.8",
|
"expo-glass-effect": "~55.0.7",
|
||||||
"expo-image": "~3.0.11",
|
"expo-haptics": "~55.0.8",
|
||||||
"expo-linking": "~8.0.11",
|
"expo-image": "~55.0.6",
|
||||||
"expo-router": "~6.0.21",
|
"expo-linking": "~55.0.7",
|
||||||
"expo-splash-screen": "~31.0.13",
|
"expo-router": "~55.0.4",
|
||||||
"expo-status-bar": "~3.0.9",
|
"expo-splash-screen": "~55.0.10",
|
||||||
"expo-symbols": "~1.0.8",
|
"expo-status-bar": "~55.0.4",
|
||||||
"expo-system-ui": "~6.0.9",
|
"expo-symbols": "~55.0.5",
|
||||||
"expo-web-browser": "~15.0.10",
|
"expo-system-ui": "~55.0.9",
|
||||||
"react": "19.1.0",
|
"expo-web-browser": "~55.0.9",
|
||||||
"react-dom": "19.1.0",
|
"react": "19.2.0",
|
||||||
"react-native": "0.81.5",
|
"react-dom": "19.2.0",
|
||||||
"react-native-gesture-handler": "~2.28.0",
|
"react-native": "0.83.2",
|
||||||
"react-native-reanimated": "~4.1.1",
|
"react-native-gesture-handler": "~2.30.0",
|
||||||
|
"react-native-reanimated": "4.2.1",
|
||||||
"react-native-safe-area-context": "~5.6.0",
|
"react-native-safe-area-context": "~5.6.0",
|
||||||
"react-native-screens": "~4.16.0",
|
"react-native-screens": "~4.23.0",
|
||||||
"react-native-web": "~0.21.0",
|
"react-native-web": "~0.21.0",
|
||||||
"react-native-worklets": "0.5.1"
|
"react-native-worklets": "0.7.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "~19.1.0",
|
"@types/react": "~19.2.10",
|
||||||
"eslint": "^9.25.0",
|
"eslint": "^9.39.4",
|
||||||
"eslint-config-expo": "~10.0.0",
|
"eslint-config-expo": "~55.0.0",
|
||||||
"typescript": "~5.9.2"
|
"typescript": "~5.9.2"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
|
|||||||
Reference in New Issue
Block a user