@pylonsync/create-pylon 0.22.75 → 0.22.76
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-pylon.js +24 -74
- package/package.json +1 -1
- package/skill/SKILL.md +7 -11
- package/templates/_root/README.md +2 -8
- package/templates/agency/AGENTS.md +17 -0
- package/templates/agency/app/globals.css +5 -1
- package/templates/agency/app/internal/components/page.tsx +248 -0
- package/templates/agency/app/internal/design/page.tsx +169 -0
- package/templates/agency/app/internal/layout.tsx +89 -0
- package/templates/agency/app/internal/sections.ts +26 -0
- package/templates/agency/app/internal/showcase.tsx +43 -0
- package/templates/agency/app/robots.ts +1 -1
- package/templates/agency/components/ui/button.tsx +22 -20
- package/templates/agency/components/ui/dialog.tsx +77 -64
- package/templates/agency/components/ui/input.tsx +5 -5
- package/templates/agency/components/ui/label.tsx +5 -3
- package/templates/agency/components/ui/select.tsx +81 -19
- package/templates/agency/components/ui/textarea.tsx +5 -3
- package/templates/agency/lib/utils.ts +4 -4
- package/templates/agency/package.json +3 -3
- package/templates/ai-chat/AGENTS.md +17 -0
- package/templates/ai-chat/app/globals.css +5 -1
- package/templates/ai-chat/app/internal/components/page.tsx +248 -0
- package/templates/ai-chat/app/internal/design/page.tsx +173 -0
- package/templates/ai-chat/app/internal/layout.tsx +89 -0
- package/templates/ai-chat/app/internal/sections.ts +26 -0
- package/templates/ai-chat/app/internal/showcase.tsx +43 -0
- package/templates/ai-chat/app/robots.ts +1 -1
- package/templates/ai-chat/components/ui/button.tsx +22 -20
- package/templates/ai-chat/components/ui/dialog.tsx +77 -64
- package/templates/ai-chat/components/ui/input.tsx +5 -5
- package/templates/ai-chat/components/ui/label.tsx +5 -3
- package/templates/ai-chat/components/ui/select.tsx +81 -19
- package/templates/ai-chat/components/ui/textarea.tsx +5 -3
- package/templates/ai-chat/lib/utils.ts +4 -4
- package/templates/ai-chat/package.json +4 -4
- package/templates/ai-studio/AGENTS.md +17 -0
- package/templates/ai-studio/app/globals.css +5 -1
- package/templates/ai-studio/app/internal/components/page.tsx +248 -0
- package/templates/ai-studio/app/internal/design/page.tsx +168 -0
- package/templates/ai-studio/app/internal/layout.tsx +89 -0
- package/templates/ai-studio/app/internal/sections.ts +26 -0
- package/templates/ai-studio/app/internal/showcase.tsx +43 -0
- package/templates/ai-studio/app/robots.ts +1 -1
- package/templates/ai-studio/components/ui/button.tsx +22 -20
- package/templates/ai-studio/components/ui/dialog.tsx +77 -64
- package/templates/ai-studio/components/ui/input.tsx +5 -5
- package/templates/ai-studio/components/ui/label.tsx +5 -3
- package/templates/ai-studio/components/ui/select.tsx +81 -19
- package/templates/ai-studio/components/ui/textarea.tsx +5 -3
- package/templates/ai-studio/lib/utils.ts +4 -4
- package/templates/ai-studio/package.json +4 -4
- package/templates/barebones/AGENTS.md +17 -0
- package/templates/barebones/README.md +6 -3
- package/templates/barebones/app/(app)/layout.tsx +16 -0
- package/templates/barebones/app/{page.tsx → (app)/page.tsx} +2 -2
- package/templates/barebones/app/error.tsx +1 -1
- package/templates/barebones/app/globals.css +9 -7
- package/templates/barebones/app/internal/components/page.tsx +248 -0
- package/templates/barebones/app/internal/design/page.tsx +165 -0
- package/templates/barebones/app/internal/layout.tsx +89 -0
- package/templates/barebones/app/internal/sections.ts +26 -0
- package/templates/barebones/app/internal/showcase.tsx +43 -0
- package/templates/barebones/app/layout.tsx +4 -6
- package/templates/barebones/app/not-found.tsx +2 -4
- package/templates/barebones/app/robots.ts +1 -1
- package/templates/barebones/components/ui/button.tsx +22 -20
- package/templates/barebones/components/ui/dialog.tsx +77 -64
- package/templates/barebones/components/ui/input.tsx +5 -5
- package/templates/barebones/components/ui/label.tsx +5 -3
- package/templates/barebones/components/ui/select.tsx +81 -19
- package/templates/barebones/components/ui/textarea.tsx +5 -3
- package/templates/barebones/lib/utils.ts +4 -4
- package/templates/barebones/package.json +3 -3
- package/templates/chat/AGENTS.md +17 -0
- package/templates/chat/app/globals.css +7 -5
- package/templates/chat/app/internal/components/page.tsx +248 -0
- package/templates/chat/app/internal/design/page.tsx +170 -0
- package/templates/chat/app/internal/layout.tsx +89 -0
- package/templates/chat/app/internal/sections.ts +26 -0
- package/templates/chat/app/internal/showcase.tsx +43 -0
- package/templates/chat/app/not-found.tsx +1 -3
- package/templates/chat/app/robots.ts +1 -1
- package/templates/chat/components/ui/button.tsx +22 -20
- package/templates/chat/components/ui/dialog.tsx +77 -64
- package/templates/chat/components/ui/input.tsx +5 -5
- package/templates/chat/components/ui/label.tsx +5 -3
- package/templates/chat/components/ui/select.tsx +81 -19
- package/templates/chat/components/ui/textarea.tsx +5 -3
- package/templates/chat/lib/utils.ts +4 -4
- package/templates/chat/package.json +4 -4
- package/templates/consumer/AGENTS.md +17 -0
- package/templates/consumer/app/globals.css +9 -7
- package/templates/consumer/app/internal/components/page.tsx +248 -0
- package/templates/consumer/app/internal/design/page.tsx +167 -0
- package/templates/consumer/app/internal/layout.tsx +89 -0
- package/templates/consumer/app/internal/sections.ts +26 -0
- package/templates/consumer/app/internal/showcase.tsx +43 -0
- package/templates/consumer/app/robots.ts +1 -1
- package/templates/consumer/components/ui/button.tsx +22 -20
- package/templates/consumer/components/ui/dialog.tsx +77 -64
- package/templates/consumer/components/ui/input.tsx +5 -5
- package/templates/consumer/components/ui/label.tsx +5 -3
- package/templates/consumer/components/ui/select.tsx +81 -19
- package/templates/consumer/components/ui/textarea.tsx +5 -3
- package/templates/consumer/lib/utils.ts +4 -4
- package/templates/consumer/package.json +4 -4
- package/templates/creator/AGENTS.md +17 -0
- package/templates/creator/app/globals.css +5 -1
- package/templates/creator/app/internal/components/page.tsx +248 -0
- package/templates/creator/app/internal/design/page.tsx +171 -0
- package/templates/creator/app/internal/layout.tsx +89 -0
- package/templates/creator/app/internal/sections.ts +26 -0
- package/templates/creator/app/internal/showcase.tsx +43 -0
- package/templates/creator/app/robots.ts +1 -1
- package/templates/creator/components/ui/button.tsx +22 -20
- package/templates/creator/components/ui/dialog.tsx +77 -64
- package/templates/creator/components/ui/input.tsx +5 -5
- package/templates/creator/components/ui/label.tsx +5 -3
- package/templates/creator/components/ui/select.tsx +81 -19
- package/templates/creator/components/ui/textarea.tsx +5 -3
- package/templates/creator/lib/utils.ts +4 -4
- package/templates/creator/package.json +4 -4
- package/templates/crm/AGENTS.md +17 -0
- package/templates/crm/README.md +3 -4
- package/templates/crm/app/deals/[id]/deal-view.tsx +9 -14
- package/templates/crm/app/globals.css +5 -2
- package/templates/crm/app/internal/components/page.tsx +282 -0
- package/templates/crm/app/internal/design/page.tsx +163 -0
- package/templates/crm/app/internal/layout.tsx +89 -0
- package/templates/crm/app/internal/sections.ts +27 -0
- package/templates/crm/app/internal/showcase.tsx +43 -0
- package/templates/crm/app/not-found.tsx +1 -3
- package/templates/crm/app/robots.ts +1 -1
- package/templates/crm/components/activity-timeline.tsx +6 -8
- package/templates/crm/components/app-shell.tsx +25 -26
- package/templates/crm/components/deal-dialog.tsx +15 -17
- package/templates/crm/components/record-dialog.tsx +10 -11
- package/templates/crm/components/ui/button.tsx +22 -20
- package/templates/crm/components/ui/dialog.tsx +77 -64
- package/templates/crm/components/ui/input.tsx +5 -5
- package/templates/crm/components/ui/label.tsx +5 -3
- package/templates/crm/components/ui/select.tsx +81 -19
- package/templates/crm/components/ui/sheet.tsx +64 -0
- package/templates/crm/components/ui/textarea.tsx +5 -3
- package/templates/crm/lib/utils.ts +4 -4
- package/templates/crm/package.json +4 -4
- package/templates/directory/AGENTS.md +17 -0
- package/templates/directory/app/globals.css +5 -1
- package/templates/directory/app/internal/components/page.tsx +248 -0
- package/templates/directory/app/internal/design/page.tsx +168 -0
- package/templates/directory/app/internal/layout.tsx +89 -0
- package/templates/directory/app/internal/sections.ts +26 -0
- package/templates/directory/app/internal/showcase.tsx +43 -0
- package/templates/directory/app/robots.ts +1 -1
- package/templates/directory/components/ui/button.tsx +22 -20
- package/templates/directory/components/ui/dialog.tsx +77 -64
- package/templates/directory/components/ui/input.tsx +5 -5
- package/templates/directory/components/ui/label.tsx +5 -3
- package/templates/directory/components/ui/select.tsx +81 -19
- package/templates/directory/components/ui/textarea.tsx +5 -3
- package/templates/directory/lib/utils.ts +4 -4
- package/templates/directory/package.json +4 -4
- package/templates/helpdesk/AGENTS.md +17 -0
- package/templates/helpdesk/README.md +1 -1
- package/templates/helpdesk/app/globals.css +5 -2
- package/templates/helpdesk/app/internal/components/page.tsx +282 -0
- package/templates/helpdesk/app/internal/design/page.tsx +163 -0
- package/templates/helpdesk/app/internal/layout.tsx +89 -0
- package/templates/helpdesk/app/internal/sections.ts +27 -0
- package/templates/helpdesk/app/internal/showcase.tsx +43 -0
- package/templates/helpdesk/app/not-found.tsx +1 -3
- package/templates/helpdesk/app/robots.ts +1 -1
- package/templates/helpdesk/app/tickets/[id]/ticket-view.tsx +22 -29
- package/templates/helpdesk/components/app-shell.tsx +25 -26
- package/templates/helpdesk/components/new-ticket-dialog.tsx +15 -17
- package/templates/helpdesk/components/record-dialog.tsx +10 -11
- package/templates/helpdesk/components/ui/button.tsx +22 -20
- package/templates/helpdesk/components/ui/dialog.tsx +77 -64
- package/templates/helpdesk/components/ui/input.tsx +5 -5
- package/templates/helpdesk/components/ui/label.tsx +5 -3
- package/templates/helpdesk/components/ui/select.tsx +81 -19
- package/templates/helpdesk/components/ui/sheet.tsx +64 -0
- package/templates/helpdesk/components/ui/textarea.tsx +5 -3
- package/templates/helpdesk/lib/utils.ts +4 -4
- package/templates/helpdesk/package.json +4 -4
- package/templates/imessage/AGENTS.md +17 -0
- package/templates/imessage/app/globals.css +4 -0
- package/templates/imessage/app/internal/components/page.tsx +248 -0
- package/templates/imessage/app/internal/design/page.tsx +163 -0
- package/templates/imessage/app/internal/layout.tsx +89 -0
- package/templates/imessage/app/internal/sections.ts +26 -0
- package/templates/imessage/app/internal/showcase.tsx +43 -0
- package/templates/imessage/components/ui/button.tsx +22 -20
- package/templates/imessage/components/ui/dialog.tsx +77 -64
- package/templates/imessage/components/ui/input.tsx +5 -5
- package/templates/imessage/components/ui/label.tsx +5 -3
- package/templates/imessage/components/ui/select.tsx +81 -19
- package/templates/imessage/components/ui/textarea.tsx +5 -3
- package/templates/imessage/lib/utils.ts +4 -4
- package/templates/imessage/package.json +4 -4
- package/templates/inventory/AGENTS.md +17 -0
- package/templates/inventory/README.md +1 -1
- package/templates/inventory/app/globals.css +5 -2
- package/templates/inventory/app/internal/components/page.tsx +282 -0
- package/templates/inventory/app/internal/design/page.tsx +163 -0
- package/templates/inventory/app/internal/layout.tsx +89 -0
- package/templates/inventory/app/internal/sections.ts +27 -0
- package/templates/inventory/app/internal/showcase.tsx +43 -0
- package/templates/inventory/app/not-found.tsx +1 -3
- package/templates/inventory/app/products/[id]/product-view.tsx +1 -3
- package/templates/inventory/app/robots.ts +1 -1
- package/templates/inventory/components/app-shell.tsx +25 -26
- package/templates/inventory/components/movement-dialog.tsx +15 -17
- package/templates/inventory/components/record-dialog.tsx +10 -11
- package/templates/inventory/components/ui/button.tsx +22 -20
- package/templates/inventory/components/ui/dialog.tsx +77 -64
- package/templates/inventory/components/ui/input.tsx +5 -5
- package/templates/inventory/components/ui/label.tsx +5 -3
- package/templates/inventory/components/ui/select.tsx +81 -19
- package/templates/inventory/components/ui/sheet.tsx +64 -0
- package/templates/inventory/components/ui/textarea.tsx +5 -3
- package/templates/inventory/lib/utils.ts +4 -4
- package/templates/inventory/package.json +4 -4
- package/templates/inventory/tests/components.test.tsx +27 -14
- package/templates/invoices/AGENTS.md +17 -0
- package/templates/invoices/README.md +1 -1
- package/templates/invoices/app/globals.css +5 -2
- package/templates/invoices/app/internal/components/page.tsx +282 -0
- package/templates/invoices/app/internal/design/page.tsx +163 -0
- package/templates/invoices/app/internal/layout.tsx +89 -0
- package/templates/invoices/app/internal/sections.ts +27 -0
- package/templates/invoices/app/internal/showcase.tsx +43 -0
- package/templates/invoices/app/invoices/[id]/invoice-view.tsx +20 -26
- package/templates/invoices/app/not-found.tsx +1 -3
- package/templates/invoices/app/robots.ts +1 -1
- package/templates/invoices/components/app-shell.tsx +25 -26
- package/templates/invoices/components/payment-dialog.tsx +6 -8
- package/templates/invoices/components/record-dialog.tsx +10 -11
- package/templates/invoices/components/ui/button.tsx +22 -20
- package/templates/invoices/components/ui/dialog.tsx +77 -64
- package/templates/invoices/components/ui/input.tsx +5 -5
- package/templates/invoices/components/ui/label.tsx +5 -3
- package/templates/invoices/components/ui/select.tsx +81 -19
- package/templates/invoices/components/ui/sheet.tsx +64 -0
- package/templates/invoices/components/ui/textarea.tsx +5 -3
- package/templates/invoices/lib/utils.ts +4 -4
- package/templates/invoices/package.json +4 -4
- package/templates/local-service/AGENTS.md +17 -0
- package/templates/local-service/app/globals.css +5 -1
- package/templates/local-service/app/internal/components/page.tsx +248 -0
- package/templates/local-service/app/internal/design/page.tsx +170 -0
- package/templates/local-service/app/internal/layout.tsx +89 -0
- package/templates/local-service/app/internal/sections.ts +26 -0
- package/templates/local-service/app/internal/showcase.tsx +43 -0
- package/templates/local-service/app/robots.ts +1 -1
- package/templates/local-service/components/ui/button.tsx +22 -20
- package/templates/local-service/components/ui/dialog.tsx +77 -64
- package/templates/local-service/components/ui/input.tsx +5 -5
- package/templates/local-service/components/ui/label.tsx +5 -3
- package/templates/local-service/components/ui/select.tsx +81 -19
- package/templates/local-service/components/ui/textarea.tsx +5 -3
- package/templates/local-service/lib/utils.ts +4 -4
- package/templates/local-service/package.json +4 -4
- package/templates/marketplace/AGENTS.md +17 -0
- package/templates/marketplace/README.md +8 -5
- package/templates/marketplace/app/(market)/layout.tsx +113 -0
- package/templates/marketplace/app/{listing → (market)/listing}/[id]/page.tsx +7 -7
- package/templates/marketplace/app/{me → (market)/me}/page.tsx +1 -1
- package/templates/marketplace/app/{not-found.tsx → (market)/not-found.tsx} +1 -3
- package/templates/marketplace/app/{page.tsx → (market)/page.tsx} +5 -5
- package/templates/marketplace/app/{sell → (market)/sell}/page.tsx +1 -1
- package/templates/marketplace/app/error.tsx +1 -3
- package/templates/marketplace/app/globals.css +4 -0
- package/templates/marketplace/app/internal/components/page.tsx +335 -0
- package/templates/marketplace/app/internal/design/page.tsx +158 -0
- package/templates/marketplace/app/internal/layout.tsx +89 -0
- package/templates/marketplace/app/internal/sections.ts +30 -0
- package/templates/marketplace/app/internal/showcase.tsx +43 -0
- package/templates/marketplace/app/layout.tsx +4 -100
- package/templates/marketplace/app/robots.ts +1 -1
- package/templates/marketplace/client/ListingCard.tsx +1 -1
- package/templates/marketplace/components/ui/button.tsx +22 -21
- package/templates/marketplace/components/ui/dialog.tsx +77 -64
- package/templates/marketplace/components/ui/input.tsx +5 -5
- package/templates/marketplace/components/ui/label.tsx +5 -4
- package/templates/marketplace/components/ui/select.tsx +101 -0
- package/templates/marketplace/components/ui/separator.tsx +5 -8
- package/templates/marketplace/components/ui/textarea.tsx +5 -3
- package/templates/marketplace/lib/utils.ts +4 -4
- package/templates/marketplace/package.json +3 -5
- package/templates/projects/AGENTS.md +17 -0
- package/templates/projects/README.md +1 -1
- package/templates/projects/app/globals.css +5 -2
- package/templates/projects/app/internal/components/page.tsx +282 -0
- package/templates/projects/app/internal/design/page.tsx +163 -0
- package/templates/projects/app/internal/layout.tsx +89 -0
- package/templates/projects/app/internal/sections.ts +27 -0
- package/templates/projects/app/internal/showcase.tsx +43 -0
- package/templates/projects/app/not-found.tsx +1 -3
- package/templates/projects/app/projects/[id]/project-view.tsx +9 -14
- package/templates/projects/app/robots.ts +1 -1
- package/templates/projects/components/app-shell.tsx +25 -26
- package/templates/projects/components/record-dialog.tsx +10 -11
- package/templates/projects/components/time-dialog.tsx +6 -8
- package/templates/projects/components/ui/button.tsx +22 -20
- package/templates/projects/components/ui/dialog.tsx +77 -64
- package/templates/projects/components/ui/input.tsx +5 -5
- package/templates/projects/components/ui/label.tsx +5 -3
- package/templates/projects/components/ui/select.tsx +81 -19
- package/templates/projects/components/ui/sheet.tsx +64 -0
- package/templates/projects/components/ui/textarea.tsx +5 -3
- package/templates/projects/lib/utils.ts +4 -4
- package/templates/projects/package.json +4 -4
- package/templates/restaurant/AGENTS.md +17 -0
- package/templates/restaurant/app/globals.css +5 -1
- package/templates/restaurant/app/internal/components/page.tsx +248 -0
- package/templates/restaurant/app/internal/design/page.tsx +168 -0
- package/templates/restaurant/app/internal/layout.tsx +89 -0
- package/templates/restaurant/app/internal/sections.ts +26 -0
- package/templates/restaurant/app/internal/showcase.tsx +43 -0
- package/templates/restaurant/app/robots.ts +1 -1
- package/templates/restaurant/components/ui/button.tsx +22 -20
- package/templates/restaurant/components/ui/dialog.tsx +77 -64
- package/templates/restaurant/components/ui/input.tsx +5 -5
- package/templates/restaurant/components/ui/label.tsx +5 -3
- package/templates/restaurant/components/ui/select.tsx +81 -19
- package/templates/restaurant/components/ui/textarea.tsx +5 -3
- package/templates/restaurant/lib/utils.ts +4 -4
- package/templates/restaurant/package.json +4 -4
- package/templates/saas/AGENTS.md +17 -0
- package/templates/saas/README.md +1 -1
- package/templates/saas/app/(marketing)/not-found.tsx +1 -3
- package/templates/saas/app/dashboard/board-client.tsx +32 -42
- package/templates/saas/app/globals.css +9 -7
- package/templates/saas/app/internal/components/page.tsx +282 -0
- package/templates/saas/app/internal/design/page.tsx +168 -0
- package/templates/saas/app/internal/layout.tsx +89 -0
- package/templates/saas/app/internal/sections.ts +27 -0
- package/templates/saas/app/internal/showcase.tsx +43 -0
- package/templates/saas/app/robots.ts +1 -1
- package/templates/saas/components/dashboard-shell.tsx +28 -21
- package/templates/saas/components/ui/button.tsx +22 -20
- package/templates/saas/components/ui/dialog.tsx +77 -64
- package/templates/saas/components/ui/input.tsx +5 -5
- package/templates/saas/components/ui/label.tsx +5 -3
- package/templates/saas/components/ui/select.tsx +81 -19
- package/templates/saas/components/ui/sheet.tsx +64 -0
- package/templates/saas/components/ui/textarea.tsx +5 -3
- package/templates/saas/lib/utils.ts +4 -4
- package/templates/saas/package.json +4 -4
- package/templates/shop/AGENTS.md +17 -0
- package/templates/shop/app/globals.css +5 -1
- package/templates/shop/app/internal/components/page.tsx +248 -0
- package/templates/shop/app/internal/design/page.tsx +173 -0
- package/templates/shop/app/internal/layout.tsx +89 -0
- package/templates/shop/app/internal/sections.ts +26 -0
- package/templates/shop/app/internal/showcase.tsx +43 -0
- package/templates/shop/app/robots.ts +1 -1
- package/templates/shop/components/ui/button.tsx +22 -20
- package/templates/shop/components/ui/dialog.tsx +77 -64
- package/templates/shop/components/ui/input.tsx +5 -5
- package/templates/shop/components/ui/label.tsx +5 -3
- package/templates/shop/components/ui/select.tsx +81 -19
- package/templates/shop/components/ui/textarea.tsx +5 -3
- package/templates/shop/lib/utils.ts +4 -4
- package/templates/shop/package.json +4 -4
- package/templates/todo/AGENTS.md +17 -0
- package/templates/todo/README.md +7 -4
- package/templates/todo/app/(app)/layout.tsx +16 -0
- package/templates/todo/app/{page.tsx → (app)/page.tsx} +2 -2
- package/templates/todo/app/error.tsx +1 -1
- package/templates/todo/app/globals.css +9 -7
- package/templates/todo/app/internal/components/page.tsx +248 -0
- package/templates/todo/app/internal/design/page.tsx +165 -0
- package/templates/todo/app/internal/layout.tsx +89 -0
- package/templates/todo/app/internal/sections.ts +26 -0
- package/templates/todo/app/internal/showcase.tsx +43 -0
- package/templates/todo/app/layout.tsx +5 -7
- package/templates/todo/app/not-found.tsx +2 -4
- package/templates/todo/app/robots.ts +1 -1
- package/templates/todo/components/ui/button.tsx +22 -20
- package/templates/todo/components/ui/dialog.tsx +77 -64
- package/templates/todo/components/ui/input.tsx +5 -5
- package/templates/todo/components/ui/label.tsx +5 -3
- package/templates/todo/components/ui/select.tsx +81 -19
- package/templates/todo/components/ui/textarea.tsx +5 -3
- package/templates/todo/lib/utils.ts +4 -4
- package/templates/todo/package.json +4 -4
- package/templates/waitlist/AGENTS.md +17 -0
- package/templates/waitlist/app/globals.css +5 -1
- package/templates/waitlist/app/internal/components/page.tsx +248 -0
- package/templates/waitlist/app/internal/design/page.tsx +173 -0
- package/templates/waitlist/app/internal/layout.tsx +89 -0
- package/templates/waitlist/app/internal/sections.ts +26 -0
- package/templates/waitlist/app/internal/showcase.tsx +43 -0
- package/templates/waitlist/app/robots.ts +1 -1
- package/templates/waitlist/components/ui/button.tsx +22 -20
- package/templates/waitlist/components/ui/dialog.tsx +77 -64
- package/templates/waitlist/components/ui/input.tsx +5 -5
- package/templates/waitlist/components/ui/label.tsx +5 -3
- package/templates/waitlist/components/ui/select.tsx +81 -19
- package/templates/waitlist/components/ui/textarea.tsx +5 -3
- package/templates/waitlist/lib/utils.ts +4 -4
- package/templates/waitlist/package.json +4 -4
- package/templates/agency/components.json +0 -20
- package/templates/ai-chat/components.json +0 -20
- package/templates/ai-studio/components.json +0 -20
- package/templates/backend/b2b/apps/api/functions/archiveProject.ts +0 -13
- package/templates/backend/b2b/apps/api/functions/createOrg.ts +0 -44
- package/templates/backend/b2b/apps/api/functions/createProject.ts +0 -22
- package/templates/backend/b2b/apps/api/functions/inviteMember.ts +0 -41
- package/templates/backend/b2b/apps/api/functions/myOrgs.ts +0 -37
- package/templates/backend/b2b/apps/api/functions/orgMembers.ts +0 -13
- package/templates/backend/b2b/apps/api/functions/orgProjects.ts +0 -15
- package/templates/backend/b2b/apps/api/functions/removeMember.ts +0 -25
- package/templates/backend/b2b/apps/api/functions/setMemberRole.ts +0 -33
- package/templates/backend/b2b/apps/api/package.json +0 -20
- package/templates/backend/b2b/apps/api/schema.ts +0 -182
- package/templates/backend/b2b/apps/api/tsconfig.json +0 -13
- package/templates/backend/barebones/apps/api/functions/createWidget.ts +0 -26
- package/templates/backend/barebones/apps/api/functions/listWidgets.ts +0 -19
- package/templates/backend/barebones/apps/api/package.json +0 -20
- package/templates/backend/barebones/apps/api/schema.ts +0 -64
- package/templates/backend/barebones/apps/api/tsconfig.json +0 -13
- package/templates/backend/chat/apps/api/functions/createRoom.ts +0 -32
- package/templates/backend/chat/apps/api/functions/listRooms.ts +0 -15
- package/templates/backend/chat/apps/api/functions/roomMessages.ts +0 -20
- package/templates/backend/chat/apps/api/functions/sendMessage.ts +0 -37
- package/templates/backend/chat/apps/api/package.json +0 -20
- package/templates/backend/chat/apps/api/schema.ts +0 -99
- package/templates/backend/chat/apps/api/tsconfig.json +0 -13
- package/templates/backend/todo/apps/api/functions/addTodo.ts +0 -31
- package/templates/backend/todo/apps/api/functions/deleteTodo.ts +0 -15
- package/templates/backend/todo/apps/api/functions/editTodo.ts +0 -17
- package/templates/backend/todo/apps/api/functions/listTodos.ts +0 -25
- package/templates/backend/todo/apps/api/functions/reorderTodo.ts +0 -15
- package/templates/backend/todo/apps/api/functions/toggleTodo.ts +0 -14
- package/templates/backend/todo/apps/api/package.json +0 -20
- package/templates/backend/todo/apps/api/schema.ts +0 -88
- package/templates/backend/todo/apps/api/tsconfig.json +0 -13
- package/templates/barebones/components.json +0 -20
- package/templates/chat/components.json +0 -20
- package/templates/consumer/components.json +0 -20
- package/templates/creator/components.json +0 -20
- package/templates/crm/components.json +0 -20
- package/templates/directory/components.json +0 -20
- package/templates/expo/barebones/apps/expo/App.tsx +0 -166
- package/templates/expo/barebones/apps/expo/app.json +0 -31
- package/templates/expo/barebones/apps/expo/babel.config.js +0 -6
- package/templates/expo/barebones/apps/expo/package.json +0 -31
- package/templates/expo/barebones/apps/expo/tsconfig.json +0 -16
- package/templates/expo/chat/apps/expo/App.tsx +0 -391
- package/templates/expo/chat/apps/expo/app.json +0 -25
- package/templates/expo/chat/apps/expo/babel.config.js +0 -6
- package/templates/expo/chat/apps/expo/package.json +0 -32
- package/templates/expo/chat/apps/expo/tsconfig.json +0 -16
- package/templates/expo/todo/apps/expo/App.tsx +0 -287
- package/templates/expo/todo/apps/expo/app.json +0 -25
- package/templates/expo/todo/apps/expo/babel.config.js +0 -6
- package/templates/expo/todo/apps/expo/package.json +0 -31
- package/templates/expo/todo/apps/expo/tsconfig.json +0 -16
- package/templates/helpdesk/components.json +0 -20
- package/templates/imessage/components.json +0 -20
- package/templates/inventory/components.json +0 -20
- package/templates/invoices/components.json +0 -20
- package/templates/ios/barebones/apps/ios/Package.swift +0 -34
- package/templates/ios/barebones/apps/ios/Sources/__APP_NAME_PASCAL__/ContentView.swift +0 -98
- package/templates/ios/barebones/apps/ios/Sources/__APP_NAME_PASCAL__/Models.swift +0 -17
- package/templates/ios/barebones/apps/ios/Sources/__APP_NAME_PASCAL__/__APP_NAME_PASCAL__App.swift +0 -34
- package/templates/ios/barebones/apps/ios/project.yml +0 -42
- package/templates/ios/chat/apps/ios/Package.swift +0 -24
- package/templates/ios/chat/apps/ios/Sources/__APP_NAME_PASCAL__/ChatRootView.swift +0 -116
- package/templates/ios/chat/apps/ios/Sources/__APP_NAME_PASCAL__/Models.swift +0 -26
- package/templates/ios/chat/apps/ios/Sources/__APP_NAME_PASCAL__/RoomView.swift +0 -136
- package/templates/ios/chat/apps/ios/Sources/__APP_NAME_PASCAL__/__APP_NAME_PASCAL__App.swift +0 -58
- package/templates/ios/chat/apps/ios/project.yml +0 -44
- package/templates/ios/todo/apps/ios/Package.swift +0 -23
- package/templates/ios/todo/apps/ios/Sources/__APP_NAME_PASCAL__/Models.swift +0 -18
- package/templates/ios/todo/apps/ios/Sources/__APP_NAME_PASCAL__/TodoListView.swift +0 -230
- package/templates/ios/todo/apps/ios/Sources/__APP_NAME_PASCAL__/__APP_NAME_PASCAL__App.swift +0 -28
- package/templates/ios/todo/apps/ios/project.yml +0 -32
- package/templates/local-service/components.json +0 -20
- package/templates/mac/b2b/apps/mac/Package.swift +0 -22
- package/templates/mac/b2b/apps/mac/Sources/__APP_NAME_PASCAL__/Models.swift +0 -15
- package/templates/mac/b2b/apps/mac/Sources/__APP_NAME_PASCAL__/OrgPickerView.swift +0 -178
- package/templates/mac/b2b/apps/mac/Sources/__APP_NAME_PASCAL__/__APP_NAME_PASCAL__App.swift +0 -30
- package/templates/mac/b2b/apps/mac/__APP_NAME_PASCAL__.entitlements +0 -13
- package/templates/mac/b2b/apps/mac/project.yml +0 -34
- package/templates/mac/barebones/apps/mac/Package.swift +0 -33
- package/templates/mac/barebones/apps/mac/Sources/__APP_NAME_PASCAL__/ContentView.swift +0 -104
- package/templates/mac/barebones/apps/mac/Sources/__APP_NAME_PASCAL__/Models.swift +0 -17
- package/templates/mac/barebones/apps/mac/Sources/__APP_NAME_PASCAL__/__APP_NAME_PASCAL__App.swift +0 -30
- package/templates/mac/barebones/apps/mac/__APP_NAME_PASCAL__.entitlements +0 -13
- package/templates/mac/barebones/apps/mac/project.yml +0 -34
- package/templates/mac/chat/apps/mac/Package.swift +0 -34
- package/templates/mac/chat/apps/mac/Sources/__APP_NAME_PASCAL__/ChatRootView.swift +0 -143
- package/templates/mac/chat/apps/mac/Sources/__APP_NAME_PASCAL__/Models.swift +0 -26
- package/templates/mac/chat/apps/mac/Sources/__APP_NAME_PASCAL__/RoomView.swift +0 -136
- package/templates/mac/chat/apps/mac/Sources/__APP_NAME_PASCAL__/__APP_NAME_PASCAL__App.swift +0 -58
- package/templates/mac/chat/apps/mac/__APP_NAME_PASCAL__.entitlements +0 -13
- package/templates/mac/chat/apps/mac/project.yml +0 -36
- package/templates/mac/consumer/apps/mac/Package.swift +0 -34
- package/templates/mac/consumer/apps/mac/Sources/__APP_NAME_PASCAL__/FeedView.swift +0 -199
- package/templates/mac/consumer/apps/mac/Sources/__APP_NAME_PASCAL__/Models.swift +0 -34
- package/templates/mac/consumer/apps/mac/Sources/__APP_NAME_PASCAL__/ProfileSetupView.swift +0 -68
- package/templates/mac/consumer/apps/mac/Sources/__APP_NAME_PASCAL__/RootView.swift +0 -40
- package/templates/mac/consumer/apps/mac/Sources/__APP_NAME_PASCAL__/__APP_NAME_PASCAL__App.swift +0 -59
- package/templates/mac/consumer/apps/mac/__APP_NAME_PASCAL__.entitlements +0 -13
- package/templates/mac/consumer/apps/mac/project.yml +0 -36
- package/templates/mac/todo/apps/mac/Package.swift +0 -33
- package/templates/mac/todo/apps/mac/Sources/__APP_NAME_PASCAL__/Models.swift +0 -19
- package/templates/mac/todo/apps/mac/Sources/__APP_NAME_PASCAL__/TodoListView.swift +0 -244
- package/templates/mac/todo/apps/mac/Sources/__APP_NAME_PASCAL__/__APP_NAME_PASCAL__App.swift +0 -30
- package/templates/mac/todo/apps/mac/__APP_NAME_PASCAL__.entitlements +0 -13
- package/templates/mac/todo/apps/mac/project.yml +0 -34
- package/templates/marketplace/components/ui/native-select.tsx +0 -62
- package/templates/marketplace/components.json +0 -20
- package/templates/projects/components.json +0 -20
- package/templates/restaurant/components.json +0 -20
- package/templates/saas/components.json +0 -20
- package/templates/shop/components.json +0 -20
- package/templates/todo/components.json +0 -20
- package/templates/ui/packages/ui/package.json +0 -26
- package/templates/ui/packages/ui/src/button.tsx +0 -44
- package/templates/ui/packages/ui/src/card.tsx +0 -39
- package/templates/ui/packages/ui/src/cn.ts +0 -12
- package/templates/ui/packages/ui/src/index.ts +0 -4
- package/templates/ui/packages/ui/src/input.tsx +0 -19
- package/templates/ui/packages/ui/tsconfig.json +0 -15
- package/templates/vite/todo/apps/web/index.html +0 -12
- package/templates/vite/todo/apps/web/package.json +0 -31
- package/templates/vite/todo/apps/web/src/App.tsx +0 -16
- package/templates/vite/todo/apps/web/src/components/TodoList.tsx +0 -281
- package/templates/vite/todo/apps/web/src/index.css +0 -14
- package/templates/vite/todo/apps/web/src/main.tsx +0 -20
- package/templates/vite/todo/apps/web/tsconfig.json +0 -24
- package/templates/vite/todo/apps/web/vite.config.ts +0 -41
- package/templates/waitlist/components.json +0 -20
- package/templates/web/b2b/apps/web/next-env.d.ts +0 -2
- package/templates/web/b2b/apps/web/next.config.ts +0 -24
- package/templates/web/b2b/apps/web/package.json +0 -27
- package/templates/web/b2b/apps/web/postcss.config.mjs +0 -3
- package/templates/web/b2b/apps/web/src/app/components/OrgPicker.tsx +0 -171
- package/templates/web/b2b/apps/web/src/app/globals.css +0 -6
- package/templates/web/b2b/apps/web/src/app/layout.tsx +0 -21
- package/templates/web/b2b/apps/web/src/app/page.tsx +0 -39
- package/templates/web/b2b/apps/web/src/lib/pylon.ts +0 -5
- package/templates/web/b2b/apps/web/tsconfig.json +0 -26
- package/templates/web/barebones/apps/web/next-env.d.ts +0 -2
- package/templates/web/barebones/apps/web/next.config.ts +0 -40
- package/templates/web/barebones/apps/web/package.json +0 -27
- package/templates/web/barebones/apps/web/postcss.config.mjs +0 -3
- package/templates/web/barebones/apps/web/src/app/components/WidgetList.tsx +0 -81
- package/templates/web/barebones/apps/web/src/app/globals.css +0 -6
- package/templates/web/barebones/apps/web/src/app/layout.tsx +0 -21
- package/templates/web/barebones/apps/web/src/app/page.tsx +0 -43
- package/templates/web/barebones/apps/web/src/lib/pylon.ts +0 -14
- package/templates/web/barebones/apps/web/tsconfig.json +0 -26
- package/templates/web/chat/apps/web/next-env.d.ts +0 -2
- package/templates/web/chat/apps/web/next.config.ts +0 -24
- package/templates/web/chat/apps/web/package.json +0 -27
- package/templates/web/chat/apps/web/postcss.config.mjs +0 -3
- package/templates/web/chat/apps/web/src/app/components/ChatRoom.tsx +0 -231
- package/templates/web/chat/apps/web/src/app/globals.css +0 -6
- package/templates/web/chat/apps/web/src/app/layout.tsx +0 -22
- package/templates/web/chat/apps/web/src/app/page.tsx +0 -12
- package/templates/web/chat/apps/web/src/app/providers.tsx +0 -25
- package/templates/web/chat/apps/web/src/lib/pylon.ts +0 -5
- package/templates/web/chat/apps/web/tsconfig.json +0 -26
- package/templates/web/consumer/apps/web/next-env.d.ts +0 -2
- package/templates/web/consumer/apps/web/next.config.ts +0 -24
- package/templates/web/consumer/apps/web/package.json +0 -27
- package/templates/web/consumer/apps/web/postcss.config.mjs +0 -3
- package/templates/web/consumer/apps/web/src/app/components/Feed.tsx +0 -315
- package/templates/web/consumer/apps/web/src/app/globals.css +0 -6
- package/templates/web/consumer/apps/web/src/app/layout.tsx +0 -22
- package/templates/web/consumer/apps/web/src/app/page.tsx +0 -21
- package/templates/web/consumer/apps/web/src/app/providers.tsx +0 -25
- package/templates/web/consumer/apps/web/src/lib/pylon.ts +0 -5
- package/templates/web/consumer/apps/web/tsconfig.json +0 -26
- package/templates/web/todo/apps/web/next-env.d.ts +0 -2
- package/templates/web/todo/apps/web/next.config.ts +0 -26
- package/templates/web/todo/apps/web/package.json +0 -30
- package/templates/web/todo/apps/web/postcss.config.mjs +0 -3
- package/templates/web/todo/apps/web/src/app/components/TodoList.tsx +0 -310
- package/templates/web/todo/apps/web/src/app/globals.css +0 -6
- package/templates/web/todo/apps/web/src/app/layout.tsx +0 -21
- package/templates/web/todo/apps/web/src/app/page.tsx +0 -36
- package/templates/web/todo/apps/web/src/lib/pylon.ts +0 -5
- package/templates/web/todo/apps/web/tsconfig.json +0 -26
- /package/templates/barebones/app/{items-client.tsx → (app)/items-client.tsx} +0 -0
- /package/templates/marketplace/{app/_components → components}/CategoryIcon.tsx +0 -0
- /package/templates/todo/app/{todo-app.tsx → (app)/todo-app.tsx} +0 -0
package/templates/ios/todo/apps/ios/Sources/__APP_NAME_PASCAL__/__APP_NAME_PASCAL__App.swift
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import SwiftUI
|
|
2
|
-
import PylonClient
|
|
3
|
-
|
|
4
|
-
@main
|
|
5
|
-
struct __APP_NAME_PASCAL__App: App {
|
|
6
|
-
@StateObject private var session = AppSession()
|
|
7
|
-
|
|
8
|
-
var body: some Scene {
|
|
9
|
-
WindowGroup {
|
|
10
|
-
TodoListView()
|
|
11
|
-
.environmentObject(session)
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@MainActor
|
|
17
|
-
final class AppSession: ObservableObject {
|
|
18
|
-
let pylon: PylonClient
|
|
19
|
-
|
|
20
|
-
init() {
|
|
21
|
-
let baseURLString = ProcessInfo.processInfo.environment["PYLON_BASE_URL"]
|
|
22
|
-
?? "http://localhost:4321"
|
|
23
|
-
guard let url = URL(string: baseURLString) else {
|
|
24
|
-
fatalError("Invalid PYLON_BASE_URL: \(baseURLString)")
|
|
25
|
-
}
|
|
26
|
-
self.pylon = PylonClient(baseURL: url, appName: "__APP_NAME_SNAKE__")
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
name: __APP_NAME_PASCAL__
|
|
2
|
-
options:
|
|
3
|
-
bundleIdPrefix: com.example
|
|
4
|
-
deploymentTarget:
|
|
5
|
-
iOS: "16.0"
|
|
6
|
-
|
|
7
|
-
packages:
|
|
8
|
-
pylon:
|
|
9
|
-
url: https://github.com/pylonsync/pylon-swift.git
|
|
10
|
-
from: "0.3.0"
|
|
11
|
-
|
|
12
|
-
targets:
|
|
13
|
-
__APP_NAME_PASCAL__:
|
|
14
|
-
type: application
|
|
15
|
-
platform: iOS
|
|
16
|
-
sources:
|
|
17
|
-
- path: Sources/__APP_NAME_PASCAL__
|
|
18
|
-
settings:
|
|
19
|
-
base:
|
|
20
|
-
GENERATE_INFOPLIST_FILE: YES
|
|
21
|
-
INFOPLIST_KEY_UIApplicationSceneManifest_Generation: YES
|
|
22
|
-
INFOPLIST_KEY_UILaunchScreen_Generation: YES
|
|
23
|
-
INFOPLIST_KEY_UISupportedInterfaceOrientations: "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
|
|
24
|
-
TARGETED_DEVICE_FAMILY: "1,2"
|
|
25
|
-
SWIFT_VERSION: "5.9"
|
|
26
|
-
ENABLE_PREVIEWS: YES
|
|
27
|
-
INFOPLIST_KEY_NSAppTransportSecurity: "{NSAllowsLocalNetworking = YES;}"
|
|
28
|
-
dependencies:
|
|
29
|
-
- package: pylon
|
|
30
|
-
product: PylonClient
|
|
31
|
-
- package: pylon
|
|
32
|
-
product: PylonSwiftUI
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema.json",
|
|
3
|
-
"style": "new-york",
|
|
4
|
-
"rsc": false,
|
|
5
|
-
"tsx": true,
|
|
6
|
-
"tailwind": {
|
|
7
|
-
"config": "",
|
|
8
|
-
"css": "app/globals.css",
|
|
9
|
-
"baseColor": "zinc",
|
|
10
|
-
"cssVariables": true
|
|
11
|
-
},
|
|
12
|
-
"aliases": {
|
|
13
|
-
"components": "@/components",
|
|
14
|
-
"utils": "@/lib/utils",
|
|
15
|
-
"ui": "@/components/ui",
|
|
16
|
-
"lib": "@/lib",
|
|
17
|
-
"hooks": "@/hooks"
|
|
18
|
-
},
|
|
19
|
-
"iconLibrary": "lucide"
|
|
20
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// swift-tools-version:5.9
|
|
2
|
-
import PackageDescription
|
|
3
|
-
|
|
4
|
-
let package = Package(
|
|
5
|
-
name: "__APP_NAME_PASCAL__",
|
|
6
|
-
platforms: [
|
|
7
|
-
.macOS(.v13),
|
|
8
|
-
],
|
|
9
|
-
dependencies: [
|
|
10
|
-
.package(url: "https://github.com/pylonsync/pylon-swift.git", from: "0.3.0"),
|
|
11
|
-
],
|
|
12
|
-
targets: [
|
|
13
|
-
.executableTarget(
|
|
14
|
-
name: "__APP_NAME_PASCAL__",
|
|
15
|
-
dependencies: [
|
|
16
|
-
.product(name: "PylonClient", package: "pylon-swift"),
|
|
17
|
-
.product(name: "PylonSwiftUI", package: "pylon-swift"),
|
|
18
|
-
],
|
|
19
|
-
path: "Sources/__APP_NAME_PASCAL__"
|
|
20
|
-
),
|
|
21
|
-
]
|
|
22
|
-
)
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import Foundation
|
|
2
|
-
|
|
3
|
-
/// Mirrors the `myOrgs` query response shape — Org row + the
|
|
4
|
-
/// caller's role. For production, codegen from schema.ts with
|
|
5
|
-
/// `pylon codegen client --target swift`.
|
|
6
|
-
struct Org: Codable, Identifiable, Hashable {
|
|
7
|
-
let id: String
|
|
8
|
-
let slug: String
|
|
9
|
-
let name: String
|
|
10
|
-
let role: String
|
|
11
|
-
let createdAt: String
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
struct CreateOrgArgs: Encodable { let slug: String; let name: String }
|
|
15
|
-
struct EmptyArgs: Encodable {}
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import SwiftUI
|
|
2
|
-
import PylonClient
|
|
3
|
-
|
|
4
|
-
/// macOS org picker — sidebar with every Org the user belongs to,
|
|
5
|
-
/// detail panel for the active one. Mirrors the web `OrgPicker`
|
|
6
|
-
/// component; the same `myOrgs` query backs both.
|
|
7
|
-
struct OrgPickerView: View {
|
|
8
|
-
@EnvironmentObject var session: AppSession
|
|
9
|
-
@State private var orgs: [Org] = []
|
|
10
|
-
@State private var selected: Org.ID?
|
|
11
|
-
@State private var loading = true
|
|
12
|
-
@State private var creating = false
|
|
13
|
-
@State private var draftName = ""
|
|
14
|
-
@State private var draftSlug = ""
|
|
15
|
-
@State private var pending = false
|
|
16
|
-
@State private var errorMessage: String?
|
|
17
|
-
|
|
18
|
-
var body: some View {
|
|
19
|
-
NavigationSplitView {
|
|
20
|
-
List(selection: $selected) {
|
|
21
|
-
Section {
|
|
22
|
-
ForEach(orgs) { o in
|
|
23
|
-
HStack {
|
|
24
|
-
VStack(alignment: .leading, spacing: 2) {
|
|
25
|
-
Text(o.name).font(.body)
|
|
26
|
-
Text(o.slug)
|
|
27
|
-
.font(.system(.caption, design: .monospaced))
|
|
28
|
-
.foregroundStyle(.secondary)
|
|
29
|
-
}
|
|
30
|
-
Spacer()
|
|
31
|
-
Text(o.role.uppercased())
|
|
32
|
-
.font(.system(.caption, design: .monospaced))
|
|
33
|
-
.foregroundStyle(roleColor(o.role))
|
|
34
|
-
}
|
|
35
|
-
.tag(o.id)
|
|
36
|
-
}
|
|
37
|
-
} header: {
|
|
38
|
-
Text("Your organizations")
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.toolbar {
|
|
42
|
-
ToolbarItem(placement: .primaryAction) {
|
|
43
|
-
Button {
|
|
44
|
-
creating.toggle()
|
|
45
|
-
} label: {
|
|
46
|
-
Image(systemName: "plus")
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
} detail: {
|
|
51
|
-
if creating {
|
|
52
|
-
createForm
|
|
53
|
-
} else if let id = selected, let org = orgs.first(where: { $0.id == id }) {
|
|
54
|
-
detail(org: org)
|
|
55
|
-
} else {
|
|
56
|
-
placeholder
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
.task { await load() }
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
private var createForm: some View {
|
|
63
|
-
VStack(alignment: .leading, spacing: 16) {
|
|
64
|
-
Text("Create an organization")
|
|
65
|
-
.font(.title3)
|
|
66
|
-
.fontWeight(.semibold)
|
|
67
|
-
VStack(alignment: .leading, spacing: 8) {
|
|
68
|
-
TextField("Org name", text: $draftName)
|
|
69
|
-
.textFieldStyle(.roundedBorder)
|
|
70
|
-
TextField("Slug (e.g. acme-corp)", text: $draftSlug)
|
|
71
|
-
.textFieldStyle(.roundedBorder)
|
|
72
|
-
.autocorrectionDisabled()
|
|
73
|
-
}
|
|
74
|
-
HStack {
|
|
75
|
-
Button("Cancel") {
|
|
76
|
-
creating = false
|
|
77
|
-
draftName = ""
|
|
78
|
-
draftSlug = ""
|
|
79
|
-
errorMessage = nil
|
|
80
|
-
}
|
|
81
|
-
.buttonStyle(.bordered)
|
|
82
|
-
Button("Create") { Task { await create() } }
|
|
83
|
-
.keyboardShortcut(.defaultAction)
|
|
84
|
-
.disabled(draftName.trimmingCharacters(in: .whitespaces).isEmpty
|
|
85
|
-
|| draftSlug.trimmingCharacters(in: .whitespaces).isEmpty
|
|
86
|
-
|| pending)
|
|
87
|
-
}
|
|
88
|
-
if let errorMessage {
|
|
89
|
-
Text(errorMessage)
|
|
90
|
-
.foregroundStyle(.red)
|
|
91
|
-
.font(.caption)
|
|
92
|
-
}
|
|
93
|
-
Spacer()
|
|
94
|
-
}
|
|
95
|
-
.padding(24)
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@ViewBuilder
|
|
99
|
-
private func detail(org: Org) -> some View {
|
|
100
|
-
VStack(alignment: .leading, spacing: 16) {
|
|
101
|
-
Text(org.name).font(.title2).fontWeight(.semibold)
|
|
102
|
-
Text(org.slug)
|
|
103
|
-
.font(.system(.body, design: .monospaced))
|
|
104
|
-
.foregroundStyle(.secondary)
|
|
105
|
-
Divider()
|
|
106
|
-
Text("Your role: \(org.role)")
|
|
107
|
-
.foregroundStyle(.secondary)
|
|
108
|
-
.font(.callout)
|
|
109
|
-
Text("orgId: \(org.id)")
|
|
110
|
-
.foregroundStyle(.tertiary)
|
|
111
|
-
.font(.system(.caption, design: .monospaced))
|
|
112
|
-
Spacer()
|
|
113
|
-
Text("Wire member management + project lists into this panel by calling /api/fn/orgMembers and /api/fn/orgProjects with this orgId. Membership policies enforce tenant isolation server-side.")
|
|
114
|
-
.foregroundStyle(.secondary)
|
|
115
|
-
.font(.caption)
|
|
116
|
-
.fixedSize(horizontal: false, vertical: true)
|
|
117
|
-
}
|
|
118
|
-
.padding(24)
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
private var placeholder: some View {
|
|
122
|
-
VStack(spacing: 8) {
|
|
123
|
-
if loading {
|
|
124
|
-
ProgressView()
|
|
125
|
-
} else if orgs.isEmpty {
|
|
126
|
-
Text("You're not in any orgs yet.")
|
|
127
|
-
Button("Create your first org") { creating = true }
|
|
128
|
-
.buttonStyle(.bordered)
|
|
129
|
-
} else {
|
|
130
|
-
Text("Pick an org from the sidebar.")
|
|
131
|
-
.foregroundStyle(.secondary)
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
private func roleColor(_ role: String) -> Color {
|
|
138
|
-
switch role {
|
|
139
|
-
case "owner": return .blue
|
|
140
|
-
case "admin": return .orange
|
|
141
|
-
default: return .secondary
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
private func load() async {
|
|
146
|
-
loading = true
|
|
147
|
-
defer { loading = false }
|
|
148
|
-
do {
|
|
149
|
-
orgs = try await session.pylon.callFn("myOrgs", args: EmptyArgs())
|
|
150
|
-
if selected == nil { selected = orgs.first?.id }
|
|
151
|
-
errorMessage = nil
|
|
152
|
-
} catch {
|
|
153
|
-
errorMessage = "Load failed: \(error.localizedDescription)"
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
private func create() async {
|
|
158
|
-
let name = draftName.trimmingCharacters(in: .whitespaces)
|
|
159
|
-
let slug = draftSlug.trimmingCharacters(in: .whitespaces).lowercased()
|
|
160
|
-
guard !name.isEmpty, !slug.isEmpty else { return }
|
|
161
|
-
pending = true
|
|
162
|
-
defer { pending = false }
|
|
163
|
-
do {
|
|
164
|
-
let org: Org = try await session.pylon.callFn(
|
|
165
|
-
"createOrg",
|
|
166
|
-
args: CreateOrgArgs(slug: slug, name: name),
|
|
167
|
-
)
|
|
168
|
-
orgs.insert(org, at: 0)
|
|
169
|
-
selected = org.id
|
|
170
|
-
creating = false
|
|
171
|
-
draftName = ""
|
|
172
|
-
draftSlug = ""
|
|
173
|
-
errorMessage = nil
|
|
174
|
-
} catch {
|
|
175
|
-
errorMessage = "Create failed: \(error.localizedDescription)"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import SwiftUI
|
|
2
|
-
import PylonClient
|
|
3
|
-
|
|
4
|
-
@main
|
|
5
|
-
struct __APP_NAME_PASCAL__App: App {
|
|
6
|
-
@StateObject private var session = AppSession()
|
|
7
|
-
|
|
8
|
-
var body: some Scene {
|
|
9
|
-
Window("__APP_NAME__", id: "main") {
|
|
10
|
-
OrgPickerView()
|
|
11
|
-
.environmentObject(session)
|
|
12
|
-
.frame(minWidth: 640, minHeight: 480)
|
|
13
|
-
}
|
|
14
|
-
.windowResizability(.contentMinSize)
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@MainActor
|
|
19
|
-
final class AppSession: ObservableObject {
|
|
20
|
-
let pylon: PylonClient
|
|
21
|
-
|
|
22
|
-
init() {
|
|
23
|
-
let baseURLString = ProcessInfo.processInfo.environment["PYLON_BASE_URL"]
|
|
24
|
-
?? "http://localhost:4321"
|
|
25
|
-
guard let url = URL(string: baseURLString) else {
|
|
26
|
-
fatalError("Invalid PYLON_BASE_URL: \(baseURLString)")
|
|
27
|
-
}
|
|
28
|
-
self.pylon = PylonClient(baseURL: url, appName: "__APP_NAME_SNAKE__")
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<!-- App Sandbox + outgoing-network client. Without these the
|
|
6
|
-
scaffolded app can't reach localhost:4321 during dev or
|
|
7
|
-
a remote Pylon Cloud URL in production. -->
|
|
8
|
-
<key>com.apple.security.app-sandbox</key>
|
|
9
|
-
<true/>
|
|
10
|
-
<key>com.apple.security.network.client</key>
|
|
11
|
-
<true/>
|
|
12
|
-
</dict>
|
|
13
|
-
</plist>
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
name: __APP_NAME_PASCAL__
|
|
2
|
-
options:
|
|
3
|
-
bundleIdPrefix: com.example
|
|
4
|
-
deploymentTarget:
|
|
5
|
-
macOS: "13.0"
|
|
6
|
-
|
|
7
|
-
packages:
|
|
8
|
-
pylon:
|
|
9
|
-
url: https://github.com/pylonsync/pylon-swift.git
|
|
10
|
-
from: "0.3.0"
|
|
11
|
-
|
|
12
|
-
targets:
|
|
13
|
-
__APP_NAME_PASCAL__:
|
|
14
|
-
type: application
|
|
15
|
-
platform: macOS
|
|
16
|
-
sources:
|
|
17
|
-
- path: Sources/__APP_NAME_PASCAL__
|
|
18
|
-
settings:
|
|
19
|
-
base:
|
|
20
|
-
GENERATE_INFOPLIST_FILE: YES
|
|
21
|
-
INFOPLIST_KEY_CFBundleDisplayName: __APP_NAME__
|
|
22
|
-
INFOPLIST_KEY_LSApplicationCategoryType: "public.app-category.developer-tools"
|
|
23
|
-
INFOPLIST_KEY_NSHumanReadableCopyright: ""
|
|
24
|
-
SWIFT_VERSION: "5.9"
|
|
25
|
-
ENABLE_PREVIEWS: YES
|
|
26
|
-
# The mac app talks to the local Pylon control plane during dev.
|
|
27
|
-
# App Sandbox needs the network client entitlement to reach
|
|
28
|
-
# localhost; we declare it via codesign entitlements at build time.
|
|
29
|
-
CODE_SIGN_ENTITLEMENTS: __APP_NAME_PASCAL__.entitlements
|
|
30
|
-
dependencies:
|
|
31
|
-
- package: pylon
|
|
32
|
-
product: PylonClient
|
|
33
|
-
- package: pylon
|
|
34
|
-
product: PylonSwiftUI
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// swift-tools-version:5.9
|
|
2
|
-
import PackageDescription
|
|
3
|
-
|
|
4
|
-
// SwiftPM package for the __APP_NAME__ macOS app.
|
|
5
|
-
//
|
|
6
|
-
// The executable target runs locally with `swift run`. For a proper
|
|
7
|
-
// signed `.app` bundle:
|
|
8
|
-
//
|
|
9
|
-
// brew install xcodegen
|
|
10
|
-
// xcodegen generate
|
|
11
|
-
// open __APP_NAME_PASCAL__.xcodeproj
|
|
12
|
-
//
|
|
13
|
-
// The Xcode project pulls the same Sources/__APP_NAME_PASCAL__/ tree
|
|
14
|
-
// as `swift build`, so SwiftPM and Xcode share one source set.
|
|
15
|
-
let package = Package(
|
|
16
|
-
name: "__APP_NAME_PASCAL__",
|
|
17
|
-
platforms: [
|
|
18
|
-
.macOS(.v13),
|
|
19
|
-
],
|
|
20
|
-
dependencies: [
|
|
21
|
-
.package(url: "https://github.com/pylonsync/pylon-swift.git", from: "0.3.0"),
|
|
22
|
-
],
|
|
23
|
-
targets: [
|
|
24
|
-
.executableTarget(
|
|
25
|
-
name: "__APP_NAME_PASCAL__",
|
|
26
|
-
dependencies: [
|
|
27
|
-
.product(name: "PylonClient", package: "pylon-swift"),
|
|
28
|
-
.product(name: "PylonSwiftUI", package: "pylon-swift"),
|
|
29
|
-
],
|
|
30
|
-
path: "Sources/__APP_NAME_PASCAL__"
|
|
31
|
-
),
|
|
32
|
-
]
|
|
33
|
-
)
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import SwiftUI
|
|
2
|
-
import PylonClient
|
|
3
|
-
|
|
4
|
-
/// macOS list + create form for Widget. Two-pane NavigationSplitView
|
|
5
|
-
/// with sidebar on the left and detail on the right — feels native on
|
|
6
|
-
/// macOS. Same backend as web/iOS/expo.
|
|
7
|
-
struct ContentView: View {
|
|
8
|
-
@EnvironmentObject var session: AppSession
|
|
9
|
-
@State private var widgets: [Widget] = []
|
|
10
|
-
@State private var selected: Widget.ID?
|
|
11
|
-
@State private var newName = ""
|
|
12
|
-
@State private var loading = true
|
|
13
|
-
@State private var creating = false
|
|
14
|
-
@State private var errorMessage: String?
|
|
15
|
-
|
|
16
|
-
var body: some View {
|
|
17
|
-
NavigationSplitView {
|
|
18
|
-
List(selection: $selected) {
|
|
19
|
-
if widgets.isEmpty && !loading {
|
|
20
|
-
Text("No widgets yet.")
|
|
21
|
-
.foregroundStyle(.secondary)
|
|
22
|
-
.font(.callout)
|
|
23
|
-
} else {
|
|
24
|
-
ForEach(widgets) { w in
|
|
25
|
-
HStack {
|
|
26
|
-
Text(w.name)
|
|
27
|
-
Spacer()
|
|
28
|
-
Text("\(w.count)")
|
|
29
|
-
.font(.system(.caption, design: .monospaced))
|
|
30
|
-
.foregroundStyle(.secondary)
|
|
31
|
-
}
|
|
32
|
-
.tag(w.id)
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
.navigationTitle("__APP_NAME__")
|
|
37
|
-
.toolbar {
|
|
38
|
-
ToolbarItem(placement: .primaryAction) {
|
|
39
|
-
Button {
|
|
40
|
-
Task { await load() }
|
|
41
|
-
} label: {
|
|
42
|
-
Image(systemName: "arrow.clockwise")
|
|
43
|
-
}
|
|
44
|
-
.disabled(loading)
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
} detail: {
|
|
48
|
-
VStack(alignment: .leading, spacing: 18) {
|
|
49
|
-
Text("Create a widget")
|
|
50
|
-
.font(.title3)
|
|
51
|
-
.fontWeight(.semibold)
|
|
52
|
-
HStack {
|
|
53
|
-
TextField("Name…", text: $newName)
|
|
54
|
-
.textFieldStyle(.roundedBorder)
|
|
55
|
-
.onSubmit { Task { await create() } }
|
|
56
|
-
Button("Create") { Task { await create() } }
|
|
57
|
-
.keyboardShortcut(.defaultAction)
|
|
58
|
-
.disabled(newName.trimmingCharacters(in: .whitespaces).isEmpty || creating)
|
|
59
|
-
}
|
|
60
|
-
if let errorMessage {
|
|
61
|
-
Text(errorMessage)
|
|
62
|
-
.foregroundStyle(.red)
|
|
63
|
-
.font(.caption)
|
|
64
|
-
}
|
|
65
|
-
Spacer()
|
|
66
|
-
}
|
|
67
|
-
.padding(24)
|
|
68
|
-
}
|
|
69
|
-
.task { await load() }
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
private func load() async {
|
|
73
|
-
loading = true
|
|
74
|
-
defer { loading = false }
|
|
75
|
-
do {
|
|
76
|
-
let rows: [Widget] = try await session.pylon.callFn(
|
|
77
|
-
"listWidgets",
|
|
78
|
-
args: EmptyArgs(),
|
|
79
|
-
)
|
|
80
|
-
widgets = rows
|
|
81
|
-
errorMessage = nil
|
|
82
|
-
} catch {
|
|
83
|
-
errorMessage = "Load failed: \(error.localizedDescription)"
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private func create() async {
|
|
88
|
-
let trimmed = newName.trimmingCharacters(in: .whitespaces)
|
|
89
|
-
guard !trimmed.isEmpty else { return }
|
|
90
|
-
creating = true
|
|
91
|
-
defer { creating = false }
|
|
92
|
-
do {
|
|
93
|
-
let widget: Widget = try await session.pylon.callFn(
|
|
94
|
-
"createWidget",
|
|
95
|
-
args: CreateWidgetArgs(name: trimmed),
|
|
96
|
-
)
|
|
97
|
-
widgets.insert(widget, at: 0)
|
|
98
|
-
newName = ""
|
|
99
|
-
errorMessage = nil
|
|
100
|
-
} catch {
|
|
101
|
-
errorMessage = "Create failed: \(error.localizedDescription)"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Foundation
|
|
2
|
-
|
|
3
|
-
/// Mirrors `Widget` from `apps/api/schema.ts`. Regenerate from the
|
|
4
|
-
/// schema with `pylon codegen client schema.ts --target swift` for
|
|
5
|
-
/// production.
|
|
6
|
-
struct Widget: Codable, Identifiable, Hashable {
|
|
7
|
-
let id: String
|
|
8
|
-
let name: String
|
|
9
|
-
let count: Int
|
|
10
|
-
let createdAt: String
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
struct CreateWidgetArgs: Encodable {
|
|
14
|
-
let name: String
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
struct EmptyArgs: Encodable {}
|
package/templates/mac/barebones/apps/mac/Sources/__APP_NAME_PASCAL__/__APP_NAME_PASCAL__App.swift
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import SwiftUI
|
|
2
|
-
import PylonClient
|
|
3
|
-
|
|
4
|
-
@main
|
|
5
|
-
struct __APP_NAME_PASCAL__App: App {
|
|
6
|
-
@StateObject private var session = AppSession()
|
|
7
|
-
|
|
8
|
-
var body: some Scene {
|
|
9
|
-
Window("__APP_NAME__", id: "main") {
|
|
10
|
-
ContentView()
|
|
11
|
-
.environmentObject(session)
|
|
12
|
-
.frame(minWidth: 480, minHeight: 360)
|
|
13
|
-
}
|
|
14
|
-
.windowResizability(.contentMinSize)
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@MainActor
|
|
19
|
-
final class AppSession: ObservableObject {
|
|
20
|
-
let pylon: PylonClient
|
|
21
|
-
|
|
22
|
-
init() {
|
|
23
|
-
let baseURLString = ProcessInfo.processInfo.environment["PYLON_BASE_URL"]
|
|
24
|
-
?? "http://localhost:4321"
|
|
25
|
-
guard let url = URL(string: baseURLString) else {
|
|
26
|
-
fatalError("Invalid PYLON_BASE_URL: \(baseURLString)")
|
|
27
|
-
}
|
|
28
|
-
self.pylon = PylonClient(baseURL: url, appName: "__APP_NAME_SNAKE__")
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<!-- App Sandbox + outgoing-network client. Without these the
|
|
6
|
-
scaffolded app can't reach localhost:4321 during dev or
|
|
7
|
-
a remote Pylon Cloud URL in production. -->
|
|
8
|
-
<key>com.apple.security.app-sandbox</key>
|
|
9
|
-
<true/>
|
|
10
|
-
<key>com.apple.security.network.client</key>
|
|
11
|
-
<true/>
|
|
12
|
-
</dict>
|
|
13
|
-
</plist>
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
name: __APP_NAME_PASCAL__
|
|
2
|
-
options:
|
|
3
|
-
bundleIdPrefix: com.example
|
|
4
|
-
deploymentTarget:
|
|
5
|
-
macOS: "13.0"
|
|
6
|
-
|
|
7
|
-
packages:
|
|
8
|
-
pylon:
|
|
9
|
-
url: https://github.com/pylonsync/pylon-swift.git
|
|
10
|
-
from: "0.3.0"
|
|
11
|
-
|
|
12
|
-
targets:
|
|
13
|
-
__APP_NAME_PASCAL__:
|
|
14
|
-
type: application
|
|
15
|
-
platform: macOS
|
|
16
|
-
sources:
|
|
17
|
-
- path: Sources/__APP_NAME_PASCAL__
|
|
18
|
-
settings:
|
|
19
|
-
base:
|
|
20
|
-
GENERATE_INFOPLIST_FILE: YES
|
|
21
|
-
INFOPLIST_KEY_CFBundleDisplayName: __APP_NAME__
|
|
22
|
-
INFOPLIST_KEY_LSApplicationCategoryType: "public.app-category.developer-tools"
|
|
23
|
-
INFOPLIST_KEY_NSHumanReadableCopyright: ""
|
|
24
|
-
SWIFT_VERSION: "5.9"
|
|
25
|
-
ENABLE_PREVIEWS: YES
|
|
26
|
-
# The mac app talks to the local Pylon control plane during dev.
|
|
27
|
-
# App Sandbox needs the network client entitlement to reach
|
|
28
|
-
# localhost; we declare it via codesign entitlements at build time.
|
|
29
|
-
CODE_SIGN_ENTITLEMENTS: __APP_NAME_PASCAL__.entitlements
|
|
30
|
-
dependencies:
|
|
31
|
-
- package: pylon
|
|
32
|
-
product: PylonClient
|
|
33
|
-
- package: pylon
|
|
34
|
-
product: PylonSwiftUI
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
// swift-tools-version:5.9
|
|
2
|
-
import PackageDescription
|
|
3
|
-
|
|
4
|
-
// SwiftPM package for the __APP_NAME__ macOS app.
|
|
5
|
-
//
|
|
6
|
-
// The executable target runs locally with `swift run`. For a proper
|
|
7
|
-
// signed `.app` bundle:
|
|
8
|
-
//
|
|
9
|
-
// brew install xcodegen
|
|
10
|
-
// xcodegen generate
|
|
11
|
-
// open __APP_NAME_PASCAL__.xcodeproj
|
|
12
|
-
//
|
|
13
|
-
// The Xcode project pulls the same Sources/__APP_NAME_PASCAL__/ tree
|
|
14
|
-
// as `swift build`, so SwiftPM and Xcode share one source set.
|
|
15
|
-
let package = Package(
|
|
16
|
-
name: "__APP_NAME_PASCAL__",
|
|
17
|
-
platforms: [
|
|
18
|
-
.macOS(.v13),
|
|
19
|
-
],
|
|
20
|
-
dependencies: [
|
|
21
|
-
.package(url: "https://github.com/pylonsync/pylon-swift.git", from: "0.3.0"),
|
|
22
|
-
],
|
|
23
|
-
targets: [
|
|
24
|
-
.executableTarget(
|
|
25
|
-
name: "__APP_NAME_PASCAL__",
|
|
26
|
-
dependencies: [
|
|
27
|
-
.product(name: "PylonClient", package: "pylon-swift"),
|
|
28
|
-
.product(name: "PylonSync", package: "pylon-swift"),
|
|
29
|
-
.product(name: "PylonSwiftUI", package: "pylon-swift"),
|
|
30
|
-
],
|
|
31
|
-
path: "Sources/__APP_NAME_PASCAL__"
|
|
32
|
-
),
|
|
33
|
-
]
|
|
34
|
-
)
|