create-expo-stack 2.7.3 → 2.7.4-next.3098644
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/app/_layout.tsx.ejs +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 +67 -67
|
@@ -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") { %>
|
package/package.json
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
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
|
-
|
|
2
|
+
"name": "create-expo-stack",
|
|
3
|
+
"version": "2.7.4-next.3098644",
|
|
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
|
+
"format": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix --resolve-plugins-relative-to . && prettier \"**/*.{js,jsx,ts,tsx,json}\" --write",
|
|
30
|
+
"lint-templates": "bun run ejslint ./src/templates",
|
|
31
|
+
"prepublishOnly": "bun run build",
|
|
32
|
+
"publishPublic": "bun run build && npm publish --access public",
|
|
33
|
+
"snapupdate": "jest --updateSnapshot",
|
|
34
|
+
"test:watch": "bun test --watch",
|
|
35
|
+
"test": "bun test --timeout 30000"
|
|
36
|
+
},
|
|
37
|
+
"prettier": {
|
|
38
|
+
"arrowParens": "always",
|
|
39
|
+
"bracketSameLine": false,
|
|
40
|
+
"bracketSpacing": true,
|
|
41
|
+
"printWidth": 120,
|
|
42
|
+
"semi": true,
|
|
43
|
+
"singleQuote": true,
|
|
44
|
+
"tabWidth": 2,
|
|
45
|
+
"trailingComma": "none",
|
|
46
|
+
"useTabs": false
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@clack/prompts": "^0.7.0",
|
|
50
|
+
"ejs-lint": "^2.0.0",
|
|
51
|
+
"figlet": "^1.6.0",
|
|
52
|
+
"gluegun": "latest",
|
|
53
|
+
"gradient-string": "^2.0.2"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/gradient-string": "^1.1.2",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
58
|
+
"@typescript-eslint/parser": "^6.9.1",
|
|
59
|
+
"copyfiles": "^2.4.1",
|
|
60
|
+
"eslint": "^8.53.0",
|
|
61
|
+
"eslint-config-prettier": "^9.0.0",
|
|
62
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
63
|
+
"husky": "^5.1.3",
|
|
64
|
+
"prettier": "^3.1.0"
|
|
65
|
+
},
|
|
66
|
+
"publishConfig": {
|
|
67
|
+
"provenance": false
|
|
68
|
+
}
|
|
69
69
|
}
|