@sibyllinesoft/arbiter 0.1.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 (302) hide show
  1. package/README.md +222 -0
  2. package/dist/cli.js +28718 -0
  3. package/dist/templates/plopfiles/__tests__/build-systems.test.ts +730 -0
  4. package/dist/templates/plopfiles/__tests__/e2e.test.ts +451 -0
  5. package/dist/templates/plopfiles/__tests__/generation.test.ts +384 -0
  6. package/dist/templates/plopfiles/__tests__/linting.test.ts +854 -0
  7. package/dist/templates/plopfiles/__tests__/modules.test.ts +278 -0
  8. package/dist/templates/plopfiles/__tests__/smoke.test.ts +619 -0
  9. package/dist/templates/plopfiles/__tests__/templates.test.ts +341 -0
  10. package/dist/templates/plopfiles/_modules/backends/go-chi/module.js +43 -0
  11. package/dist/templates/plopfiles/_modules/backends/go-chi/templates/.air.toml.hbs +30 -0
  12. package/dist/templates/plopfiles/_modules/backends/go-chi/templates/cmd/server/main.go.hbs +50 -0
  13. package/dist/templates/plopfiles/_modules/backends/go-chi/templates/go.mod.hbs +9 -0
  14. package/dist/templates/plopfiles/_modules/backends/go-chi/templates/internal/handlers/health.go.hbs +51 -0
  15. package/dist/templates/plopfiles/_modules/backends/kotlin-ktor/module.js +38 -0
  16. package/dist/templates/plopfiles/_modules/backends/kotlin-ktor/templates/build.gradle.kts.hbs +37 -0
  17. package/dist/templates/plopfiles/_modules/backends/kotlin-ktor/templates/settings.gradle.kts.hbs +1 -0
  18. package/dist/templates/plopfiles/_modules/backends/kotlin-ktor/templates/src/main/kotlin/Application.kt.hbs +44 -0
  19. package/dist/templates/plopfiles/_modules/backends/kotlin-ktor/templates/src/main/kotlin/routes/Health.kt.hbs +41 -0
  20. package/dist/templates/plopfiles/_modules/backends/kotlin-ktor/templates/src/main/resources/logback.xml.hbs +11 -0
  21. package/dist/templates/plopfiles/_modules/backends/node-express/module.js +54 -0
  22. package/dist/templates/plopfiles/_modules/backends/node-express/templates/src/index.ts.hbs +37 -0
  23. package/dist/templates/plopfiles/_modules/backends/node-express/templates/src/routes/health.ts.hbs +21 -0
  24. package/dist/templates/plopfiles/_modules/backends/node-express/templates/tsconfig.json.hbs +18 -0
  25. package/dist/templates/plopfiles/_modules/backends/node-hono/module.js +56 -0
  26. package/dist/templates/plopfiles/_modules/backends/node-hono/templates/src/index.ts.hbs +30 -0
  27. package/dist/templates/plopfiles/_modules/backends/node-hono/templates/src/routes/health.ts.hbs +64 -0
  28. package/dist/templates/plopfiles/_modules/backends/node-hono/templates/src/routes/index.ts.hbs +38 -0
  29. package/dist/templates/plopfiles/_modules/backends/node-hono/templates/tsconfig.json.hbs +20 -0
  30. package/dist/templates/plopfiles/_modules/backends/node-hono/templates/typedoc.json.hbs +25 -0
  31. package/dist/templates/plopfiles/_modules/backends/python-fastapi/module.js +65 -0
  32. package/dist/templates/plopfiles/_modules/backends/python-fastapi/templates/app/__init__.py.hbs +1 -0
  33. package/dist/templates/plopfiles/_modules/backends/python-fastapi/templates/app/config.py.hbs +28 -0
  34. package/dist/templates/plopfiles/_modules/backends/python-fastapi/templates/app/main.py.hbs +40 -0
  35. package/dist/templates/plopfiles/_modules/backends/python-fastapi/templates/app/routers/__init__.py.hbs +1 -0
  36. package/dist/templates/plopfiles/_modules/backends/python-fastapi/templates/app/routers/health.py.hbs +24 -0
  37. package/dist/templates/plopfiles/_modules/backends/python-fastapi/templates/pyproject.toml.hbs +40 -0
  38. package/dist/templates/plopfiles/_modules/backends/python-fastapi/templates/requirements.txt.hbs +6 -0
  39. package/dist/templates/plopfiles/_modules/backends/rust-axum/module.js +44 -0
  40. package/dist/templates/plopfiles/_modules/backends/rust-axum/templates/Cargo.toml.hbs +23 -0
  41. package/dist/templates/plopfiles/_modules/backends/rust-axum/templates/src/health.rs.hbs +41 -0
  42. package/dist/templates/plopfiles/_modules/backends/rust-axum/templates/src/main.rs.hbs +57 -0
  43. package/dist/templates/plopfiles/_modules/cloud/aws/module.js +33 -0
  44. package/dist/templates/plopfiles/_modules/cloud/aws/templates/aws-alb.tf.hbs +92 -0
  45. package/dist/templates/plopfiles/_modules/cloud/aws/templates/aws-ecs.tf.hbs +84 -0
  46. package/dist/templates/plopfiles/_modules/cloud/aws/templates/aws-iam.tf.hbs +60 -0
  47. package/dist/templates/plopfiles/_modules/cloud/aws/templates/aws-vpc.tf.hbs +106 -0
  48. package/dist/templates/plopfiles/_modules/cloud/aws/templates/aws.tf.hbs +56 -0
  49. package/dist/templates/plopfiles/_modules/cloud/azure/module.js +31 -0
  50. package/dist/templates/plopfiles/_modules/cloud/azure/templates/azure-container-apps.tf.hbs +99 -0
  51. package/dist/templates/plopfiles/_modules/cloud/azure/templates/azure.tf.hbs +54 -0
  52. package/dist/templates/plopfiles/_modules/cloud/cloudflare/module.js +43 -0
  53. package/dist/templates/plopfiles/_modules/cloud/cloudflare/templates/src/types.d.ts.hbs +6 -0
  54. package/dist/templates/plopfiles/_modules/cloud/cloudflare/templates/src/worker.ts.hbs +51 -0
  55. package/dist/templates/plopfiles/_modules/cloud/cloudflare/templates/wrangler.toml.hbs +36 -0
  56. package/dist/templates/plopfiles/_modules/cloud/gcp/module.js +31 -0
  57. package/dist/templates/plopfiles/_modules/cloud/gcp/templates/gcp-cloudrun.tf.hbs +89 -0
  58. package/dist/templates/plopfiles/_modules/cloud/gcp/templates/gcp.tf.hbs +62 -0
  59. package/dist/templates/plopfiles/_modules/cloud/supabase/module.js +51 -0
  60. package/dist/templates/plopfiles/_modules/cloud/supabase/templates/src/lib/supabase.ts.hbs +25 -0
  61. package/dist/templates/plopfiles/_modules/cloud/supabase/templates/src/types/supabase.ts.hbs +52 -0
  62. package/dist/templates/plopfiles/_modules/cloud/supabase/templates/supabase/config.toml.hbs +71 -0
  63. package/dist/templates/plopfiles/_modules/cloud/supabase/templates/supabase/functions/hello/index.ts.hbs +34 -0
  64. package/dist/templates/plopfiles/_modules/cloud/supabase/templates/supabase/migrations/00000000000000_init.sql.hbs +60 -0
  65. package/dist/templates/plopfiles/_modules/composer.js +180 -0
  66. package/dist/templates/plopfiles/_modules/databases/postgres-drizzle/drizzle.config.ts.hbs +10 -0
  67. package/dist/templates/plopfiles/_modules/databases/postgres-drizzle/module.js +53 -0
  68. package/dist/templates/plopfiles/_modules/databases/postgres-drizzle/templates/index.ts.hbs +15 -0
  69. package/dist/templates/plopfiles/_modules/databases/postgres-drizzle/templates/schema.ts.hbs +21 -0
  70. package/dist/templates/plopfiles/_modules/desktop/electron/module.js +51 -0
  71. package/dist/templates/plopfiles/_modules/desktop/electron/templates/forge.config.ts.hbs +38 -0
  72. package/dist/templates/plopfiles/_modules/desktop/electron/templates/package.json.hbs +22 -0
  73. package/dist/templates/plopfiles/_modules/desktop/electron/templates/src/main.ts.hbs +48 -0
  74. package/dist/templates/plopfiles/_modules/desktop/electron/templates/src/preload.ts.hbs +18 -0
  75. package/dist/templates/plopfiles/_modules/desktop/electron/templates/tsconfig.json.hbs +14 -0
  76. package/dist/templates/plopfiles/_modules/desktop/tauri/module.js +38 -0
  77. package/dist/templates/plopfiles/_modules/desktop/tauri/templates/src-tauri/Cargo.toml.hbs +20 -0
  78. package/dist/templates/plopfiles/_modules/desktop/tauri/templates/src-tauri/build.rs.hbs +3 -0
  79. package/dist/templates/plopfiles/_modules/desktop/tauri/templates/src-tauri/src/main.rs.hbs +30 -0
  80. package/dist/templates/plopfiles/_modules/desktop/tauri/templates/src-tauri/tauri.conf.json.hbs +44 -0
  81. package/dist/templates/plopfiles/_modules/docs/mkdocs/module.js +61 -0
  82. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/docs/architecture/components.md.hbs +37 -0
  83. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/docs/architecture/overview.md.hbs +43 -0
  84. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/docs/contributing/development.md.hbs +164 -0
  85. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/docs/contributing/guidelines.md.hbs +50 -0
  86. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/docs/getting-started/configuration.md.hbs +37 -0
  87. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/docs/getting-started/installation.md.hbs +53 -0
  88. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/docs/getting-started/quickstart.md.hbs +39 -0
  89. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/docs/index.md.hbs +44 -0
  90. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/docs/javascripts/extra.js.hbs +23 -0
  91. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/docs/stylesheets/extra.css.hbs +51 -0
  92. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/mkdocs.yml.hbs +141 -0
  93. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/requirements-docs.txt.hbs +15 -0
  94. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/scripts/aggregate-docs.mjs.hbs +188 -0
  95. package/dist/templates/plopfiles/_modules/docs/mkdocs/templates/scripts/gen_ref_pages.py.hbs +54 -0
  96. package/dist/templates/plopfiles/_modules/frontends/react-vite/module.js +60 -0
  97. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/index.html.hbs +13 -0
  98. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/nginx.conf.hbs +31 -0
  99. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/postcss.config.js.hbs +6 -0
  100. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/src/App.tsx.hbs +12 -0
  101. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/src/index.css.hbs +25 -0
  102. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/src/lib/api.ts.hbs +52 -0
  103. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/src/main.tsx.hbs +18 -0
  104. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/src/pages/Home.tsx.hbs +31 -0
  105. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/tailwind.config.js.hbs +8 -0
  106. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/tsconfig.json.hbs +25 -0
  107. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/tsconfig.node.json.hbs +10 -0
  108. package/dist/templates/plopfiles/_modules/frontends/react-vite/templates/vite.config.ts.hbs +21 -0
  109. package/dist/templates/plopfiles/_modules/frontends/solid-vite/module.js +51 -0
  110. package/dist/templates/plopfiles/_modules/frontends/solid-vite/templates/index.html.hbs +13 -0
  111. package/dist/templates/plopfiles/_modules/frontends/solid-vite/templates/postcss.config.js.hbs +6 -0
  112. package/dist/templates/plopfiles/_modules/frontends/solid-vite/templates/src/App.tsx.hbs +12 -0
  113. package/dist/templates/plopfiles/_modules/frontends/solid-vite/templates/src/index.css.hbs +3 -0
  114. package/dist/templates/plopfiles/_modules/frontends/solid-vite/templates/src/index.tsx.hbs +21 -0
  115. package/dist/templates/plopfiles/_modules/frontends/solid-vite/templates/src/lib/api.ts.hbs +52 -0
  116. package/dist/templates/plopfiles/_modules/frontends/solid-vite/templates/src/pages/Home.tsx.hbs +34 -0
  117. package/dist/templates/plopfiles/_modules/frontends/solid-vite/templates/tailwind.config.js.hbs +8 -0
  118. package/dist/templates/plopfiles/_modules/frontends/solid-vite/templates/tsconfig.json.hbs +24 -0
  119. package/dist/templates/plopfiles/_modules/frontends/solid-vite/templates/vite.config.ts.hbs +21 -0
  120. package/dist/templates/plopfiles/_modules/frontends/vue-vite/module.js +54 -0
  121. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/index.html.hbs +13 -0
  122. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/postcss.config.js.hbs +6 -0
  123. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/src/App.vue.hbs +9 -0
  124. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/src/index.css.hbs +3 -0
  125. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/src/lib/api.ts.hbs +52 -0
  126. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/src/main.ts.hbs +14 -0
  127. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/src/pages/Home.vue.hbs +27 -0
  128. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/src/router.ts.hbs +13 -0
  129. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/tailwind.config.js.hbs +8 -0
  130. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/tsconfig.json.hbs +25 -0
  131. package/dist/templates/plopfiles/_modules/frontends/vue-vite/templates/vite.config.ts.hbs +21 -0
  132. package/dist/templates/plopfiles/_modules/infra/docker-compose/module.js +52 -0
  133. package/dist/templates/plopfiles/_modules/infra/docker-compose/templates/Dockerfile.backend.hbs +32 -0
  134. package/dist/templates/plopfiles/_modules/infra/docker-compose/templates/Dockerfile.frontend.hbs +31 -0
  135. package/dist/templates/plopfiles/_modules/infra/docker-compose/templates/docker-compose.yml.hbs +97 -0
  136. package/dist/templates/plopfiles/_modules/infra/github-actions/module.js +24 -0
  137. package/dist/templates/plopfiles/_modules/infra/github-actions/templates/.github/workflows/ci.yml.hbs +78 -0
  138. package/dist/templates/plopfiles/_modules/infra/github-actions/templates/.github/workflows/deploy.yml.hbs +60 -0
  139. package/dist/templates/plopfiles/_modules/infra/just/module.js +26 -0
  140. package/dist/templates/plopfiles/_modules/infra/just/templates/justfile.hbs +205 -0
  141. package/dist/templates/plopfiles/_modules/infra/kubernetes/module.js +30 -0
  142. package/dist/templates/plopfiles/_modules/infra/kubernetes/templates/k8s/base/deployment.yaml.hbs +48 -0
  143. package/dist/templates/plopfiles/_modules/infra/kubernetes/templates/k8s/base/ingress.yaml.hbs +23 -0
  144. package/dist/templates/plopfiles/_modules/infra/kubernetes/templates/k8s/base/kustomization.yaml.hbs +11 -0
  145. package/dist/templates/plopfiles/_modules/infra/kubernetes/templates/k8s/base/service.yaml.hbs +15 -0
  146. package/dist/templates/plopfiles/_modules/infra/kubernetes/templates/k8s/overlays/dev/deployment-patch.yaml.hbs +17 -0
  147. package/dist/templates/plopfiles/_modules/infra/kubernetes/templates/k8s/overlays/dev/kustomization.yaml.hbs +15 -0
  148. package/dist/templates/plopfiles/_modules/infra/kubernetes/templates/k8s/overlays/prod/deployment-patch.yaml.hbs +17 -0
  149. package/dist/templates/plopfiles/_modules/infra/kubernetes/templates/k8s/overlays/prod/kustomization.yaml.hbs +15 -0
  150. package/dist/templates/plopfiles/_modules/infra/pulumi/module.js +30 -0
  151. package/dist/templates/plopfiles/_modules/infra/pulumi/templates/.gitignore.hbs +5 -0
  152. package/dist/templates/plopfiles/_modules/infra/pulumi/templates/Pulumi.dev.yaml.hbs +3 -0
  153. package/dist/templates/plopfiles/_modules/infra/pulumi/templates/Pulumi.yaml.hbs +7 -0
  154. package/dist/templates/plopfiles/_modules/infra/pulumi/templates/index.ts.hbs +26 -0
  155. package/dist/templates/plopfiles/_modules/infra/pulumi/templates/package.json.hbs +12 -0
  156. package/dist/templates/plopfiles/_modules/infra/pulumi/templates/tsconfig.json.hbs +16 -0
  157. package/dist/templates/plopfiles/_modules/infra/terraform/module.js +31 -0
  158. package/dist/templates/plopfiles/_modules/infra/terraform/templates/.gitignore.hbs +12 -0
  159. package/dist/templates/plopfiles/_modules/infra/terraform/templates/main.tf.hbs +34 -0
  160. package/dist/templates/plopfiles/_modules/infra/terraform/templates/outputs.tf.hbs +15 -0
  161. package/dist/templates/plopfiles/_modules/infra/terraform/templates/terraform.tfvars.example.hbs +6 -0
  162. package/dist/templates/plopfiles/_modules/infra/terraform/templates/variables.tf.hbs +30 -0
  163. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/module.js +38 -0
  164. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/build.gradle.kts.hbs +102 -0
  165. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/proguard-rules.pro.hbs +20 -0
  166. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/src/main/AndroidManifest.xml.hbs +25 -0
  167. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/src/main/kotlin/com/example/app/ApiClient.kt.hbs +38 -0
  168. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/src/main/kotlin/com/example/app/App.kt.hbs +116 -0
  169. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/src/main/kotlin/com/example/app/MainActivity.kt.hbs +28 -0
  170. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/src/main/kotlin/com/example/app/ui/theme/Color.kt.hbs +11 -0
  171. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/src/main/kotlin/com/example/app/ui/theme/Theme.kt.hbs +55 -0
  172. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/src/main/kotlin/com/example/app/ui/theme/Type.kt.hbs +31 -0
  173. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/src/main/res/values/strings.xml.hbs +3 -0
  174. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/app/src/main/res/values/themes.xml.hbs +4 -0
  175. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/build.gradle.kts.hbs +6 -0
  176. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/gradle.properties.hbs +4 -0
  177. package/dist/templates/plopfiles/_modules/mobile/android-kotlin/templates/settings.gradle.kts.hbs +18 -0
  178. package/dist/templates/plopfiles/_modules/mobile/flutter/module.js +36 -0
  179. package/dist/templates/plopfiles/_modules/mobile/flutter/templates/.env.hbs +1 -0
  180. package/dist/templates/plopfiles/_modules/mobile/flutter/templates/lib/main.dart.hbs +29 -0
  181. package/dist/templates/plopfiles/_modules/mobile/flutter/templates/lib/screens/home_screen.dart.hbs +88 -0
  182. package/dist/templates/plopfiles/_modules/mobile/flutter/templates/lib/services/api_service.dart.hbs +61 -0
  183. package/dist/templates/plopfiles/_modules/mobile/flutter/templates/pubspec.yaml.hbs +25 -0
  184. package/dist/templates/plopfiles/_modules/mobile/ios-swift/module.js +39 -0
  185. package/dist/templates/plopfiles/_modules/mobile/ios-swift/templates/App/App.swift.hbs +10 -0
  186. package/dist/templates/plopfiles/_modules/mobile/ios-swift/templates/App/Assets.xcassets/AccentColor.colorset/Contents.json.hbs +11 -0
  187. package/dist/templates/plopfiles/_modules/mobile/ios-swift/templates/App/Assets.xcassets/AppIcon.appiconset/Contents.json.hbs +13 -0
  188. package/dist/templates/plopfiles/_modules/mobile/ios-swift/templates/App/Assets.xcassets/Contents.json.hbs +6 -0
  189. package/dist/templates/plopfiles/_modules/mobile/ios-swift/templates/App/ContentView.swift.hbs +13 -0
  190. package/dist/templates/plopfiles/_modules/mobile/ios-swift/templates/App/Services/APIClient.swift.hbs +58 -0
  191. package/dist/templates/plopfiles/_modules/mobile/ios-swift/templates/App/Views/DetailsView.swift.hbs +22 -0
  192. package/dist/templates/plopfiles/_modules/mobile/ios-swift/templates/App/Views/HomeView.swift.hbs +62 -0
  193. package/dist/templates/plopfiles/_modules/mobile/ios-swift/templates/App.xcodeproj/project.pbxproj.hbs +363 -0
  194. package/dist/templates/plopfiles/_modules/mobile/react-native/module.js +36 -0
  195. package/dist/templates/plopfiles/_modules/mobile/react-native/templates/app/_layout.tsx.hbs +16 -0
  196. package/dist/templates/plopfiles/_modules/mobile/react-native/templates/app/index.tsx.hbs +66 -0
  197. package/dist/templates/plopfiles/_modules/mobile/react-native/templates/app.json.hbs +37 -0
  198. package/dist/templates/plopfiles/_modules/mobile/react-native/templates/package.json.hbs +29 -0
  199. package/dist/templates/plopfiles/_modules/mobile/react-native/templates/src/lib/api.ts.hbs +52 -0
  200. package/dist/templates/plopfiles/_modules/mobile/react-native/templates/tsconfig.json.hbs +11 -0
  201. package/dist/templates/plopfiles/_modules/quality/biome/module.js +44 -0
  202. package/dist/templates/plopfiles/_modules/quality/biome/templates/biome.json.hbs +126 -0
  203. package/dist/templates/plopfiles/_modules/quality/clippy/module.js +40 -0
  204. package/dist/templates/plopfiles/_modules/quality/clippy/templates/clippy.toml.hbs +29 -0
  205. package/dist/templates/plopfiles/_modules/quality/clippy/templates/rustfmt.toml.hbs +44 -0
  206. package/dist/templates/plopfiles/_modules/quality/golangci-lint/module.js +40 -0
  207. package/dist/templates/plopfiles/_modules/quality/golangci-lint/templates/.golangci.yml.hbs +199 -0
  208. package/dist/templates/plopfiles/_modules/quality/ruff/module.js +43 -0
  209. package/dist/templates/plopfiles/_modules/quality/ruff/templates/mypy.ini.hbs +48 -0
  210. package/dist/templates/plopfiles/_modules/quality/ruff/templates/ruff.toml.hbs +111 -0
  211. package/dist/templates/plopfiles/_modules/storybook/react-storybook/module.js +54 -0
  212. package/dist/templates/plopfiles/_modules/storybook/react-storybook/templates/.storybook/main.ts.hbs +44 -0
  213. package/dist/templates/plopfiles/_modules/storybook/react-storybook/templates/.storybook/preview.ts.hbs +68 -0
  214. package/dist/templates/plopfiles/_modules/storybook/react-storybook/templates/src/stories/Button.stories.tsx.hbs +158 -0
  215. package/dist/templates/plopfiles/_modules/types.ts +98 -0
  216. package/dist/templates/plopfiles/full-stack/plopfile.js +132 -0
  217. package/dist/templates/plopfiles/full-stack/templates/gitignore.hbs +44 -0
  218. package/dist/templates/plopfiles/full-stack/templates/package.json.hbs +21 -0
  219. package/dist/templates/plopfiles/presets/cli-go/module.js +43 -0
  220. package/dist/templates/plopfiles/presets/cli-go/templates/README.md.hbs +42 -0
  221. package/dist/templates/plopfiles/presets/cli-go/templates/config.json.hbs +9 -0
  222. package/dist/templates/plopfiles/presets/cli-node/module.js +45 -0
  223. package/dist/templates/plopfiles/presets/cli-node/templates/README.md.hbs +42 -0
  224. package/dist/templates/plopfiles/presets/cli-node/templates/config.json.hbs +9 -0
  225. package/dist/templates/plopfiles/presets/cli-python/module.js +43 -0
  226. package/dist/templates/plopfiles/presets/cli-python/templates/README.md.hbs +42 -0
  227. package/dist/templates/plopfiles/presets/cli-python/templates/config.json.hbs +9 -0
  228. package/dist/templates/plopfiles/presets/cli-rust/module.js +43 -0
  229. package/dist/templates/plopfiles/presets/cli-rust/templates/README.md.hbs +42 -0
  230. package/dist/templates/plopfiles/presets/cli-rust/templates/config.json.hbs +9 -0
  231. package/dist/templates/plopfiles/presets/loader.js +125 -0
  232. package/dist/templates/plopfiles/typescript-service/plopfile.js +186 -0
  233. package/dist/templates/plopfiles/typescript-service/templates/Dockerfile.hbs +29 -0
  234. package/dist/templates/plopfiles/typescript-service/templates/README.md.hbs +85 -0
  235. package/dist/templates/plopfiles/typescript-service/templates/config.ts.hbs +15 -0
  236. package/dist/templates/plopfiles/typescript-service/templates/db/index.ts.hbs +19 -0
  237. package/dist/templates/plopfiles/typescript-service/templates/db/schema.ts.hbs +16 -0
  238. package/dist/templates/plopfiles/typescript-service/templates/index.ts.hbs +89 -0
  239. package/dist/templates/plopfiles/typescript-service/templates/package.json.hbs +36 -0
  240. package/dist/templates/plopfiles/typescript-service/templates/routes/health.ts.hbs +61 -0
  241. package/dist/templates/plopfiles/typescript-service/templates/routes/index.ts.hbs +35 -0
  242. package/dist/templates/plopfiles/typescript-service/templates/tsconfig.json.hbs +24 -0
  243. package/dist/templates/plopfiles/typescript-service/templates/types.ts.hbs +28 -0
  244. package/dist/templates/typescript/component.module.css.tpl +6 -0
  245. package/dist/templates/typescript/component.test.tsx.tpl +9 -0
  246. package/dist/templates/typescript/component.tsx.tpl +17 -0
  247. package/dist/templates/typescript/component.types.ts.tpl +3 -0
  248. package/dist/templates/typescript/project/nextjs/app/globals.css.tpl +10 -0
  249. package/dist/templates/typescript/project/nextjs/app/layout.tsx.tpl +15 -0
  250. package/dist/templates/typescript/project/nextjs/app/page.tsx.tpl +8 -0
  251. package/dist/templates/typescript/project/nextjs/babel.config.js.tpl +8 -0
  252. package/dist/templates/typescript/project/nextjs/jest.config.js.tpl +10 -0
  253. package/dist/templates/typescript/project/nextjs/jest.setup.ts.tpl +6 -0
  254. package/dist/templates/typescript/project/nextjs/next-env.d.ts.tpl +5 -0
  255. package/dist/templates/typescript/project/nextjs/next.config.js.tpl +9 -0
  256. package/dist/templates/typescript/project/nextjs/package.json.tpl +1 -0
  257. package/dist/templates/typescript/project/nextjs/tsconfig.json.tpl +1 -0
  258. package/dist/templates/typescript/project/vite/App.css.tpl +8 -0
  259. package/dist/templates/typescript/project/vite/App.tsx.tpl +17 -0
  260. package/dist/templates/typescript/project/vite/index.css.tpl +8 -0
  261. package/dist/templates/typescript/project/vite/index.html.tpl +13 -0
  262. package/dist/templates/typescript/project/vite/main.tsx.tpl +10 -0
  263. package/dist/templates/typescript/project/vite/package.json.tpl +1 -0
  264. package/dist/templates/typescript/project/vite/test-setup.ts.tpl +1 -0
  265. package/dist/templates/typescript/project/vite/tsconfig.build.json.tpl +1 -0
  266. package/dist/templates/typescript/project/vite/tsconfig.json.tpl +1 -0
  267. package/dist/templates/typescript/project/vite/tsconfig.node.json.tpl +1 -0
  268. package/dist/templates/typescript/project/vite/vite.config.ts.tpl +18 -0
  269. package/dist/templates/typescript/service.api.ts.tpl +27 -0
  270. package/dist/templates/typescript/service.class.ts.tpl +28 -0
  271. package/dist/templates/typescript/service.handler.ts.tpl +42 -0
  272. package/dist/templates/typescript/service.schema.ts.tpl +16 -0
  273. package/package.json +95 -0
  274. package/templates/typescript/component.module.css.tpl +6 -0
  275. package/templates/typescript/component.test.tsx.tpl +9 -0
  276. package/templates/typescript/component.tsx.tpl +17 -0
  277. package/templates/typescript/component.types.ts.tpl +3 -0
  278. package/templates/typescript/project/nextjs/app/globals.css.tpl +10 -0
  279. package/templates/typescript/project/nextjs/app/layout.tsx.tpl +15 -0
  280. package/templates/typescript/project/nextjs/app/page.tsx.tpl +8 -0
  281. package/templates/typescript/project/nextjs/babel.config.js.tpl +8 -0
  282. package/templates/typescript/project/nextjs/jest.config.js.tpl +10 -0
  283. package/templates/typescript/project/nextjs/jest.setup.ts.tpl +6 -0
  284. package/templates/typescript/project/nextjs/next-env.d.ts.tpl +5 -0
  285. package/templates/typescript/project/nextjs/next.config.js.tpl +9 -0
  286. package/templates/typescript/project/nextjs/package.json.tpl +1 -0
  287. package/templates/typescript/project/nextjs/tsconfig.json.tpl +1 -0
  288. package/templates/typescript/project/vite/App.css.tpl +8 -0
  289. package/templates/typescript/project/vite/App.tsx.tpl +17 -0
  290. package/templates/typescript/project/vite/index.css.tpl +8 -0
  291. package/templates/typescript/project/vite/index.html.tpl +13 -0
  292. package/templates/typescript/project/vite/main.tsx.tpl +10 -0
  293. package/templates/typescript/project/vite/package.json.tpl +1 -0
  294. package/templates/typescript/project/vite/test-setup.ts.tpl +1 -0
  295. package/templates/typescript/project/vite/tsconfig.build.json.tpl +1 -0
  296. package/templates/typescript/project/vite/tsconfig.json.tpl +1 -0
  297. package/templates/typescript/project/vite/tsconfig.node.json.tpl +1 -0
  298. package/templates/typescript/project/vite/vite.config.ts.tpl +18 -0
  299. package/templates/typescript/service.api.ts.tpl +27 -0
  300. package/templates/typescript/service.class.ts.tpl +28 -0
  301. package/templates/typescript/service.handler.ts.tpl +42 -0
  302. package/templates/typescript/service.schema.ts.tpl +16 -0
@@ -0,0 +1,363 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 56;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 1A0000010000000000000001 /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A0000020000000000000001 /* App.swift */; };
11
+ 1A0000030000000000000001 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A0000040000000000000001 /* ContentView.swift */; };
12
+ 1A0000050000000000000001 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1A0000060000000000000001 /* Assets.xcassets */; };
13
+ 1A0000070000000000000001 /* HomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A0000080000000000000001 /* HomeView.swift */; };
14
+ 1A0000090000000000000001 /* DetailsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A0000100000000000000001 /* DetailsView.swift */; };
15
+ 1A0000110000000000000001 /* APIClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A0000120000000000000001 /* APIClient.swift */; };
16
+ /* End PBXBuildFile section */
17
+
18
+ /* Begin PBXFileReference section */
19
+ 1A0000020000000000000001 /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = "<group>"; };
20
+ 1A0000040000000000000001 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
21
+ 1A0000060000000000000001 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
22
+ 1A0000080000000000000001 /* HomeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeView.swift; sourceTree = "<group>"; };
23
+ 1A0000100000000000000001 /* DetailsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DetailsView.swift; sourceTree = "<group>"; };
24
+ 1A0000120000000000000001 /* APIClient.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = APIClient.swift; sourceTree = "<group>"; };
25
+ 1A0000130000000000000001 /* {{pascalCase name}}.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "{{pascalCase name}}.app"; sourceTree = BUILT_PRODUCTS_DIR; };
26
+ /* End PBXFileReference section */
27
+
28
+ /* Begin PBXFrameworksBuildPhase section */
29
+ 1A0000140000000000000001 /* Frameworks */ = {
30
+ isa = PBXFrameworksBuildPhase;
31
+ buildActionMask = 2147483647;
32
+ files = (
33
+ );
34
+ runOnlyForDeploymentPostprocessing = 0;
35
+ };
36
+ /* End PBXFrameworksBuildPhase section */
37
+
38
+ /* Begin PBXGroup section */
39
+ 1A0000150000000000000001 = {
40
+ isa = PBXGroup;
41
+ children = (
42
+ 1A0000160000000000000001 /* App */,
43
+ 1A0000170000000000000001 /* Products */,
44
+ );
45
+ sourceTree = "<group>";
46
+ };
47
+ 1A0000160000000000000001 /* App */ = {
48
+ isa = PBXGroup;
49
+ children = (
50
+ 1A0000020000000000000001 /* App.swift */,
51
+ 1A0000040000000000000001 /* ContentView.swift */,
52
+ 1A0000180000000000000001 /* Views */,
53
+ 1A0000190000000000000001 /* Services */,
54
+ 1A0000060000000000000001 /* Assets.xcassets */,
55
+ );
56
+ path = App;
57
+ sourceTree = "<group>";
58
+ };
59
+ 1A0000170000000000000001 /* Products */ = {
60
+ isa = PBXGroup;
61
+ children = (
62
+ 1A0000130000000000000001 /* {{pascalCase name}}.app */,
63
+ );
64
+ name = Products;
65
+ sourceTree = "<group>";
66
+ };
67
+ 1A0000180000000000000001 /* Views */ = {
68
+ isa = PBXGroup;
69
+ children = (
70
+ 1A0000080000000000000001 /* HomeView.swift */,
71
+ 1A0000100000000000000001 /* DetailsView.swift */,
72
+ );
73
+ path = Views;
74
+ sourceTree = "<group>";
75
+ };
76
+ 1A0000190000000000000001 /* Services */ = {
77
+ isa = PBXGroup;
78
+ children = (
79
+ 1A0000120000000000000001 /* APIClient.swift */,
80
+ );
81
+ path = Services;
82
+ sourceTree = "<group>";
83
+ };
84
+ /* End PBXGroup section */
85
+
86
+ /* Begin PBXNativeTarget section */
87
+ 1A0000200000000000000001 /* {{pascalCase name}} */ = {
88
+ isa = PBXNativeTarget;
89
+ buildConfigurationList = 1A0000210000000000000001 /* Build configuration list for PBXNativeTarget "{{pascalCase name}}" */;
90
+ buildPhases = (
91
+ 1A0000220000000000000001 /* Sources */,
92
+ 1A0000140000000000000001 /* Frameworks */,
93
+ 1A0000230000000000000001 /* Resources */,
94
+ );
95
+ buildRules = (
96
+ );
97
+ dependencies = (
98
+ );
99
+ name = "{{pascalCase name}}";
100
+ productName = "{{pascalCase name}}";
101
+ productReference = 1A0000130000000000000001 /* {{pascalCase name}}.app */;
102
+ productType = "com.apple.product-type.application";
103
+ };
104
+ /* End PBXNativeTarget section */
105
+
106
+ /* Begin PBXProject section */
107
+ 1A0000240000000000000001 /* Project object */ = {
108
+ isa = PBXProject;
109
+ attributes = {
110
+ BuildIndependentTargetsInParallel = 1;
111
+ LastSwiftUpdateCheck = 1520;
112
+ LastUpgradeCheck = 1520;
113
+ TargetAttributes = {
114
+ 1A0000200000000000000001 = {
115
+ CreatedOnToolsVersion = 15.2;
116
+ };
117
+ };
118
+ };
119
+ buildConfigurationList = 1A0000250000000000000001 /* Build configuration list for PBXProject "{{pascalCase name}}" */;
120
+ compatibilityVersion = "Xcode 14.0";
121
+ developmentRegion = en;
122
+ hasScannedForEncodings = 0;
123
+ knownRegions = (
124
+ en,
125
+ Base,
126
+ );
127
+ mainGroup = 1A0000150000000000000001;
128
+ productRefGroup = 1A0000170000000000000001 /* Products */;
129
+ projectDirPath = "";
130
+ projectRoot = "";
131
+ targets = (
132
+ 1A0000200000000000000001 /* {{pascalCase name}} */,
133
+ );
134
+ };
135
+ /* End PBXProject section */
136
+
137
+ /* Begin PBXResourcesBuildPhase section */
138
+ 1A0000230000000000000001 /* Resources */ = {
139
+ isa = PBXResourcesBuildPhase;
140
+ buildActionMask = 2147483647;
141
+ files = (
142
+ 1A0000050000000000000001 /* Assets.xcassets in Resources */,
143
+ );
144
+ runOnlyForDeploymentPostprocessing = 0;
145
+ };
146
+ /* End PBXResourcesBuildPhase section */
147
+
148
+ /* Begin PBXSourcesBuildPhase section */
149
+ 1A0000220000000000000001 /* Sources */ = {
150
+ isa = PBXSourcesBuildPhase;
151
+ buildActionMask = 2147483647;
152
+ files = (
153
+ 1A0000010000000000000001 /* App.swift in Sources */,
154
+ 1A0000030000000000000001 /* ContentView.swift in Sources */,
155
+ 1A0000070000000000000001 /* HomeView.swift in Sources */,
156
+ 1A0000090000000000000001 /* DetailsView.swift in Sources */,
157
+ 1A0000110000000000000001 /* APIClient.swift in Sources */,
158
+ );
159
+ runOnlyForDeploymentPostprocessing = 0;
160
+ };
161
+ /* End PBXSourcesBuildPhase section */
162
+
163
+ /* Begin XCBuildConfiguration section */
164
+ 1A0000260000000000000001 /* Debug */ = {
165
+ isa = XCBuildConfiguration;
166
+ buildSettings = {
167
+ ALWAYS_SEARCH_USER_PATHS = NO;
168
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
169
+ CLANG_ANALYZER_NONNULL = YES;
170
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
171
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
172
+ CLANG_ENABLE_MODULES = YES;
173
+ CLANG_ENABLE_OBJC_ARC = YES;
174
+ CLANG_ENABLE_OBJC_WEAK = YES;
175
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
176
+ CLANG_WARN_BOOL_CONVERSION = YES;
177
+ CLANG_WARN_COMMA = YES;
178
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
179
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
180
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
181
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
182
+ CLANG_WARN_EMPTY_BODY = YES;
183
+ CLANG_WARN_ENUM_CONVERSION = YES;
184
+ CLANG_WARN_INFINITE_RECURSION = YES;
185
+ CLANG_WARN_INT_CONVERSION = YES;
186
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
187
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
188
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
189
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
190
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
191
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
192
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
193
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
194
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
195
+ CLANG_WARN_UNREACHABLE_CODE = YES;
196
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
197
+ COPY_PHASE_STRIP = NO;
198
+ DEBUG_INFORMATION_FORMAT = dwarf;
199
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
200
+ ENABLE_TESTABILITY = YES;
201
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
202
+ GCC_C_LANGUAGE_STANDARD = gnu17;
203
+ GCC_DYNAMIC_NO_PIC = NO;
204
+ GCC_NO_COMMON_BLOCKS = YES;
205
+ GCC_OPTIMIZATION_LEVEL = 0;
206
+ GCC_PREPROCESSOR_DEFINITIONS = (
207
+ "DEBUG=1",
208
+ "$(inherited)",
209
+ );
210
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
211
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
212
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
213
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
214
+ GCC_WARN_UNUSED_FUNCTION = YES;
215
+ GCC_WARN_UNUSED_VARIABLE = YES;
216
+ IPHONEOS_DEPLOYMENT_TARGET = 17.0;
217
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
218
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
219
+ MTL_FAST_MATH = YES;
220
+ ONLY_ACTIVE_ARCH = YES;
221
+ SDKROOT = iphoneos;
222
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
223
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
224
+ };
225
+ name = Debug;
226
+ };
227
+ 1A0000270000000000000001 /* Release */ = {
228
+ isa = XCBuildConfiguration;
229
+ buildSettings = {
230
+ ALWAYS_SEARCH_USER_PATHS = NO;
231
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
232
+ CLANG_ANALYZER_NONNULL = YES;
233
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
234
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
235
+ CLANG_ENABLE_MODULES = YES;
236
+ CLANG_ENABLE_OBJC_ARC = YES;
237
+ CLANG_ENABLE_OBJC_WEAK = YES;
238
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
239
+ CLANG_WARN_BOOL_CONVERSION = YES;
240
+ CLANG_WARN_COMMA = YES;
241
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
242
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
243
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
244
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
245
+ CLANG_WARN_EMPTY_BODY = YES;
246
+ CLANG_WARN_ENUM_CONVERSION = YES;
247
+ CLANG_WARN_INFINITE_RECURSION = YES;
248
+ CLANG_WARN_INT_CONVERSION = YES;
249
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
250
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
251
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
252
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
253
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
254
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
255
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
256
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
257
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
258
+ CLANG_WARN_UNREACHABLE_CODE = YES;
259
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
260
+ COPY_PHASE_STRIP = NO;
261
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
262
+ ENABLE_NS_ASSERTIONS = NO;
263
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
264
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
265
+ GCC_C_LANGUAGE_STANDARD = gnu17;
266
+ GCC_NO_COMMON_BLOCKS = YES;
267
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
268
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
269
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
270
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
271
+ GCC_WARN_UNUSED_FUNCTION = YES;
272
+ GCC_WARN_UNUSED_VARIABLE = YES;
273
+ IPHONEOS_DEPLOYMENT_TARGET = 17.0;
274
+ LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
275
+ MTL_ENABLE_DEBUG_INFO = NO;
276
+ MTL_FAST_MATH = YES;
277
+ SDKROOT = iphoneos;
278
+ SWIFT_COMPILATION_MODE = wholemodule;
279
+ VALIDATE_PRODUCT = YES;
280
+ };
281
+ name = Release;
282
+ };
283
+ 1A0000280000000000000001 /* Debug */ = {
284
+ isa = XCBuildConfiguration;
285
+ buildSettings = {
286
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
287
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
288
+ CODE_SIGN_STYLE = Automatic;
289
+ CURRENT_PROJECT_VERSION = 1;
290
+ DEVELOPMENT_TEAM = "";
291
+ ENABLE_PREVIEWS = YES;
292
+ GENERATE_INFOPLIST_FILE = YES;
293
+ INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
294
+ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
295
+ INFOPLIST_KEY_UILaunchScreen_Generation = YES;
296
+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
297
+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
298
+ LD_RUNPATH_SEARCH_PATHS = (
299
+ "$(inherited)",
300
+ "@executable_path/Frameworks",
301
+ );
302
+ MARKETING_VERSION = 1.0;
303
+ PRODUCT_BUNDLE_IDENTIFIER = "{{bundleId}}";
304
+ PRODUCT_NAME = "$(TARGET_NAME)";
305
+ SWIFT_EMIT_LOC_STRINGS = YES;
306
+ SWIFT_VERSION = 5.0;
307
+ TARGETED_DEVICE_FAMILY = "1,2";
308
+ };
309
+ name = Debug;
310
+ };
311
+ 1A0000290000000000000001 /* Release */ = {
312
+ isa = XCBuildConfiguration;
313
+ buildSettings = {
314
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
315
+ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
316
+ CODE_SIGN_STYLE = Automatic;
317
+ CURRENT_PROJECT_VERSION = 1;
318
+ DEVELOPMENT_TEAM = "";
319
+ ENABLE_PREVIEWS = YES;
320
+ GENERATE_INFOPLIST_FILE = YES;
321
+ INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
322
+ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
323
+ INFOPLIST_KEY_UILaunchScreen_Generation = YES;
324
+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
325
+ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
326
+ LD_RUNPATH_SEARCH_PATHS = (
327
+ "$(inherited)",
328
+ "@executable_path/Frameworks",
329
+ );
330
+ MARKETING_VERSION = 1.0;
331
+ PRODUCT_BUNDLE_IDENTIFIER = "{{bundleId}}";
332
+ PRODUCT_NAME = "$(TARGET_NAME)";
333
+ SWIFT_EMIT_LOC_STRINGS = YES;
334
+ SWIFT_VERSION = 5.0;
335
+ TARGETED_DEVICE_FAMILY = "1,2";
336
+ };
337
+ name = Release;
338
+ };
339
+ /* End XCBuildConfiguration section */
340
+
341
+ /* Begin XCConfigurationList section */
342
+ 1A0000210000000000000001 /* Build configuration list for PBXNativeTarget "{{pascalCase name}}" */ = {
343
+ isa = XCConfigurationList;
344
+ buildConfigurations = (
345
+ 1A0000280000000000000001 /* Debug */,
346
+ 1A0000290000000000000001 /* Release */,
347
+ );
348
+ defaultConfigurationIsVisible = 0;
349
+ defaultConfigurationName = Release;
350
+ };
351
+ 1A0000250000000000000001 /* Build configuration list for PBXProject "{{pascalCase name}}" */ = {
352
+ isa = XCConfigurationList;
353
+ buildConfigurations = (
354
+ 1A0000260000000000000001 /* Debug */,
355
+ 1A0000270000000000000001 /* Release */,
356
+ );
357
+ defaultConfigurationIsVisible = 0;
358
+ defaultConfigurationName = Release;
359
+ };
360
+ /* End XCConfigurationList section */
361
+ };
362
+ rootObject = 1A0000240000000000000001 /* Project object */;
363
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * React Native Mobile Module
3
+ */
4
+
5
+ import { dirname, resolve } from "node:path";
6
+ import { fileURLToPath } from "node:url";
7
+
8
+ const __dirname = dirname(fileURLToPath(import.meta.url));
9
+ const templatesDir = resolve(__dirname, "templates");
10
+
11
+ export default function (data) {
12
+ const mobileDir = data.mobileDir || "mobile";
13
+
14
+ return [
15
+ {
16
+ type: "addMany",
17
+ destination: `{{projectDir}}/${mobileDir}`,
18
+ base: templatesDir,
19
+ templateFiles: `${templatesDir}/**/*.hbs`,
20
+ stripExtensions: ["hbs"],
21
+ data,
22
+ },
23
+ ];
24
+ }
25
+
26
+ export const description = "React Native mobile app with Expo and TypeScript";
27
+
28
+ export const scripts = {
29
+ "dev:mobile": "cd mobile && npx expo start",
30
+ "build:mobile:ios": "cd mobile && npx eas build --platform ios",
31
+ "build:mobile:android": "cd mobile && npx eas build --platform android",
32
+ };
33
+
34
+ export const envVars = {
35
+ EXPO_PUBLIC_API_URL: "http://localhost:3000",
36
+ };
@@ -0,0 +1,16 @@
1
+ import { Stack } from "expo-router";
2
+ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
3
+ import { StatusBar } from "expo-status-bar";
4
+
5
+ const queryClient = new QueryClient();
6
+
7
+ export default function RootLayout() {
8
+ return (
9
+ <QueryClientProvider client={queryClient}>
10
+ <Stack>
11
+ <Stack.Screen name="index" options=\{{ title: "{{titleCase name}}" }} />
12
+ </Stack>
13
+ <StatusBar style="auto" />
14
+ </QueryClientProvider>
15
+ );
16
+ }
@@ -0,0 +1,66 @@
1
+ import { View, Text, StyleSheet, ActivityIndicator } from "react-native";
2
+ import { useQuery } from "@tanstack/react-query";
3
+ import { api } from "../src/lib/api";
4
+
5
+ export default function HomeScreen() {
6
+ const { data: health, isLoading, error } = useQuery({
7
+ queryKey: ["health"],
8
+ queryFn: () => api.get("/health"),
9
+ retry: false,
10
+ });
11
+
12
+ return (
13
+ <View style={styles.container}>
14
+ <Text style={styles.title}>{{titleCase name}}</Text>
15
+
16
+ <View style={styles.card}>
17
+ <Text style={styles.cardTitle}>API Status</Text>
18
+ {isLoading && <ActivityIndicator />}
19
+ {error && (
20
+ <Text style={styles.error}>
21
+ API not reachable. Make sure the backend is running.
22
+ </Text>
23
+ )}
24
+ {health && (
25
+ <Text style={styles.success}>
26
+ API is healthy: {JSON.stringify(health)}
27
+ </Text>
28
+ )}
29
+ </View>
30
+ </View>
31
+ );
32
+ }
33
+
34
+ const styles = StyleSheet.create({
35
+ container: {
36
+ flex: 1,
37
+ padding: 16,
38
+ backgroundColor: "#f5f5f5",
39
+ },
40
+ title: {
41
+ fontSize: 32,
42
+ fontWeight: "bold",
43
+ marginBottom: 24,
44
+ },
45
+ card: {
46
+ backgroundColor: "#fff",
47
+ borderRadius: 8,
48
+ padding: 16,
49
+ shadowColor: "#000",
50
+ shadowOffset: { width: 0, height: 2 },
51
+ shadowOpacity: 0.1,
52
+ shadowRadius: 4,
53
+ elevation: 3,
54
+ },
55
+ cardTitle: {
56
+ fontSize: 18,
57
+ fontWeight: "600",
58
+ marginBottom: 12,
59
+ },
60
+ error: {
61
+ color: "#ef4444",
62
+ },
63
+ success: {
64
+ color: "#22c55e",
65
+ },
66
+ });
@@ -0,0 +1,37 @@
1
+ {
2
+ "expo": {
3
+ "name": "{{titleCase name}}",
4
+ "slug": "{{kebabCase name}}",
5
+ "version": "1.0.0",
6
+ "orientation": "portrait",
7
+ "icon": "./assets/icon.png",
8
+ "scheme": "{{kebabCase name}}",
9
+ "userInterfaceStyle": "automatic",
10
+ "splash": {
11
+ "image": "./assets/splash.png",
12
+ "resizeMode": "contain",
13
+ "backgroundColor": "#ffffff"
14
+ },
15
+ "assetBundlePatterns": ["**/*"],
16
+ "ios": {
17
+ "supportsTablet": true,
18
+ "bundleIdentifier": "com.{{snakeCase name}}.app"
19
+ },
20
+ "android": {
21
+ "adaptiveIcon": {
22
+ "foregroundImage": "./assets/adaptive-icon.png",
23
+ "backgroundColor": "#ffffff"
24
+ },
25
+ "package": "com.{{snakeCase name}}.app"
26
+ },
27
+ "web": {
28
+ "bundler": "metro",
29
+ "output": "static",
30
+ "favicon": "./assets/favicon.png"
31
+ },
32
+ "plugins": ["expo-router"],
33
+ "experiments": {
34
+ "typedRoutes": true
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "{{kebabCase name}}-mobile",
3
+ "version": "0.1.0",
4
+ "main": "expo-router/entry",
5
+ "scripts": {
6
+ "start": "expo start",
7
+ "android": "expo start --android",
8
+ "ios": "expo start --ios",
9
+ "web": "expo start --web"
10
+ },
11
+ "dependencies": {
12
+ "expo": "~50.0.0",
13
+ "expo-router": "~3.4.0",
14
+ "expo-status-bar": "~1.11.0",
15
+ "react": "18.2.0",
16
+ "react-native": "0.73.2",
17
+ "react-native-safe-area-context": "4.8.2",
18
+ "react-native-screens": "~3.29.0",
19
+ "@tanstack/react-query": "^5.0.0",
20
+ "nativewind": "^2.0.0"
21
+ },
22
+ "devDependencies": {
23
+ "@babel/core": "^7.20.0",
24
+ "@types/react": "~18.2.0",
25
+ "tailwindcss": "^3.3.0",
26
+ "typescript": "^5.1.0"
27
+ },
28
+ "private": true
29
+ }
@@ -0,0 +1,52 @@
1
+ const API_URL = process.env.EXPO_PUBLIC_API_URL || "http://localhost:3000";
2
+
3
+ class ApiClient {
4
+ private baseUrl: string;
5
+
6
+ constructor(baseUrl: string) {
7
+ this.baseUrl = baseUrl;
8
+ }
9
+
10
+ private async request<T>(path: string, options: RequestInit = {}): Promise<T> {
11
+ const url = `${this.baseUrl}${path}`;
12
+ const response = await fetch(url, {
13
+ ...options,
14
+ headers: {
15
+ "Content-Type": "application/json",
16
+ ...options.headers,
17
+ },
18
+ });
19
+
20
+ if (!response.ok) {
21
+ throw new Error(`API error: ${response.status} ${response.statusText}`);
22
+ }
23
+
24
+ return response.json();
25
+ }
26
+
27
+ get<T>(path: string, options?: RequestInit): Promise<T> {
28
+ return this.request<T>(path, { ...options, method: "GET" });
29
+ }
30
+
31
+ post<T>(path: string, data?: unknown, options?: RequestInit): Promise<T> {
32
+ return this.request<T>(path, {
33
+ ...options,
34
+ method: "POST",
35
+ body: data ? JSON.stringify(data) : undefined,
36
+ });
37
+ }
38
+
39
+ put<T>(path: string, data?: unknown, options?: RequestInit): Promise<T> {
40
+ return this.request<T>(path, {
41
+ ...options,
42
+ method: "PUT",
43
+ body: data ? JSON.stringify(data) : undefined,
44
+ });
45
+ }
46
+
47
+ delete<T>(path: string, options?: RequestInit): Promise<T> {
48
+ return this.request<T>(path, { ...options, method: "DELETE" });
49
+ }
50
+ }
51
+
52
+ export const api = new ApiClient(API_URL);
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "expo/tsconfig.base",
3
+ "compilerOptions": {
4
+ "strict": true,
5
+ "baseUrl": ".",
6
+ "paths": {
7
+ "@/*": ["./src/*"]
8
+ }
9
+ },
10
+ "include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "expo-env.d.ts"]
11
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Biome Linting & Formatting Module
3
+ *
4
+ * Sets up Biome for JavaScript/TypeScript projects.
5
+ * Biome is a fast, modern alternative to ESLint + Prettier.
6
+ */
7
+
8
+ import { dirname, resolve } from "node:path";
9
+ import { fileURLToPath } from "node:url";
10
+
11
+ const __dirname = dirname(fileURLToPath(import.meta.url));
12
+ const templatesDir = resolve(__dirname, "templates");
13
+
14
+ export default function (data) {
15
+ return [
16
+ {
17
+ type: "addMany",
18
+ destination: `{{projectDir}}`,
19
+ base: templatesDir,
20
+ templateFiles: `${templatesDir}/**/*.hbs`,
21
+ stripExtensions: ["hbs"],
22
+ data,
23
+ },
24
+ ];
25
+ }
26
+
27
+ export const description = "Biome - Fast linter and formatter for JavaScript/TypeScript";
28
+
29
+ export const dependencies = {};
30
+
31
+ export const devDependencies = {
32
+ "@biomejs/biome": "^1.9.0",
33
+ };
34
+
35
+ export const scripts = {
36
+ lint: "biome lint .",
37
+ "lint:fix": "biome lint --write .",
38
+ format: "biome format --write .",
39
+ "format:check": "biome format .",
40
+ check: "biome check .",
41
+ "check:fix": "biome check --write .",
42
+ };
43
+
44
+ export const envVars = {};