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.
@@ -68,26 +68,31 @@ else
68
68
  echo "[DRY RUN] cd \"$PROJECT_NAME\""
69
69
  fi
70
70
 
71
- echo "📦 Installing Core Dependencies..."
71
+ echo "📦 Installing Dependencies..."
72
72
 
73
- run "bun add expo-router expo-constants"
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
- run "bun add @clerk/clerk-expo expo-secure-store"
77
+ DEPS="$DEPS @clerk/clerk-expo expo-secure-store"
77
78
  fi
78
79
 
79
80
  if [[ "$USE_CONVEX" == "true" ]]; then
80
- run "bun add convex"
81
- run "bun add -D convex-helpers"
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
- run "bun add uniwind tailwindcss clsx tailwind-merge lucide-react-native react-native-reanimated @gorhom/bottom-sheet react-native-gesture-handler reanimated-color-picker"
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
- run "bun add date-fns date-fns-tz zod react-hook-form @hookform/resolvers"
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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-your-stack",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {