expo-template-tabs 49.0.17 → 49.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ import FontAwesome from '@expo/vector-icons/FontAwesome';
2
2
  import { Link, Tabs } from 'expo-router';
3
3
  import { Pressable, useColorScheme } from 'react-native';
4
4
 
5
- import Colors from '@/constants/Colors';
5
+ import Colors from '../../constants/Colors';
6
6
 
7
7
  /**
8
8
  * You can explore the built-in icon families and icons on the web at https://icons.expo.fyi/
@@ -1,7 +1,7 @@
1
1
  import { StyleSheet } from 'react-native';
2
2
 
3
- import EditScreenInfo from '@/components/EditScreenInfo';
4
- import { Text, View } from '@/components/Themed';
3
+ import EditScreenInfo from '../../components/EditScreenInfo';
4
+ import { Text, View } from '../../components/Themed';
5
5
 
6
6
  export default function TabOneScreen() {
7
7
  return (
@@ -1,7 +1,7 @@
1
1
  import { StyleSheet } from 'react-native';
2
2
 
3
- import EditScreenInfo from '@/components/EditScreenInfo';
4
- import { Text, View } from '@/components/Themed';
3
+ import EditScreenInfo from '../../components/EditScreenInfo';
4
+ import { Text, View } from '../../components/Themed';
5
5
 
6
6
  export default function TabTwoScreen() {
7
7
  return (
@@ -1,7 +1,7 @@
1
1
  import { Link, Stack } from 'expo-router';
2
2
  import { StyleSheet } from 'react-native';
3
3
 
4
- import { Text, View } from '@/components/Themed';
4
+ import { Text, View } from '../components/Themed';
5
5
 
6
6
  export default function NotFoundScreen() {
7
7
  return (
package/app/modal.tsx CHANGED
@@ -1,8 +1,8 @@
1
1
  import { StatusBar } from 'expo-status-bar';
2
2
  import { Platform, StyleSheet } from 'react-native';
3
3
 
4
- import EditScreenInfo from '@/components/EditScreenInfo';
5
- import { Text, View } from '@/components/Themed';
4
+ import EditScreenInfo from '../components/EditScreenInfo';
5
+ import { Text, View } from '../components/Themed';
6
6
 
7
7
  export default function ModalScreen() {
8
8
  return (
package/app.json CHANGED
@@ -29,7 +29,6 @@
29
29
  },
30
30
  "plugins": ["expo-router"],
31
31
  "experiments": {
32
- "tsconfigPaths": true,
33
32
  "typedRoutes": true
34
33
  }
35
34
  }
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { StyleSheet } from 'react-native';
3
3
 
4
+ import Colors from '../constants/Colors';
4
5
  import { ExternalLink } from './ExternalLink';
5
6
  import { MonoText } from './StyledText';
6
7
  import { Text, View } from './Themed';
7
8
 
8
- import Colors from '@/constants/Colors';
9
9
 
10
10
  export default function EditScreenInfo({ path }: { path: string }) {
11
11
  return (
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { Text as DefaultText, useColorScheme, View as DefaultView } from 'react-native';
7
7
 
8
- import Colors from '@/constants/Colors';
8
+ import Colors from '../constants/Colors';
9
9
 
10
10
  type ThemeProps = {
11
11
  lightColor?: string;
package/expo-env.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ /// <reference types="expo-router/types" />
2
+
3
+ // NOTE: This file should not be edited and should be in your git ignore
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "expo-template-tabs",
3
3
  "main": "expo-router/entry",
4
4
  "description": "The Tab Navigation project template includes several example screens.",
5
- "version": "49.0.17",
5
+ "version": "49.0.19",
6
6
  "scripts": {
7
7
  "start": "expo start",
8
8
  "android": "expo start --android",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@expo/vector-icons": "^13.0.0",
18
18
  "@react-navigation/native": "^6.0.2",
19
- "expo": "~49.0.6",
19
+ "expo": "~49.0.7",
20
20
  "expo-font": "~11.4.0",
21
21
  "expo-linking": "~5.0.2",
22
22
  "expo-router": "2.0.0",
package/tsconfig.json CHANGED
@@ -2,11 +2,6 @@
2
2
  "extends": "expo/tsconfig.base",
3
3
  "compilerOptions": {
4
4
  "strict": true,
5
- "paths": {
6
- "@/*": [
7
- "./*"
8
- ]
9
- }
10
5
  },
11
6
  "include": [
12
7
  "**/*.ts",