create-expo-stack 2.4.2-next.ed2e92f → 2.4.3-next.3287a3c

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.
@@ -16,6 +16,9 @@ expo-env.d.ts<% } %>
16
16
  <% if ((props.authenticationPackage?.name === "supabase") || (props.authenticationPackage?.name === "firebase")) { %># firebase/supabase
17
17
  .env<% } %>
18
18
 
19
+ ios
20
+ android
21
+
19
22
  # macOS
20
23
  .DS_Store
21
24
 
@@ -86,7 +86,7 @@
86
86
  "react-native-url-polyfill": "^2.0.0",
87
87
  <% } %>
88
88
 
89
- "expo": "~50.0.4",
89
+ "expo": "~50.0.5",
90
90
  "expo-status-bar": "~1.11.1",
91
91
  "react": "18.2.0",
92
92
  "react-native": "0.73.2"
@@ -15,6 +15,8 @@ import { Stack } from 'expo-router';
15
15
  import { SplashScreen } from "expo-router";
16
16
  import { useFonts } from "expo-font";
17
17
 
18
+ import config from '../tamagui.config';
19
+
18
20
  SplashScreen.preventAutoHideAsync();
19
21
  <% } else if (props.stylingPackage?.name === "restyle") { %>
20
22
  import { ThemeProvider } from '@shopify/restyle';
@@ -1,5 +1,6 @@
1
1
  <% if (props.stylingPackage?.name === 'nativewind') { %>
2
2
  import { Text, View } from 'react-native';
3
+ import EditScreenInfo from '../components/edit-screen-info';
3
4
  <% } else if (props.stylingPackage?.name === 'tamagui') { %>
4
5
  import { YStack, H2, Separator, Theme } from 'tamagui';
5
6
  <% } else if (props.stylingPackage?.name === 'restyle') { %>
@@ -80,4 +81,4 @@ export default Page;
80
81
  fontWeight: 'bold',
81
82
  }
82
83
  });
83
- <% } %>
84
+ <% } %>
@@ -3,10 +3,10 @@ import { createInterFont } from "@tamagui/font-inter";
3
3
  import { createMedia } from "@tamagui/react-native-media-driver";
4
4
  import { shorthands } from "@tamagui/shorthands";
5
5
  import { themes, tokens } from "@tamagui/themes";
6
- <% if ((props.navigationPackage?.type === "navigation") && (props.navigationPackage?.options.type === "stack")) { %>
6
+ <% if (props.navigationPackage?.type === "navigation") { %>
7
7
  import { createTamagui, styled, SizableText, H1, YStack } from "tamagui";
8
8
  <% } else { %>
9
- import { createTamagui } from "tamagui";
9
+ import { createTamagui } from "tamagui";
10
10
  <% } %>
11
11
 
12
12
  const animations = createAnimations({
@@ -33,7 +33,7 @@ const headingFont = createInterFont();
33
33
 
34
34
  const bodyFont = createInterFont();
35
35
 
36
- <% if ((props.navigationPackage?.type === "navigation") && (props.navigationPackage?.options.type === "stack")) { %>
36
+ <% if (props.navigationPackage?.type === "navigation") { %>
37
37
  export const Container = styled(YStack, {
38
38
  flex: 1,
39
39
  padding: 24,
@@ -54,7 +54,8 @@ const bodyFont = createInterFont();
54
54
  color: '#38434D',
55
55
  size: '$9',
56
56
  });
57
-
57
+ <% } %>
58
+ <% if (props.navigationPackage?.options.type === "stack") { %>
58
59
  export const Button = styled(YStack, {
59
60
  alignItems: 'center',
60
61
  backgroundColor: '#6366F1',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-expo-stack",
3
- "version": "2.4.2-next.ed2e92f",
3
+ "version": "2.4.3-next.3287a3c",
4
4
  "description": "CLI tool to initialize a React Native application with Expo",
5
5
  "repository": {
6
6
  "type": "git",