create-your-stack 0.0.3 → 0.0.5

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.
@@ -37,8 +37,12 @@ while [[ $# -gt 0 ]]; do
37
37
  done
38
38
 
39
39
  if [[ -z "$PROJECT_NAME" ]]; then
40
- echo " Please provide a project name."
41
- echo "Usage: create-your-stack my-new-app [--dry-run] [--no-clerk] [--no-convex] [--no-uniwind]"
40
+ printf "Enter your project name: "
41
+ read PROJECT_NAME
42
+ fi
43
+
44
+ if [[ -z "$PROJECT_NAME" ]]; then
45
+ echo "❗ Project name cannot be empty."
42
46
  exit 1
43
47
  fi
44
48
 
@@ -58,7 +62,11 @@ else
58
62
  echo "⚠️ Project already exists. Skipping Expo initialization."
59
63
  fi
60
64
 
61
- cd "$PROJECT_NAME"
65
+ if [[ "$DRY_RUN" == "false" ]]; then
66
+ cd "$PROJECT_NAME"
67
+ else
68
+ echo "[DRY RUN] cd \"$PROJECT_NAME\""
69
+ fi
62
70
 
63
71
  echo "📦 Installing Core Dependencies..."
64
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-your-stack",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {