create-expo-stack 2.7.2 → 2.7.3
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.
- package/build/templates/base/App.tsx.ejs +2 -2
- package/build/templates/packages/expo-router/drawer/app/_layout.tsx.ejs +2 -2
- package/build/templates/packages/expo-router/metro.config.js.ejs +1 -1
- package/build/templates/packages/expo-router/stack/app/_layout.tsx.ejs +2 -2
- package/build/templates/packages/expo-router/tabs/app/_layout.tsx.ejs +2 -2
- package/build/templates/packages/firebase/metro.config.js.ejs +1 -1
- package/build/templates/packages/nativewind/metro.config.js +1 -1
- package/build/templates/packages/nativewindui/metro.config.js.ejs +1 -1
- package/build/templates/packages/react-navigation/App.tsx.ejs +2 -2
- package/package.json +1 -1
|
@@ -7,9 +7,9 @@ import { StatusBar } from 'expo-status-bar';
|
|
|
7
7
|
<% } %>
|
|
8
8
|
|
|
9
9
|
<% if (props.stylingPackage?.name === "nativewind") { %>
|
|
10
|
-
import '
|
|
10
|
+
import '~/global.css';
|
|
11
11
|
<% } else if (props.stylingPackage?.name === "nativewinui") { %>
|
|
12
|
-
import '
|
|
12
|
+
import '~/global.css';
|
|
13
13
|
import 'expo-dev-client';
|
|
14
14
|
<% } else if (props.stylingPackage?.name === "restyle") { %>
|
|
15
15
|
import { ThemeProvider } from '@shopify/restyle';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<% if (props.stylingPackage?.name === "nativewind") { %>
|
|
2
|
-
import '
|
|
2
|
+
import '~/global.css';
|
|
3
3
|
<% } else if (props.stylingPackage?.name === "nativewinui") { %>
|
|
4
|
-
import '
|
|
4
|
+
import '~/global.css';
|
|
5
5
|
import 'expo-dev-client';
|
|
6
6
|
<% } %>
|
|
7
7
|
<% if (props.stylingPackage?.name === "unistyles") { %>
|
|
@@ -9,7 +9,7 @@ const { getDefaultConfig } = require('expo/metro-config');
|
|
|
9
9
|
const config = getDefaultConfig(__dirname);
|
|
10
10
|
|
|
11
11
|
<% if (props.stylingPackage?.name === "nativewind") { %>
|
|
12
|
-
module.exports = withNativeWind(config, { input: "
|
|
12
|
+
module.exports = withNativeWind(config, { input: "~/global.css" });
|
|
13
13
|
<% } else { %>
|
|
14
14
|
module.exports = config;
|
|
15
15
|
<% } %>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<% if (props.stylingPackage?.name === "nativewind") { %>
|
|
2
|
-
import '
|
|
2
|
+
import '~/global.css';
|
|
3
3
|
<% } else if (props.stylingPackage?.name === "nativewinui") { %>
|
|
4
|
-
import '
|
|
4
|
+
import '~/global.css';
|
|
5
5
|
import 'expo-dev-client';
|
|
6
6
|
<% } %>
|
|
7
7
|
<% if (props.stylingPackage?.name === "unistyles") { %>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<% if (props.stylingPackage?.name === "nativewind") { %>
|
|
2
|
-
import '
|
|
2
|
+
import '~/global.css';
|
|
3
3
|
<% } else if (props.stylingPackage?.name === "nativewinui") { %>
|
|
4
|
-
import '
|
|
4
|
+
import '~/global.css';
|
|
5
5
|
import 'expo-dev-client';
|
|
6
6
|
<% } %>
|
|
7
7
|
<% if (props.stylingPackage?.name === "unistyles") { %>
|
|
@@ -8,7 +8,7 @@ const { getDefaultConfig } = require('expo/metro-config');
|
|
|
8
8
|
const config = getDefaultConfig(__dirname);
|
|
9
9
|
|
|
10
10
|
<% if (props.stylingPackage?.name === "nativewind") { %>
|
|
11
|
-
module.exports = withNativeWind(config, { input: "
|
|
11
|
+
module.exports = withNativeWind(config, { input: "~/global.css" });
|
|
12
12
|
<% } else { %>
|
|
13
13
|
module.exports = config;
|
|
14
14
|
<% } %>
|
|
@@ -4,4 +4,4 @@ const { withNativeWind } = require('nativewind/metro');
|
|
|
4
4
|
// eslint-disable-next-line no-undef
|
|
5
5
|
const config = getDefaultConfig(__dirname);
|
|
6
6
|
|
|
7
|
-
module.exports = withNativeWind(config, { input: '
|
|
7
|
+
module.exports = withNativeWind(config, { input: '~/global.css' });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<% if (props.stylingPackage?.name === "nativewind") { %>
|
|
2
|
-
import '
|
|
2
|
+
import '~/global.css';
|
|
3
3
|
<% } else if (props.stylingPackage?.name === "nativewinui") { %>
|
|
4
|
-
import '
|
|
4
|
+
import '~/global.css';
|
|
5
5
|
import 'expo-dev-client';
|
|
6
6
|
<% } %>
|
|
7
7
|
<% if (props.stylingPackage?.name === "unistyles") { %>
|