create-expo-stack 2.10.2 → 2.10.3-next.4cc5073
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Learn more https://docs.expo.io/guides/customizing-metro
|
|
2
2
|
const { getDefaultConfig } = require('expo/metro-config');
|
|
3
|
-
<% if (
|
|
3
|
+
<% if (["nativewind", "nativewindui"].includes(props.stylingPackage?.name)) { %>
|
|
4
4
|
const { withNativeWind } = require("nativewind/metro");
|
|
5
5
|
<% } %>
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Link, Stack } from 'expo-router';
|
|
2
|
-
<% if (
|
|
2
|
+
<% if (["nativewind", "nativewindui"].includes(props.stylingPackage?.name)) {%>
|
|
3
3
|
import { Text } from 'react-native';
|
|
4
4
|
|
|
5
5
|
import { Container } from '~/components/Container';
|
|
@@ -29,7 +29,7 @@ export default function NotFoundScreen() {
|
|
|
29
29
|
<% } %>
|
|
30
30
|
|
|
31
31
|
return (
|
|
32
|
-
<% if (
|
|
32
|
+
<% if (["nativewind", "nativewindui"].includes(props.stylingPackage?.name)) {%>
|
|
33
33
|
<>
|
|
34
34
|
<Stack.Screen options={{ title: "Oops!" }} />
|
|
35
35
|
<Container>
|
|
@@ -77,7 +77,7 @@ export default function NotFoundScreen() {
|
|
|
77
77
|
);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
<% if (
|
|
80
|
+
<% if (["nativewind", "nativewindui"].includes(props.stylingPackage?.name)) { %>
|
|
81
81
|
const styles = {
|
|
82
82
|
title: `text-xl font-bold`,
|
|
83
83
|
link: `mt-4 pt-4`,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Link, Stack } from 'expo-router';
|
|
2
|
-
<% if (
|
|
2
|
+
<% if (["nativewind", "nativewindui"].includes(props.stylingPackage?.name)) {%>
|
|
3
3
|
import { Text, View } from 'react-native';
|
|
4
4
|
<% } else if (props.stylingPackage?.name === "unistyles") { %>
|
|
5
5
|
import { createStyleSheet, useStyles } from 'react-native-unistyles'
|
|
@@ -23,7 +23,7 @@ export default function NotFoundScreen() {
|
|
|
23
23
|
<% } %>
|
|
24
24
|
|
|
25
25
|
return (
|
|
26
|
-
<% if (
|
|
26
|
+
<% if (["nativewind", "nativewindui"].includes(props.stylingPackage?.name)) {%>
|
|
27
27
|
<>
|
|
28
28
|
<Stack.Screen options={{ title: "Oops!" }} />
|
|
29
29
|
<View className={styles.container}>
|
|
@@ -71,7 +71,7 @@ export default function NotFoundScreen() {
|
|
|
71
71
|
);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
<% if (
|
|
74
|
+
<% if (["nativewind", "nativewindui"].includes(props.stylingPackage?.name)) { %>
|
|
75
75
|
const styles = {
|
|
76
76
|
container: `items-center flex-1 justify-center p-5`,
|
|
77
77
|
title: `text-xl font-bold`,
|
package/package.json
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
2
|
+
"name": "create-expo-stack",
|
|
3
|
+
"version": "2.10.3-next.4cc5073",
|
|
4
|
+
"description": "CLI tool to initialize a React Native application with Expo",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/danstepanov/create-expo-stack.git",
|
|
8
|
+
"directory": "cli"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://createexpostack.com",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"types": "build/types/types.d.ts",
|
|
13
|
+
"bin": {
|
|
14
|
+
"create-expo-stack": "bin/create-expo-stack.js"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"build",
|
|
18
|
+
"LICENSE",
|
|
19
|
+
"readme.md",
|
|
20
|
+
"docs",
|
|
21
|
+
"bin"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "bun run clean-build && bun run compile && bun run copy-templates && bun run lint-templates",
|
|
25
|
+
"bump": "bun run ./src/utilities/bumpVersion.ts",
|
|
26
|
+
"clean-build": "rm -rf ./build",
|
|
27
|
+
"compile": "tsc -p .",
|
|
28
|
+
"copy-templates": "bun run copyfiles -u 2 -a \"./src/templates/**/*\" ./build/templates",
|
|
29
|
+
"dev": "bun run build && bun run bin/create-expo-stack.js",
|
|
30
|
+
"format": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix --resolve-plugins-relative-to . && prettier \"**/*.{js,jsx,ts,tsx,json}\" --write",
|
|
31
|
+
"lint-templates": "bun run ejslint ./src/templates",
|
|
32
|
+
"prepublishOnly": "bun run build",
|
|
33
|
+
"publishPublic": "bun run build && npm publish --access public",
|
|
34
|
+
"snapupdate": "jest --updateSnapshot",
|
|
35
|
+
"test:watch": "bun test --watch",
|
|
36
|
+
"test": "bun test --timeout 30000"
|
|
37
|
+
},
|
|
38
|
+
"prettier": {
|
|
39
|
+
"arrowParens": "always",
|
|
40
|
+
"bracketSameLine": false,
|
|
41
|
+
"bracketSpacing": true,
|
|
42
|
+
"printWidth": 120,
|
|
43
|
+
"semi": true,
|
|
44
|
+
"singleQuote": true,
|
|
45
|
+
"tabWidth": 2,
|
|
46
|
+
"trailingComma": "none",
|
|
47
|
+
"useTabs": false
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@clack/prompts": "^0.7.0",
|
|
51
|
+
"ejs-lint": "^2.0.0",
|
|
52
|
+
"expo": "^51.0.11",
|
|
53
|
+
"figlet": "^1.6.0",
|
|
54
|
+
"gluegun": "latest",
|
|
55
|
+
"gradient-string": "^2.0.2"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@types/gradient-string": "^1.1.2",
|
|
59
|
+
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
60
|
+
"@typescript-eslint/parser": "^6.9.1",
|
|
61
|
+
"copyfiles": "^2.4.1",
|
|
62
|
+
"eslint": "^8.53.0",
|
|
63
|
+
"eslint-config-prettier": "^9.0.0",
|
|
64
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
65
|
+
"husky": "^5.1.3",
|
|
66
|
+
"prettier": "^3.1.0"
|
|
67
|
+
},
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"provenance": false
|
|
70
|
+
}
|
|
71
71
|
}
|