expo-bbase 1.7.0 → 1.7.1
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/dist/index.js +10 -13
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -37,11 +37,12 @@ __export(src_exports, {
|
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(src_exports);
|
|
39
39
|
var import_chalk = __toESM(require("chalk"));
|
|
40
|
-
var
|
|
40
|
+
var import_commander = require("commander");
|
|
41
|
+
var import_execa = require("execa");
|
|
42
|
+
var import_fs_extra2 = __toESM(require("fs-extra"));
|
|
41
43
|
var import_ora = __toESM(require("ora"));
|
|
42
44
|
var import_path2 = __toESM(require("path"));
|
|
43
|
-
var
|
|
44
|
-
var import_commander = require("commander");
|
|
45
|
+
var import_prompts = __toESM(require("prompts"));
|
|
45
46
|
|
|
46
47
|
// src/commands/create.ts
|
|
47
48
|
function registerCreateCommand(program) {
|
|
@@ -3162,7 +3163,6 @@ export default function RootLayout() {
|
|
|
3162
3163
|
|
|
3163
3164
|
return (
|
|
3164
3165
|
<ThemeProvider value={colorScheme === "dark" ? NAV_THEME.dark : NAV_THEME.light}>
|
|
3165
|
-
<StatusBar style={colorScheme === "dark" ? "light" : "dark"} />
|
|
3166
3166
|
<Stack>
|
|
3167
3167
|
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
|
3168
3168
|
<Stack.Screen name="+not-found" />
|
|
@@ -3196,14 +3196,14 @@ export default function TabLayout() {
|
|
|
3196
3196
|
name="index"
|
|
3197
3197
|
options={{
|
|
3198
3198
|
title: "Home",
|
|
3199
|
-
tabBarIcon: () =>
|
|
3199
|
+
tabBarIcon: ({ color }) => <IconSymbol size={28} name="house.fill" color={color} />,
|
|
3200
3200
|
}}
|
|
3201
3201
|
/>
|
|
3202
3202
|
<Tabs.Screen
|
|
3203
3203
|
name="explore"
|
|
3204
3204
|
options={{
|
|
3205
3205
|
title: "Explore",
|
|
3206
|
-
tabBarIcon: () =>
|
|
3206
|
+
tabBarIcon: ({ color }) => <IconSymbol size={28} name="paperplane.fill" color={color} />,
|
|
3207
3207
|
}}
|
|
3208
3208
|
/>
|
|
3209
3209
|
</Tabs>
|
|
@@ -3417,7 +3417,6 @@ export {};
|
|
|
3417
3417
|
"extends": "expo/tsconfig.base",
|
|
3418
3418
|
"compilerOptions": {
|
|
3419
3419
|
"strict": true,
|
|
3420
|
-
"baseUrl": ".",
|
|
3421
3420
|
"paths": {
|
|
3422
3421
|
"@/*": ["./*"]
|
|
3423
3422
|
}
|
|
@@ -3700,7 +3699,6 @@ function generateLoginTabsTemplates(projectName) {
|
|
|
3700
3699
|
"",
|
|
3701
3700
|
" return (",
|
|
3702
3701
|
' <ThemeProvider value={colorScheme === "dark" ? NAV_THEME.dark : NAV_THEME.light}>',
|
|
3703
|
-
' <StatusBar style={colorScheme === "dark" ? "light" : "dark"} />',
|
|
3704
3702
|
" <Stack>",
|
|
3705
3703
|
' <Stack.Screen name="login" options={{ headerShown: false }} />',
|
|
3706
3704
|
' <Stack.Screen name="(tabs)" options={{ headerShown: false }} />',
|
|
@@ -3754,21 +3752,21 @@ function generateLoginTabsTemplates(projectName) {
|
|
|
3754
3752
|
' name="index"',
|
|
3755
3753
|
" options={{",
|
|
3756
3754
|
' title: "Home",',
|
|
3757
|
-
|
|
3755
|
+
' tabBarIcon: ({ color }) => <IconSymbol size={28} name="house.fill" color={color} />,',
|
|
3758
3756
|
" }}",
|
|
3759
3757
|
" />",
|
|
3760
3758
|
" <Tabs.Screen",
|
|
3761
3759
|
' name="explore"',
|
|
3762
3760
|
" options={{",
|
|
3763
3761
|
' title: "Explore",',
|
|
3764
|
-
|
|
3762
|
+
' tabBarIcon: ({ color }) => <IconSymbol size={28} name="paperplane.fill" color={color} />',
|
|
3765
3763
|
" }}",
|
|
3766
3764
|
" />",
|
|
3767
3765
|
" <Tabs.Screen",
|
|
3768
3766
|
' name="mine"',
|
|
3769
3767
|
" options={{",
|
|
3770
3768
|
' title: "Mine",',
|
|
3771
|
-
|
|
3769
|
+
' tabBarIcon: ({ color }) => <IconSymbol size={28} name="chevron.right" color={color} />',
|
|
3772
3770
|
" }}",
|
|
3773
3771
|
" />",
|
|
3774
3772
|
" </Tabs>",
|
|
@@ -4188,8 +4186,7 @@ function generateBasePackageJson(projectName) {
|
|
|
4188
4186
|
}
|
|
4189
4187
|
|
|
4190
4188
|
// src/index.ts
|
|
4191
|
-
var
|
|
4192
|
-
var CLI_VERSION = "1.7.0";
|
|
4189
|
+
var CLI_VERSION = "1.7.1";
|
|
4193
4190
|
var CONFIG_FILE = ".expo-bbase.json";
|
|
4194
4191
|
async function run() {
|
|
4195
4192
|
const program = new import_commander.Command();
|