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
5 changes: 5 additions & 0 deletions .changeset/expo-template-sdk54-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@bottom-tabs/expo-template': patch
---

Align dependencies with Expo SDK 54, drop unused packages, and fix the template's TypeScript errors
7 changes: 4 additions & 3 deletions packages/expo-template/components/ExternalLink.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { Link } from 'expo-router';
import { Link, LinkProps, type Href } from 'expo-router';
import { openBrowserAsync } from 'expo-web-browser';
import { type ComponentProps } from 'react';
import { Platform } from 'react-native';

type Props = Omit<ComponentProps<typeof Link>, 'href'> & { href: string };
type Props = Omit<LinkProps, 'href'> & {
href: Href & string;
};

export function ExternalLink({ href, ...rest }: Props) {
return (
Expand Down
4 changes: 2 additions & 2 deletions packages/expo-template/components/ui/IconSymbol.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import MaterialIcons from '@expo/vector-icons/MaterialIcons';
import { SymbolWeight } from 'expo-symbols';
import React from 'react';
import { OpaqueColorValue, StyleProp, ViewStyle } from 'react-native';
import { OpaqueColorValue, StyleProp, TextStyle } from 'react-native';

// Add your SFSymbol to MaterialIcons mappings here.
const MAPPING = {
Expand Down Expand Up @@ -36,7 +36,7 @@ export function IconSymbol({
name: IconSymbolName;
size?: number;
color: string | OpaqueColorValue;
style?: StyleProp<ViewStyle>;
style?: StyleProp<TextStyle>;
weight?: SymbolWeight;
}) {
return (
Expand Down
10 changes: 3 additions & 7 deletions packages/expo-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@
"dependencies": {
"@bottom-tabs/react-navigation": "1.4.0",
"@expo/vector-icons": "^15.0.3",
"@react-navigation/native": "^7.2.2",
"@react-navigation/native": "^7.1.8",
"expo": "~54.0.35",
"expo-blur": "~15.0.8",
"expo-build-properties": "~1.0.10",
"expo-constants": "~18.0.13",
"expo-font": "~14.0.12",
"expo-haptics": "~15.0.8",
"expo-linking": "~8.0.12",
"expo-router": "~6.0.24",
"expo-splash-screen": "~31.0.13",
Expand All @@ -39,12 +36,11 @@
"react-native": "0.81.5",
"react-native-bottom-tabs": "1.4.0",
"react-native-gesture-handler": "~2.28.0",
"react-native-reanimated": "~4.3.1",
"react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0",
"react-native-web": "~0.21.0",
"react-native-webview": "13.15.0",
"react-native-worklets": "~0.8.3"
"react-native-worklets": "0.5.1"
},
"devDependencies": {
"@babel/core": "^7.28.4",
Expand Down
Loading
Loading