vibefast-cli 1.3.0 → 1.3.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.
Files changed (348) hide show
  1. package/README.md +30 -95
  2. package/dist/__tests__/recipes.test.js +8 -9
  3. package/dist/__tests__/recipes.test.js.map +1 -1
  4. package/dist/commands/add.d.ts.map +1 -1
  5. package/dist/commands/add.js +271 -125
  6. package/dist/commands/add.js.map +1 -1
  7. package/dist/commands/checklist.d.ts.map +1 -1
  8. package/dist/commands/checklist.js +85 -44
  9. package/dist/commands/checklist.js.map +1 -1
  10. package/dist/commands/health.d.ts.map +1 -1
  11. package/dist/commands/health.js +13 -4
  12. package/dist/commands/health.js.map +1 -1
  13. package/dist/commands/init.d.ts.map +1 -1
  14. package/dist/commands/init.js +118 -26
  15. package/dist/commands/init.js.map +1 -1
  16. package/dist/commands/migrate.d.ts +3 -0
  17. package/dist/commands/migrate.d.ts.map +1 -0
  18. package/dist/commands/migrate.js +202 -0
  19. package/dist/commands/migrate.js.map +1 -0
  20. package/dist/commands/remove.d.ts.map +1 -1
  21. package/dist/commands/remove.js +61 -3
  22. package/dist/commands/remove.js.map +1 -1
  23. package/dist/core/auth.d.ts.map +1 -1
  24. package/dist/core/auth.js +20 -18
  25. package/dist/core/auth.js.map +1 -1
  26. package/dist/core/codemod.d.ts +33 -0
  27. package/dist/core/codemod.d.ts.map +1 -1
  28. package/dist/core/codemod.js +116 -0
  29. package/dist/core/codemod.js.map +1 -1
  30. package/dist/core/detect.d.ts.map +1 -1
  31. package/dist/core/detect.js +24 -7
  32. package/dist/core/detect.js.map +1 -1
  33. package/dist/core/journal.d.ts +1 -0
  34. package/dist/core/journal.d.ts.map +1 -1
  35. package/dist/core/journal.js.map +1 -1
  36. package/dist/core/recipes.d.ts.map +1 -1
  37. package/dist/core/recipes.js +25 -7
  38. package/dist/core/recipes.js.map +1 -1
  39. package/dist/index.js +2 -2
  40. package/dist/index.js.map +1 -1
  41. package/docs/architecture.md +50 -0
  42. package/docs/commands.md +78 -0
  43. package/docs/contributing.md +27 -0
  44. package/docs/quickstart.md +50 -0
  45. package/docs/recipes.md +57 -0
  46. package/docs/troubleshooting.md +31 -0
  47. package/package.json +2 -2
  48. package/recipes/0/apps/native/src/components/advanced-ui/timeline/demo.tsx +445 -0
  49. package/recipes/0/apps/native/src/components/advanced-ui/timeline/timeline-view.tsx +355 -0
  50. package/recipes/0/apps/native/src/components/advanced-ui/timeline/types.ts +31 -0
  51. package/recipes/0/recipe.json +18 -0
  52. package/recipes/animated-chip/apps/native/src/components/advanced-ui/chip/demo.tsx +2 -1
  53. package/recipes/animated-chip/recipe.json +5 -2
  54. package/recipes/animated-chip-native@latest.zip +0 -0
  55. package/recipes/animated-chip@latest.zip +0 -0
  56. package/recipes/animated-switch/apps/native/src/components/advanced-ui/switch/demo.tsx +1 -1
  57. package/recipes/animated-switch/recipe.json +5 -2
  58. package/recipes/animated-switch-native@latest.zip +0 -0
  59. package/recipes/animated-switch@latest.zip +0 -0
  60. package/recipes/audio-recorder/apps/native/src/features/audio-recorder/components/audio-recorder.tsx +2 -1
  61. package/recipes/audio-recorder/apps/native/src/features/audio-recorder/demo/with-recording-list-demo.tsx +2 -2
  62. package/recipes/audio-recorder/recipe.json +7 -2
  63. package/recipes/audio-recorder-native@latest.zip +0 -0
  64. package/recipes/audio-recorder-supabase/apps/native/src/features/audio-recorder/components/audio-recorder.tsx +2 -1
  65. package/recipes/audio-recorder-supabase/apps/native/src/features/audio-recorder/demo/with-recording-list-demo.tsx +2 -1
  66. package/recipes/audio-recorder-supabase/recipe.json +12 -33
  67. package/recipes/audio-recorder-supabase-native@latest.zip +0 -0
  68. package/recipes/audio-recorder-supabase@latest.zip +0 -0
  69. package/recipes/audio-recorder@latest.zip +0 -0
  70. package/recipes/charts/apps/native/src/app/charts/index.tsx +3 -0
  71. package/recipes/charts/apps/native/src/features/charts/components/bar-chart.tsx +3 -1
  72. package/recipes/charts/apps/native/src/features/charts/components/candlestick-chart.tsx +3 -1
  73. package/recipes/charts/apps/native/src/features/charts/components/column-chart.tsx +3 -1
  74. package/recipes/charts/apps/native/src/features/charts/components/doughnut-chart.tsx +3 -1
  75. package/recipes/charts/apps/native/src/features/charts/components/line-chart.tsx +3 -1
  76. package/recipes/charts/apps/native/src/features/charts/components/radar-chart.tsx +3 -1
  77. package/recipes/charts/apps/native/src/features/charts/components/stacked-bar-chart.tsx +3 -1
  78. package/recipes/charts/recipe.json +13 -4
  79. package/recipes/charts-native@latest.zip +0 -0
  80. package/recipes/charts@latest.zip +0 -0
  81. package/recipes/chatbot/apps/native/src/features/chatbot/components/chat-markdown.tsx +86 -86
  82. package/recipes/chatbot/apps/native/src/features/chatbot/components/markdown/code-block.tsx +4 -4
  83. package/recipes/chatbot/recipe.json +3 -40
  84. package/recipes/chatbot-native@latest.zip +0 -0
  85. package/recipes/chatbot-supabase/apps/native/src/features/chatbot/components/chat-markdown.tsx +4 -1
  86. package/recipes/chatbot-supabase/apps/native/src/features/chatbot/components/markdown/code-block.tsx +86 -53
  87. package/recipes/chatbot-supabase/recipe.json +3 -69
  88. package/recipes/chatbot-supabase-native@latest.zip +0 -0
  89. package/recipes/chatbot-supabase@latest.zip +0 -0
  90. package/recipes/chatbot@latest.zip +0 -0
  91. package/recipes/glowing-button/recipe.json +6 -2
  92. package/recipes/glowing-button-native@latest.zip +0 -0
  93. package/recipes/glowing-button@latest.zip +0 -0
  94. package/recipes/image-analysis/apps/native/src/app/analysis/[type]/_layout.tsx +5 -0
  95. package/recipes/image-analysis/apps/native/src/app/analysis/[type]/analysis-options.tsx +50 -0
  96. package/recipes/image-analysis/apps/native/src/app/analysis/[type]/camera.tsx +2 -0
  97. package/recipes/image-analysis/apps/native/src/app/analysis/[type]/index.tsx +50 -0
  98. package/recipes/image-analysis/apps/native/src/app/analysis/[type]/loading.tsx +50 -0
  99. package/recipes/image-analysis/apps/native/src/app/analysis/[type]/results.tsx +2 -0
  100. package/recipes/image-analysis/apps/native/src/app/analysis/[type]/trait-details.tsx +3 -0
  101. package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/analysis-options-screen.tsx +2 -2
  102. package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/camera.tsx +72 -65
  103. package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/image-capture-screen.tsx +65 -47
  104. package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/loading-screen.tsx +43 -2
  105. package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/loading.tsx +34 -1
  106. package/recipes/image-analysis/apps/native/src/features/image-analyzer/hooks/use-image-analysis.ts +83 -2
  107. package/recipes/image-analysis/recipe.json +11 -19
  108. package/recipes/image-analysis-native@latest.zip +0 -0
  109. package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/_layout.tsx +5 -0
  110. package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/analysis-options.tsx +50 -0
  111. package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/camera.tsx +2 -0
  112. package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/index.tsx +50 -0
  113. package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/loading.tsx +50 -0
  114. package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/results.tsx +2 -0
  115. package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/trait-details.tsx +3 -0
  116. package/recipes/image-analysis-supabase/recipe.json +10 -70
  117. package/recipes/image-analysis-supabase-native@latest.zip +0 -0
  118. package/recipes/image-analysis-supabase@latest.zip +0 -0
  119. package/recipes/image-analysis@latest.zip +0 -0
  120. package/recipes/image-analyzer/apps/native/src/app/(root)/(protected)/image-analyzer/index.tsx +2 -0
  121. package/recipes/image-generator/apps/native/src/app/image-generator/gallery.tsx +3 -0
  122. package/recipes/image-generator/apps/native/src/app/image-generator/index.tsx +3 -0
  123. package/recipes/image-generator/recipe.json +8 -18
  124. package/recipes/image-generator-native@latest.zip +0 -0
  125. package/recipes/image-generator-supabase/recipe.json +6 -62
  126. package/recipes/image-generator-supabase-native@latest.zip +0 -0
  127. package/recipes/image-generator-supabase@latest.zip +0 -0
  128. package/recipes/image-generator@latest.zip +0 -0
  129. package/recipes/ios-widget/recipe.json +18 -119
  130. package/recipes/ios-widget-native@latest.zip +0 -0
  131. package/recipes/ios-widget@latest.zip +0 -0
  132. package/recipes/number-stepper/apps/native/src/components/advanced-ui/stepper/demo.tsx +1 -1
  133. package/recipes/number-stepper/recipe.json +5 -2
  134. package/recipes/number-stepper-native@latest.zip +0 -0
  135. package/recipes/number-stepper@latest.zip +0 -0
  136. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/interactive-onboarding.tsx +11 -18
  137. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/ai-tone-step.tsx +5 -7
  138. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/currency-step.tsx +9 -7
  139. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-ai-step.tsx +8 -7
  140. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-chatbot-step.tsx +6 -5
  141. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-manual-step.tsx +4 -3
  142. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-scan-step.tsx +6 -5
  143. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/main-reason-step.tsx +5 -7
  144. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/notification-step.tsx +7 -6
  145. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/overspend-step.tsx +5 -7
  146. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/personalizing-step.tsx +8 -7
  147. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/rating-step.tsx +6 -5
  148. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/reminder-step.tsx +5 -6
  149. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/safety-step.tsx +5 -4
  150. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/struggle-step.tsx +5 -7
  151. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/welcome-step.tsx +7 -6
  152. package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/ui/onboarding-header.tsx +4 -3
  153. package/recipes/onboarding/recipe.json +9 -6
  154. package/recipes/onboarding-native@latest.zip +0 -0
  155. package/recipes/onboarding@latest.zip +0 -0
  156. package/recipes/payments/apps/native/src/app/paywall/index.tsx +74 -0
  157. package/recipes/payments/apps/native/src/app/paywall/local.tsx +25 -0
  158. package/recipes/payments/apps/native/src/app/paywall/remote.tsx +23 -0
  159. package/recipes/payments/packages/backend/convex/payments.ts +21 -3
  160. package/recipes/payments/recipe.json +14 -34
  161. package/recipes/payments-native@latest.zip +0 -0
  162. package/recipes/payments-supabase/apps/native/src/app/paywall/index.tsx +74 -0
  163. package/recipes/payments-supabase/apps/native/src/app/paywall/local.tsx +25 -0
  164. package/recipes/payments-supabase/apps/native/src/app/paywall/remote.tsx +23 -0
  165. package/recipes/payments-supabase/recipe.json +16 -44
  166. package/recipes/payments-supabase-native@latest.zip +0 -0
  167. package/recipes/payments-supabase@latest.zip +0 -0
  168. package/recipes/payments@latest.zip +0 -0
  169. package/recipes/posthog/apps/native/src/components/analytics/navigation-tracker.tsx +14 -0
  170. package/recipes/posthog/apps/native/src/lib/hooks/use-navigation-analytics.ts +44 -0
  171. package/recipes/posthog/apps/native/src/providers/posthog-provider.tsx +51 -0
  172. package/recipes/posthog/recipe.json +60 -0
  173. package/recipes/posthog-native@latest.zip +0 -0
  174. package/recipes/progress-circle/apps/native/src/components/advanced-ui/progress-bars/progress-circle-page.tsx +1 -1
  175. package/recipes/progress-circle/recipe.json +5 -2
  176. package/recipes/progress-circle-native@latest.zip +0 -0
  177. package/recipes/progress-circle@latest.zip +0 -0
  178. package/recipes/quiz/apps/native/src/app/quiz/index.tsx +47 -0
  179. package/recipes/quiz/recipe.json +9 -6
  180. package/recipes/quiz-native@latest.zip +0 -0
  181. package/recipes/quiz@latest.zip +0 -0
  182. package/recipes/screen-kits/apps/native/src/app/screen-kits/_layout.tsx +12 -0
  183. package/recipes/screen-kits/apps/native/src/app/screen-kits/index.tsx +114 -0
  184. package/recipes/screen-kits/apps/native/src/features/screen-kits/index.ts +1 -0
  185. package/recipes/screen-kits/apps/native/src/features/screen-kits/types.ts +28 -0
  186. package/recipes/screen-kits/recipe.json +26 -0
  187. package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/_layout.tsx +12 -0
  188. package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/home.tsx +5 -0
  189. package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/index.tsx +5 -0
  190. package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/lesson-complete.tsx +5 -0
  191. package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/lesson-fail.tsx +5 -0
  192. package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/lesson.tsx +5 -0
  193. package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/skill-tree.tsx +5 -0
  194. package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/components/duo-button.tsx +174 -0
  195. package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/components/skill-button.tsx +186 -0
  196. package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/components/xp-header.tsx +115 -0
  197. package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/constants.ts +89 -0
  198. package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/index.ts +3 -0
  199. package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/home-screen.tsx +225 -0
  200. package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/lesson-complete-screen.tsx +485 -0
  201. package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/lesson-fail-screen.tsx +105 -0
  202. package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/lesson-screen.tsx +384 -0
  203. package/recipes/screen-kits-duolingo/recipe.json +58 -0
  204. package/recipes/screen-kits-duolingo-native@latest.zip +0 -0
  205. package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/_layout.tsx +45 -0
  206. package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/asset-detail.tsx +3 -0
  207. package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/notifications.tsx +3 -0
  208. package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/receive.tsx +3 -0
  209. package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/send.tsx +3 -0
  210. package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/swap.tsx +3 -0
  211. package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/wallet.tsx +3 -0
  212. package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/components/ActionButtons.tsx +78 -0
  213. package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/components/AssetRow.tsx +94 -0
  214. package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/components/BalanceCard.tsx +118 -0
  215. package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/constants.ts +85 -0
  216. package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/asset-detail.tsx +378 -0
  217. package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/notifications.tsx +210 -0
  218. package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/receive-modal.tsx +317 -0
  219. package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/send-modal.tsx +420 -0
  220. package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/swap-modal.tsx +363 -0
  221. package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/wallet-dashboard.tsx +281 -0
  222. package/recipes/screen-kits-finance/recipe.json +46 -0
  223. package/recipes/screen-kits-finance-native@latest.zip +0 -0
  224. package/recipes/screen-kits-fitness/apps/native/assets/sounds/timer-beep.wav +0 -0
  225. package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/_layout.tsx +10 -0
  226. package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/index.tsx +6 -0
  227. package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/timer.tsx +3 -0
  228. package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/workout.tsx +3 -0
  229. package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/components/timer-components.tsx +500 -0
  230. package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/components/timer-settings-modal.tsx +352 -0
  231. package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/components/workout-card.tsx +105 -0
  232. package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/constants.ts +189 -0
  233. package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/hooks/use-timer.ts +307 -0
  234. package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/index.ts +1 -0
  235. package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/screens/timer-screen.tsx +278 -0
  236. package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/screens/workout-dashboard.tsx +350 -0
  237. package/recipes/screen-kits-fitness/recipe.json +63 -0
  238. package/recipes/screen-kits-fitness-native@latest.zip +0 -0
  239. package/recipes/screen-kits-habits/apps/native/src/app/screen-kits/productivity/habits.tsx +1 -0
  240. package/recipes/screen-kits-habits/apps/native/src/app/screen-kits/productivity/kanban.tsx +1 -0
  241. package/recipes/screen-kits-habits/apps/native/src/app/screen-kits/productivity/routes.ts +4 -0
  242. package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/AddTaskModal.tsx +246 -0
  243. package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/DraggableTaskCard.tsx +92 -0
  244. package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/KanbanColumn.tsx +238 -0
  245. package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/TaskCard.tsx +144 -0
  246. package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/add-habit-modal.tsx +271 -0
  247. package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/constants.ts +295 -0
  248. package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/kanban-utils.ts +62 -0
  249. package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/screens/habit-tracker.tsx +1160 -0
  250. package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/screens/kanban-board.tsx +432 -0
  251. package/recipes/screen-kits-habits/recipe.json +52 -0
  252. package/recipes/screen-kits-habits-native@latest.zip +0 -0
  253. package/recipes/screen-kits-native@latest.zip +0 -0
  254. package/recipes/sentry/apps/native/src/providers/sentry-provider.tsx +64 -0
  255. package/recipes/sentry/recipe.json +39 -0
  256. package/recipes/sentry-native@latest.zip +0 -0
  257. package/recipes/swipe-slider/apps/native/src/components/advanced-ui/sliders/swipe-slider-page.tsx +1 -1
  258. package/recipes/swipe-slider/recipe.json +5 -2
  259. package/recipes/swipe-slider-native@latest.zip +0 -0
  260. package/recipes/swipe-slider@latest.zip +0 -0
  261. package/recipes/timeline/apps/native/src/components/advanced-ui/timeline/demo.tsx +2 -1
  262. package/recipes/timeline/recipe.json +5 -2
  263. package/recipes/timeline-native@latest.zip +0 -0
  264. package/recipes/timeline@latest.zip +0 -0
  265. package/recipes/tracker-app/apps/native/src/app/tracker-app/index.tsx +1 -0
  266. package/recipes/tracker-app/recipe.json +10 -7
  267. package/recipes/tracker-app-native@latest.zip +0 -0
  268. package/recipes/tracker-app@latest.zip +0 -0
  269. package/recipes/upload-all.sh +8 -31
  270. package/recipes/voice-bot/apps/native/src/app/voice-bot/index.tsx +56 -0
  271. package/recipes/voice-bot/recipe.json +31 -7
  272. package/recipes/voice-bot-native@latest.zip +0 -0
  273. package/recipes/voice-bot@latest.zip +0 -0
  274. package/recipes/wake-word/apps/native/src/app/{(root)/(protected)/test-wake-word.tsx → test-wake-word.tsx} +43 -4
  275. package/recipes/wake-word/recipe.json +16 -26
  276. package/recipes/wake-word-native@latest.zip +0 -0
  277. package/recipes/wake-word@latest.zip +0 -0
  278. package/scripts/create-advanced-ui-recipes.sh +46 -19
  279. package/scripts/create-recipes.mjs +471 -117
  280. package/scripts/package-recipes.mjs +76 -0
  281. package/scripts/publish-all.sh +6 -2
  282. package/CHANGELOG.md +0 -198
  283. package/docs/archive/AUTO-DETECT-DEPS.md +0 -607
  284. package/docs/archive/FINAL-PACKAGE-STRATEGY.md +0 -583
  285. package/docs/archive/FINAL-SIMPLE-PLAN.md +0 -487
  286. package/docs/archive/FINAL-STATUS.md +0 -144
  287. package/docs/archive/FLOW-DIAGRAM.md +0 -1629
  288. package/docs/archive/GOTCHAS-AND-RISKS.md +0 -801
  289. package/docs/archive/IMPLEMENTATION-PLAN.md +0 -1360
  290. package/docs/archive/PLAN.md +0 -453
  291. package/docs/archive/PRODUCTION-READINESS.md +0 -684
  292. package/docs/archive/PRODUCTION-TEST-RESULTS.md +0 -465
  293. package/docs/archive/SIMPLIFIED-PLAN.md +0 -578
  294. package/docs/archive/STATUS.md +0 -199
  295. package/docs/archive/SUCCESS.md +0 -259
  296. package/docs/archive/TEST-SUMMARY.md +0 -261
  297. package/docs/archive/TESTING-CHECKLIST.md +0 -450
  298. package/docs/archive/USER-MODIFICATIONS.md +0 -448
  299. package/docs/decisions.md +0 -55
  300. package/docs/manual-testing.md +0 -91
  301. package/docs/next-steps.md +0 -12
  302. package/recipes/README.md +0 -156
  303. package/recipes/audio-recorder-supabase/packages/backend/src/services/recordings.ts +0 -369
  304. package/recipes/chatbot/apps/native/src/api-client/chatbot.ts +0 -83
  305. package/recipes/chatbot/packages/backend/convex/agents.ts +0 -115
  306. package/recipes/chatbot/packages/backend/convex/tools/index.ts +0 -18
  307. package/recipes/chatbot/packages/backend/convex/tools/knowledgeRetrieval.ts +0 -97
  308. package/recipes/chatbot/packages/backend/convex/tools/tavilySearch.ts +0 -83
  309. package/recipes/chatbot/packages/backend/convex/tools/userProfile.ts +0 -72
  310. package/recipes/chatbot-supabase/apps/native/src/api-client/supabase/chatbot.ts +0 -515
  311. package/recipes/chatbot-supabase/packages/backend/src/services/conversations.ts +0 -243
  312. package/recipes/chatbot-supabase/packages/backend/src/services/messages.ts +0 -327
  313. package/recipes/image-analysis/apps/native/src/api-client/image-analyzer.ts +0 -62
  314. package/recipes/image-analysis-supabase/packages/backend/src/services/image-analyses.ts +0 -132
  315. package/recipes/image-generator/apps/native/src/api-client/image-generator.ts +0 -34
  316. package/recipes/payments/apps/native/src/api-client/payments.ts +0 -44
  317. package/recipes/payments-supabase/packages/backend/src/services/payments.ts +0 -201
  318. package/recipes/posthog.json +0 -47
  319. package/recipes/revenuecat.json +0 -43
  320. package/recipes/sentry.json +0 -47
  321. package/recipes/wake-word/apps/native/assets/vosk-model/README.md +0 -103
  322. package/recipes/wake-word/apps/native/scripts/download-vosk-model.mjs +0 -127
  323. /package/recipes/{audio-recorder/apps/native/src/app/(root)/(protected) → audio-recorder-supabase/apps/native/src/app}/audio-recorder/index.tsx +0 -0
  324. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/AppIntent.swift +0 -0
  325. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-20x20@1x.png +0 -0
  326. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-20x20@2x.png +0 -0
  327. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-20x20@3x.png +0 -0
  328. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-29x29@1x.png +0 -0
  329. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-29x29@2x.png +0 -0
  330. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-29x29@3x.png +0 -0
  331. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-40x40@1x.png +0 -0
  332. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-40x40@2x.png +0 -0
  333. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-40x40@3x.png +0 -0
  334. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-60x60@2x.png +0 -0
  335. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-60x60@3x.png +0 -0
  336. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-76x76@1x.png +0 -0
  337. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-76x76@2x.png +0 -0
  338. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-83.5x83.5@2x.png +0 -0
  339. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -0
  340. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png +0 -0
  341. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/CalorieTrackerWidget.swift +0 -0
  342. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/HabitTrackerWidget.swift +0 -0
  343. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Info.plist +0 -0
  344. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/WidgetLiveActivity.swift +0 -0
  345. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/expo-target.config.js +0 -0
  346. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/generated.entitlements +0 -0
  347. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/index.swift +0 -0
  348. /package/recipes/ios-widget/{targets → apps/native/targets}/widget/widgets.swift +0 -0
@@ -1,38 +1,30 @@
1
1
  {
2
2
  "name": "image-analysis",
3
3
  "version": "1.0.0",
4
- "description": "AI-powered image analysis",
4
+ "description": "AI image analysis",
5
5
  "copy": [
6
+ {
7
+ "from": "apps/native/src/app/analysis",
8
+ "to": "apps/native/src/app/(root)/(protected)/analysis"
9
+ },
6
10
  {
7
11
  "from": "apps/native/src/features/image-analyzer",
8
12
  "to": "apps/native/src/features/image-analyzer"
9
13
  },
10
14
  {
11
- "from": "apps/native/src/api-client/image-analyzer.ts",
12
- "to": "apps/native/src/api-client/image-analyzer.ts"
15
+ "from": "packages/backend/convex/imageAnalysis",
16
+ "to": "packages/backend/convex/imageAnalysis"
13
17
  },
14
18
  {
15
19
  "from": "packages/backend/convex/imageAnalysis.ts",
16
20
  "to": "packages/backend/convex/imageAnalysis.ts"
17
- },
18
- {
19
- "from": "packages/backend/convex/imageAnalysis",
20
- "to": "packages/backend/convex/imageAnalysis"
21
21
  }
22
22
  ],
23
- "configuration": {
24
- "apiClient": {
25
- "exports": [
26
- "export { type ImageAnalyzerApi, imageAnalyzerApi } from './image-analyzer';"
27
- ]
28
- }
29
- },
30
23
  "nav": {
31
- "href": "/(root)/(protected)/image-analyzer",
32
- "label": "Image Analyzer",
24
+ "href": "/(root)/(protected)/analysis/face-analysis",
25
+ "label": "Image Analysis",
33
26
  "icon": "🔍",
34
- "color": "#3B82F6"
27
+ "color": "#22C55E"
35
28
  },
36
- "target": "native",
37
- "dependencies": { "expo": ["expo-camera", "expo-image-picker"] }
29
+ "target": "native"
38
30
  }
@@ -0,0 +1,5 @@
1
+ import { Slot } from 'expo-router';
2
+
3
+ export default function AnalysisLayout() {
4
+ return <Slot />;
5
+ }
@@ -0,0 +1,50 @@
1
+ import { Redirect, useLocalSearchParams } from 'expo-router';
2
+ import React from 'react';
3
+ import { View } from 'react-native';
4
+
5
+ import { FocusAwareStatusBar, Text } from '@/components/ui';
6
+ import { DynamicAnalysisOptionsScreen } from '@/features/image-analyzer/app/analysis-options-screen';
7
+ import { getAnalysisFlowConfigSafe } from '@/features/image-analyzer/config/master-analysis-config';
8
+ import { translate } from '@/lib';
9
+ import { useThemeConfig } from '@/lib/use-theme-config';
10
+
11
+ /**
12
+ * Dynamic analysis options route that loads the appropriate configuration
13
+ * based on the type parameter
14
+ */
15
+ export default function DynamicAnalysisOptionsRoute() {
16
+ const { type } = useLocalSearchParams<{ type: string }>();
17
+ const theme = useThemeConfig();
18
+
19
+ if (!type || typeof type !== 'string') {
20
+ return <Redirect href="/(protected)/(tabs)" />;
21
+ }
22
+
23
+ const config = getAnalysisFlowConfigSafe(type);
24
+
25
+ if (!config) {
26
+ // Invalid analysis type, redirect to home with a user-friendly message
27
+ return (
28
+ <View
29
+ style={{
30
+ flex: 1,
31
+ backgroundColor: theme.colors.background,
32
+ justifyContent: 'center',
33
+ alignItems: 'center',
34
+ padding: 20,
35
+ }}
36
+ >
37
+ <FocusAwareStatusBar />
38
+ <Text className="mb-4 text-center text-lg font-medium">
39
+ {translate('common.invalid_analysis_type')}
40
+ </Text>
41
+ <Text className="mb-6 text-center text-muted-foreground">
42
+ {translate('common.redirecting_home')}
43
+ </Text>
44
+ <Redirect href="/(protected)/(tabs)" />
45
+ </View>
46
+ );
47
+ }
48
+
49
+ return <DynamicAnalysisOptionsScreen config={config} />;
50
+ }
@@ -0,0 +1,2 @@
1
+ // Re-export the camera screen
2
+ export { default } from '@/features/image-analyzer/app/camera';
@@ -0,0 +1,50 @@
1
+ import { Redirect, useLocalSearchParams } from 'expo-router';
2
+ import React from 'react';
3
+ import { View } from 'react-native';
4
+
5
+ import { FocusAwareStatusBar, Text } from '@/components/ui';
6
+ import { ImageCaptureScreen } from '@/features/image-analyzer/app/image-capture-screen';
7
+ import { getAnalysisFlowConfigSafe } from '@/features/image-analyzer/config/master-analysis-config';
8
+ import { translate } from '@/lib';
9
+ import { useThemeConfig } from '@/lib/use-theme-config';
10
+
11
+ /**
12
+ * Dynamic analysis route that loads the appropriate configuration
13
+ * based on the type parameter
14
+ */
15
+ export default function DynamicAnalysisScreen() {
16
+ const { type } = useLocalSearchParams<{ type: string }>();
17
+ const theme = useThemeConfig();
18
+
19
+ if (!type || typeof type !== 'string') {
20
+ return <Redirect href="/(protected)/(tabs)" />;
21
+ }
22
+
23
+ const config = getAnalysisFlowConfigSafe(type);
24
+
25
+ if (!config) {
26
+ // Invalid analysis type, redirect to home with a user-friendly message
27
+ return (
28
+ <View
29
+ style={{
30
+ flex: 1,
31
+ backgroundColor: theme.colors.background,
32
+ justifyContent: 'center',
33
+ alignItems: 'center',
34
+ padding: 20,
35
+ }}
36
+ >
37
+ <FocusAwareStatusBar />
38
+ <Text className="mb-4 text-center text-lg font-medium">
39
+ {translate('common.invalid_analysis_type')}
40
+ </Text>
41
+ <Text className="mb-6 text-center text-muted-foreground">
42
+ {translate('common.redirecting_home')}
43
+ </Text>
44
+ <Redirect href="/(protected)/(tabs)" />
45
+ </View>
46
+ );
47
+ }
48
+
49
+ return <ImageCaptureScreen config={config} />;
50
+ }
@@ -0,0 +1,50 @@
1
+ import { Redirect, useLocalSearchParams } from 'expo-router';
2
+ import React from 'react';
3
+ import { View } from 'react-native';
4
+
5
+ import { FocusAwareStatusBar, Text } from '@/components/ui';
6
+ import { LoadingScreen } from '@/features/image-analyzer/app/loading-screen';
7
+ import { getAnalysisFlowConfigSafe } from '@/features/image-analyzer/config/master-analysis-config';
8
+ import { translate } from '@/lib';
9
+ import { useThemeConfig } from '@/lib/use-theme-config';
10
+
11
+ /**
12
+ * Dynamic loading route that loads the appropriate configuration
13
+ * based on the type parameter
14
+ */
15
+ export default function DynamicLoadingRoute() {
16
+ const { type } = useLocalSearchParams<{ type: string }>();
17
+ const theme = useThemeConfig();
18
+
19
+ if (!type || typeof type !== 'string') {
20
+ return <Redirect href="/(protected)/(tabs)" />;
21
+ }
22
+
23
+ const config = getAnalysisFlowConfigSafe(type);
24
+
25
+ if (!config) {
26
+ // Invalid analysis type, redirect to home with a user-friendly message
27
+ return (
28
+ <View
29
+ style={{
30
+ flex: 1,
31
+ backgroundColor: theme.colors.background,
32
+ justifyContent: 'center',
33
+ alignItems: 'center',
34
+ padding: 20,
35
+ }}
36
+ >
37
+ <FocusAwareStatusBar />
38
+ <Text className="mb-4 text-center text-lg font-medium">
39
+ {translate('common.invalid_analysis_type')}
40
+ </Text>
41
+ <Text className="mb-6 text-center text-muted-foreground">
42
+ {translate('common.redirecting_home')}
43
+ </Text>
44
+ <Redirect href="/(protected)/(tabs)" />
45
+ </View>
46
+ );
47
+ }
48
+
49
+ return <LoadingScreen config={config} />;
50
+ }
@@ -0,0 +1,2 @@
1
+ // Re-export the results screen
2
+ export { default } from '@/features/image-analyzer/app/results';
@@ -0,0 +1,3 @@
1
+ import TraitDetailsScreen from '@/features/image-analyzer/app/trait-details';
2
+
3
+ export default TraitDetailsScreen;
@@ -1,31 +1,15 @@
1
1
  {
2
- "name": "image-analysis",
2
+ "name": "image-analysis-supabase",
3
3
  "version": "1.0.0",
4
- "description": "AI-powered image analysis with Supabase backend",
4
+ "description": "Image analysis with Supabase",
5
5
  "copy": [
6
6
  {
7
- "from": "apps/native/src/features/image-analyzer",
8
- "to": "apps/native/src/features/image-analyzer"
9
- },
10
- {
11
- "from": "apps/native/src/api-client/supabase/image-analyzer.ts",
12
- "to": "apps/native/src/api-client/supabase/image-analyzer.ts"
7
+ "from": "apps/native/src/app/analysis",
8
+ "to": "apps/native/src/app/(root)/(protected)/analysis"
13
9
  },
14
10
  {
15
- "from": "apps/native/src/api-client/supabase/reporting.ts",
16
- "to": "apps/native/src/api-client/supabase/reporting.ts"
17
- },
18
- {
19
- "from": "apps/native/src/api-client/supabase/shared.ts",
20
- "to": "apps/native/src/api-client/supabase/shared.ts"
21
- },
22
- {
23
- "from": "apps/native/src/api-client/reporting.ts",
24
- "to": "apps/native/src/api-client/reporting.ts"
25
- },
26
- {
27
- "from": "apps/native/src/api-client/shared.ts",
28
- "to": "apps/native/src/api-client/shared.ts"
11
+ "from": "apps/native/src/features/image-analyzer",
12
+ "to": "apps/native/src/features/image-analyzer"
29
13
  },
30
14
  {
31
15
  "from": "packages/backend/supabase/functions/analyze-image",
@@ -34,57 +18,13 @@
34
18
  {
35
19
  "from": "packages/backend/supabase/migrations/image_analysis.sql",
36
20
  "to": "packages/backend/supabase/migrations/image_analysis.sql"
37
- },
38
- {
39
- "from": "packages/backend/src/services/image-analyses.ts",
40
- "to": "packages/backend/src/services/image-analyses.ts"
41
21
  }
42
22
  ],
43
23
  "nav": {
44
- "href": "/(root)/(protected)/image-analyzer",
45
- "label": "Image Analyzer",
24
+ "href": "/(root)/(protected)/analysis/face-analysis",
25
+ "label": "Image Analysis (Supabase)",
46
26
  "icon": "🔍",
47
- "color": "#3B82F6"
48
- },
49
- "target": "native",
50
- "configuration": {
51
- "apiClient": {
52
- "exports": [
53
- "export { type SupabaseImageAnalyzerApi as ImageAnalyzerApi, supabaseImageAnalyzerApi as imageAnalyzerApi } from './supabase/image-analyzer';"
54
- ]
55
- },
56
- "backend": {
57
- "exports": [
58
- "export { imageAnalysesService, getUserImageAnalyses, getImageAnalysisById } from './services/image-analyses';",
59
- "export type { ListImageAnalysesResult, GetImageAnalysisResult } from './services/image-analyses';"
60
- ]
61
- }
62
- },
63
- "dependencies": {
64
- "expo": [
65
- "@supabase/supabase-js",
66
- "@tanstack/react-query",
67
- "expo-camera",
68
- "expo-image-picker"
69
- ]
27
+ "color": "#22C55E"
70
28
  },
71
- "env": [
72
- {
73
- "key": "OPENAI_API_KEY",
74
- "description": "OpenAI API key for vision analysis",
75
- "example": "sk-...",
76
- "file": "packages/backend/supabase/.env",
77
- "required": true
78
- }
79
- ],
80
- "manualSteps": [
81
- {
82
- "title": "Apply Supabase migration",
83
- "description": "Run: cd packages/backend && supabase db push"
84
- },
85
- {
86
- "title": "Deploy Edge Function",
87
- "description": "Run: cd packages/backend && supabase functions deploy analyze-image"
88
- }
89
- ]
29
+ "target": "native"
90
30
  }
Binary file
@@ -0,0 +1,2 @@
1
+ // vibefast license: c1e9fcd2-muhammad
2
+ export { ImageCaptureScreen as default } from "@/features/image-analyzer/app/image-capture-screen";
@@ -0,0 +1,3 @@
1
+ import ImageGalleryScreen from '@/features/image-generator/app/gallery';
2
+
3
+ export default ImageGalleryScreen;
@@ -0,0 +1,3 @@
1
+ import ImageGeneratorScreen from '@/features/image-generator/app';
2
+
3
+ export default ImageGeneratorScreen;
@@ -3,38 +3,28 @@
3
3
  "version": "1.0.0",
4
4
  "description": "AI-powered image generation",
5
5
  "copy": [
6
+ {
7
+ "from": "apps/native/src/app/image-generator",
8
+ "to": "apps/native/src/app/(root)/(protected)/image-generator"
9
+ },
6
10
  {
7
11
  "from": "apps/native/src/features/image-generator",
8
12
  "to": "apps/native/src/features/image-generator"
9
13
  },
10
14
  {
11
- "from": "apps/native/src/api-client/image-generator.ts",
12
- "to": "apps/native/src/api-client/image-generator.ts"
15
+ "from": "packages/backend/convex/imageGeneration",
16
+ "to": "packages/backend/convex/imageGeneration"
13
17
  },
14
18
  {
15
19
  "from": "packages/backend/convex/imageGenerator.ts",
16
20
  "to": "packages/backend/convex/imageGenerator.ts"
17
- },
18
- {
19
- "from": "packages/backend/convex/imageGeneration",
20
- "to": "packages/backend/convex/imageGeneration"
21
21
  }
22
22
  ],
23
- "configuration": {
24
- "apiClient": {
25
- "exports": [
26
- "export { type ImageGeneratorApi, imageGeneratorApi } from './image-generator';"
27
- ]
28
- }
29
- },
30
23
  "nav": {
31
24
  "href": "/(root)/(protected)/image-generator",
32
25
  "label": "Image Generator",
33
26
  "icon": "🎨",
34
- "color": "#8B5CF6"
27
+ "color": "#A855F7"
35
28
  },
36
- "target": "native",
37
- "dependencies": {
38
- "expo": ["expo-file-system", "expo-media-library", "expo-sharing"]
39
- }
29
+ "target": "native"
40
30
  }
@@ -1,7 +1,7 @@
1
1
  {
2
- "name": "image-generator",
2
+ "name": "image-generator-supabase",
3
3
  "version": "1.0.0",
4
- "description": "AI-powered image generation with Supabase backend",
4
+ "description": "AI image generation with Supabase",
5
5
  "copy": [
6
6
  {
7
7
  "from": "apps/native/src/app/image-generator",
@@ -11,26 +11,6 @@
11
11
  "from": "apps/native/src/features/image-generator",
12
12
  "to": "apps/native/src/features/image-generator"
13
13
  },
14
- {
15
- "from": "apps/native/src/api-client/supabase/image-generator.ts",
16
- "to": "apps/native/src/api-client/supabase/image-generator.ts"
17
- },
18
- {
19
- "from": "apps/native/src/api-client/supabase/reporting.ts",
20
- "to": "apps/native/src/api-client/supabase/reporting.ts"
21
- },
22
- {
23
- "from": "apps/native/src/api-client/supabase/shared.ts",
24
- "to": "apps/native/src/api-client/supabase/shared.ts"
25
- },
26
- {
27
- "from": "apps/native/src/api-client/reporting.ts",
28
- "to": "apps/native/src/api-client/reporting.ts"
29
- },
30
- {
31
- "from": "apps/native/src/api-client/shared.ts",
32
- "to": "apps/native/src/api-client/shared.ts"
33
- },
34
14
  {
35
15
  "from": "packages/backend/supabase/functions/generate-image",
36
16
  "to": "packages/backend/supabase/functions/generate-image"
@@ -42,45 +22,9 @@
42
22
  ],
43
23
  "nav": {
44
24
  "href": "/(root)/(protected)/image-generator",
45
- "label": "Image Generator",
25
+ "label": "Image Generator (Supabase)",
46
26
  "icon": "🎨",
47
- "color": "#8B5CF6"
27
+ "color": "#A855F7"
48
28
  },
49
- "target": "native",
50
- "configuration": {
51
- "apiClient": {
52
- "exports": [
53
- "export { type SupabaseImageGeneratorApi as ImageGeneratorApi, supabaseImageGeneratorApi as imageGeneratorApi } from './supabase/image-generator';"
54
- ]
55
- }
56
- },
57
- "dependencies": {
58
- "expo": [
59
- "@supabase/supabase-js",
60
- "@tanstack/react-query",
61
- "expo-file-system",
62
- "expo-media-library",
63
- "expo-sharing"
64
- ]
65
- },
66
- "env": [
67
- {
68
- "key": "OPENAI_API_KEY",
69
- "description": "OpenAI API key for DALL-E image generation",
70
- "example": "sk-...",
71
- "link": "https://platform.openai.com/api-keys",
72
- "file": "packages/backend/supabase/.env",
73
- "required": true
74
- }
75
- ],
76
- "manualSteps": [
77
- {
78
- "title": "Apply Supabase migration",
79
- "description": "Run: cd packages/backend && supabase db push"
80
- },
81
- {
82
- "title": "Deploy Edge Function",
83
- "description": "Run: cd packages/backend && supabase functions deploy generate-image"
84
- }
85
- ]
86
- }
29
+ "target": "native"
30
+ }
Binary file
@@ -2,135 +2,34 @@
2
2
  "name": "ios-widget",
3
3
  "version": "1.0.0",
4
4
  "description": "iOS Home Screen widgets with Live Activities",
5
- "category": "feature",
6
- "icon": "📱",
7
- "complexity": "medium",
8
- "platforms": ["native"],
9
5
  "target": "native",
10
6
  "copy": [
11
7
  {
12
- "from": "targets/widget/AppIntent.swift",
13
- "to": "apps/native/targets/widget/AppIntent.swift"
8
+ "from": "apps/native/src/components/advanced-ui/ios-widget",
9
+ "to": "apps/native/src/components/advanced-ui/ios-widget"
14
10
  },
15
11
  {
16
- "from": "targets/widget/CalorieTrackerWidget.swift",
17
- "to": "apps/native/targets/widget/CalorieTrackerWidget.swift"
18
- },
19
- {
20
- "from": "targets/widget/expo-target.config.js",
21
- "to": "apps/native/targets/widget/expo-target.config.js"
22
- },
23
- {
24
- "from": "targets/widget/generated.entitlements",
25
- "to": "apps/native/targets/widget/generated.entitlements"
26
- },
27
- {
28
- "from": "targets/widget/HabitTrackerWidget.swift",
29
- "to": "apps/native/targets/widget/HabitTrackerWidget.swift"
30
- },
31
- {
32
- "from": "targets/widget/index.swift",
33
- "to": "apps/native/targets/widget/index.swift"
34
- },
35
- {
36
- "from": "targets/widget/Info.plist",
37
- "to": "apps/native/targets/widget/Info.plist"
38
- },
39
- {
40
- "from": "targets/widget/WidgetLiveActivity.swift",
41
- "to": "apps/native/targets/widget/WidgetLiveActivity.swift"
42
- },
43
- {
44
- "from": "targets/widget/widgets.swift",
45
- "to": "apps/native/targets/widget/widgets.swift"
46
- },
47
- {
48
- "from": "targets/widget/Assets.xcassets",
49
- "to": "apps/native/targets/widget/Assets.xcassets",
50
- "type": "directory"
51
- }
52
- ],
53
- "files": [
54
- {
55
- "source": "targets/widget/AppIntent.swift",
56
- "destination": "apps/native/targets/widget/AppIntent.swift"
57
- },
58
- {
59
- "source": "targets/widget/CalorieTrackerWidget.swift",
60
- "destination": "apps/native/targets/widget/CalorieTrackerWidget.swift"
61
- },
62
- {
63
- "source": "targets/widget/expo-target.config.js",
64
- "destination": "apps/native/targets/widget/expo-target.config.js"
65
- },
66
- {
67
- "source": "targets/widget/generated.entitlements",
68
- "destination": "apps/native/targets/widget/generated.entitlements"
69
- },
70
- {
71
- "source": "targets/widget/HabitTrackerWidget.swift",
72
- "destination": "apps/native/targets/widget/HabitTrackerWidget.swift"
73
- },
74
- {
75
- "source": "targets/widget/index.swift",
76
- "destination": "apps/native/targets/widget/index.swift"
77
- },
78
- {
79
- "source": "targets/widget/Info.plist",
80
- "destination": "apps/native/targets/widget/Info.plist"
81
- },
82
- {
83
- "source": "targets/widget/WidgetLiveActivity.swift",
84
- "destination": "apps/native/targets/widget/WidgetLiveActivity.swift"
85
- },
86
- {
87
- "source": "targets/widget/widgets.swift",
88
- "destination": "apps/native/targets/widget/widgets.swift"
89
- },
90
- {
91
- "source": "targets/widget/Assets.xcassets",
92
- "destination": "apps/native/targets/widget/Assets.xcassets",
93
- "type": "directory"
12
+ "from": "apps/native/targets/widget",
13
+ "to": "apps/native/targets/widget"
94
14
  }
95
15
  ],
96
16
  "dependencies": {
97
- "expo": ["@bacons/apple-targets"]
17
+ "expo": [
18
+ "@bacons/apple-targets",
19
+ "react-native-reanimated",
20
+ "react-native-gesture-handler"
21
+ ]
98
22
  },
99
- "plugins": [
23
+ "manualSteps": [
100
24
  {
101
- "name": "@bacons/apple-targets",
102
- "config": "{\n targets: [\n {\n name: 'VibeFastWidget',\n type: 'widget',\n bundleIdentifier: `${Env.BUNDLE_ID}.widget`,\n entitlements: {\n 'com.apple.security.application-groups': [\n `group.${Env.BUNDLE_ID}.shared`,\n ],\n },\n },\n ],\n }"
103
- }
104
- ],
105
- "iosConfig": {
106
- "appleTeamId": "Env.APPLE_TEAM_ID",
107
- "entitlements": "{\n 'com.apple.security.application-groups': [`group.${Env.BUNDLE_ID}.shared`],\n }"
108
- },
109
- "env": [
25
+ "title": "Add Apple Targets plugin for the widget target",
26
+ "description": "Register the @bacons/apple-targets plugin with a widget target and bundle identifier. Ensure the App Group matches your main app bundle ID.",
27
+ "file": "apps/native/app.config.ts"
28
+ },
110
29
  {
111
- "key": "APPLE_TEAM_ID",
112
- "description": "Apple Developer Team ID (used to sign widgets).",
113
- "example": "ABCDE12345",
114
- "link": "https://developer.apple.com/account/#/membership",
115
- "file": "apps/native/env.js"
116
- }
117
- ],
118
- "configuration": {
119
- "env": {
120
- "constants": ["const APPLE_TEAM_ID = 'replace_me';"],
121
- "buildTime": {
122
- "schema": [" APPLE_TEAM_ID: z.string(),"],
123
- "env": [" APPLE_TEAM_ID,"]
124
- }
30
+ "title": "Verify App Group entitlements",
31
+ "description": "Confirm the App Group in the widget target matches the main app's entitlements and the config in apps/native/targets/widget/expo-target.config.js.",
32
+ "file": "apps/native/app.config.ts"
125
33
  }
126
- },
127
- "manualSteps": [],
128
- "postInstall": {
129
- "instructions": [
130
- "Widget target files have been added",
131
- "Run 'npx expo prebuild --clean' to regenerate native projects",
132
- "Build and run on iOS to see the widgets",
133
- "Long-press on home screen > Add Widget > Select your app"
134
- ]
135
- }
34
+ ]
136
35
  }
Binary file