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.
@@ -7,9 +7,9 @@ import { StatusBar } from 'expo-status-bar';
7
7
  <% } %>
8
8
 
9
9
  <% if (props.stylingPackage?.name === "nativewind") { %>
10
- import './global.css';
10
+ import '~/global.css';
11
11
  <% } else if (props.stylingPackage?.name === "nativewinui") { %>
12
- import './global.css';
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 './global.css';
2
+ import '~/global.css';
3
3
  <% } else if (props.stylingPackage?.name === "nativewinui") { %>
4
- import './global.css';
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: "./global.css" });
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 './global.css';
2
+ import '~/global.css';
3
3
  <% } else if (props.stylingPackage?.name === "nativewinui") { %>
4
- import './global.css';
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 './global.css';
2
+ import '~/global.css';
3
3
  <% } else if (props.stylingPackage?.name === "nativewinui") { %>
4
- import './global.css';
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: "./global.css" });
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: './global.css' });
7
+ module.exports = withNativeWind(config, { input: '~/global.css' });
@@ -5,6 +5,6 @@ const { withNativeWind } = require('nativewind/metro');
5
5
  const config = getDefaultConfig(__dirname);
6
6
 
7
7
  module.exports = withNativeWind(config, {
8
- input: './global.css',
8
+ input: '~/global.css',
9
9
  inlineRem: 16,
10
10
  });
@@ -1,7 +1,7 @@
1
1
  <% if (props.stylingPackage?.name === "nativewind") { %>
2
- import './global.css';
2
+ import '~/global.css';
3
3
  <% } else if (props.stylingPackage?.name === "nativewinui") { %>
4
- import './global.css';
4
+ import '~/global.css';
5
5
  import 'expo-dev-client';
6
6
  <% } %>
7
7
  <% if (props.stylingPackage?.name === "unistyles") { %>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-expo-stack",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "description": "CLI tool to initialize a React Native application with Expo",
5
5
  "repository": {
6
6
  "type": "git",