vibefast-cli 1.2.1 → 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.
- package/README.md +30 -95
- package/dist/__tests__/recipes.test.js +94 -91
- package/dist/__tests__/recipes.test.js.map +1 -1
- package/dist/commands/add.d.ts.map +1 -1
- package/dist/commands/add.js +301 -125
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/checklist.d.ts.map +1 -1
- package/dist/commands/checklist.js +85 -44
- package/dist/commands/checklist.js.map +1 -1
- package/dist/commands/health.d.ts.map +1 -1
- package/dist/commands/health.js +13 -4
- package/dist/commands/health.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +118 -26
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/migrate.d.ts +3 -0
- package/dist/commands/migrate.d.ts.map +1 -0
- package/dist/commands/migrate.js +202 -0
- package/dist/commands/migrate.js.map +1 -0
- package/dist/commands/remove.d.ts.map +1 -1
- package/dist/commands/remove.js +61 -3
- package/dist/commands/remove.js.map +1 -1
- package/dist/core/auth.d.ts.map +1 -1
- package/dist/core/auth.js +20 -18
- package/dist/core/auth.js.map +1 -1
- package/dist/core/codemod.d.ts +33 -0
- package/dist/core/codemod.d.ts.map +1 -1
- package/dist/core/codemod.js +116 -0
- package/dist/core/codemod.js.map +1 -1
- package/dist/core/detect.d.ts.map +1 -1
- package/dist/core/detect.js +24 -7
- package/dist/core/detect.js.map +1 -1
- package/dist/core/journal.d.ts +1 -0
- package/dist/core/journal.d.ts.map +1 -1
- package/dist/core/journal.js.map +1 -1
- package/dist/core/recipes.d.ts.map +1 -1
- package/dist/core/recipes.js +25 -7
- package/dist/core/recipes.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/docs/architecture.md +50 -0
- package/docs/commands.md +78 -0
- package/docs/contributing.md +27 -0
- package/docs/quickstart.md +50 -0
- package/docs/recipes.md +57 -0
- package/docs/troubleshooting.md +31 -0
- package/package.json +2 -2
- package/recipes/0/apps/native/src/components/advanced-ui/timeline/demo.tsx +445 -0
- package/recipes/0/apps/native/src/components/advanced-ui/timeline/timeline-view.tsx +355 -0
- package/recipes/0/apps/native/src/components/advanced-ui/timeline/types.ts +31 -0
- package/recipes/0/recipe.json +18 -0
- package/recipes/animated-chip/apps/native/src/components/advanced-ui/chip/demo.tsx +2 -1
- package/recipes/animated-chip/recipe.json +5 -2
- package/recipes/animated-chip-native@latest.zip +0 -0
- package/recipes/animated-chip@latest.zip +0 -0
- package/recipes/animated-switch/apps/native/src/components/advanced-ui/switch/demo.tsx +1 -1
- package/recipes/animated-switch/recipe.json +5 -2
- package/recipes/animated-switch-native@latest.zip +0 -0
- package/recipes/animated-switch@latest.zip +0 -0
- package/recipes/audio-recorder/apps/native/src/features/audio-recorder/components/audio-recorder.tsx +2 -1
- package/recipes/audio-recorder/apps/native/src/features/audio-recorder/demo/with-recording-list-demo.tsx +2 -2
- package/recipes/audio-recorder/recipe.json +7 -2
- package/recipes/audio-recorder-native@latest.zip +0 -0
- package/recipes/audio-recorder-supabase/apps/native/src/features/audio-recorder/components/audio-recorder.tsx +2 -1
- package/recipes/audio-recorder-supabase/apps/native/src/features/audio-recorder/demo/with-recording-list-demo.tsx +2 -1
- package/recipes/audio-recorder-supabase/recipe.json +12 -16
- package/recipes/audio-recorder-supabase-native@latest.zip +0 -0
- package/recipes/audio-recorder-supabase@latest.zip +0 -0
- package/recipes/audio-recorder@latest.zip +0 -0
- package/recipes/charts/apps/native/src/app/charts/index.tsx +3 -0
- package/recipes/charts/apps/native/src/features/charts/components/bar-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/candlestick-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/column-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/doughnut-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/line-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/radar-chart.tsx +3 -1
- package/recipes/charts/apps/native/src/features/charts/components/stacked-bar-chart.tsx +3 -1
- package/recipes/charts/recipe.json +13 -4
- package/recipes/charts-native@latest.zip +0 -0
- package/recipes/charts@latest.zip +0 -0
- package/recipes/chatbot/apps/native/src/features/chatbot/components/chat-markdown.tsx +86 -86
- package/recipes/chatbot/apps/native/src/features/chatbot/components/markdown/code-block.tsx +4 -4
- package/recipes/chatbot/recipe.json +3 -40
- package/recipes/chatbot-native@latest.zip +0 -0
- package/recipes/chatbot-supabase/apps/native/src/features/chatbot/components/chat-markdown.tsx +4 -1
- package/recipes/chatbot-supabase/apps/native/src/features/chatbot/components/markdown/code-block.tsx +86 -53
- package/recipes/chatbot-supabase/recipe.json +3 -42
- package/recipes/chatbot-supabase-native@latest.zip +0 -0
- package/recipes/chatbot-supabase@latest.zip +0 -0
- package/recipes/chatbot@latest.zip +0 -0
- package/recipes/glowing-button/recipe.json +6 -2
- package/recipes/glowing-button-native@latest.zip +0 -0
- package/recipes/glowing-button@latest.zip +0 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/_layout.tsx +5 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/analysis-options.tsx +50 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/camera.tsx +2 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/index.tsx +50 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/loading.tsx +50 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/results.tsx +2 -0
- package/recipes/image-analysis/apps/native/src/app/analysis/[type]/trait-details.tsx +3 -0
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/analysis-options-screen.tsx +2 -2
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/camera.tsx +72 -65
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/image-capture-screen.tsx +65 -47
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/loading-screen.tsx +43 -2
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/app/loading.tsx +34 -1
- package/recipes/image-analysis/apps/native/src/features/image-analyzer/hooks/use-image-analysis.ts +83 -2
- package/recipes/image-analysis/recipe.json +11 -19
- package/recipes/image-analysis-native@latest.zip +0 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/_layout.tsx +5 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/analysis-options.tsx +50 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/camera.tsx +2 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/index.tsx +50 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/loading.tsx +50 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/results.tsx +2 -0
- package/recipes/image-analysis-supabase/apps/native/src/app/analysis/[type]/trait-details.tsx +3 -0
- package/recipes/image-analysis-supabase/recipe.json +10 -37
- package/recipes/image-analysis-supabase-native@latest.zip +0 -0
- package/recipes/image-analysis-supabase@latest.zip +0 -0
- package/recipes/image-analysis@latest.zip +0 -0
- package/recipes/image-analyzer/apps/native/src/app/(root)/(protected)/image-analyzer/index.tsx +2 -0
- package/recipes/image-generator/apps/native/src/app/image-generator/gallery.tsx +3 -0
- package/recipes/image-generator/apps/native/src/app/image-generator/index.tsx +3 -0
- package/recipes/image-generator/recipe.json +8 -18
- package/recipes/image-generator-native@latest.zip +0 -0
- package/recipes/image-generator-supabase/recipe.json +6 -35
- package/recipes/image-generator-supabase-native@latest.zip +0 -0
- package/recipes/image-generator-supabase@latest.zip +0 -0
- package/recipes/image-generator@latest.zip +0 -0
- package/recipes/ios-widget/recipe.json +18 -119
- package/recipes/ios-widget-native@latest.zip +0 -0
- package/recipes/ios-widget@latest.zip +0 -0
- package/recipes/number-stepper/apps/native/src/components/advanced-ui/stepper/demo.tsx +1 -1
- package/recipes/number-stepper/recipe.json +5 -2
- package/recipes/number-stepper-native@latest.zip +0 -0
- package/recipes/number-stepper@latest.zip +0 -0
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/interactive-onboarding.tsx +11 -18
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/ai-tone-step.tsx +5 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/currency-step.tsx +9 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-ai-step.tsx +8 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-chatbot-step.tsx +6 -5
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-manual-step.tsx +4 -3
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/feature-scan-step.tsx +6 -5
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/main-reason-step.tsx +5 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/notification-step.tsx +7 -6
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/overspend-step.tsx +5 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/personalizing-step.tsx +8 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/rating-step.tsx +6 -5
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/reminder-step.tsx +5 -6
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/safety-step.tsx +5 -4
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/struggle-step.tsx +5 -7
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/steps/welcome-step.tsx +7 -6
- package/recipes/onboarding/apps/native/src/features/onboarding/expense-tracker/components/ui/onboarding-header.tsx +4 -3
- package/recipes/onboarding/recipe.json +9 -6
- package/recipes/onboarding-native@latest.zip +0 -0
- package/recipes/onboarding@latest.zip +0 -0
- package/recipes/payments/apps/native/src/app/paywall/index.tsx +74 -0
- package/recipes/payments/apps/native/src/app/paywall/local.tsx +25 -0
- package/recipes/payments/apps/native/src/app/paywall/remote.tsx +23 -0
- package/recipes/payments/packages/backend/convex/payments.ts +21 -3
- package/recipes/payments/recipe.json +14 -34
- package/recipes/payments-native@latest.zip +0 -0
- package/recipes/payments-supabase/apps/native/src/app/paywall/index.tsx +74 -0
- package/recipes/payments-supabase/apps/native/src/app/paywall/local.tsx +25 -0
- package/recipes/payments-supabase/apps/native/src/app/paywall/remote.tsx +23 -0
- package/recipes/payments-supabase/recipe.json +16 -23
- package/recipes/payments-supabase-native@latest.zip +0 -0
- package/recipes/payments-supabase@latest.zip +0 -0
- package/recipes/payments@latest.zip +0 -0
- package/recipes/posthog/apps/native/src/components/analytics/navigation-tracker.tsx +14 -0
- package/recipes/posthog/apps/native/src/lib/hooks/use-navigation-analytics.ts +44 -0
- package/recipes/posthog/apps/native/src/providers/posthog-provider.tsx +51 -0
- package/recipes/posthog/recipe.json +60 -0
- package/recipes/posthog-native@latest.zip +0 -0
- package/recipes/progress-circle/apps/native/src/components/advanced-ui/progress-bars/progress-circle-page.tsx +1 -1
- package/recipes/progress-circle/recipe.json +5 -2
- package/recipes/progress-circle-native@latest.zip +0 -0
- package/recipes/progress-circle@latest.zip +0 -0
- package/recipes/quiz/apps/native/src/app/quiz/index.tsx +47 -0
- package/recipes/quiz/recipe.json +9 -6
- package/recipes/quiz-native@latest.zip +0 -0
- package/recipes/quiz@latest.zip +0 -0
- package/recipes/screen-kits/apps/native/src/app/screen-kits/_layout.tsx +12 -0
- package/recipes/screen-kits/apps/native/src/app/screen-kits/index.tsx +114 -0
- package/recipes/screen-kits/apps/native/src/features/screen-kits/index.ts +1 -0
- package/recipes/screen-kits/apps/native/src/features/screen-kits/types.ts +28 -0
- package/recipes/screen-kits/recipe.json +26 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/_layout.tsx +12 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/home.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/index.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/lesson-complete.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/lesson-fail.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/lesson.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/app/screen-kits/duolingo/skill-tree.tsx +5 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/components/duo-button.tsx +174 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/components/skill-button.tsx +186 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/components/xp-header.tsx +115 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/constants.ts +89 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/index.ts +3 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/home-screen.tsx +225 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/lesson-complete-screen.tsx +485 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/lesson-fail-screen.tsx +105 -0
- package/recipes/screen-kits-duolingo/apps/native/src/features/screen-kits/duolingo/screens/lesson-screen.tsx +384 -0
- package/recipes/screen-kits-duolingo/recipe.json +58 -0
- package/recipes/screen-kits-duolingo-native@latest.zip +0 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/_layout.tsx +45 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/asset-detail.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/notifications.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/receive.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/send.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/swap.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/app/screen-kits/finance/wallet.tsx +3 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/components/ActionButtons.tsx +78 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/components/AssetRow.tsx +94 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/components/BalanceCard.tsx +118 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/constants.ts +85 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/asset-detail.tsx +378 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/notifications.tsx +210 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/receive-modal.tsx +317 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/send-modal.tsx +420 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/swap-modal.tsx +363 -0
- package/recipes/screen-kits-finance/apps/native/src/features/screen-kits/finance/screens/wallet-dashboard.tsx +281 -0
- package/recipes/screen-kits-finance/recipe.json +46 -0
- package/recipes/screen-kits-finance-native@latest.zip +0 -0
- package/recipes/screen-kits-fitness/apps/native/assets/sounds/timer-beep.wav +0 -0
- package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/_layout.tsx +10 -0
- package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/index.tsx +6 -0
- package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/timer.tsx +3 -0
- package/recipes/screen-kits-fitness/apps/native/src/app/screen-kits/fitness/workout.tsx +3 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/components/timer-components.tsx +500 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/components/timer-settings-modal.tsx +352 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/components/workout-card.tsx +105 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/constants.ts +189 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/hooks/use-timer.ts +307 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/index.ts +1 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/screens/timer-screen.tsx +278 -0
- package/recipes/screen-kits-fitness/apps/native/src/features/screen-kits/fitness/screens/workout-dashboard.tsx +350 -0
- package/recipes/screen-kits-fitness/recipe.json +63 -0
- package/recipes/screen-kits-fitness-native@latest.zip +0 -0
- package/recipes/screen-kits-habits/apps/native/src/app/screen-kits/productivity/habits.tsx +1 -0
- package/recipes/screen-kits-habits/apps/native/src/app/screen-kits/productivity/kanban.tsx +1 -0
- package/recipes/screen-kits-habits/apps/native/src/app/screen-kits/productivity/routes.ts +4 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/AddTaskModal.tsx +246 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/DraggableTaskCard.tsx +92 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/KanbanColumn.tsx +238 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/TaskCard.tsx +144 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/components/add-habit-modal.tsx +271 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/constants.ts +295 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/kanban-utils.ts +62 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/screens/habit-tracker.tsx +1160 -0
- package/recipes/screen-kits-habits/apps/native/src/features/screen-kits/productivity/screens/kanban-board.tsx +432 -0
- package/recipes/screen-kits-habits/recipe.json +52 -0
- package/recipes/screen-kits-habits-native@latest.zip +0 -0
- package/recipes/screen-kits-native@latest.zip +0 -0
- package/recipes/sentry/apps/native/src/providers/sentry-provider.tsx +64 -0
- package/recipes/sentry/recipe.json +39 -0
- package/recipes/sentry-native@latest.zip +0 -0
- package/recipes/swipe-slider/apps/native/src/components/advanced-ui/sliders/swipe-slider-page.tsx +1 -1
- package/recipes/swipe-slider/recipe.json +5 -2
- package/recipes/swipe-slider-native@latest.zip +0 -0
- package/recipes/swipe-slider@latest.zip +0 -0
- package/recipes/timeline/apps/native/src/components/advanced-ui/timeline/demo.tsx +2 -1
- package/recipes/timeline/recipe.json +5 -2
- package/recipes/timeline-native@latest.zip +0 -0
- package/recipes/timeline@latest.zip +0 -0
- package/recipes/tracker-app/apps/native/src/app/tracker-app/index.tsx +1 -0
- package/recipes/tracker-app/recipe.json +10 -7
- package/recipes/tracker-app-native@latest.zip +0 -0
- package/recipes/tracker-app@latest.zip +0 -0
- package/recipes/upload-all.sh +8 -31
- package/recipes/voice-bot/apps/native/src/app/voice-bot/index.tsx +56 -0
- package/recipes/voice-bot/recipe.json +31 -7
- package/recipes/voice-bot-native@latest.zip +0 -0
- package/recipes/voice-bot@latest.zip +0 -0
- package/recipes/wake-word/apps/native/src/app/{(root)/(protected)/test-wake-word.tsx → test-wake-word.tsx} +43 -4
- package/recipes/wake-word/recipe.json +16 -26
- package/recipes/wake-word-native@latest.zip +0 -0
- package/recipes/wake-word@latest.zip +0 -0
- package/scripts/create-advanced-ui-recipes.sh +46 -19
- package/scripts/create-recipes.mjs +471 -117
- package/scripts/package-recipes.mjs +76 -0
- package/scripts/publish-all.sh +6 -2
- package/CHANGELOG.md +0 -198
- package/docs/archive/AUTO-DETECT-DEPS.md +0 -607
- package/docs/archive/FINAL-PACKAGE-STRATEGY.md +0 -583
- package/docs/archive/FINAL-SIMPLE-PLAN.md +0 -487
- package/docs/archive/FINAL-STATUS.md +0 -144
- package/docs/archive/FLOW-DIAGRAM.md +0 -1629
- package/docs/archive/GOTCHAS-AND-RISKS.md +0 -801
- package/docs/archive/IMPLEMENTATION-PLAN.md +0 -1360
- package/docs/archive/PLAN.md +0 -453
- package/docs/archive/PRODUCTION-READINESS.md +0 -684
- package/docs/archive/PRODUCTION-TEST-RESULTS.md +0 -465
- package/docs/archive/SIMPLIFIED-PLAN.md +0 -578
- package/docs/archive/STATUS.md +0 -199
- package/docs/archive/SUCCESS.md +0 -259
- package/docs/archive/TEST-SUMMARY.md +0 -261
- package/docs/archive/TESTING-CHECKLIST.md +0 -450
- package/docs/archive/USER-MODIFICATIONS.md +0 -448
- package/docs/decisions.md +0 -55
- package/docs/manual-testing.md +0 -91
- package/docs/next-steps.md +0 -12
- package/recipes/README.md +0 -156
- package/recipes/audio-recorder-supabase/packages/backend/src/services/recordings.ts +0 -369
- package/recipes/chatbot/apps/native/src/api-client/chatbot.ts +0 -83
- package/recipes/chatbot/packages/backend/convex/agents.ts +0 -115
- package/recipes/chatbot/packages/backend/convex/tools/index.ts +0 -18
- package/recipes/chatbot/packages/backend/convex/tools/knowledgeRetrieval.ts +0 -97
- package/recipes/chatbot/packages/backend/convex/tools/tavilySearch.ts +0 -83
- package/recipes/chatbot/packages/backend/convex/tools/userProfile.ts +0 -72
- package/recipes/chatbot-supabase/apps/native/src/api-client/supabase/chatbot.ts +0 -515
- package/recipes/chatbot-supabase/packages/backend/src/services/conversations.ts +0 -243
- package/recipes/chatbot-supabase/packages/backend/src/services/messages.ts +0 -327
- package/recipes/image-analysis/apps/native/src/api-client/image-analyzer.ts +0 -62
- package/recipes/image-analysis-supabase/packages/backend/src/services/image-analyses.ts +0 -132
- package/recipes/image-generator/apps/native/src/api-client/image-generator.ts +0 -34
- package/recipes/payments/apps/native/src/api-client/payments.ts +0 -44
- package/recipes/payments-supabase/packages/backend/src/services/payments.ts +0 -201
- package/recipes/posthog.json +0 -47
- package/recipes/revenuecat.json +0 -43
- package/recipes/sentry.json +0 -47
- package/recipes/wake-word/apps/native/assets/vosk-model/README.md +0 -103
- package/recipes/wake-word/apps/native/scripts/download-vosk-model.mjs +0 -127
- /package/recipes/{audio-recorder/apps/native/src/app/(root)/(protected) → audio-recorder-supabase/apps/native/src/app}/audio-recorder/index.tsx +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/AppIntent.swift +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-20x20@1x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-20x20@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-20x20@3x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-29x29@1x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-29x29@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-29x29@3x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-40x40@1x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-40x40@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-40x40@3x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-60x60@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-60x60@3x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-76x76@1x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-76x76@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/App-Icon-83.5x83.5@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/CalorieTrackerWidget.swift +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/HabitTrackerWidget.swift +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/Info.plist +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/WidgetLiveActivity.swift +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/expo-target.config.js +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/generated.entitlements +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/index.swift +0 -0
- /package/recipes/ios-widget/{targets → apps/native/targets}/widget/widgets.swift +0 -0
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tracker-app",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Track habits and activities",
|
|
5
5
|
"copy": [
|
|
6
|
+
{
|
|
7
|
+
"from": "apps/native/src/app/tracker-app",
|
|
8
|
+
"to": "apps/native/src/app/(root)/(protected)/tracker-app"
|
|
9
|
+
},
|
|
6
10
|
{
|
|
7
11
|
"from": "apps/native/src/features/tracker-app",
|
|
8
12
|
"to": "apps/native/src/features/tracker-app"
|
|
9
13
|
}
|
|
10
14
|
],
|
|
11
15
|
"nav": {
|
|
12
|
-
"href": "/(root)/(protected)/tracker",
|
|
16
|
+
"href": "/(root)/(protected)/tracker-app",
|
|
13
17
|
"label": "Tracker",
|
|
14
|
-
"icon": "
|
|
15
|
-
"color": "#
|
|
18
|
+
"icon": "🍎",
|
|
19
|
+
"color": "#06B6D4"
|
|
16
20
|
},
|
|
17
|
-
"target": "native"
|
|
18
|
-
|
|
19
|
-
}
|
|
21
|
+
"target": "native"
|
|
22
|
+
}
|
|
Binary file
|
|
Binary file
|
package/recipes/upload-all.sh
CHANGED
|
@@ -11,43 +11,20 @@ mkdir -p "$CACHE_DIR"
|
|
|
11
11
|
|
|
12
12
|
cd "$ROOT"
|
|
13
13
|
|
|
14
|
-
echo "
|
|
14
|
+
echo "📦 Packaging recipes (cache: $CACHE_DIR)..."
|
|
15
|
+
node ../scripts/package-recipes.mjs
|
|
15
16
|
echo ""
|
|
16
17
|
|
|
17
|
-
recipes
|
|
18
|
-
|
|
19
|
-
"animated-switch"
|
|
20
|
-
"audio-recorder"
|
|
21
|
-
"charts"
|
|
22
|
-
"chatbot"
|
|
23
|
-
"glowing-button"
|
|
24
|
-
"image-analysis"
|
|
25
|
-
"image-generator"
|
|
26
|
-
"ios-widget"
|
|
27
|
-
"number-stepper"
|
|
28
|
-
"payments"
|
|
29
|
-
"progress-circle"
|
|
30
|
-
"quiz"
|
|
31
|
-
"swipe-slider"
|
|
32
|
-
"timeline"
|
|
33
|
-
"tracker-app"
|
|
34
|
-
"voice-bot"
|
|
35
|
-
"wake-word"
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
for recipe in "${recipes[@]}"; do
|
|
39
|
-
zip="${recipe}@latest.zip"
|
|
40
|
-
if [[ ! -f "$zip" ]]; then
|
|
41
|
-
echo "⚠️ Skipping ${zip} (file not found)"
|
|
42
|
-
echo ""
|
|
43
|
-
continue
|
|
44
|
-
fi
|
|
18
|
+
echo "📤 Uploading all recipes to R2..."
|
|
19
|
+
echo ""
|
|
45
20
|
|
|
21
|
+
shopt -s nullglob
|
|
22
|
+
for zip in *-native@latest.zip *-web@latest.zip; do
|
|
46
23
|
echo "Uploading ${zip}..."
|
|
47
24
|
if "${WRANGLER_CMD[@]}" r2 object put "vibefast-recipes/${zip}" --file="${zip}" --remote; then
|
|
48
|
-
echo "✓ ${
|
|
25
|
+
echo "✓ ${zip} uploaded"
|
|
49
26
|
else
|
|
50
|
-
echo "✗ ${
|
|
27
|
+
echo "✗ ${zip} failed"
|
|
51
28
|
fi
|
|
52
29
|
echo ""
|
|
53
30
|
done
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Env } from '@env';
|
|
2
|
+
import { Stack } from 'expo-router';
|
|
3
|
+
import React, { useMemo } from 'react';
|
|
4
|
+
|
|
5
|
+
import { SafeAreaView, Text, View } from '@/components/ui';
|
|
6
|
+
import { isExpoGo } from '@/core/expo-go';
|
|
7
|
+
|
|
8
|
+
type VoiceBotModule = typeof import('@/features/voice-bot/components/voice-bot-screen');
|
|
9
|
+
|
|
10
|
+
const voiceBotModule = !isExpoGo
|
|
11
|
+
? (() => {
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
13
|
+
return require('@/features/voice-bot/components/voice-bot-screen') as VoiceBotModule;
|
|
14
|
+
})()
|
|
15
|
+
: null;
|
|
16
|
+
|
|
17
|
+
export default function VoiceBotRoute() {
|
|
18
|
+
const agentId = Env.ELEVENLABS_AGENT_ID;
|
|
19
|
+
const screenOptions = useMemo(
|
|
20
|
+
() => ({
|
|
21
|
+
title: 'Voice Assistant',
|
|
22
|
+
headerShown: true,
|
|
23
|
+
}),
|
|
24
|
+
[],
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
if (isExpoGo) {
|
|
28
|
+
return (
|
|
29
|
+
<SafeAreaView className="flex-1 bg-background">
|
|
30
|
+
<Stack.Screen options={screenOptions} />
|
|
31
|
+
<View className="flex-1 items-center justify-center px-6">
|
|
32
|
+
<Text className="mb-3 text-center text-2xl font-semibold text-foreground">
|
|
33
|
+
Voice bot needs a dev build
|
|
34
|
+
</Text>
|
|
35
|
+
<Text className="text-center text-base text-muted-foreground">
|
|
36
|
+
This feature depends on native modules that are unavailable in Expo
|
|
37
|
+
Go. Use a development build to enable voice conversations.
|
|
38
|
+
</Text>
|
|
39
|
+
</View>
|
|
40
|
+
</SafeAreaView>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const { VoiceBotScreen } = voiceBotModule as VoiceBotModule;
|
|
45
|
+
|
|
46
|
+
return (
|
|
47
|
+
<>
|
|
48
|
+
<Stack.Screen options={screenOptions} />
|
|
49
|
+
<VoiceBotScreen
|
|
50
|
+
config={{ agentId }}
|
|
51
|
+
title="Voice Assistant"
|
|
52
|
+
subtitle="Start a conversation with your AI assistant"
|
|
53
|
+
/>
|
|
54
|
+
</>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "voice-bot",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Real-time voice conversations with AI",
|
|
5
5
|
"copy": [
|
|
6
|
+
{
|
|
7
|
+
"from": "apps/native/src/app/voice-bot",
|
|
8
|
+
"to": "apps/native/src/app/(root)/(protected)/voice-bot"
|
|
9
|
+
},
|
|
6
10
|
{
|
|
7
11
|
"from": "apps/native/src/features/voice-bot",
|
|
8
12
|
"to": "apps/native/src/features/voice-bot"
|
|
@@ -10,16 +14,36 @@
|
|
|
10
14
|
],
|
|
11
15
|
"nav": {
|
|
12
16
|
"href": "/(root)/(protected)/voice-bot",
|
|
13
|
-
"label": "Voice
|
|
17
|
+
"label": "Voice Assistant",
|
|
14
18
|
"icon": "🗣️",
|
|
15
|
-
"color": "#
|
|
19
|
+
"color": "#14B8A6"
|
|
16
20
|
},
|
|
17
21
|
"target": "native",
|
|
18
|
-
"dependencies": {
|
|
19
|
-
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"expo": [
|
|
24
|
+
"@config-plugins/react-native-webrtc",
|
|
25
|
+
"@elevenlabs/react-native",
|
|
26
|
+
"@livekit/react-native",
|
|
27
|
+
"@livekit/react-native-expo-plugin",
|
|
28
|
+
"@livekit/react-native-webrtc",
|
|
29
|
+
"livekit-client"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"manualSteps": [
|
|
33
|
+
{
|
|
34
|
+
"title": "Add LiveKit/WebRTC config plugins",
|
|
35
|
+
"description": "Register @livekit/react-native-expo-plugin and @config-plugins/react-native-webrtc in app config so native WebRTC is configured.",
|
|
36
|
+
"file": "apps/native/app.config.ts"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"title": "Set ElevenLabs Agent ID",
|
|
40
|
+
"description": "Add ELEVENLABS_AGENT_ID to your .env files so the voice bot can connect.",
|
|
41
|
+
"file": "apps/native/.env.local"
|
|
42
|
+
},
|
|
20
43
|
{
|
|
21
|
-
"
|
|
22
|
-
"
|
|
44
|
+
"title": "Use a development build",
|
|
45
|
+
"description": "This feature relies on native modules and will not work in Expo Go. Build a dev client before running.",
|
|
46
|
+
"file": "apps/native"
|
|
23
47
|
}
|
|
24
48
|
]
|
|
25
49
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
|
-
import { Alert
|
|
3
|
-
|
|
4
|
-
import {
|
|
2
|
+
import { Alert } from 'react-native';
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
Button,
|
|
6
|
+
SafeAreaView,
|
|
7
|
+
ScrollView,
|
|
8
|
+
Text,
|
|
9
|
+
View,
|
|
10
|
+
} from '@/components/ui';
|
|
11
|
+
import { isExpoGo } from '@/core/expo-go';
|
|
12
|
+
|
|
13
|
+
type WakeWordModule = typeof import('@/features/wake-word');
|
|
14
|
+
|
|
15
|
+
const wakeWordModule = !isExpoGo
|
|
16
|
+
? (() => {
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
18
|
+
return require('@/features/wake-word') as WakeWordModule;
|
|
19
|
+
})()
|
|
20
|
+
: null;
|
|
21
|
+
|
|
22
|
+
function ExpoGoUnsupportedScreen() {
|
|
23
|
+
return (
|
|
24
|
+
<SafeAreaView className="flex-1 items-center justify-center bg-background px-6">
|
|
25
|
+
<Text className="mb-3 text-center text-2xl font-semibold text-foreground">
|
|
26
|
+
Wake word needs a dev build
|
|
27
|
+
</Text>
|
|
28
|
+
<Text className="text-center text-base text-muted-foreground">
|
|
29
|
+
Vosk is a native module and is not available in Expo Go. Use a dev build
|
|
30
|
+
to test wake word detection.
|
|
31
|
+
</Text>
|
|
32
|
+
</SafeAreaView>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
5
35
|
|
|
6
|
-
|
|
36
|
+
function NativeWakeWordScreen() {
|
|
37
|
+
const { useWakeWord, WakeWordIndicator } = wakeWordModule as WakeWordModule;
|
|
7
38
|
const wakeWord = useWakeWord({
|
|
8
39
|
config: {
|
|
9
40
|
cooldownMs: 1500,
|
|
@@ -212,3 +243,11 @@ export default function TestWakeWord() {
|
|
|
212
243
|
</ScrollView>
|
|
213
244
|
);
|
|
214
245
|
}
|
|
246
|
+
|
|
247
|
+
export default function TestWakeWord() {
|
|
248
|
+
if (isExpoGo) {
|
|
249
|
+
return <ExpoGoUnsupportedScreen />;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
return <NativeWakeWordScreen />;
|
|
253
|
+
}
|
|
@@ -1,51 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wake-word",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Wake word detection",
|
|
5
5
|
"copy": [
|
|
6
6
|
{
|
|
7
|
-
"from": "apps/native/src/app/
|
|
7
|
+
"from": "apps/native/src/app/test-wake-word.tsx",
|
|
8
8
|
"to": "apps/native/src/app/(root)/(protected)/test-wake-word.tsx"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"from": "apps/native/src/features/wake-word",
|
|
12
12
|
"to": "apps/native/src/features/wake-word"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"from": "apps/native/assets/vosk-model/README.md",
|
|
16
|
-
"to": "apps/native/assets/vosk-model/README.md"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"from": "apps/native/scripts/download-vosk-model.mjs",
|
|
20
|
-
"to": "apps/native/scripts/download-vosk-model.mjs"
|
|
21
13
|
}
|
|
22
14
|
],
|
|
23
15
|
"nav": {
|
|
24
16
|
"href": "/(root)/(protected)/test-wake-word",
|
|
25
|
-
"label": "Wake Word
|
|
26
|
-
"icon": "
|
|
17
|
+
"label": "Wake Word",
|
|
18
|
+
"icon": "🎤",
|
|
27
19
|
"color": "#0EA5E9"
|
|
28
20
|
},
|
|
29
21
|
"target": "native",
|
|
30
22
|
"dependencies": {
|
|
31
|
-
"expo": [
|
|
23
|
+
"expo": [
|
|
24
|
+
"events",
|
|
25
|
+
"expo-audio",
|
|
26
|
+
"react-native-vosk"
|
|
27
|
+
]
|
|
32
28
|
},
|
|
33
|
-
"
|
|
29
|
+
"manualSteps": [
|
|
34
30
|
{
|
|
35
|
-
"
|
|
36
|
-
"
|
|
31
|
+
"title": "Add Vosk plugin configuration",
|
|
32
|
+
"description": "Register the react-native-vosk config plugin with the bundled model path and microphone permission text.",
|
|
33
|
+
"file": "apps/native/app.config.ts"
|
|
37
34
|
},
|
|
38
35
|
{
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
],
|
|
43
|
-
"manualSteps": [
|
|
44
|
-
{
|
|
45
|
-
"title": "Add model to .gitignore",
|
|
46
|
-
"description": "The Vosk model is large (~40MB) and should not be committed to Git. Add 'assets/vosk-model/model-en-us' to your .gitignore file so it stays local only.",
|
|
47
|
-
"file": ".gitignore",
|
|
48
|
-
"content": "assets/vosk-model/model-en-us"
|
|
36
|
+
"title": "Verify bundled Vosk model path",
|
|
37
|
+
"description": "Download the Vosk model and place it at apps/native/assets/vosk-model/model-en-us (must match the path in app config).",
|
|
38
|
+
"file": "apps/native/app.config.ts"
|
|
49
39
|
}
|
|
50
40
|
]
|
|
51
41
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -3,29 +3,53 @@
|
|
|
3
3
|
# Create advanced UI recipes from monorepo components
|
|
4
4
|
|
|
5
5
|
RECIPES_DIR="recipes"
|
|
6
|
-
MONOREPO="../vibefast-
|
|
6
|
+
MONOREPO="../vibefast-pro"
|
|
7
7
|
|
|
8
|
-
# Define advanced UI components
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
# Define advanced UI components "name:folder"
|
|
9
|
+
COMPONENTS=(
|
|
10
|
+
"glowing-button:buttons"
|
|
11
|
+
"animated-chip:chip"
|
|
12
|
+
"number-stepper:stepper"
|
|
13
|
+
"animated-switch:switch"
|
|
14
|
+
"progress-circle:progress-bars"
|
|
15
|
+
"swipe-slider:sliders"
|
|
16
|
+
"timeline:timeline"
|
|
17
|
+
"ios-widget:ios-widget"
|
|
17
18
|
)
|
|
18
19
|
|
|
19
|
-
for
|
|
20
|
-
|
|
20
|
+
for entry in "${COMPONENTS[@]}"; do
|
|
21
|
+
component="${entry%%:*}"
|
|
22
|
+
folder="${entry##*:}"
|
|
21
23
|
echo "Creating recipe for $component from $folder..."
|
|
24
|
+
|
|
25
|
+
deps='["react-native-reanimated","react-native-gesture-handler"]'
|
|
26
|
+
if [[ "$component" == "glowing-button" ]]; then
|
|
27
|
+
deps='["react-native-animated-glow","react-native-reanimated","react-native-gesture-handler"]'
|
|
28
|
+
fi
|
|
22
29
|
|
|
23
30
|
# Create recipe directory structure
|
|
24
|
-
|
|
31
|
+
# Note: ios-widget follows a slightly different path structure usually (not in advanced-ui)
|
|
32
|
+
# But assuming the original script intended advanced-ui mapping.
|
|
33
|
+
# Checking original listing: ios-widget was separate.
|
|
34
|
+
# Wait, the original script did NOT have ios-widget in COMPONENTS list.
|
|
35
|
+
# It had: glowing-button, animated-chip, number-stepper, animated-switch, progress-circle, swipe-slider, timeline.
|
|
36
|
+
# I added ios-widget just now because I saw it in listing.
|
|
37
|
+
# Let's check where ios-widget is in monorepo.
|
|
38
|
+
# apps/native/src/features/ios-widget? or components?
|
|
39
|
+
# If it's a feature, it's handled by generic logic maybe?
|
|
40
|
+
# But create-recipes.mjs didn't have ios-widget.
|
|
41
|
+
|
|
42
|
+
# I will handle ONLY the original list from the bash script + ios-widget if I can find it.
|
|
43
|
+
# For now, let's stick to the original list to be safe, and remove ios-widget if unsure of path.
|
|
44
|
+
# Actually, `vibefast-pro/apps/native/src/features` does NOT have ios-widget.
|
|
45
|
+
# `vibefast-pro/apps/native/src/components/advanced-ui`?
|
|
46
|
+
|
|
47
|
+
target_dir="$RECIPES_DIR/$component/apps/native/src/components/advanced-ui/$folder"
|
|
48
|
+
mkdir -p "$target_dir"
|
|
25
49
|
|
|
26
50
|
# Copy component files
|
|
27
51
|
cp -r "$MONOREPO/apps/native/src/components/advanced-ui/$folder"/* \
|
|
28
|
-
"$
|
|
52
|
+
"$target_dir/" 2>/dev/null || true
|
|
29
53
|
|
|
30
54
|
# Create recipe.json
|
|
31
55
|
cat > "$RECIPES_DIR/$component/recipe.json" <<EOF
|
|
@@ -41,17 +65,20 @@ for component in "${!COMPONENTS[@]}"; do
|
|
|
41
65
|
}
|
|
42
66
|
],
|
|
43
67
|
"dependencies": {
|
|
44
|
-
"expo":
|
|
45
|
-
"react-native-reanimated",
|
|
46
|
-
"react-native-gesture-handler"
|
|
47
|
-
]
|
|
68
|
+
"expo": $deps
|
|
48
69
|
}
|
|
49
70
|
}
|
|
50
71
|
EOF
|
|
72
|
+
|
|
73
|
+
# Create Zip
|
|
74
|
+
# Original script didn't zip it? It said "Now run upload-all.sh".
|
|
75
|
+
# But upload-all.sh expects zips.
|
|
76
|
+
# So I MUST zip it here.
|
|
77
|
+
|
|
78
|
+
(cd "$RECIPES_DIR/$component" && zip -r "../$component-native@latest.zip" .)
|
|
51
79
|
|
|
52
80
|
echo "✓ Created $component recipe"
|
|
53
81
|
done
|
|
54
82
|
|
|
55
83
|
echo ""
|
|
56
84
|
echo "All advanced UI recipes created!"
|
|
57
|
-
echo "Now run: ./recipes/upload-all.sh"
|