create-expo-stack 2.6.4 → 2.6.5-next.ba57beb
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/README.md
CHANGED
|
@@ -165,25 +165,25 @@ Thanks go to these wonderful people:
|
|
|
165
165
|
</a>
|
|
166
166
|
</td>
|
|
167
167
|
<td align="center">
|
|
168
|
-
<a href="https://github.com/
|
|
169
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
168
|
+
<a href="https://github.com/dannyhw">
|
|
169
|
+
<img src="https://avatars.githubusercontent.com/u/3481514?v=4" width="100;" alt="dannyhw"/>
|
|
170
170
|
<br />
|
|
171
|
-
<sub><b>
|
|
171
|
+
<sub><b>Daniel Williams</b></sub>
|
|
172
172
|
</a>
|
|
173
173
|
</td>
|
|
174
174
|
<td align="center">
|
|
175
|
-
<a href="https://github.com/
|
|
176
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
175
|
+
<a href="https://github.com/todevmilen">
|
|
176
|
+
<img src="https://avatars.githubusercontent.com/u/78319110?v=4" width="100;" alt="todevmilen"/>
|
|
177
177
|
<br />
|
|
178
|
-
<sub><b>
|
|
178
|
+
<sub><b>Milen Todev</b></sub>
|
|
179
179
|
</a>
|
|
180
180
|
</td></tr>
|
|
181
181
|
<tr>
|
|
182
182
|
<td align="center">
|
|
183
|
-
<a href="https://github.com/
|
|
184
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
183
|
+
<a href="https://github.com/alitnk">
|
|
184
|
+
<img src="https://avatars.githubusercontent.com/u/35243344?v=4" width="100;" alt="alitnk"/>
|
|
185
185
|
<br />
|
|
186
|
-
<sub><b>
|
|
186
|
+
<sub><b>Alireza Zamani</b></sub>
|
|
187
187
|
</a>
|
|
188
188
|
</td>
|
|
189
189
|
<td align="center">
|
|
@@ -243,6 +243,13 @@ Thanks go to these wonderful people:
|
|
|
243
243
|
<sub><b>Null</b></sub>
|
|
244
244
|
</a>
|
|
245
245
|
</td>
|
|
246
|
+
<td align="center">
|
|
247
|
+
<a href="https://github.com/boek">
|
|
248
|
+
<img src="https://avatars.githubusercontent.com/u/1250545?v=4" width="100;" alt="boek"/>
|
|
249
|
+
<br />
|
|
250
|
+
<sub><b>Jeff Boek</b></sub>
|
|
251
|
+
</a>
|
|
252
|
+
</td>
|
|
246
253
|
<td align="center">
|
|
247
254
|
<a href="https://github.com/zamplyy">
|
|
248
255
|
<img src="https://avatars.githubusercontent.com/u/26258710?v=4" width="100;" alt="zamplyy"/>
|
|
@@ -256,15 +263,15 @@ Thanks go to these wonderful people:
|
|
|
256
263
|
<br />
|
|
257
264
|
<sub><b>Joël Kuijper</b></sub>
|
|
258
265
|
</a>
|
|
259
|
-
</td>
|
|
266
|
+
</td></tr>
|
|
267
|
+
<tr>
|
|
260
268
|
<td align="center">
|
|
261
269
|
<a href="https://github.com/asapMaki">
|
|
262
270
|
<img src="https://avatars.githubusercontent.com/u/30200380?v=4" width="100;" alt="asapMaki"/>
|
|
263
271
|
<br />
|
|
264
272
|
<sub><b>Mahir Kadić</b></sub>
|
|
265
273
|
</a>
|
|
266
|
-
</td
|
|
267
|
-
<tr>
|
|
274
|
+
</td>
|
|
268
275
|
<td align="center">
|
|
269
276
|
<a href="https://github.com/Hacksore">
|
|
270
277
|
<img src="https://avatars.githubusercontent.com/u/996134?v=4" width="100;" alt="Hacksore"/>
|
package/build/cli.js
CHANGED
|
@@ -67,4 +67,4 @@ function run() {
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
exports.run = run;
|
|
70
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2NsaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxtQ0FBZ0M7QUFFaEM7O0dBRUc7QUFDSCxTQUFzQixHQUFHOzs7Ozs7b0JBQ2pCLElBQUksR0FBRyxPQUFPLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQztvQkFFeEIsR0FBRyxHQUFHLElBQUEsZUFBSyxHQUFFO3lCQUNoQixLQUFLLENBQUMsbUJBQW1CLENBQUM7eUJBQzFCLEdBQUcsQ0FBQyxTQUFTLENBQUM7eUJBQ2QsT0FBTyxDQUFDLGdCQUFnQixFQUFFO3dCQUN6QixRQUFRLEVBQUUscUJBQXFCO3dCQUMvQixNQUFNLEVBQUUsSUFBSTtxQkFDYixDQUFDO3lCQUNELE9BQU8sRUFBRSxDQUFDLGlEQUFpRDt5QkFDM0QsTUFBTSxFQUFFLENBQUM7b0JBS0kscUJBQU0sR0FBRyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsRUFBQTs7b0JBQTdCLE9BQU8sR0FBRyxTQUFtQjtvQkFFbkMscUNBQXFDO29CQUNyQyxzQkFBTyxPQUFPLEVBQUM7Ozs7Q0FDaEI7QUFwQkQsa0JBb0JDIn0=
|
|
@@ -10,7 +10,12 @@
|
|
|
10
10
|
"output": "static",
|
|
11
11
|
"favicon": "./assets/favicon.png"
|
|
12
12
|
},
|
|
13
|
-
"plugins": [
|
|
13
|
+
"plugins": [
|
|
14
|
+
"expo-router",
|
|
15
|
+
<% if (props.internalizationPackage?.name === "i18next") { %>
|
|
16
|
+
"expo-localization"
|
|
17
|
+
<% } %>
|
|
18
|
+
],
|
|
14
19
|
"experiments": {
|
|
15
20
|
"typedRoutes": true
|
|
16
21
|
<% if (props.flags.importAlias) { %>
|
|
@@ -26,6 +31,11 @@
|
|
|
26
31
|
"tsconfigPaths": true
|
|
27
32
|
},
|
|
28
33
|
<% } %>
|
|
34
|
+
"plugins": [
|
|
35
|
+
<% if (props.internalizationPackage?.name === "i18next") { %>
|
|
36
|
+
"expo-localization"
|
|
37
|
+
<% } %>
|
|
38
|
+
],
|
|
29
39
|
<% } %>
|
|
30
40
|
"orientation": "portrait",
|
|
31
41
|
"icon": "./assets/icon.png",
|
|
@@ -47,11 +57,5 @@
|
|
|
47
57
|
"backgroundColor": "#ffffff"
|
|
48
58
|
}
|
|
49
59
|
}
|
|
50
|
-
<% if (props.internalizationPackage?.name === "i18next") { %>
|
|
51
|
-
,
|
|
52
|
-
"plugins": [
|
|
53
|
-
"expo-localization"
|
|
54
|
-
]
|
|
55
|
-
<% } %>
|
|
56
60
|
}
|
|
57
61
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
|
-
import { Text, TouchableOpacity } from 'react-native';
|
|
2
|
+
import { Text, TouchableOpacity, TouchableOpacityProps } from 'react-native';
|
|
3
|
+
|
|
4
|
+
interface ButtonProps extends TouchableOpacityProps {
|
|
5
|
+
onPress: () => void;
|
|
6
|
+
title: string;
|
|
7
|
+
}
|
|
3
8
|
|
|
4
9
|
export const Button = forwardRef<TouchableOpacity, ButtonProps>(({ onPress, title }, ref) => {
|
|
5
10
|
return (
|
|
6
|
-
<TouchableOpacity className={styles.button} onPress={onPress}>
|
|
11
|
+
<TouchableOpacity ref={ref} className={styles.button} onPress={onPress}>
|
|
7
12
|
<Text className={styles.buttonText}>{title}</Text>
|
|
8
13
|
</TouchableOpacity>
|
|
9
14
|
);
|
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.6.5-next.ba57beb",
|
|
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
|
}
|