create-your-stack 0.0.6 → 0.0.8
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 +9 -3
- package/package.json +1 -1
package/bin/create-your-stack
CHANGED
|
@@ -70,7 +70,7 @@ fi
|
|
|
70
70
|
|
|
71
71
|
echo "📦 Installing Dependencies..."
|
|
72
72
|
|
|
73
|
-
DEPS="expo-router expo-constants safe-area-context zustand react-native-mmkv date-fns date-fns-tz zod react-hook-form @hookform/resolvers"
|
|
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
74
|
DEV_DEPS=""
|
|
75
75
|
|
|
76
76
|
if [[ "$USE_CLERK" == "true" ]]; then
|
|
@@ -83,7 +83,7 @@ if [[ "$USE_CONVEX" == "true" ]]; then
|
|
|
83
83
|
fi
|
|
84
84
|
|
|
85
85
|
if [[ "$USE_UNIWIND" == "true" ]]; then
|
|
86
|
-
DEPS="$DEPS 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"
|
|
87
87
|
fi
|
|
88
88
|
|
|
89
89
|
echo "Installing main dependencies..."
|
|
@@ -200,7 +200,10 @@ const { getDefaultConfig } = require("expo/metro-config");
|
|
|
200
200
|
const { withUniwindConfig } = require("uniwind/metro");
|
|
201
201
|
|
|
202
202
|
const config = getDefaultConfig(__dirname);
|
|
203
|
-
module.exports = withUniwindConfig(config, {
|
|
203
|
+
module.exports = withUniwindConfig(config, {
|
|
204
|
+
cssEntryFile: './global.css',
|
|
205
|
+
dtsFile: './uniwind-types.d.ts'
|
|
206
|
+
});
|
|
204
207
|
EOT
|
|
205
208
|
|
|
206
209
|
echo "🔌 Injecting global.css into _layout..."
|
|
@@ -239,6 +242,9 @@ if [[ "$USE_CONVEX" == "true" ]]; then
|
|
|
239
242
|
fi
|
|
240
243
|
fi
|
|
241
244
|
|
|
245
|
+
echo "🔧 Fixing dependencies..."
|
|
246
|
+
run "bunx expo install --fix"
|
|
247
|
+
|
|
242
248
|
echo "✅ Project '$PROJECT_NAME' is ready!"
|
|
243
249
|
echo "👉 Next steps:"
|
|
244
250
|
echo " 1. cd $PROJECT_NAME"
|