create-your-stack 0.0.5 → 0.0.7
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/bin/create-your-stack +14 -9
- package/package.json +1 -1
package/bin/create-your-stack
CHANGED
|
@@ -68,26 +68,31 @@ else
|
|
|
68
68
|
echo "[DRY RUN] cd \"$PROJECT_NAME\""
|
|
69
69
|
fi
|
|
70
70
|
|
|
71
|
-
echo "📦 Installing
|
|
71
|
+
echo "📦 Installing Dependencies..."
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
DEPS="expo-router expo-constants react-native-safe-area-context zustand react-native-mmkv expo-haptics date-fns date-fns-tz zod react-hook-form @hookform/resolvers"
|
|
74
|
+
DEV_DEPS=""
|
|
74
75
|
|
|
75
76
|
if [[ "$USE_CLERK" == "true" ]]; then
|
|
76
|
-
|
|
77
|
+
DEPS="$DEPS @clerk/clerk-expo expo-secure-store"
|
|
77
78
|
fi
|
|
78
79
|
|
|
79
80
|
if [[ "$USE_CONVEX" == "true" ]]; then
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
DEPS="$DEPS convex"
|
|
82
|
+
DEV_DEPS="$DEV_DEPS convex-helpers"
|
|
82
83
|
fi
|
|
83
84
|
|
|
84
|
-
run "bun add zustand react-native-mmkv"
|
|
85
|
-
|
|
86
85
|
if [[ "$USE_UNIWIND" == "true" ]]; then
|
|
87
|
-
|
|
86
|
+
DEPS="$DEPS uniwind tailwindcss clsx tailwind-merge lucide-react-native react-native-reanimated react-native-worklets @gorhom/bottom-sheet react-native-gesture-handler reanimated-color-picker"
|
|
88
87
|
fi
|
|
89
88
|
|
|
90
|
-
|
|
89
|
+
echo "Installing main dependencies..."
|
|
90
|
+
run "bun add $DEPS"
|
|
91
|
+
|
|
92
|
+
if [[ -n "$DEV_DEPS" ]]; then
|
|
93
|
+
echo "Installing dev dependencies..."
|
|
94
|
+
run "bun add -D $DEV_DEPS"
|
|
95
|
+
fi
|
|
91
96
|
|
|
92
97
|
echo "📂 Creating directories..."
|
|
93
98
|
run "mkdir -p lib stores components providers"
|