create-sailor 1.4.4 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/index.js +173 -173
  2. package/package.json +13 -14
  3. package/templates/backends/gateway/README.md +13 -0
  4. package/templates/backends/gateway/package.json +22 -0
  5. package/templates/backends/gateway/src/index.ts +16 -0
  6. package/templates/backends/gateway/tsconfig.json +13 -0
  7. package/templates/backends/python/README.md +16 -0
  8. package/templates/backends/python/_shared/__init__.py +5 -0
  9. package/templates/backends/python/pyproject.toml +13 -0
  10. package/templates/e2e/README.md +11 -0
  11. package/templates/e2e/golden/signup.spec.ts +6 -0
  12. package/templates/e2e/playwright.config.ts +14 -0
  13. package/templates/e2e/sleptons/community.spec.ts +6 -0
  14. package/templates/e2e/smoke/health.spec.ts +6 -0
  15. package/templates/infra/README.md +10 -0
  16. package/templates/infra/data/README.md +3 -0
  17. package/templates/infra/iac/README.md +3 -0
  18. package/templates/infra/ops/README.md +3 -0
  19. package/templates/infra/runtime/README.md +3 -0
  20. package/templates/orm/drizzle/README.md +58 -0
  21. package/templates/orm/drizzle/drizzle.config.ts +16 -0
  22. package/templates/orm/drizzle/migrations/.gitkeep +0 -0
  23. package/templates/orm/drizzle/package.json +29 -0
  24. package/templates/orm/drizzle/src/index.ts +31 -0
  25. package/templates/orm/drizzle/src/schema/auth.ts +73 -0
  26. package/templates/orm/drizzle/src/schema/billing.ts +37 -0
  27. package/templates/orm/drizzle/src/schema/index.ts +3 -0
  28. package/templates/orm/drizzle/src/schema/tenant.ts +57 -0
  29. package/templates/orm/drizzle/tsconfig.json +16 -0
  30. package/templates/tests/README.md +8 -0
  31. package/templates/tests/architecture/no-cycles.test.ts +7 -0
  32. package/templates/tests/load/smoke.k6.js +13 -0
  33. package/templates/workflows/README.md +9 -0
  34. package/templates/workflows/inngest/README.md +3 -0
  35. package/templates/workflows/inngest/welcome-email.ts +14 -0
  36. package/templates/workflows/n8n/README.md +3 -0
  37. package/templates/workflows/n8n/example-flow.json +6 -0
  38. package/templates/workflows/pusher/README.md +3 -0
  39. package/templates/workflows/pusher/events.ts +6 -0
@@ -0,0 +1,3 @@
1
+ # workflows/pusher
2
+
3
+ Pusher Channels event maps. Use for real-time fan-out (presence, live updates).
@@ -0,0 +1,6 @@
1
+ export const PUSHER_EVENTS = {
2
+ NOTIFICATION_CREATED: "notification.created",
3
+ TENANT_UPDATED: "tenant.updated",
4
+ } as const;
5
+
6
+ export type PusherEvent = (typeof PUSHER_EVENTS)[keyof typeof PUSHER_EVENTS];