create-huenei-template 0.2.2

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 (1355) hide show
  1. package/README.md +132 -0
  2. package/bin/create-huenei-template.js +2 -0
  3. package/dist/config/templates.js +54 -0
  4. package/dist/core/dependency-manager.js +55 -0
  5. package/dist/core/errors.js +43 -0
  6. package/dist/core/file-operations.js +25 -0
  7. package/dist/core/prompts.js +183 -0
  8. package/dist/core/template-resolver.js +18 -0
  9. package/dist/index.js +85 -0
  10. package/dist/templates/backend/.gitkeep +1 -0
  11. package/dist/templates/backend/nestjs-api/.prettierrc +4 -0
  12. package/dist/templates/backend/nestjs-api/README.md +98 -0
  13. package/dist/templates/backend/nestjs-api/eslint.config.mjs +35 -0
  14. package/dist/templates/backend/nestjs-api/nest-cli.json +8 -0
  15. package/dist/templates/backend/nestjs-api/package.json +71 -0
  16. package/dist/templates/backend/nestjs-api/pnpm-lock.yaml +6233 -0
  17. package/dist/templates/backend/nestjs-api/src/app.controller.spec.ts +22 -0
  18. package/dist/templates/backend/nestjs-api/src/app.controller.ts +12 -0
  19. package/dist/templates/backend/nestjs-api/src/app.module.ts +10 -0
  20. package/dist/templates/backend/nestjs-api/src/app.service.ts +8 -0
  21. package/dist/templates/backend/nestjs-api/src/main.ts +8 -0
  22. package/dist/templates/backend/nestjs-api/test/app.e2e-spec.ts +25 -0
  23. package/dist/templates/backend/nestjs-api/test/jest-e2e.json +9 -0
  24. package/dist/templates/backend/nestjs-api/tsconfig.build.json +4 -0
  25. package/dist/templates/backend/nestjs-api/tsconfig.json +25 -0
  26. package/dist/templates/backend/nestjs-api-postgres/.cursor/commands/new-endpoint.md +209 -0
  27. package/dist/templates/backend/nestjs-api-postgres/.cursor/commands/new-model.md +201 -0
  28. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/api-rest.mdc +126 -0
  29. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/authentication-security.mdc +86 -0
  30. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/dto-validation.mdc +93 -0
  31. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/general-rules.mdc +126 -0
  32. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/nestjs-architecture.mdc +83 -0
  33. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/prisma-standards.mdc +90 -0
  34. package/dist/templates/backend/nestjs-api-postgres/.cursor/rules/swagger-documentation.mdc +90 -0
  35. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/api-security-best-practices/SKILL.md +907 -0
  36. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/docker-expert/SKILL.md +409 -0
  37. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-expert/SKILL.md +552 -0
  38. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-the-best-practices/AGENTS.md +5958 -0
  39. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-the-best-practices/SKILL.md +130 -0
  40. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/nodejs-best-practices/SKILL.md +333 -0
  41. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/postgresql-table-design/SKILL.md +202 -0
  42. package/dist/templates/backend/nestjs-api-postgres/.cursor/skills/prisma-expert/SKILL.md +355 -0
  43. package/dist/templates/backend/nestjs-api-postgres/.dockerignore +50 -0
  44. package/dist/templates/backend/nestjs-api-postgres/.env.example +18 -0
  45. package/dist/templates/backend/nestjs-api-postgres/.env.test +18 -0
  46. package/dist/templates/backend/nestjs-api-postgres/.prettierrc +4 -0
  47. package/dist/templates/backend/nestjs-api-postgres/README.md +1502 -0
  48. package/dist/templates/backend/nestjs-api-postgres/docker-compose.yml +24 -0
  49. package/dist/templates/backend/nestjs-api-postgres/eslint.config.mjs +41 -0
  50. package/dist/templates/backend/nestjs-api-postgres/nest-cli.json +8 -0
  51. package/dist/templates/backend/nestjs-api-postgres/package.json +107 -0
  52. package/dist/templates/backend/nestjs-api-postgres/prisma/migrations/20260126125423_init/migration.sql +84 -0
  53. package/dist/templates/backend/nestjs-api-postgres/prisma/migrations/migration_lock.toml +3 -0
  54. package/dist/templates/backend/nestjs-api-postgres/prisma/schema.prisma +76 -0
  55. package/dist/templates/backend/nestjs-api-postgres/prisma/seed.ts +220 -0
  56. package/dist/templates/backend/nestjs-api-postgres/prisma.config.ts +10 -0
  57. package/dist/templates/backend/nestjs-api-postgres/src/app.module.ts +39 -0
  58. package/dist/templates/backend/nestjs-api-postgres/src/app.service.ts +8 -0
  59. package/dist/templates/backend/nestjs-api-postgres/src/auth/auth.controller.ts +36 -0
  60. package/dist/templates/backend/nestjs-api-postgres/src/auth/auth.module.ts +22 -0
  61. package/dist/templates/backend/nestjs-api-postgres/src/auth/auth.service.ts +63 -0
  62. package/dist/templates/backend/nestjs-api-postgres/src/auth/decorators/roles.decorator.ts +5 -0
  63. package/dist/templates/backend/nestjs-api-postgres/src/auth/dto/login-response.dto.ts +23 -0
  64. package/dist/templates/backend/nestjs-api-postgres/src/auth/dto/login.dto.ts +27 -0
  65. package/dist/templates/backend/nestjs-api-postgres/src/auth/guards/jwt-auth.guard.ts +20 -0
  66. package/dist/templates/backend/nestjs-api-postgres/src/auth/guards/roles.guard.ts +23 -0
  67. package/dist/templates/backend/nestjs-api-postgres/src/auth/strategies/jwt.strategy.ts +32 -0
  68. package/dist/templates/backend/nestjs-api-postgres/src/auth/types.ts +18 -0
  69. package/dist/templates/backend/nestjs-api-postgres/src/common/dto/paginated-response.dto.ts +16 -0
  70. package/dist/templates/backend/nestjs-api-postgres/src/common/dto/pagination.dto.ts +31 -0
  71. package/dist/templates/backend/nestjs-api-postgres/src/common/filters/http-exception.filter.ts +53 -0
  72. package/dist/templates/backend/nestjs-api-postgres/src/config/env.validation.ts +41 -0
  73. package/dist/templates/backend/nestjs-api-postgres/src/health/health.controller.ts +35 -0
  74. package/dist/templates/backend/nestjs-api-postgres/src/health/health.module.ts +7 -0
  75. package/dist/templates/backend/nestjs-api-postgres/src/main.ts +87 -0
  76. package/dist/templates/backend/nestjs-api-postgres/src/posts/dto/create-post.dto.ts +32 -0
  77. package/dist/templates/backend/nestjs-api-postgres/src/posts/dto/post-response.dto.ts +41 -0
  78. package/dist/templates/backend/nestjs-api-postgres/src/posts/dto/update-post.dto.ts +31 -0
  79. package/dist/templates/backend/nestjs-api-postgres/src/posts/posts.controller.ts +161 -0
  80. package/dist/templates/backend/nestjs-api-postgres/src/posts/posts.module.ts +12 -0
  81. package/dist/templates/backend/nestjs-api-postgres/src/posts/posts.service.ts +171 -0
  82. package/dist/templates/backend/nestjs-api-postgres/src/prisma/prisma.module.ts +9 -0
  83. package/dist/templates/backend/nestjs-api-postgres/src/prisma/prisma.service.ts +27 -0
  84. package/dist/templates/backend/nestjs-api-postgres/src/users/constants/settings.constants.ts +9 -0
  85. package/dist/templates/backend/nestjs-api-postgres/src/users/dto/profile-response.dto.ts +39 -0
  86. package/dist/templates/backend/nestjs-api-postgres/src/users/dto/settings-response.dto.ts +18 -0
  87. package/dist/templates/backend/nestjs-api-postgres/src/users/dto/update-profile.dto.ts +48 -0
  88. package/dist/templates/backend/nestjs-api-postgres/src/users/dto/update-settings.dto.ts +40 -0
  89. package/dist/templates/backend/nestjs-api-postgres/src/users/dto/user-response.dto.ts +18 -0
  90. package/dist/templates/backend/nestjs-api-postgres/src/users/profile.service.ts +49 -0
  91. package/dist/templates/backend/nestjs-api-postgres/src/users/settings.service.ts +82 -0
  92. package/dist/templates/backend/nestjs-api-postgres/src/users/users.controller.ts +102 -0
  93. package/dist/templates/backend/nestjs-api-postgres/src/users/users.module.ts +14 -0
  94. package/dist/templates/backend/nestjs-api-postgres/src/users/users.service.ts +27 -0
  95. package/dist/templates/backend/nestjs-api-postgres/test/README.md +412 -0
  96. package/dist/templates/backend/nestjs-api-postgres/test/e2e/auth.e2e-spec.ts +147 -0
  97. package/dist/templates/backend/nestjs-api-postgres/test/e2e/health.e2e-spec.ts +62 -0
  98. package/dist/templates/backend/nestjs-api-postgres/test/e2e/posts.e2e-spec.ts +407 -0
  99. package/dist/templates/backend/nestjs-api-postgres/test/e2e/users.e2e-spec.ts +287 -0
  100. package/dist/templates/backend/nestjs-api-postgres/test/fixtures/test-data.ts +109 -0
  101. package/dist/templates/backend/nestjs-api-postgres/test/helpers/auth.helper.ts +54 -0
  102. package/dist/templates/backend/nestjs-api-postgres/test/helpers/db.helper.ts +73 -0
  103. package/dist/templates/backend/nestjs-api-postgres/test/jest-e2e.json +12 -0
  104. package/dist/templates/backend/nestjs-api-postgres/test/setup-e2e.ts +8 -0
  105. package/dist/templates/backend/nestjs-api-postgres/test/unit/app.service.spec.ts +24 -0
  106. package/dist/templates/backend/nestjs-api-postgres/test/unit/auth.controller.spec.ts +91 -0
  107. package/dist/templates/backend/nestjs-api-postgres/test/unit/auth.service.spec.ts +161 -0
  108. package/dist/templates/backend/nestjs-api-postgres/test/unit/health.controller.spec.ts +78 -0
  109. package/dist/templates/backend/nestjs-api-postgres/test/unit/http-exception.filter.spec.ts +150 -0
  110. package/dist/templates/backend/nestjs-api-postgres/test/unit/jwt-auth.guard.spec.ts +50 -0
  111. package/dist/templates/backend/nestjs-api-postgres/test/unit/jwt.strategy.spec.ts +41 -0
  112. package/dist/templates/backend/nestjs-api-postgres/test/unit/posts.controller.spec.ts +249 -0
  113. package/dist/templates/backend/nestjs-api-postgres/test/unit/posts.service.spec.ts +328 -0
  114. package/dist/templates/backend/nestjs-api-postgres/test/unit/profile.service.spec.ts +146 -0
  115. package/dist/templates/backend/nestjs-api-postgres/test/unit/settings.service.spec.ts +242 -0
  116. package/dist/templates/backend/nestjs-api-postgres/test/unit/users.controller.spec.ts +178 -0
  117. package/dist/templates/backend/nestjs-api-postgres/test/unit/users.service.spec.ts +96 -0
  118. package/dist/templates/backend/nestjs-api-postgres/tsconfig.build.json +4 -0
  119. package/dist/templates/backend/nestjs-api-postgres/tsconfig.json +28 -0
  120. package/dist/templates/backend/nestjs-api-sqlite/.cursor/commands/new-endpoint.md +209 -0
  121. package/dist/templates/backend/nestjs-api-sqlite/.cursor/commands/new-model.md +201 -0
  122. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/api-rest.mdc +126 -0
  123. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/authentication-security.mdc +86 -0
  124. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/dto-validation.mdc +93 -0
  125. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/general-rules.mdc +126 -0
  126. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/nestjs-architecture.mdc +83 -0
  127. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/prisma-standards.mdc +90 -0
  128. package/dist/templates/backend/nestjs-api-sqlite/.cursor/rules/swagger-documentation.mdc +90 -0
  129. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/api-security-best-practices/SKILL.md +907 -0
  130. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-expert/SKILL.md +552 -0
  131. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-the-best-practices/AGENTS.md +5958 -0
  132. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-the-best-practices/SKILL.md +130 -0
  133. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/nodejs-best-practices/SKILL.md +333 -0
  134. package/dist/templates/backend/nestjs-api-sqlite/.cursor/skills/prisma-expert/SKILL.md +355 -0
  135. package/dist/templates/backend/nestjs-api-sqlite/.env.example +4 -0
  136. package/dist/templates/backend/nestjs-api-sqlite/.env.test +4 -0
  137. package/dist/templates/backend/nestjs-api-sqlite/.prettierrc +4 -0
  138. package/dist/templates/backend/nestjs-api-sqlite/FINAL_IMPLEMENTATION_SUMMARY.md +537 -0
  139. package/dist/templates/backend/nestjs-api-sqlite/IMPLEMENTATION_REPORT.md +229 -0
  140. package/dist/templates/backend/nestjs-api-sqlite/IMPLEMENTATION_SUMMARY.md +275 -0
  141. package/dist/templates/backend/nestjs-api-sqlite/PRISMA_7_MIGRATION.md +175 -0
  142. package/dist/templates/backend/nestjs-api-sqlite/README.md +1464 -0
  143. package/dist/templates/backend/nestjs-api-sqlite/SWAGGER_INTEGRATION.md +194 -0
  144. package/dist/templates/backend/nestjs-api-sqlite/TESTING_IMPLEMENTATION_REPORT.md +368 -0
  145. package/dist/templates/backend/nestjs-api-sqlite/TESTING_SUMMARY.md +293 -0
  146. package/dist/templates/backend/nestjs-api-sqlite/Untitled +218 -0
  147. package/dist/templates/backend/nestjs-api-sqlite/eslint.config.mjs +41 -0
  148. package/dist/templates/backend/nestjs-api-sqlite/nest-cli.json +8 -0
  149. package/dist/templates/backend/nestjs-api-sqlite/package.json +105 -0
  150. package/dist/templates/backend/nestjs-api-sqlite/pnpm-lock.yaml +7630 -0
  151. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/20260123190258_init/migration.sql +12 -0
  152. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/20260123205000_add_roles_and_posts/migration.sql +32 -0
  153. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124163749_init_with_profile_and_settings/migration.sql +33 -0
  154. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124190929_add_render_model/migration.sql +13 -0
  155. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124200534_add_post_indexes/migration.sql +16 -0
  156. package/dist/templates/backend/nestjs-api-sqlite/prisma/migrations/migration_lock.toml +3 -0
  157. package/dist/templates/backend/nestjs-api-sqlite/prisma/schema.prisma +76 -0
  158. package/dist/templates/backend/nestjs-api-sqlite/prisma/seed.ts +218 -0
  159. package/dist/templates/backend/nestjs-api-sqlite/prisma.config.ts +10 -0
  160. package/dist/templates/backend/nestjs-api-sqlite/src/app.module.ts +39 -0
  161. package/dist/templates/backend/nestjs-api-sqlite/src/app.service.ts +8 -0
  162. package/dist/templates/backend/nestjs-api-sqlite/src/auth/auth.controller.ts +36 -0
  163. package/dist/templates/backend/nestjs-api-sqlite/src/auth/auth.module.ts +22 -0
  164. package/dist/templates/backend/nestjs-api-sqlite/src/auth/auth.service.ts +63 -0
  165. package/dist/templates/backend/nestjs-api-sqlite/src/auth/decorators/roles.decorator.ts +5 -0
  166. package/dist/templates/backend/nestjs-api-sqlite/src/auth/dto/login-response.dto.ts +23 -0
  167. package/dist/templates/backend/nestjs-api-sqlite/src/auth/dto/login.dto.ts +27 -0
  168. package/dist/templates/backend/nestjs-api-sqlite/src/auth/guards/jwt-auth.guard.ts +20 -0
  169. package/dist/templates/backend/nestjs-api-sqlite/src/auth/guards/roles.guard.ts +23 -0
  170. package/dist/templates/backend/nestjs-api-sqlite/src/auth/strategies/jwt.strategy.ts +32 -0
  171. package/dist/templates/backend/nestjs-api-sqlite/src/auth/types.ts +18 -0
  172. package/dist/templates/backend/nestjs-api-sqlite/src/common/dto/paginated-response.dto.ts +16 -0
  173. package/dist/templates/backend/nestjs-api-sqlite/src/common/dto/pagination.dto.ts +31 -0
  174. package/dist/templates/backend/nestjs-api-sqlite/src/common/filters/http-exception.filter.ts +53 -0
  175. package/dist/templates/backend/nestjs-api-sqlite/src/config/env.validation.ts +35 -0
  176. package/dist/templates/backend/nestjs-api-sqlite/src/health/health.controller.ts +35 -0
  177. package/dist/templates/backend/nestjs-api-sqlite/src/health/health.module.ts +7 -0
  178. package/dist/templates/backend/nestjs-api-sqlite/src/main.ts +87 -0
  179. package/dist/templates/backend/nestjs-api-sqlite/src/posts/dto/create-post.dto.ts +32 -0
  180. package/dist/templates/backend/nestjs-api-sqlite/src/posts/dto/post-response.dto.ts +41 -0
  181. package/dist/templates/backend/nestjs-api-sqlite/src/posts/dto/update-post.dto.ts +31 -0
  182. package/dist/templates/backend/nestjs-api-sqlite/src/posts/posts.controller.ts +161 -0
  183. package/dist/templates/backend/nestjs-api-sqlite/src/posts/posts.module.ts +12 -0
  184. package/dist/templates/backend/nestjs-api-sqlite/src/posts/posts.service.ts +171 -0
  185. package/dist/templates/backend/nestjs-api-sqlite/src/prisma/prisma.module.ts +9 -0
  186. package/dist/templates/backend/nestjs-api-sqlite/src/prisma/prisma.service.ts +29 -0
  187. package/dist/templates/backend/nestjs-api-sqlite/src/users/constants/settings.constants.ts +9 -0
  188. package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/profile-response.dto.ts +39 -0
  189. package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/settings-response.dto.ts +18 -0
  190. package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/update-profile.dto.ts +48 -0
  191. package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/update-settings.dto.ts +40 -0
  192. package/dist/templates/backend/nestjs-api-sqlite/src/users/dto/user-response.dto.ts +18 -0
  193. package/dist/templates/backend/nestjs-api-sqlite/src/users/profile.service.ts +49 -0
  194. package/dist/templates/backend/nestjs-api-sqlite/src/users/settings.service.ts +82 -0
  195. package/dist/templates/backend/nestjs-api-sqlite/src/users/users.controller.ts +102 -0
  196. package/dist/templates/backend/nestjs-api-sqlite/src/users/users.module.ts +14 -0
  197. package/dist/templates/backend/nestjs-api-sqlite/src/users/users.service.ts +27 -0
  198. package/dist/templates/backend/nestjs-api-sqlite/test/README.md +412 -0
  199. package/dist/templates/backend/nestjs-api-sqlite/test/e2e/auth.e2e-spec.ts +147 -0
  200. package/dist/templates/backend/nestjs-api-sqlite/test/e2e/health.e2e-spec.ts +62 -0
  201. package/dist/templates/backend/nestjs-api-sqlite/test/e2e/posts.e2e-spec.ts +407 -0
  202. package/dist/templates/backend/nestjs-api-sqlite/test/e2e/users.e2e-spec.ts +287 -0
  203. package/dist/templates/backend/nestjs-api-sqlite/test/fixtures/test-data.ts +109 -0
  204. package/dist/templates/backend/nestjs-api-sqlite/test/helpers/auth.helper.ts +54 -0
  205. package/dist/templates/backend/nestjs-api-sqlite/test/helpers/db.helper.ts +72 -0
  206. package/dist/templates/backend/nestjs-api-sqlite/test/jest-e2e.json +12 -0
  207. package/dist/templates/backend/nestjs-api-sqlite/test/setup-e2e.ts +8 -0
  208. package/dist/templates/backend/nestjs-api-sqlite/test/unit/app.service.spec.ts +24 -0
  209. package/dist/templates/backend/nestjs-api-sqlite/test/unit/auth.controller.spec.ts +91 -0
  210. package/dist/templates/backend/nestjs-api-sqlite/test/unit/auth.service.spec.ts +161 -0
  211. package/dist/templates/backend/nestjs-api-sqlite/test/unit/health.controller.spec.ts +78 -0
  212. package/dist/templates/backend/nestjs-api-sqlite/test/unit/http-exception.filter.spec.ts +150 -0
  213. package/dist/templates/backend/nestjs-api-sqlite/test/unit/jwt-auth.guard.spec.ts +50 -0
  214. package/dist/templates/backend/nestjs-api-sqlite/test/unit/jwt.strategy.spec.ts +41 -0
  215. package/dist/templates/backend/nestjs-api-sqlite/test/unit/posts.controller.spec.ts +249 -0
  216. package/dist/templates/backend/nestjs-api-sqlite/test/unit/posts.service.spec.ts +328 -0
  217. package/dist/templates/backend/nestjs-api-sqlite/test/unit/profile.service.spec.ts +146 -0
  218. package/dist/templates/backend/nestjs-api-sqlite/test/unit/settings.service.spec.ts +242 -0
  219. package/dist/templates/backend/nestjs-api-sqlite/test/unit/users.controller.spec.ts +178 -0
  220. package/dist/templates/backend/nestjs-api-sqlite/test/unit/users.service.spec.ts +96 -0
  221. package/dist/templates/backend/nestjs-api-sqlite/tsconfig.build.json +4 -0
  222. package/dist/templates/backend/nestjs-api-sqlite/tsconfig.json +28 -0
  223. package/dist/templates/frontend/angular-base/.agents/skills/angular-component/SKILL.md +288 -0
  224. package/dist/templates/frontend/angular-base/.agents/skills/angular-component/references/component-patterns.md +358 -0
  225. package/dist/templates/frontend/angular-base/.agents/skills/angular-di/SKILL.md +387 -0
  226. package/dist/templates/frontend/angular-base/.agents/skills/angular-di/references/di-patterns.md +519 -0
  227. package/dist/templates/frontend/angular-base/.agents/skills/angular-directives/SKILL.md +437 -0
  228. package/dist/templates/frontend/angular-base/.agents/skills/angular-directives/references/directive-patterns.md +570 -0
  229. package/dist/templates/frontend/angular-base/.agents/skills/angular-forms/SKILL.md +434 -0
  230. package/dist/templates/frontend/angular-base/.agents/skills/angular-forms/references/form-patterns.md +398 -0
  231. package/dist/templates/frontend/angular-base/.agents/skills/angular-http/SKILL.md +366 -0
  232. package/dist/templates/frontend/angular-base/.agents/skills/angular-http/references/http-patterns.md +448 -0
  233. package/dist/templates/frontend/angular-base/.agents/skills/angular-routing/SKILL.md +395 -0
  234. package/dist/templates/frontend/angular-base/.agents/skills/angular-routing/references/routing-patterns.md +472 -0
  235. package/dist/templates/frontend/angular-base/.agents/skills/angular-signals/SKILL.md +302 -0
  236. package/dist/templates/frontend/angular-base/.agents/skills/angular-signals/references/signal-patterns.md +404 -0
  237. package/dist/templates/frontend/angular-base/.agents/skills/angular-ssr/SKILL.md +435 -0
  238. package/dist/templates/frontend/angular-base/.agents/skills/angular-ssr/references/ssr-patterns.md +497 -0
  239. package/dist/templates/frontend/angular-base/.agents/skills/angular-testing/SKILL.md +660 -0
  240. package/dist/templates/frontend/angular-base/.agents/skills/angular-testing/references/testing-patterns.md +707 -0
  241. package/dist/templates/frontend/angular-base/.agents/skills/angular-tooling/SKILL.md +352 -0
  242. package/dist/templates/frontend/angular-base/.agents/skills/angular-tooling/references/tooling-patterns.md +448 -0
  243. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-accessibility/SKILL.md +780 -0
  244. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-components/SKILL.md +718 -0
  245. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
  246. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
  247. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/SKILL.md +432 -0
  248. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
  249. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/SKILL.md +354 -0
  250. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
  251. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/SKILL.md +578 -0
  252. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
  253. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
  254. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
  255. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
  256. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-mobile-first/SKILL.md +768 -0
  257. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/SKILL.md +374 -0
  258. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
  259. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-plugins/SKILL.md +505 -0
  260. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
  261. package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
  262. package/dist/templates/frontend/angular-base/.agents/skills/web-design-guidelines/SKILL.md +39 -0
  263. package/dist/templates/frontend/angular-base/.cursor/mcp.json +12 -0
  264. package/dist/templates/frontend/angular-base/.cursor/rules/angular-expert.mdc +153 -0
  265. package/dist/templates/frontend/angular-base/.editorconfig +17 -0
  266. package/dist/templates/frontend/angular-base/.eslintrc.json +52 -0
  267. package/dist/templates/frontend/angular-base/.github/workflows/ci.yml +122 -0
  268. package/dist/templates/frontend/angular-base/.husky/pre-commit +1 -0
  269. package/dist/templates/frontend/angular-base/.husky/pre-push +1 -0
  270. package/dist/templates/frontend/angular-base/.postcssrc.json +5 -0
  271. package/dist/templates/frontend/angular-base/.prettierignore +8 -0
  272. package/dist/templates/frontend/angular-base/.prettierrc.json +15 -0
  273. package/dist/templates/frontend/angular-base/.vscode/extensions.json +4 -0
  274. package/dist/templates/frontend/angular-base/.vscode/launch.json +20 -0
  275. package/dist/templates/frontend/angular-base/.vscode/mcp.json +9 -0
  276. package/dist/templates/frontend/angular-base/.vscode/tasks.json +42 -0
  277. package/dist/templates/frontend/angular-base/CONTRIBUTING.md +230 -0
  278. package/dist/templates/frontend/angular-base/README.md +383 -0
  279. package/dist/templates/frontend/angular-base/angular.json +84 -0
  280. package/dist/templates/frontend/angular-base/cypress/e2e/app.cy.ts +39 -0
  281. package/dist/templates/frontend/angular-base/cypress/e2e/auth.cy.ts +196 -0
  282. package/dist/templates/frontend/angular-base/cypress/e2e/dashboard.cy.ts +56 -0
  283. package/dist/templates/frontend/angular-base/cypress/e2e/home.cy.ts +35 -0
  284. package/dist/templates/frontend/angular-base/cypress/fixtures/example.json +4 -0
  285. package/dist/templates/frontend/angular-base/cypress/support/commands.ts +8 -0
  286. package/dist/templates/frontend/angular-base/cypress/support/e2e.ts +11 -0
  287. package/dist/templates/frontend/angular-base/cypress.config.ts +11 -0
  288. package/dist/templates/frontend/angular-base/docs/ARCHITECTURE.md +337 -0
  289. package/dist/templates/frontend/angular-base/docs/AUTHENTICATION.md +491 -0
  290. package/dist/templates/frontend/angular-base/docs/DEPLOYMENT.md +507 -0
  291. package/dist/templates/frontend/angular-base/docs/FEATURES.md +404 -0
  292. package/dist/templates/frontend/angular-base/docs/TESTING.md +418 -0
  293. package/dist/templates/frontend/angular-base/docs/THEMING.md +333 -0
  294. package/dist/templates/frontend/angular-base/docs/UI_LIBRARIES.md +380 -0
  295. package/dist/templates/frontend/angular-base/docs/USER_PROFILE_FLOW.md +431 -0
  296. package/dist/templates/frontend/angular-base/package-lock.json +13321 -0
  297. package/dist/templates/frontend/angular-base/package.json +93 -0
  298. package/dist/templates/frontend/angular-base/public/favicon.ico +0 -0
  299. package/dist/templates/frontend/angular-base/src/app/app.config.server.ts +14 -0
  300. package/dist/templates/frontend/angular-base/src/app/app.config.ts +32 -0
  301. package/dist/templates/frontend/angular-base/src/app/app.css +0 -0
  302. package/dist/templates/frontend/angular-base/src/app/app.html +1 -0
  303. package/dist/templates/frontend/angular-base/src/app/app.routes.server.ts +28 -0
  304. package/dist/templates/frontend/angular-base/src/app/app.routes.ts +67 -0
  305. package/dist/templates/frontend/angular-base/src/app/app.spec.ts +23 -0
  306. package/dist/templates/frontend/angular-base/src/app/app.ts +12 -0
  307. package/dist/templates/frontend/angular-base/src/app/core/guards/admin.guard.ts +16 -0
  308. package/dist/templates/frontend/angular-base/src/app/core/guards/auth.guard.spec.ts +43 -0
  309. package/dist/templates/frontend/angular-base/src/app/core/guards/auth.guard.ts +15 -0
  310. package/dist/templates/frontend/angular-base/src/app/core/index.ts +10 -0
  311. package/dist/templates/frontend/angular-base/src/app/core/interceptors/http-error.interceptor.spec.ts +43 -0
  312. package/dist/templates/frontend/angular-base/src/app/core/interceptors/http-error.interceptor.ts +53 -0
  313. package/dist/templates/frontend/angular-base/src/app/core/services/auth.service.spec.ts +33 -0
  314. package/dist/templates/frontend/angular-base/src/app/core/services/auth.service.ts +91 -0
  315. package/dist/templates/frontend/angular-base/src/app/core/services/theme.service.spec.ts +33 -0
  316. package/dist/templates/frontend/angular-base/src/app/core/services/theme.service.ts +136 -0
  317. package/dist/templates/frontend/angular-base/src/app/features/admin/index.ts +3 -0
  318. package/dist/templates/frontend/angular-base/src/app/features/admin/routes.ts +21 -0
  319. package/dist/templates/frontend/angular-base/src/app/features/admin/users/models/admin-user.model.ts +32 -0
  320. package/dist/templates/frontend/angular-base/src/app/features/admin/users/pages/user-form.page.ts +279 -0
  321. package/dist/templates/frontend/angular-base/src/app/features/admin/users/pages/user-list.page.ts +336 -0
  322. package/dist/templates/frontend/angular-base/src/app/features/admin/users/services/admin-user.service.ts +151 -0
  323. package/dist/templates/frontend/angular-base/src/app/features/auth/index.ts +2 -0
  324. package/dist/templates/frontend/angular-base/src/app/features/auth/models/auth.model.ts +39 -0
  325. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/login.page.spec.ts +44 -0
  326. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/login.page.ts +187 -0
  327. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/password-recovery.page.spec.ts +48 -0
  328. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/password-recovery.page.ts +171 -0
  329. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/signup.page.spec.ts +53 -0
  330. package/dist/templates/frontend/angular-base/src/app/features/auth/pages/signup.page.ts +269 -0
  331. package/dist/templates/frontend/angular-base/src/app/features/auth/routes.ts +22 -0
  332. package/dist/templates/frontend/angular-base/src/app/features/customers/index.ts +3 -0
  333. package/dist/templates/frontend/angular-base/src/app/features/customers/models/customer.model.ts +41 -0
  334. package/dist/templates/frontend/angular-base/src/app/features/customers/pages/customer-detail.page.ts +299 -0
  335. package/dist/templates/frontend/angular-base/src/app/features/customers/pages/customer-form.page.ts +302 -0
  336. package/dist/templates/frontend/angular-base/src/app/features/customers/pages/customer-list.page.ts +439 -0
  337. package/dist/templates/frontend/angular-base/src/app/features/customers/routes.ts +21 -0
  338. package/dist/templates/frontend/angular-base/src/app/features/customers/services/customer.service.ts +162 -0
  339. package/dist/templates/frontend/angular-base/src/app/features/dashboard/components/stats-card/stats-card.component.spec.ts +23 -0
  340. package/dist/templates/frontend/angular-base/src/app/features/dashboard/components/stats-card/stats-card.component.ts +52 -0
  341. package/dist/templates/frontend/angular-base/src/app/features/dashboard/index.ts +1 -0
  342. package/dist/templates/frontend/angular-base/src/app/features/dashboard/pages/dashboard.page.spec.ts +21 -0
  343. package/dist/templates/frontend/angular-base/src/app/features/dashboard/pages/dashboard.page.ts +122 -0
  344. package/dist/templates/frontend/angular-base/src/app/features/dashboard/routes.ts +8 -0
  345. package/dist/templates/frontend/angular-base/src/app/features/dashboard/services/dashboard.service.spec.ts +37 -0
  346. package/dist/templates/frontend/angular-base/src/app/features/dashboard/services/dashboard.service.ts +48 -0
  347. package/dist/templates/frontend/angular-base/src/app/features/errors/index.ts +1 -0
  348. package/dist/templates/frontend/angular-base/src/app/features/errors/pages/forbidden.page.ts +50 -0
  349. package/dist/templates/frontend/angular-base/src/app/features/errors/pages/maintenance.page.ts +46 -0
  350. package/dist/templates/frontend/angular-base/src/app/features/errors/pages/not-found.page.ts +49 -0
  351. package/dist/templates/frontend/angular-base/src/app/features/errors/pages/server-error.page.ts +60 -0
  352. package/dist/templates/frontend/angular-base/src/app/features/errors/routes.ts +25 -0
  353. package/dist/templates/frontend/angular-base/src/app/features/home/index.ts +1 -0
  354. package/dist/templates/frontend/angular-base/src/app/features/home/pages/home.page.spec.ts +23 -0
  355. package/dist/templates/frontend/angular-base/src/app/features/home/pages/home.page.ts +105 -0
  356. package/dist/templates/frontend/angular-base/src/app/features/home/routes.ts +8 -0
  357. package/dist/templates/frontend/angular-base/src/app/features/projects/index.ts +3 -0
  358. package/dist/templates/frontend/angular-base/src/app/features/projects/models/project.model.ts +48 -0
  359. package/dist/templates/frontend/angular-base/src/app/features/projects/pages/project-detail.page.ts +444 -0
  360. package/dist/templates/frontend/angular-base/src/app/features/projects/pages/project-form.page.ts +393 -0
  361. package/dist/templates/frontend/angular-base/src/app/features/projects/pages/project-list.page.ts +411 -0
  362. package/dist/templates/frontend/angular-base/src/app/features/projects/routes.ts +21 -0
  363. package/dist/templates/frontend/angular-base/src/app/features/projects/services/project.service.ts +227 -0
  364. package/dist/templates/frontend/angular-base/src/app/features/reports/index.ts +3 -0
  365. package/dist/templates/frontend/angular-base/src/app/features/reports/models/report.model.ts +27 -0
  366. package/dist/templates/frontend/angular-base/src/app/features/reports/pages/analytics.page.html +246 -0
  367. package/dist/templates/frontend/angular-base/src/app/features/reports/pages/analytics.page.ts +135 -0
  368. package/dist/templates/frontend/angular-base/src/app/features/reports/routes.ts +13 -0
  369. package/dist/templates/frontend/angular-base/src/app/features/reports/services/report.service.ts +141 -0
  370. package/dist/templates/frontend/angular-base/src/app/features/user/index.ts +3 -0
  371. package/dist/templates/frontend/angular-base/src/app/features/user/models/user.model.ts +23 -0
  372. package/dist/templates/frontend/angular-base/src/app/features/user/pages/privacy.page.spec.ts +27 -0
  373. package/dist/templates/frontend/angular-base/src/app/features/user/pages/privacy.page.ts +414 -0
  374. package/dist/templates/frontend/angular-base/src/app/features/user/pages/profile.page.spec.ts +39 -0
  375. package/dist/templates/frontend/angular-base/src/app/features/user/pages/profile.page.ts +232 -0
  376. package/dist/templates/frontend/angular-base/src/app/features/user/pages/settings.page.spec.ts +28 -0
  377. package/dist/templates/frontend/angular-base/src/app/features/user/pages/settings.page.ts +284 -0
  378. package/dist/templates/frontend/angular-base/src/app/features/user/routes.ts +21 -0
  379. package/dist/templates/frontend/angular-base/src/app/features/user/services/user.service.ts +74 -0
  380. package/dist/templates/frontend/angular-base/src/app/layout/footer/footer.component.spec.ts +25 -0
  381. package/dist/templates/frontend/angular-base/src/app/layout/footer/footer.component.ts +67 -0
  382. package/dist/templates/frontend/angular-base/src/app/layout/index.ts +3 -0
  383. package/dist/templates/frontend/angular-base/src/app/layout/main-layout/main-layout.component.spec.ts +23 -0
  384. package/dist/templates/frontend/angular-base/src/app/layout/main-layout/main-layout.component.ts +30 -0
  385. package/dist/templates/frontend/angular-base/src/app/layout/navbar/navbar.component.spec.ts +23 -0
  386. package/dist/templates/frontend/angular-base/src/app/layout/navbar/navbar.component.ts +293 -0
  387. package/dist/templates/frontend/angular-base/src/app/shared/components/badge/badge.component.spec.ts +36 -0
  388. package/dist/templates/frontend/angular-base/src/app/shared/components/badge/badge.component.ts +70 -0
  389. package/dist/templates/frontend/angular-base/src/app/shared/components/button/button.component.spec.ts +44 -0
  390. package/dist/templates/frontend/angular-base/src/app/shared/components/button/button.component.ts +64 -0
  391. package/dist/templates/frontend/angular-base/src/app/shared/components/card/card.component.spec.ts +29 -0
  392. package/dist/templates/frontend/angular-base/src/app/shared/components/card/card.component.ts +60 -0
  393. package/dist/templates/frontend/angular-base/src/app/shared/components/data-table/data-table.component.spec.ts +49 -0
  394. package/dist/templates/frontend/angular-base/src/app/shared/components/data-table/data-table.component.ts +280 -0
  395. package/dist/templates/frontend/angular-base/src/app/shared/components/empty-state/empty-state.component.spec.ts +36 -0
  396. package/dist/templates/frontend/angular-base/src/app/shared/components/empty-state/empty-state.component.ts +56 -0
  397. package/dist/templates/frontend/angular-base/src/app/shared/components/modal/modal.component.spec.ts +32 -0
  398. package/dist/templates/frontend/angular-base/src/app/shared/components/modal/modal.component.ts +131 -0
  399. package/dist/templates/frontend/angular-base/src/app/shared/components/pagination/pagination.component.spec.ts +38 -0
  400. package/dist/templates/frontend/angular-base/src/app/shared/components/pagination/pagination.component.ts +194 -0
  401. package/dist/templates/frontend/angular-base/src/app/shared/components/search-input/search-input.component.spec.ts +37 -0
  402. package/dist/templates/frontend/angular-base/src/app/shared/components/search-input/search-input.component.ts +125 -0
  403. package/dist/templates/frontend/angular-base/src/app/shared/components/skeleton-loader/skeleton-loader.component.spec.ts +30 -0
  404. package/dist/templates/frontend/angular-base/src/app/shared/components/skeleton-loader/skeleton-loader.component.ts +55 -0
  405. package/dist/templates/frontend/angular-base/src/app/shared/components/toggle/toggle.component.spec.ts +49 -0
  406. package/dist/templates/frontend/angular-base/src/app/shared/components/toggle/toggle.component.ts +101 -0
  407. package/dist/templates/frontend/angular-base/src/app/shared/components/user-dropdown/user-dropdown.component.spec.ts +65 -0
  408. package/dist/templates/frontend/angular-base/src/app/shared/components/user-dropdown/user-dropdown.component.ts +219 -0
  409. package/dist/templates/frontend/angular-base/src/app/shared/directives/auto-focus.directive.spec.ts +33 -0
  410. package/dist/templates/frontend/angular-base/src/app/shared/directives/auto-focus.directive.ts +25 -0
  411. package/dist/templates/frontend/angular-base/src/app/shared/index.ts +18 -0
  412. package/dist/templates/frontend/angular-base/src/app/shared/pipes/date-format.pipe.spec.ts +29 -0
  413. package/dist/templates/frontend/angular-base/src/app/shared/pipes/date-format.pipe.ts +39 -0
  414. package/dist/templates/frontend/angular-base/src/environments/environment.development.ts +4 -0
  415. package/dist/templates/frontend/angular-base/src/environments/environment.ts +4 -0
  416. package/dist/templates/frontend/angular-base/src/index.html +44 -0
  417. package/dist/templates/frontend/angular-base/src/main.server.ts +7 -0
  418. package/dist/templates/frontend/angular-base/src/main.ts +5 -0
  419. package/dist/templates/frontend/angular-base/src/server.ts +66 -0
  420. package/dist/templates/frontend/angular-base/src/styles.css +209 -0
  421. package/dist/templates/frontend/angular-base/src/test-setup.ts +10 -0
  422. package/dist/templates/frontend/angular-base/tsconfig.app.json +17 -0
  423. package/dist/templates/frontend/angular-base/tsconfig.json +41 -0
  424. package/dist/templates/frontend/angular-base/tsconfig.spec.json +15 -0
  425. package/dist/templates/frontend/angular-base/vitest.config.ts +25 -0
  426. package/dist/templates/frontend/react-vite/.cursor/skills/architecture/SKILL.md +26 -0
  427. package/dist/templates/frontend/react-vite/.cursor/skills/components-shadcn/SKILL.md +23 -0
  428. package/dist/templates/frontend/react-vite/.cursor/skills/daisyui/SKILL.md +98 -0
  429. package/dist/templates/frontend/react-vite/.cursor/skills/routing/SKILL.md +32 -0
  430. package/dist/templates/frontend/react-vite/.cursor/skills/testing/SKILL.md +55 -0
  431. package/dist/templates/frontend/react-vite/.cursor/skills/tooling-and-scripts/SKILL.md +24 -0
  432. package/dist/templates/frontend/react-vite/.cursor/skills/ui-and-styling/SKILL.md +32 -0
  433. package/dist/templates/frontend/react-vite/.cursor/skills/vibe-and-ia/SKILL.md +23 -0
  434. package/dist/templates/frontend/react-vite/.prettierrc +6 -0
  435. package/dist/templates/frontend/react-vite/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +9 -0
  436. package/dist/templates/frontend/react-vite/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +9 -0
  437. package/dist/templates/frontend/react-vite/.vscode/extensions.json +7 -0
  438. package/dist/templates/frontend/react-vite/README.md +75 -0
  439. package/dist/templates/frontend/react-vite/components.json +22 -0
  440. package/dist/templates/frontend/react-vite/eslint.config.js +31 -0
  441. package/dist/templates/frontend/react-vite/index.html +13 -0
  442. package/dist/templates/frontend/react-vite/package.json +62 -0
  443. package/dist/templates/frontend/react-vite/pnpm-lock.yaml +4487 -0
  444. package/dist/templates/frontend/react-vite/pnpm-workspace.yaml +2 -0
  445. package/dist/templates/frontend/react-vite/src/assets/react.svg +1 -0
  446. package/dist/templates/frontend/react-vite/src/components/ui/badge.tsx +37 -0
  447. package/dist/templates/frontend/react-vite/src/components/ui/breadcrumb.tsx +106 -0
  448. package/dist/templates/frontend/react-vite/src/components/ui/button.tsx +58 -0
  449. package/dist/templates/frontend/react-vite/src/components/ui/card.tsx +72 -0
  450. package/dist/templates/frontend/react-vite/src/components/ui/form.tsx +165 -0
  451. package/dist/templates/frontend/react-vite/src/components/ui/input.tsx +22 -0
  452. package/dist/templates/frontend/react-vite/src/components/ui/label.tsx +24 -0
  453. package/dist/templates/frontend/react-vite/src/components/ui/password-input.tsx +41 -0
  454. package/dist/templates/frontend/react-vite/src/components/ui/separator.tsx +28 -0
  455. package/dist/templates/frontend/react-vite/src/components/ui/tabs.tsx +62 -0
  456. package/dist/templates/frontend/react-vite/src/components/ui/textarea.tsx +21 -0
  457. package/dist/templates/frontend/react-vite/src/index.css +104 -0
  458. package/dist/templates/frontend/react-vite/src/lib/queryClient.ts +11 -0
  459. package/dist/templates/frontend/react-vite/src/lib/utils.ts +6 -0
  460. package/dist/templates/frontend/react-vite/src/main.tsx +33 -0
  461. package/dist/templates/frontend/react-vite/src/routeTree.gen.ts +77 -0
  462. package/dist/templates/frontend/react-vite/src/router.tsx +13 -0
  463. package/dist/templates/frontend/react-vite/src/routes/__root.tsx +82 -0
  464. package/dist/templates/frontend/react-vite/src/routes/index.tsx +187 -0
  465. package/dist/templates/frontend/react-vite/src/routes/otra-ruta.tsx +319 -0
  466. package/dist/templates/frontend/react-vite/src/test/setup.ts +1 -0
  467. package/dist/templates/frontend/react-vite/tsconfig.app.json +34 -0
  468. package/dist/templates/frontend/react-vite/tsconfig.json +10 -0
  469. package/dist/templates/frontend/react-vite/tsconfig.node.json +26 -0
  470. package/dist/templates/frontend/react-vite/vite.config.ts +22 -0
  471. package/dist/templates/frontend/react-vite/vitest.config.ts +9 -0
  472. package/dist/templates/frontend/react-vite-help/.cursor/skills/architecture/SKILL.md +26 -0
  473. package/dist/templates/frontend/react-vite-help/.cursor/skills/components-shadcn/SKILL.md +23 -0
  474. package/dist/templates/frontend/react-vite-help/.cursor/skills/daisyui/SKILL.md +98 -0
  475. package/dist/templates/frontend/react-vite-help/.cursor/skills/routing/SKILL.md +32 -0
  476. package/dist/templates/frontend/react-vite-help/.cursor/skills/testing/SKILL.md +55 -0
  477. package/dist/templates/frontend/react-vite-help/.cursor/skills/tooling-and-scripts/SKILL.md +24 -0
  478. package/dist/templates/frontend/react-vite-help/.cursor/skills/ui-and-styling/SKILL.md +32 -0
  479. package/dist/templates/frontend/react-vite-help/.cursor/skills/vibe-and-ia/SKILL.md +23 -0
  480. package/dist/templates/frontend/react-vite-help/.prettierrc +6 -0
  481. package/dist/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +9 -0
  482. package/dist/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +9 -0
  483. package/dist/templates/frontend/react-vite-help/.vscode/extensions.json +7 -0
  484. package/dist/templates/frontend/react-vite-help/README.md +75 -0
  485. package/dist/templates/frontend/react-vite-help/components.json +22 -0
  486. package/dist/templates/frontend/react-vite-help/eslint.config.js +31 -0
  487. package/dist/templates/frontend/react-vite-help/index.html +13 -0
  488. package/dist/templates/frontend/react-vite-help/package.json +62 -0
  489. package/dist/templates/frontend/react-vite-help/pnpm-lock.yaml +4487 -0
  490. package/dist/templates/frontend/react-vite-help/pnpm-workspace.yaml +2 -0
  491. package/dist/templates/frontend/react-vite-help/src/assets/react.svg +1 -0
  492. package/dist/templates/frontend/react-vite-help/src/components/documentacion/entorno.tsx +99 -0
  493. package/dist/templates/frontend/react-vite-help/src/components/documentacion/estructura.tsx +100 -0
  494. package/dist/templates/frontend/react-vite-help/src/components/documentacion/figma-mcp.tsx +200 -0
  495. package/dist/templates/frontend/react-vite-help/src/components/documentacion/inicio.tsx +69 -0
  496. package/dist/templates/frontend/react-vite-help/src/components/documentacion/instalacion.tsx +72 -0
  497. package/dist/templates/frontend/react-vite-help/src/components/documentacion/personalizacion.tsx +163 -0
  498. package/dist/templates/frontend/react-vite-help/src/components/documentacion/rutas.tsx +138 -0
  499. package/dist/templates/frontend/react-vite-help/src/components/documentacion/stack.tsx +401 -0
  500. package/dist/templates/frontend/react-vite-help/src/components/ui/badge.tsx +37 -0
  501. package/dist/templates/frontend/react-vite-help/src/components/ui/breadcrumb.tsx +106 -0
  502. package/dist/templates/frontend/react-vite-help/src/components/ui/button.tsx +58 -0
  503. package/dist/templates/frontend/react-vite-help/src/components/ui/card.tsx +72 -0
  504. package/dist/templates/frontend/react-vite-help/src/components/ui/form.tsx +165 -0
  505. package/dist/templates/frontend/react-vite-help/src/components/ui/input.tsx +22 -0
  506. package/dist/templates/frontend/react-vite-help/src/components/ui/label.tsx +24 -0
  507. package/dist/templates/frontend/react-vite-help/src/components/ui/password-input.tsx +41 -0
  508. package/dist/templates/frontend/react-vite-help/src/components/ui/separator.tsx +28 -0
  509. package/dist/templates/frontend/react-vite-help/src/components/ui/tabs.tsx +62 -0
  510. package/dist/templates/frontend/react-vite-help/src/components/ui/textarea.tsx +21 -0
  511. package/dist/templates/frontend/react-vite-help/src/data/proyectos.json +56 -0
  512. package/dist/templates/frontend/react-vite-help/src/index.css +104 -0
  513. package/dist/templates/frontend/react-vite-help/src/lib/queryClient.ts +11 -0
  514. package/dist/templates/frontend/react-vite-help/src/lib/utils.ts +6 -0
  515. package/dist/templates/frontend/react-vite-help/src/main.tsx +33 -0
  516. package/dist/templates/frontend/react-vite-help/src/routeTree.gen.ts +241 -0
  517. package/dist/templates/frontend/react-vite-help/src/router.tsx +13 -0
  518. package/dist/templates/frontend/react-vite-help/src/routes/__root.tsx +92 -0
  519. package/dist/templates/frontend/react-vite-help/src/routes/auth/iniciar-sesion.tsx +139 -0
  520. package/dist/templates/frontend/react-vite-help/src/routes/auth/registro.tsx +205 -0
  521. package/dist/templates/frontend/react-vite-help/src/routes/contacto.tsx +60 -0
  522. package/dist/templates/frontend/react-vite-help/src/routes/dashbord.tsx +9 -0
  523. package/dist/templates/frontend/react-vite-help/src/routes/documentacion.tsx +80 -0
  524. package/dist/templates/frontend/react-vite-help/src/routes/index.test.tsx +42 -0
  525. package/dist/templates/frontend/react-vite-help/src/routes/index.tsx +211 -0
  526. package/dist/templates/frontend/react-vite-help/src/routes/perfil.tsx +9 -0
  527. package/dist/templates/frontend/react-vite-help/src/routes/proyectos.$proyectoId.tsx +156 -0
  528. package/dist/templates/frontend/react-vite-help/src/routes/proyectos.tsx +93 -0
  529. package/dist/templates/frontend/react-vite-help/src/test/setup.ts +1 -0
  530. package/dist/templates/frontend/react-vite-help/tsconfig.app.json +34 -0
  531. package/dist/templates/frontend/react-vite-help/tsconfig.json +10 -0
  532. package/dist/templates/frontend/react-vite-help/tsconfig.node.json +26 -0
  533. package/dist/templates/frontend/react-vite-help/vite.config.ts +22 -0
  534. package/dist/templates/frontend/react-vite-help/vitest.config.ts +9 -0
  535. package/dist/templates/mobile/.gitkeep +1 -0
  536. package/dist/templates/mobile/expo-base/.cursor/rules/general-rules.mdc +231 -0
  537. package/dist/templates/mobile/expo-base/.cursor/rules/react-native-rules.mdc +1348 -0
  538. package/dist/templates/mobile/expo-base/.env +1 -0
  539. package/dist/templates/mobile/expo-base/.husky/commit-msg +4 -0
  540. package/dist/templates/mobile/expo-base/.husky/pre-commit +1 -0
  541. package/dist/templates/mobile/expo-base/.lintstagedrc.js +25 -0
  542. package/dist/templates/mobile/expo-base/.prettierignore +10 -0
  543. package/dist/templates/mobile/expo-base/.prettierrc +11 -0
  544. package/dist/templates/mobile/expo-base/.vscode/extensions.json +1 -0
  545. package/dist/templates/mobile/expo-base/.vscode/settings.json +7 -0
  546. package/dist/templates/mobile/expo-base/CHANGELOG.md +155 -0
  547. package/dist/templates/mobile/expo-base/IMPLEMENTATION_SUMMARY.md +413 -0
  548. package/dist/templates/mobile/expo-base/README.md +510 -0
  549. package/dist/templates/mobile/expo-base/SETUP_NOTES.md +233 -0
  550. package/dist/templates/mobile/expo-base/TEMPLATE_USAGE.md +623 -0
  551. package/dist/templates/mobile/expo-base/WARP.md +123 -0
  552. package/dist/templates/mobile/expo-base/app/(public)/_layout.tsx +21 -0
  553. package/dist/templates/mobile/expo-base/app/(public)/forgot-password.tsx +3 -0
  554. package/dist/templates/mobile/expo-base/app/(public)/login.tsx +3 -0
  555. package/dist/templates/mobile/expo-base/app/(public)/register.tsx +3 -0
  556. package/dist/templates/mobile/expo-base/app/(tabs)/_layout.tsx +60 -0
  557. package/dist/templates/mobile/expo-base/app/(tabs)/explore.tsx +235 -0
  558. package/dist/templates/mobile/expo-base/app/(tabs)/index.tsx +290 -0
  559. package/dist/templates/mobile/expo-base/app/(tabs)/profile.tsx +3 -0
  560. package/dist/templates/mobile/expo-base/app/_layout.tsx +143 -0
  561. package/dist/templates/mobile/expo-base/app/modal.tsx +29 -0
  562. package/dist/templates/mobile/expo-base/app/onboarding.tsx +3 -0
  563. package/dist/templates/mobile/expo-base/app/profile/_layout.tsx +44 -0
  564. package/dist/templates/mobile/expo-base/app/profile/change-password.tsx +3 -0
  565. package/dist/templates/mobile/expo-base/app/profile/edit.tsx +3 -0
  566. package/dist/templates/mobile/expo-base/app/settings/_layout.tsx +62 -0
  567. package/dist/templates/mobile/expo-base/app/settings/about.tsx +3 -0
  568. package/dist/templates/mobile/expo-base/app/settings/index.tsx +3 -0
  569. package/dist/templates/mobile/expo-base/app/settings/language.tsx +3 -0
  570. package/dist/templates/mobile/expo-base/app/settings/notifications.tsx +3 -0
  571. package/dist/templates/mobile/expo-base/app/settings/theme.tsx +3 -0
  572. package/dist/templates/mobile/expo-base/app.json +31 -0
  573. package/dist/templates/mobile/expo-base/commitlint.config.js +50 -0
  574. package/dist/templates/mobile/expo-base/docs/ARCHITECTURE.md +565 -0
  575. package/dist/templates/mobile/expo-base/docs/CI_CD.md +461 -0
  576. package/dist/templates/mobile/expo-base/docs/COMPONENTS.md +1103 -0
  577. package/dist/templates/mobile/expo-base/docs/CONTRIBUTING.md +733 -0
  578. package/dist/templates/mobile/expo-base/docs/DESIGN_TOKENS.md +832 -0
  579. package/dist/templates/mobile/expo-base/docs/GIT_CONVENTIONS.md +411 -0
  580. package/dist/templates/mobile/expo-base/docs/I18N.md +701 -0
  581. package/dist/templates/mobile/expo-base/docs/TESTING.md +565 -0
  582. package/dist/templates/mobile/expo-base/docs/THEMING.md +753 -0
  583. package/dist/templates/mobile/expo-base/docs/VERSIONING.md +518 -0
  584. package/dist/templates/mobile/expo-base/eslint.config.js +180 -0
  585. package/dist/templates/mobile/expo-base/jest.config.js +51 -0
  586. package/dist/templates/mobile/expo-base/jest.setup.js +106 -0
  587. package/dist/templates/mobile/expo-base/package.json +74 -0
  588. package/dist/templates/mobile/expo-base/pnpm-lock.yaml +11354 -0
  589. package/dist/templates/mobile/expo-base/pnpm-workspace.yaml +4 -0
  590. package/dist/templates/mobile/expo-base/src/__tests__/helpers/test-utils.tsx +77 -0
  591. package/dist/templates/mobile/expo-base/src/__tests__/mocks/api.ts +65 -0
  592. package/dist/templates/mobile/expo-base/src/__tests__/mocks/i18n.ts +22 -0
  593. package/dist/templates/mobile/expo-base/src/__tests__/mocks/index.ts +7 -0
  594. package/dist/templates/mobile/expo-base/src/__tests__/mocks/navigation.ts +47 -0
  595. package/dist/templates/mobile/expo-base/src/__tests__/mocks/theme.ts +46 -0
  596. package/dist/templates/mobile/expo-base/src/assets/images/android-icon-background.png +0 -0
  597. package/dist/templates/mobile/expo-base/src/assets/images/android-icon-foreground.png +0 -0
  598. package/dist/templates/mobile/expo-base/src/assets/images/android-icon-monochrome.png +0 -0
  599. package/dist/templates/mobile/expo-base/src/assets/images/favicon.png +0 -0
  600. package/dist/templates/mobile/expo-base/src/assets/images/icon.png +0 -0
  601. package/dist/templates/mobile/expo-base/src/assets/images/partial-react-logo.png +0 -0
  602. package/dist/templates/mobile/expo-base/src/assets/images/react-logo.png +0 -0
  603. package/dist/templates/mobile/expo-base/src/assets/images/react-logo@2x.png +0 -0
  604. package/dist/templates/mobile/expo-base/src/assets/images/react-logo@3x.png +0 -0
  605. package/dist/templates/mobile/expo-base/src/assets/images/splash-icon.png +0 -0
  606. package/dist/templates/mobile/expo-base/src/components/external-link.tsx +25 -0
  607. package/dist/templates/mobile/expo-base/src/components/feedback/empty-state.tsx +150 -0
  608. package/dist/templates/mobile/expo-base/src/components/feedback/error-boundary.tsx +145 -0
  609. package/dist/templates/mobile/expo-base/src/components/feedback/error-screen.tsx +121 -0
  610. package/dist/templates/mobile/expo-base/src/components/feedback/index.ts +11 -0
  611. package/dist/templates/mobile/expo-base/src/components/feedback/loading.tsx +155 -0
  612. package/dist/templates/mobile/expo-base/src/components/haptic-tab.tsx +18 -0
  613. package/dist/templates/mobile/expo-base/src/components/hello-wave.tsx +19 -0
  614. package/dist/templates/mobile/expo-base/src/components/layout/column.tsx +49 -0
  615. package/dist/templates/mobile/expo-base/src/components/layout/container.tsx +41 -0
  616. package/dist/templates/mobile/expo-base/src/components/layout/index.ts +14 -0
  617. package/dist/templates/mobile/expo-base/src/components/layout/row.tsx +52 -0
  618. package/dist/templates/mobile/expo-base/src/components/layout/screen.tsx +110 -0
  619. package/dist/templates/mobile/expo-base/src/components/layout/section.tsx +37 -0
  620. package/dist/templates/mobile/expo-base/src/components/parallax-scroll-view.tsx +79 -0
  621. package/dist/templates/mobile/expo-base/src/components/themed-text.tsx +60 -0
  622. package/dist/templates/mobile/expo-base/src/components/themed-view.tsx +14 -0
  623. package/dist/templates/mobile/expo-base/src/components/ui/__tests__/button.test.tsx +206 -0
  624. package/dist/templates/mobile/expo-base/src/components/ui/avatar.tsx +141 -0
  625. package/dist/templates/mobile/expo-base/src/components/ui/badge.tsx +175 -0
  626. package/dist/templates/mobile/expo-base/src/components/ui/button.tsx +247 -0
  627. package/dist/templates/mobile/expo-base/src/components/ui/card.tsx +127 -0
  628. package/dist/templates/mobile/expo-base/src/components/ui/collapsible.tsx +45 -0
  629. package/dist/templates/mobile/expo-base/src/components/ui/divider.tsx +50 -0
  630. package/dist/templates/mobile/expo-base/src/components/ui/icon-symbol.ios.tsx +32 -0
  631. package/dist/templates/mobile/expo-base/src/components/ui/icon-symbol.tsx +41 -0
  632. package/dist/templates/mobile/expo-base/src/components/ui/icon.tsx +137 -0
  633. package/dist/templates/mobile/expo-base/src/components/ui/index.ts +20 -0
  634. package/dist/templates/mobile/expo-base/src/components/ui/input.tsx +242 -0
  635. package/dist/templates/mobile/expo-base/src/constants/theme.ts +53 -0
  636. package/dist/templates/mobile/expo-base/src/contexts/auth-context.tsx +246 -0
  637. package/dist/templates/mobile/expo-base/src/contexts/index.ts +8 -0
  638. package/dist/templates/mobile/expo-base/src/contexts/query-client.tsx +43 -0
  639. package/dist/templates/mobile/expo-base/src/contexts/theme-context.tsx +111 -0
  640. package/dist/templates/mobile/expo-base/src/features/auth/forgot-password-screen.tsx +164 -0
  641. package/dist/templates/mobile/expo-base/src/features/auth/index.ts +7 -0
  642. package/dist/templates/mobile/expo-base/src/features/auth/login-screen.tsx +177 -0
  643. package/dist/templates/mobile/expo-base/src/features/auth/register-screen.tsx +220 -0
  644. package/dist/templates/mobile/expo-base/src/features/onboarding/README.md +190 -0
  645. package/dist/templates/mobile/expo-base/src/features/onboarding/index.ts +7 -0
  646. package/dist/templates/mobile/expo-base/src/features/onboarding/onboarding-debug.tsx +120 -0
  647. package/dist/templates/mobile/expo-base/src/features/onboarding/onboarding-screen.tsx +242 -0
  648. package/dist/templates/mobile/expo-base/src/features/onboarding/onboarding-utils.ts +49 -0
  649. package/dist/templates/mobile/expo-base/src/features/profile/change-password-screen.tsx +154 -0
  650. package/dist/templates/mobile/expo-base/src/features/profile/edit-profile-screen.tsx +183 -0
  651. package/dist/templates/mobile/expo-base/src/features/profile/index.ts +7 -0
  652. package/dist/templates/mobile/expo-base/src/features/profile/profile-screen.tsx +177 -0
  653. package/dist/templates/mobile/expo-base/src/features/settings/about-screen.tsx +167 -0
  654. package/dist/templates/mobile/expo-base/src/features/settings/index.ts +9 -0
  655. package/dist/templates/mobile/expo-base/src/features/settings/language-settings-screen.tsx +97 -0
  656. package/dist/templates/mobile/expo-base/src/features/settings/notifications-settings-screen.tsx +128 -0
  657. package/dist/templates/mobile/expo-base/src/features/settings/settings-screen.tsx +141 -0
  658. package/dist/templates/mobile/expo-base/src/features/settings/theme-settings-screen.tsx +149 -0
  659. package/dist/templates/mobile/expo-base/src/hooks/__tests__/use-theme.test.ts +151 -0
  660. package/dist/templates/mobile/expo-base/src/hooks/index.ts +13 -0
  661. package/dist/templates/mobile/expo-base/src/hooks/use-api.ts +206 -0
  662. package/dist/templates/mobile/expo-base/src/hooks/use-auth.ts +7 -0
  663. package/dist/templates/mobile/expo-base/src/hooks/use-color-scheme.ts +19 -0
  664. package/dist/templates/mobile/expo-base/src/hooks/use-color-scheme.web.ts +31 -0
  665. package/dist/templates/mobile/expo-base/src/hooks/use-theme-color.ts +21 -0
  666. package/dist/templates/mobile/expo-base/src/hooks/use-theme.ts +60 -0
  667. package/dist/templates/mobile/expo-base/src/hooks/use-translation.ts +48 -0
  668. package/dist/templates/mobile/expo-base/src/i18n/index.ts +113 -0
  669. package/dist/templates/mobile/expo-base/src/i18n/locales/en-US.json +134 -0
  670. package/dist/templates/mobile/expo-base/src/i18n/locales/es-AR.json +134 -0
  671. package/dist/templates/mobile/expo-base/src/scripts/reset-project.js +112 -0
  672. package/dist/templates/mobile/expo-base/src/services/api/client.ts +190 -0
  673. package/dist/templates/mobile/expo-base/src/services/api/endpoints.ts +45 -0
  674. package/dist/templates/mobile/expo-base/src/services/api/index.ts +7 -0
  675. package/dist/templates/mobile/expo-base/src/services/storage/secure-storage.ts +56 -0
  676. package/dist/templates/mobile/expo-base/src/theme/colors.ts +147 -0
  677. package/dist/templates/mobile/expo-base/src/theme/index.ts +40 -0
  678. package/dist/templates/mobile/expo-base/src/theme/semantic-colors.ts +221 -0
  679. package/dist/templates/mobile/expo-base/src/theme/shadows.ts +123 -0
  680. package/dist/templates/mobile/expo-base/src/theme/spacing.ts +118 -0
  681. package/dist/templates/mobile/expo-base/src/theme/theme-config.ts +111 -0
  682. package/dist/templates/mobile/expo-base/src/theme/tokens.ts +218 -0
  683. package/dist/templates/mobile/expo-base/src/theme/typography.ts +152 -0
  684. package/dist/templates/mobile/expo-base/src/types/index.ts +6 -0
  685. package/dist/templates/mobile/expo-base/src/types/models.ts +153 -0
  686. package/dist/templates/mobile/expo-base/src/types/navigation.ts +67 -0
  687. package/dist/templates/mobile/expo-base/src/utils/__tests__/validators.test.ts +312 -0
  688. package/dist/templates/mobile/expo-base/src/utils/constants.ts +167 -0
  689. package/dist/templates/mobile/expo-base/src/utils/formatters.ts +222 -0
  690. package/dist/templates/mobile/expo-base/src/utils/index.ts +7 -0
  691. package/dist/templates/mobile/expo-base/src/utils/validators.ts +187 -0
  692. package/dist/templates/mobile/expo-base/tsconfig.json +26 -0
  693. package/dist/test-cli.js +40 -0
  694. package/dist/types/index.js +1 -0
  695. package/package.json +25 -0
  696. package/templates/backend/.gitkeep +1 -0
  697. package/templates/backend/nestjs-api-postgres/.cursor/commands/new-endpoint.md +209 -0
  698. package/templates/backend/nestjs-api-postgres/.cursor/commands/new-model.md +201 -0
  699. package/templates/backend/nestjs-api-postgres/.cursor/rules/api-rest.mdc +126 -0
  700. package/templates/backend/nestjs-api-postgres/.cursor/rules/authentication-security.mdc +86 -0
  701. package/templates/backend/nestjs-api-postgres/.cursor/rules/dto-validation.mdc +93 -0
  702. package/templates/backend/nestjs-api-postgres/.cursor/rules/general-rules.mdc +126 -0
  703. package/templates/backend/nestjs-api-postgres/.cursor/rules/nestjs-architecture.mdc +83 -0
  704. package/templates/backend/nestjs-api-postgres/.cursor/rules/prisma-standards.mdc +90 -0
  705. package/templates/backend/nestjs-api-postgres/.cursor/rules/swagger-documentation.mdc +90 -0
  706. package/templates/backend/nestjs-api-postgres/.cursor/skills/api-security-best-practices/SKILL.md +907 -0
  707. package/templates/backend/nestjs-api-postgres/.cursor/skills/docker-expert/SKILL.md +409 -0
  708. package/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-expert/SKILL.md +552 -0
  709. package/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-the-best-practices/AGENTS.md +5958 -0
  710. package/templates/backend/nestjs-api-postgres/.cursor/skills/nestjs-the-best-practices/SKILL.md +130 -0
  711. package/templates/backend/nestjs-api-postgres/.cursor/skills/nodejs-best-practices/SKILL.md +333 -0
  712. package/templates/backend/nestjs-api-postgres/.cursor/skills/postgresql-table-design/SKILL.md +202 -0
  713. package/templates/backend/nestjs-api-postgres/.cursor/skills/prisma-expert/SKILL.md +355 -0
  714. package/templates/backend/nestjs-api-postgres/.dockerignore +50 -0
  715. package/templates/backend/nestjs-api-postgres/.env.example +18 -0
  716. package/templates/backend/nestjs-api-postgres/.env.test +18 -0
  717. package/templates/backend/nestjs-api-postgres/.prettierrc +4 -0
  718. package/templates/backend/nestjs-api-postgres/README.md +1502 -0
  719. package/templates/backend/nestjs-api-postgres/docker-compose.yml +24 -0
  720. package/templates/backend/nestjs-api-postgres/eslint.config.mjs +41 -0
  721. package/templates/backend/nestjs-api-postgres/nest-cli.json +8 -0
  722. package/templates/backend/nestjs-api-postgres/package.json +107 -0
  723. package/templates/backend/nestjs-api-postgres/prisma/migrations/20260126125423_init/migration.sql +84 -0
  724. package/templates/backend/nestjs-api-postgres/prisma/migrations/migration_lock.toml +3 -0
  725. package/templates/backend/nestjs-api-postgres/prisma/schema.prisma +76 -0
  726. package/templates/backend/nestjs-api-postgres/prisma/seed.ts +220 -0
  727. package/templates/backend/nestjs-api-postgres/prisma.config.ts +10 -0
  728. package/templates/backend/nestjs-api-postgres/src/app.module.ts +39 -0
  729. package/templates/backend/nestjs-api-postgres/src/app.service.ts +8 -0
  730. package/templates/backend/nestjs-api-postgres/src/auth/auth.controller.ts +36 -0
  731. package/templates/backend/nestjs-api-postgres/src/auth/auth.module.ts +22 -0
  732. package/templates/backend/nestjs-api-postgres/src/auth/auth.service.ts +63 -0
  733. package/templates/backend/nestjs-api-postgres/src/auth/decorators/roles.decorator.ts +5 -0
  734. package/templates/backend/nestjs-api-postgres/src/auth/dto/login-response.dto.ts +23 -0
  735. package/templates/backend/nestjs-api-postgres/src/auth/dto/login.dto.ts +27 -0
  736. package/templates/backend/nestjs-api-postgres/src/auth/guards/jwt-auth.guard.ts +20 -0
  737. package/templates/backend/nestjs-api-postgres/src/auth/guards/roles.guard.ts +23 -0
  738. package/templates/backend/nestjs-api-postgres/src/auth/strategies/jwt.strategy.ts +32 -0
  739. package/templates/backend/nestjs-api-postgres/src/auth/types.ts +18 -0
  740. package/templates/backend/nestjs-api-postgres/src/common/dto/paginated-response.dto.ts +16 -0
  741. package/templates/backend/nestjs-api-postgres/src/common/dto/pagination.dto.ts +31 -0
  742. package/templates/backend/nestjs-api-postgres/src/common/filters/http-exception.filter.ts +53 -0
  743. package/templates/backend/nestjs-api-postgres/src/config/env.validation.ts +41 -0
  744. package/templates/backend/nestjs-api-postgres/src/health/health.controller.ts +35 -0
  745. package/templates/backend/nestjs-api-postgres/src/health/health.module.ts +7 -0
  746. package/templates/backend/nestjs-api-postgres/src/main.ts +87 -0
  747. package/templates/backend/nestjs-api-postgres/src/posts/dto/create-post.dto.ts +32 -0
  748. package/templates/backend/nestjs-api-postgres/src/posts/dto/post-response.dto.ts +41 -0
  749. package/templates/backend/nestjs-api-postgres/src/posts/dto/update-post.dto.ts +31 -0
  750. package/templates/backend/nestjs-api-postgres/src/posts/posts.controller.ts +161 -0
  751. package/templates/backend/nestjs-api-postgres/src/posts/posts.module.ts +12 -0
  752. package/templates/backend/nestjs-api-postgres/src/posts/posts.service.ts +171 -0
  753. package/templates/backend/nestjs-api-postgres/src/prisma/prisma.module.ts +9 -0
  754. package/templates/backend/nestjs-api-postgres/src/prisma/prisma.service.ts +27 -0
  755. package/templates/backend/nestjs-api-postgres/src/users/constants/settings.constants.ts +9 -0
  756. package/templates/backend/nestjs-api-postgres/src/users/dto/profile-response.dto.ts +39 -0
  757. package/templates/backend/nestjs-api-postgres/src/users/dto/settings-response.dto.ts +18 -0
  758. package/templates/backend/nestjs-api-postgres/src/users/dto/update-profile.dto.ts +48 -0
  759. package/templates/backend/nestjs-api-postgres/src/users/dto/update-settings.dto.ts +40 -0
  760. package/templates/backend/nestjs-api-postgres/src/users/dto/user-response.dto.ts +18 -0
  761. package/templates/backend/nestjs-api-postgres/src/users/profile.service.ts +49 -0
  762. package/templates/backend/nestjs-api-postgres/src/users/settings.service.ts +82 -0
  763. package/templates/backend/nestjs-api-postgres/src/users/users.controller.ts +102 -0
  764. package/templates/backend/nestjs-api-postgres/src/users/users.module.ts +14 -0
  765. package/templates/backend/nestjs-api-postgres/src/users/users.service.ts +27 -0
  766. package/templates/backend/nestjs-api-postgres/test/README.md +412 -0
  767. package/templates/backend/nestjs-api-postgres/test/e2e/auth.e2e-spec.ts +147 -0
  768. package/templates/backend/nestjs-api-postgres/test/e2e/health.e2e-spec.ts +62 -0
  769. package/templates/backend/nestjs-api-postgres/test/e2e/posts.e2e-spec.ts +407 -0
  770. package/templates/backend/nestjs-api-postgres/test/e2e/users.e2e-spec.ts +287 -0
  771. package/templates/backend/nestjs-api-postgres/test/fixtures/test-data.ts +109 -0
  772. package/templates/backend/nestjs-api-postgres/test/helpers/auth.helper.ts +54 -0
  773. package/templates/backend/nestjs-api-postgres/test/helpers/db.helper.ts +73 -0
  774. package/templates/backend/nestjs-api-postgres/test/jest-e2e.json +12 -0
  775. package/templates/backend/nestjs-api-postgres/test/setup-e2e.ts +8 -0
  776. package/templates/backend/nestjs-api-postgres/test/unit/app.service.spec.ts +24 -0
  777. package/templates/backend/nestjs-api-postgres/test/unit/auth.controller.spec.ts +91 -0
  778. package/templates/backend/nestjs-api-postgres/test/unit/auth.service.spec.ts +161 -0
  779. package/templates/backend/nestjs-api-postgres/test/unit/health.controller.spec.ts +78 -0
  780. package/templates/backend/nestjs-api-postgres/test/unit/http-exception.filter.spec.ts +150 -0
  781. package/templates/backend/nestjs-api-postgres/test/unit/jwt-auth.guard.spec.ts +50 -0
  782. package/templates/backend/nestjs-api-postgres/test/unit/jwt.strategy.spec.ts +41 -0
  783. package/templates/backend/nestjs-api-postgres/test/unit/posts.controller.spec.ts +249 -0
  784. package/templates/backend/nestjs-api-postgres/test/unit/posts.service.spec.ts +328 -0
  785. package/templates/backend/nestjs-api-postgres/test/unit/profile.service.spec.ts +146 -0
  786. package/templates/backend/nestjs-api-postgres/test/unit/settings.service.spec.ts +242 -0
  787. package/templates/backend/nestjs-api-postgres/test/unit/users.controller.spec.ts +178 -0
  788. package/templates/backend/nestjs-api-postgres/test/unit/users.service.spec.ts +96 -0
  789. package/templates/backend/nestjs-api-postgres/tsconfig.build.json +4 -0
  790. package/templates/backend/nestjs-api-postgres/tsconfig.json +28 -0
  791. package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-endpoint.md +209 -0
  792. package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-model.md +201 -0
  793. package/templates/backend/nestjs-api-sqlite/.cursor/rules/api-rest.mdc +126 -0
  794. package/templates/backend/nestjs-api-sqlite/.cursor/rules/authentication-security.mdc +86 -0
  795. package/templates/backend/nestjs-api-sqlite/.cursor/rules/dto-validation.mdc +93 -0
  796. package/templates/backend/nestjs-api-sqlite/.cursor/rules/general-rules.mdc +126 -0
  797. package/templates/backend/nestjs-api-sqlite/.cursor/rules/nestjs-architecture.mdc +83 -0
  798. package/templates/backend/nestjs-api-sqlite/.cursor/rules/prisma-standards.mdc +90 -0
  799. package/templates/backend/nestjs-api-sqlite/.cursor/rules/swagger-documentation.mdc +90 -0
  800. package/templates/backend/nestjs-api-sqlite/.cursor/skills/api-security-best-practices/SKILL.md +907 -0
  801. package/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-expert/SKILL.md +552 -0
  802. package/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-the-best-practices/AGENTS.md +5958 -0
  803. package/templates/backend/nestjs-api-sqlite/.cursor/skills/nestjs-the-best-practices/SKILL.md +130 -0
  804. package/templates/backend/nestjs-api-sqlite/.cursor/skills/nodejs-best-practices/SKILL.md +333 -0
  805. package/templates/backend/nestjs-api-sqlite/.cursor/skills/prisma-expert/SKILL.md +355 -0
  806. package/templates/backend/nestjs-api-sqlite/.env.example +4 -0
  807. package/templates/backend/nestjs-api-sqlite/.env.test +4 -0
  808. package/templates/backend/nestjs-api-sqlite/.prettierrc +4 -0
  809. package/templates/backend/nestjs-api-sqlite/README.md +1464 -0
  810. package/templates/backend/nestjs-api-sqlite/eslint.config.mjs +41 -0
  811. package/templates/backend/nestjs-api-sqlite/nest-cli.json +8 -0
  812. package/templates/backend/nestjs-api-sqlite/package.json +105 -0
  813. package/templates/backend/nestjs-api-sqlite/pnpm-lock.yaml +7630 -0
  814. package/templates/backend/nestjs-api-sqlite/prisma/migrations/20260123190258_init/migration.sql +12 -0
  815. package/templates/backend/nestjs-api-sqlite/prisma/migrations/20260123205000_add_roles_and_posts/migration.sql +32 -0
  816. package/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124163749_init_with_profile_and_settings/migration.sql +33 -0
  817. package/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124190929_add_render_model/migration.sql +13 -0
  818. package/templates/backend/nestjs-api-sqlite/prisma/migrations/20260124200534_add_post_indexes/migration.sql +16 -0
  819. package/templates/backend/nestjs-api-sqlite/prisma/migrations/migration_lock.toml +3 -0
  820. package/templates/backend/nestjs-api-sqlite/prisma/schema.prisma +76 -0
  821. package/templates/backend/nestjs-api-sqlite/prisma/seed.ts +218 -0
  822. package/templates/backend/nestjs-api-sqlite/prisma.config.ts +10 -0
  823. package/templates/backend/nestjs-api-sqlite/src/app.module.ts +39 -0
  824. package/templates/backend/nestjs-api-sqlite/src/app.service.ts +8 -0
  825. package/templates/backend/nestjs-api-sqlite/src/auth/auth.controller.ts +36 -0
  826. package/templates/backend/nestjs-api-sqlite/src/auth/auth.module.ts +22 -0
  827. package/templates/backend/nestjs-api-sqlite/src/auth/auth.service.ts +63 -0
  828. package/templates/backend/nestjs-api-sqlite/src/auth/decorators/roles.decorator.ts +5 -0
  829. package/templates/backend/nestjs-api-sqlite/src/auth/dto/login-response.dto.ts +23 -0
  830. package/templates/backend/nestjs-api-sqlite/src/auth/dto/login.dto.ts +27 -0
  831. package/templates/backend/nestjs-api-sqlite/src/auth/guards/jwt-auth.guard.ts +20 -0
  832. package/templates/backend/nestjs-api-sqlite/src/auth/guards/roles.guard.ts +23 -0
  833. package/templates/backend/nestjs-api-sqlite/src/auth/strategies/jwt.strategy.ts +32 -0
  834. package/templates/backend/nestjs-api-sqlite/src/auth/types.ts +18 -0
  835. package/templates/backend/nestjs-api-sqlite/src/common/dto/paginated-response.dto.ts +16 -0
  836. package/templates/backend/nestjs-api-sqlite/src/common/dto/pagination.dto.ts +31 -0
  837. package/templates/backend/nestjs-api-sqlite/src/common/filters/http-exception.filter.ts +53 -0
  838. package/templates/backend/nestjs-api-sqlite/src/config/env.validation.ts +35 -0
  839. package/templates/backend/nestjs-api-sqlite/src/health/health.controller.ts +35 -0
  840. package/templates/backend/nestjs-api-sqlite/src/health/health.module.ts +7 -0
  841. package/templates/backend/nestjs-api-sqlite/src/main.ts +87 -0
  842. package/templates/backend/nestjs-api-sqlite/src/posts/dto/create-post.dto.ts +32 -0
  843. package/templates/backend/nestjs-api-sqlite/src/posts/dto/post-response.dto.ts +41 -0
  844. package/templates/backend/nestjs-api-sqlite/src/posts/dto/update-post.dto.ts +31 -0
  845. package/templates/backend/nestjs-api-sqlite/src/posts/posts.controller.ts +161 -0
  846. package/templates/backend/nestjs-api-sqlite/src/posts/posts.module.ts +12 -0
  847. package/templates/backend/nestjs-api-sqlite/src/posts/posts.service.ts +171 -0
  848. package/templates/backend/nestjs-api-sqlite/src/prisma/prisma.module.ts +9 -0
  849. package/templates/backend/nestjs-api-sqlite/src/prisma/prisma.service.ts +29 -0
  850. package/templates/backend/nestjs-api-sqlite/src/users/constants/settings.constants.ts +9 -0
  851. package/templates/backend/nestjs-api-sqlite/src/users/dto/profile-response.dto.ts +39 -0
  852. package/templates/backend/nestjs-api-sqlite/src/users/dto/settings-response.dto.ts +18 -0
  853. package/templates/backend/nestjs-api-sqlite/src/users/dto/update-profile.dto.ts +48 -0
  854. package/templates/backend/nestjs-api-sqlite/src/users/dto/update-settings.dto.ts +40 -0
  855. package/templates/backend/nestjs-api-sqlite/src/users/dto/user-response.dto.ts +18 -0
  856. package/templates/backend/nestjs-api-sqlite/src/users/profile.service.ts +49 -0
  857. package/templates/backend/nestjs-api-sqlite/src/users/settings.service.ts +82 -0
  858. package/templates/backend/nestjs-api-sqlite/src/users/users.controller.ts +102 -0
  859. package/templates/backend/nestjs-api-sqlite/src/users/users.module.ts +14 -0
  860. package/templates/backend/nestjs-api-sqlite/src/users/users.service.ts +27 -0
  861. package/templates/backend/nestjs-api-sqlite/test/README.md +412 -0
  862. package/templates/backend/nestjs-api-sqlite/test/e2e/auth.e2e-spec.ts +147 -0
  863. package/templates/backend/nestjs-api-sqlite/test/e2e/health.e2e-spec.ts +62 -0
  864. package/templates/backend/nestjs-api-sqlite/test/e2e/posts.e2e-spec.ts +407 -0
  865. package/templates/backend/nestjs-api-sqlite/test/e2e/users.e2e-spec.ts +287 -0
  866. package/templates/backend/nestjs-api-sqlite/test/fixtures/test-data.ts +109 -0
  867. package/templates/backend/nestjs-api-sqlite/test/helpers/auth.helper.ts +54 -0
  868. package/templates/backend/nestjs-api-sqlite/test/helpers/db.helper.ts +72 -0
  869. package/templates/backend/nestjs-api-sqlite/test/jest-e2e.json +12 -0
  870. package/templates/backend/nestjs-api-sqlite/test/setup-e2e.ts +8 -0
  871. package/templates/backend/nestjs-api-sqlite/test/unit/app.service.spec.ts +24 -0
  872. package/templates/backend/nestjs-api-sqlite/test/unit/auth.controller.spec.ts +91 -0
  873. package/templates/backend/nestjs-api-sqlite/test/unit/auth.service.spec.ts +161 -0
  874. package/templates/backend/nestjs-api-sqlite/test/unit/health.controller.spec.ts +78 -0
  875. package/templates/backend/nestjs-api-sqlite/test/unit/http-exception.filter.spec.ts +150 -0
  876. package/templates/backend/nestjs-api-sqlite/test/unit/jwt-auth.guard.spec.ts +50 -0
  877. package/templates/backend/nestjs-api-sqlite/test/unit/jwt.strategy.spec.ts +41 -0
  878. package/templates/backend/nestjs-api-sqlite/test/unit/posts.controller.spec.ts +249 -0
  879. package/templates/backend/nestjs-api-sqlite/test/unit/posts.service.spec.ts +328 -0
  880. package/templates/backend/nestjs-api-sqlite/test/unit/profile.service.spec.ts +146 -0
  881. package/templates/backend/nestjs-api-sqlite/test/unit/settings.service.spec.ts +242 -0
  882. package/templates/backend/nestjs-api-sqlite/test/unit/users.controller.spec.ts +178 -0
  883. package/templates/backend/nestjs-api-sqlite/test/unit/users.service.spec.ts +96 -0
  884. package/templates/backend/nestjs-api-sqlite/tsconfig.build.json +4 -0
  885. package/templates/backend/nestjs-api-sqlite/tsconfig.json +28 -0
  886. package/templates/frontend/angular-base/.agents/skills/angular-component/SKILL.md +288 -0
  887. package/templates/frontend/angular-base/.agents/skills/angular-component/references/component-patterns.md +358 -0
  888. package/templates/frontend/angular-base/.agents/skills/angular-di/SKILL.md +387 -0
  889. package/templates/frontend/angular-base/.agents/skills/angular-di/references/di-patterns.md +519 -0
  890. package/templates/frontend/angular-base/.agents/skills/angular-directives/SKILL.md +437 -0
  891. package/templates/frontend/angular-base/.agents/skills/angular-directives/references/directive-patterns.md +570 -0
  892. package/templates/frontend/angular-base/.agents/skills/angular-forms/SKILL.md +434 -0
  893. package/templates/frontend/angular-base/.agents/skills/angular-forms/references/form-patterns.md +398 -0
  894. package/templates/frontend/angular-base/.agents/skills/angular-http/SKILL.md +366 -0
  895. package/templates/frontend/angular-base/.agents/skills/angular-http/references/http-patterns.md +448 -0
  896. package/templates/frontend/angular-base/.agents/skills/angular-routing/SKILL.md +395 -0
  897. package/templates/frontend/angular-base/.agents/skills/angular-routing/references/routing-patterns.md +472 -0
  898. package/templates/frontend/angular-base/.agents/skills/angular-signals/SKILL.md +302 -0
  899. package/templates/frontend/angular-base/.agents/skills/angular-signals/references/signal-patterns.md +404 -0
  900. package/templates/frontend/angular-base/.agents/skills/angular-ssr/SKILL.md +435 -0
  901. package/templates/frontend/angular-base/.agents/skills/angular-ssr/references/ssr-patterns.md +497 -0
  902. package/templates/frontend/angular-base/.agents/skills/angular-testing/SKILL.md +660 -0
  903. package/templates/frontend/angular-base/.agents/skills/angular-testing/references/testing-patterns.md +707 -0
  904. package/templates/frontend/angular-base/.agents/skills/angular-tooling/SKILL.md +352 -0
  905. package/templates/frontend/angular-base/.agents/skills/angular-tooling/references/tooling-patterns.md +448 -0
  906. package/templates/frontend/angular-base/.agents/skills/tailwindcss-accessibility/SKILL.md +780 -0
  907. package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-components/SKILL.md +718 -0
  908. package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
  909. package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
  910. package/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/SKILL.md +432 -0
  911. package/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
  912. package/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/SKILL.md +354 -0
  913. package/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
  914. package/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/SKILL.md +578 -0
  915. package/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
  916. package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
  917. package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
  918. package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
  919. package/templates/frontend/angular-base/.agents/skills/tailwindcss-mobile-first/SKILL.md +768 -0
  920. package/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/SKILL.md +374 -0
  921. package/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
  922. package/templates/frontend/angular-base/.agents/skills/tailwindcss-plugins/SKILL.md +505 -0
  923. package/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
  924. package/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
  925. package/templates/frontend/angular-base/.agents/skills/web-design-guidelines/SKILL.md +39 -0
  926. package/templates/frontend/angular-base/.cursor/mcp.json +12 -0
  927. package/templates/frontend/angular-base/.cursor/rules/angular-expert.mdc +153 -0
  928. package/templates/frontend/angular-base/.editorconfig +17 -0
  929. package/templates/frontend/angular-base/.eslintrc.json +52 -0
  930. package/templates/frontend/angular-base/.github/workflows/ci.yml +122 -0
  931. package/templates/frontend/angular-base/.husky/pre-commit +1 -0
  932. package/templates/frontend/angular-base/.husky/pre-push +1 -0
  933. package/templates/frontend/angular-base/.postcssrc.json +5 -0
  934. package/templates/frontend/angular-base/.prettierignore +8 -0
  935. package/templates/frontend/angular-base/.prettierrc.json +15 -0
  936. package/templates/frontend/angular-base/.vscode/extensions.json +4 -0
  937. package/templates/frontend/angular-base/.vscode/launch.json +20 -0
  938. package/templates/frontend/angular-base/.vscode/mcp.json +9 -0
  939. package/templates/frontend/angular-base/.vscode/tasks.json +42 -0
  940. package/templates/frontend/angular-base/CONTRIBUTING.md +230 -0
  941. package/templates/frontend/angular-base/README.md +383 -0
  942. package/templates/frontend/angular-base/angular.json +84 -0
  943. package/templates/frontend/angular-base/cypress/e2e/app.cy.ts +39 -0
  944. package/templates/frontend/angular-base/cypress/e2e/auth.cy.ts +196 -0
  945. package/templates/frontend/angular-base/cypress/e2e/dashboard.cy.ts +56 -0
  946. package/templates/frontend/angular-base/cypress/e2e/home.cy.ts +35 -0
  947. package/templates/frontend/angular-base/cypress/fixtures/example.json +4 -0
  948. package/templates/frontend/angular-base/cypress/support/commands.ts +8 -0
  949. package/templates/frontend/angular-base/cypress/support/e2e.ts +11 -0
  950. package/templates/frontend/angular-base/cypress.config.ts +11 -0
  951. package/templates/frontend/angular-base/docs/ARCHITECTURE.md +337 -0
  952. package/templates/frontend/angular-base/docs/AUTHENTICATION.md +491 -0
  953. package/templates/frontend/angular-base/docs/DEPLOYMENT.md +507 -0
  954. package/templates/frontend/angular-base/docs/FEATURES.md +404 -0
  955. package/templates/frontend/angular-base/docs/TESTING.md +418 -0
  956. package/templates/frontend/angular-base/docs/THEMING.md +333 -0
  957. package/templates/frontend/angular-base/docs/UI_LIBRARIES.md +380 -0
  958. package/templates/frontend/angular-base/docs/USER_PROFILE_FLOW.md +431 -0
  959. package/templates/frontend/angular-base/package-lock.json +13321 -0
  960. package/templates/frontend/angular-base/package.json +93 -0
  961. package/templates/frontend/angular-base/public/favicon.ico +0 -0
  962. package/templates/frontend/angular-base/src/app/app.config.server.ts +14 -0
  963. package/templates/frontend/angular-base/src/app/app.config.ts +32 -0
  964. package/templates/frontend/angular-base/src/app/app.css +0 -0
  965. package/templates/frontend/angular-base/src/app/app.html +1 -0
  966. package/templates/frontend/angular-base/src/app/app.routes.server.ts +28 -0
  967. package/templates/frontend/angular-base/src/app/app.routes.ts +67 -0
  968. package/templates/frontend/angular-base/src/app/app.spec.ts +23 -0
  969. package/templates/frontend/angular-base/src/app/app.ts +12 -0
  970. package/templates/frontend/angular-base/src/app/core/guards/admin.guard.ts +16 -0
  971. package/templates/frontend/angular-base/src/app/core/guards/auth.guard.spec.ts +43 -0
  972. package/templates/frontend/angular-base/src/app/core/guards/auth.guard.ts +15 -0
  973. package/templates/frontend/angular-base/src/app/core/index.ts +10 -0
  974. package/templates/frontend/angular-base/src/app/core/interceptors/http-error.interceptor.spec.ts +43 -0
  975. package/templates/frontend/angular-base/src/app/core/interceptors/http-error.interceptor.ts +53 -0
  976. package/templates/frontend/angular-base/src/app/core/services/auth.service.spec.ts +33 -0
  977. package/templates/frontend/angular-base/src/app/core/services/auth.service.ts +91 -0
  978. package/templates/frontend/angular-base/src/app/core/services/theme.service.spec.ts +33 -0
  979. package/templates/frontend/angular-base/src/app/core/services/theme.service.ts +136 -0
  980. package/templates/frontend/angular-base/src/app/features/admin/index.ts +3 -0
  981. package/templates/frontend/angular-base/src/app/features/admin/routes.ts +21 -0
  982. package/templates/frontend/angular-base/src/app/features/admin/users/models/admin-user.model.ts +32 -0
  983. package/templates/frontend/angular-base/src/app/features/admin/users/pages/user-form.page.ts +279 -0
  984. package/templates/frontend/angular-base/src/app/features/admin/users/pages/user-list.page.ts +336 -0
  985. package/templates/frontend/angular-base/src/app/features/admin/users/services/admin-user.service.ts +151 -0
  986. package/templates/frontend/angular-base/src/app/features/auth/index.ts +2 -0
  987. package/templates/frontend/angular-base/src/app/features/auth/models/auth.model.ts +39 -0
  988. package/templates/frontend/angular-base/src/app/features/auth/pages/login.page.spec.ts +44 -0
  989. package/templates/frontend/angular-base/src/app/features/auth/pages/login.page.ts +187 -0
  990. package/templates/frontend/angular-base/src/app/features/auth/pages/password-recovery.page.spec.ts +48 -0
  991. package/templates/frontend/angular-base/src/app/features/auth/pages/password-recovery.page.ts +171 -0
  992. package/templates/frontend/angular-base/src/app/features/auth/pages/signup.page.spec.ts +53 -0
  993. package/templates/frontend/angular-base/src/app/features/auth/pages/signup.page.ts +269 -0
  994. package/templates/frontend/angular-base/src/app/features/auth/routes.ts +22 -0
  995. package/templates/frontend/angular-base/src/app/features/customers/index.ts +3 -0
  996. package/templates/frontend/angular-base/src/app/features/customers/models/customer.model.ts +41 -0
  997. package/templates/frontend/angular-base/src/app/features/customers/pages/customer-detail.page.ts +299 -0
  998. package/templates/frontend/angular-base/src/app/features/customers/pages/customer-form.page.ts +302 -0
  999. package/templates/frontend/angular-base/src/app/features/customers/pages/customer-list.page.ts +439 -0
  1000. package/templates/frontend/angular-base/src/app/features/customers/routes.ts +21 -0
  1001. package/templates/frontend/angular-base/src/app/features/customers/services/customer.service.ts +162 -0
  1002. package/templates/frontend/angular-base/src/app/features/dashboard/components/stats-card/stats-card.component.spec.ts +23 -0
  1003. package/templates/frontend/angular-base/src/app/features/dashboard/components/stats-card/stats-card.component.ts +52 -0
  1004. package/templates/frontend/angular-base/src/app/features/dashboard/index.ts +1 -0
  1005. package/templates/frontend/angular-base/src/app/features/dashboard/pages/dashboard.page.spec.ts +21 -0
  1006. package/templates/frontend/angular-base/src/app/features/dashboard/pages/dashboard.page.ts +122 -0
  1007. package/templates/frontend/angular-base/src/app/features/dashboard/routes.ts +8 -0
  1008. package/templates/frontend/angular-base/src/app/features/dashboard/services/dashboard.service.spec.ts +37 -0
  1009. package/templates/frontend/angular-base/src/app/features/dashboard/services/dashboard.service.ts +48 -0
  1010. package/templates/frontend/angular-base/src/app/features/errors/index.ts +1 -0
  1011. package/templates/frontend/angular-base/src/app/features/errors/pages/forbidden.page.ts +50 -0
  1012. package/templates/frontend/angular-base/src/app/features/errors/pages/maintenance.page.ts +46 -0
  1013. package/templates/frontend/angular-base/src/app/features/errors/pages/not-found.page.ts +49 -0
  1014. package/templates/frontend/angular-base/src/app/features/errors/pages/server-error.page.ts +60 -0
  1015. package/templates/frontend/angular-base/src/app/features/errors/routes.ts +25 -0
  1016. package/templates/frontend/angular-base/src/app/features/home/index.ts +1 -0
  1017. package/templates/frontend/angular-base/src/app/features/home/pages/home.page.spec.ts +23 -0
  1018. package/templates/frontend/angular-base/src/app/features/home/pages/home.page.ts +105 -0
  1019. package/templates/frontend/angular-base/src/app/features/home/routes.ts +8 -0
  1020. package/templates/frontend/angular-base/src/app/features/projects/index.ts +3 -0
  1021. package/templates/frontend/angular-base/src/app/features/projects/models/project.model.ts +48 -0
  1022. package/templates/frontend/angular-base/src/app/features/projects/pages/project-detail.page.ts +444 -0
  1023. package/templates/frontend/angular-base/src/app/features/projects/pages/project-form.page.ts +393 -0
  1024. package/templates/frontend/angular-base/src/app/features/projects/pages/project-list.page.ts +411 -0
  1025. package/templates/frontend/angular-base/src/app/features/projects/routes.ts +21 -0
  1026. package/templates/frontend/angular-base/src/app/features/projects/services/project.service.ts +227 -0
  1027. package/templates/frontend/angular-base/src/app/features/reports/index.ts +3 -0
  1028. package/templates/frontend/angular-base/src/app/features/reports/models/report.model.ts +27 -0
  1029. package/templates/frontend/angular-base/src/app/features/reports/pages/analytics.page.html +246 -0
  1030. package/templates/frontend/angular-base/src/app/features/reports/pages/analytics.page.ts +135 -0
  1031. package/templates/frontend/angular-base/src/app/features/reports/routes.ts +13 -0
  1032. package/templates/frontend/angular-base/src/app/features/reports/services/report.service.ts +141 -0
  1033. package/templates/frontend/angular-base/src/app/features/user/index.ts +3 -0
  1034. package/templates/frontend/angular-base/src/app/features/user/models/user.model.ts +23 -0
  1035. package/templates/frontend/angular-base/src/app/features/user/pages/privacy.page.spec.ts +27 -0
  1036. package/templates/frontend/angular-base/src/app/features/user/pages/privacy.page.ts +414 -0
  1037. package/templates/frontend/angular-base/src/app/features/user/pages/profile.page.spec.ts +39 -0
  1038. package/templates/frontend/angular-base/src/app/features/user/pages/profile.page.ts +232 -0
  1039. package/templates/frontend/angular-base/src/app/features/user/pages/settings.page.spec.ts +28 -0
  1040. package/templates/frontend/angular-base/src/app/features/user/pages/settings.page.ts +284 -0
  1041. package/templates/frontend/angular-base/src/app/features/user/routes.ts +21 -0
  1042. package/templates/frontend/angular-base/src/app/features/user/services/user.service.ts +74 -0
  1043. package/templates/frontend/angular-base/src/app/layout/footer/footer.component.spec.ts +25 -0
  1044. package/templates/frontend/angular-base/src/app/layout/footer/footer.component.ts +67 -0
  1045. package/templates/frontend/angular-base/src/app/layout/index.ts +3 -0
  1046. package/templates/frontend/angular-base/src/app/layout/main-layout/main-layout.component.spec.ts +23 -0
  1047. package/templates/frontend/angular-base/src/app/layout/main-layout/main-layout.component.ts +30 -0
  1048. package/templates/frontend/angular-base/src/app/layout/navbar/navbar.component.spec.ts +23 -0
  1049. package/templates/frontend/angular-base/src/app/layout/navbar/navbar.component.ts +293 -0
  1050. package/templates/frontend/angular-base/src/app/shared/components/badge/badge.component.spec.ts +36 -0
  1051. package/templates/frontend/angular-base/src/app/shared/components/badge/badge.component.ts +70 -0
  1052. package/templates/frontend/angular-base/src/app/shared/components/button/button.component.spec.ts +44 -0
  1053. package/templates/frontend/angular-base/src/app/shared/components/button/button.component.ts +64 -0
  1054. package/templates/frontend/angular-base/src/app/shared/components/card/card.component.spec.ts +29 -0
  1055. package/templates/frontend/angular-base/src/app/shared/components/card/card.component.ts +60 -0
  1056. package/templates/frontend/angular-base/src/app/shared/components/data-table/data-table.component.spec.ts +49 -0
  1057. package/templates/frontend/angular-base/src/app/shared/components/data-table/data-table.component.ts +280 -0
  1058. package/templates/frontend/angular-base/src/app/shared/components/empty-state/empty-state.component.spec.ts +36 -0
  1059. package/templates/frontend/angular-base/src/app/shared/components/empty-state/empty-state.component.ts +56 -0
  1060. package/templates/frontend/angular-base/src/app/shared/components/modal/modal.component.spec.ts +32 -0
  1061. package/templates/frontend/angular-base/src/app/shared/components/modal/modal.component.ts +131 -0
  1062. package/templates/frontend/angular-base/src/app/shared/components/pagination/pagination.component.spec.ts +38 -0
  1063. package/templates/frontend/angular-base/src/app/shared/components/pagination/pagination.component.ts +194 -0
  1064. package/templates/frontend/angular-base/src/app/shared/components/search-input/search-input.component.spec.ts +37 -0
  1065. package/templates/frontend/angular-base/src/app/shared/components/search-input/search-input.component.ts +125 -0
  1066. package/templates/frontend/angular-base/src/app/shared/components/skeleton-loader/skeleton-loader.component.spec.ts +30 -0
  1067. package/templates/frontend/angular-base/src/app/shared/components/skeleton-loader/skeleton-loader.component.ts +55 -0
  1068. package/templates/frontend/angular-base/src/app/shared/components/toggle/toggle.component.spec.ts +49 -0
  1069. package/templates/frontend/angular-base/src/app/shared/components/toggle/toggle.component.ts +101 -0
  1070. package/templates/frontend/angular-base/src/app/shared/components/user-dropdown/user-dropdown.component.spec.ts +65 -0
  1071. package/templates/frontend/angular-base/src/app/shared/components/user-dropdown/user-dropdown.component.ts +219 -0
  1072. package/templates/frontend/angular-base/src/app/shared/directives/auto-focus.directive.spec.ts +33 -0
  1073. package/templates/frontend/angular-base/src/app/shared/directives/auto-focus.directive.ts +25 -0
  1074. package/templates/frontend/angular-base/src/app/shared/index.ts +18 -0
  1075. package/templates/frontend/angular-base/src/app/shared/pipes/date-format.pipe.spec.ts +29 -0
  1076. package/templates/frontend/angular-base/src/app/shared/pipes/date-format.pipe.ts +39 -0
  1077. package/templates/frontend/angular-base/src/environments/environment.development.ts +4 -0
  1078. package/templates/frontend/angular-base/src/environments/environment.ts +4 -0
  1079. package/templates/frontend/angular-base/src/index.html +44 -0
  1080. package/templates/frontend/angular-base/src/main.server.ts +7 -0
  1081. package/templates/frontend/angular-base/src/main.ts +5 -0
  1082. package/templates/frontend/angular-base/src/server.ts +66 -0
  1083. package/templates/frontend/angular-base/src/styles.css +209 -0
  1084. package/templates/frontend/angular-base/src/test-setup.ts +10 -0
  1085. package/templates/frontend/angular-base/tsconfig.app.json +17 -0
  1086. package/templates/frontend/angular-base/tsconfig.json +41 -0
  1087. package/templates/frontend/angular-base/tsconfig.spec.json +15 -0
  1088. package/templates/frontend/angular-base/vitest.config.ts +25 -0
  1089. package/templates/frontend/react-vite/.cursor/skills/architecture/SKILL.md +26 -0
  1090. package/templates/frontend/react-vite/.cursor/skills/components-shadcn/SKILL.md +23 -0
  1091. package/templates/frontend/react-vite/.cursor/skills/daisyui/SKILL.md +98 -0
  1092. package/templates/frontend/react-vite/.cursor/skills/routing/SKILL.md +32 -0
  1093. package/templates/frontend/react-vite/.cursor/skills/testing/SKILL.md +55 -0
  1094. package/templates/frontend/react-vite/.cursor/skills/tooling-and-scripts/SKILL.md +24 -0
  1095. package/templates/frontend/react-vite/.cursor/skills/ui-and-styling/SKILL.md +32 -0
  1096. package/templates/frontend/react-vite/.cursor/skills/vibe-and-ia/SKILL.md +23 -0
  1097. package/templates/frontend/react-vite/.prettierrc +6 -0
  1098. package/templates/frontend/react-vite/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +9 -0
  1099. package/templates/frontend/react-vite/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +9 -0
  1100. package/templates/frontend/react-vite/.vscode/extensions.json +7 -0
  1101. package/templates/frontend/react-vite/README.md +75 -0
  1102. package/templates/frontend/react-vite/components.json +22 -0
  1103. package/templates/frontend/react-vite/eslint.config.js +31 -0
  1104. package/templates/frontend/react-vite/index.html +13 -0
  1105. package/templates/frontend/react-vite/package.json +62 -0
  1106. package/templates/frontend/react-vite/pnpm-lock.yaml +4487 -0
  1107. package/templates/frontend/react-vite/pnpm-workspace.yaml +2 -0
  1108. package/templates/frontend/react-vite/src/assets/react.svg +1 -0
  1109. package/templates/frontend/react-vite/src/components/ui/badge.tsx +37 -0
  1110. package/templates/frontend/react-vite/src/components/ui/breadcrumb.tsx +106 -0
  1111. package/templates/frontend/react-vite/src/components/ui/button.tsx +58 -0
  1112. package/templates/frontend/react-vite/src/components/ui/card.tsx +72 -0
  1113. package/templates/frontend/react-vite/src/components/ui/form.tsx +165 -0
  1114. package/templates/frontend/react-vite/src/components/ui/input.tsx +22 -0
  1115. package/templates/frontend/react-vite/src/components/ui/label.tsx +24 -0
  1116. package/templates/frontend/react-vite/src/components/ui/password-input.tsx +41 -0
  1117. package/templates/frontend/react-vite/src/components/ui/separator.tsx +28 -0
  1118. package/templates/frontend/react-vite/src/components/ui/tabs.tsx +62 -0
  1119. package/templates/frontend/react-vite/src/components/ui/textarea.tsx +21 -0
  1120. package/templates/frontend/react-vite/src/index.css +104 -0
  1121. package/templates/frontend/react-vite/src/lib/queryClient.ts +11 -0
  1122. package/templates/frontend/react-vite/src/lib/utils.ts +6 -0
  1123. package/templates/frontend/react-vite/src/main.tsx +33 -0
  1124. package/templates/frontend/react-vite/src/routeTree.gen.ts +77 -0
  1125. package/templates/frontend/react-vite/src/router.tsx +13 -0
  1126. package/templates/frontend/react-vite/src/routes/__root.tsx +82 -0
  1127. package/templates/frontend/react-vite/src/routes/index.tsx +187 -0
  1128. package/templates/frontend/react-vite/src/routes/otra-ruta.tsx +319 -0
  1129. package/templates/frontend/react-vite/src/test/setup.ts +1 -0
  1130. package/templates/frontend/react-vite/tsconfig.app.json +34 -0
  1131. package/templates/frontend/react-vite/tsconfig.json +10 -0
  1132. package/templates/frontend/react-vite/tsconfig.node.json +26 -0
  1133. package/templates/frontend/react-vite/vite.config.ts +22 -0
  1134. package/templates/frontend/react-vite/vitest.config.ts +9 -0
  1135. package/templates/frontend/react-vite-help/.cursor/skills/architecture/SKILL.md +26 -0
  1136. package/templates/frontend/react-vite-help/.cursor/skills/components-shadcn/SKILL.md +23 -0
  1137. package/templates/frontend/react-vite-help/.cursor/skills/daisyui/SKILL.md +98 -0
  1138. package/templates/frontend/react-vite-help/.cursor/skills/routing/SKILL.md +32 -0
  1139. package/templates/frontend/react-vite-help/.cursor/skills/testing/SKILL.md +55 -0
  1140. package/templates/frontend/react-vite-help/.cursor/skills/tooling-and-scripts/SKILL.md +24 -0
  1141. package/templates/frontend/react-vite-help/.cursor/skills/ui-and-styling/SKILL.md +32 -0
  1142. package/templates/frontend/react-vite-help/.cursor/skills/vibe-and-ia/SKILL.md +23 -0
  1143. package/templates/frontend/react-vite-help/.prettierrc +6 -0
  1144. package/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +9 -0
  1145. package/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +9 -0
  1146. package/templates/frontend/react-vite-help/.vscode/extensions.json +7 -0
  1147. package/templates/frontend/react-vite-help/README.md +75 -0
  1148. package/templates/frontend/react-vite-help/components.json +22 -0
  1149. package/templates/frontend/react-vite-help/eslint.config.js +31 -0
  1150. package/templates/frontend/react-vite-help/index.html +13 -0
  1151. package/templates/frontend/react-vite-help/package.json +62 -0
  1152. package/templates/frontend/react-vite-help/pnpm-lock.yaml +4487 -0
  1153. package/templates/frontend/react-vite-help/pnpm-workspace.yaml +2 -0
  1154. package/templates/frontend/react-vite-help/src/assets/react.svg +1 -0
  1155. package/templates/frontend/react-vite-help/src/components/documentacion/entorno.tsx +99 -0
  1156. package/templates/frontend/react-vite-help/src/components/documentacion/estructura.tsx +100 -0
  1157. package/templates/frontend/react-vite-help/src/components/documentacion/figma-mcp.tsx +200 -0
  1158. package/templates/frontend/react-vite-help/src/components/documentacion/inicio.tsx +69 -0
  1159. package/templates/frontend/react-vite-help/src/components/documentacion/instalacion.tsx +72 -0
  1160. package/templates/frontend/react-vite-help/src/components/documentacion/personalizacion.tsx +163 -0
  1161. package/templates/frontend/react-vite-help/src/components/documentacion/rutas.tsx +138 -0
  1162. package/templates/frontend/react-vite-help/src/components/documentacion/stack.tsx +401 -0
  1163. package/templates/frontend/react-vite-help/src/components/ui/badge.tsx +37 -0
  1164. package/templates/frontend/react-vite-help/src/components/ui/breadcrumb.tsx +106 -0
  1165. package/templates/frontend/react-vite-help/src/components/ui/button.tsx +58 -0
  1166. package/templates/frontend/react-vite-help/src/components/ui/card.tsx +72 -0
  1167. package/templates/frontend/react-vite-help/src/components/ui/form.tsx +165 -0
  1168. package/templates/frontend/react-vite-help/src/components/ui/input.tsx +22 -0
  1169. package/templates/frontend/react-vite-help/src/components/ui/label.tsx +24 -0
  1170. package/templates/frontend/react-vite-help/src/components/ui/password-input.tsx +41 -0
  1171. package/templates/frontend/react-vite-help/src/components/ui/separator.tsx +28 -0
  1172. package/templates/frontend/react-vite-help/src/components/ui/tabs.tsx +62 -0
  1173. package/templates/frontend/react-vite-help/src/components/ui/textarea.tsx +21 -0
  1174. package/templates/frontend/react-vite-help/src/data/proyectos.json +56 -0
  1175. package/templates/frontend/react-vite-help/src/index.css +104 -0
  1176. package/templates/frontend/react-vite-help/src/lib/queryClient.ts +11 -0
  1177. package/templates/frontend/react-vite-help/src/lib/utils.ts +6 -0
  1178. package/templates/frontend/react-vite-help/src/main.tsx +33 -0
  1179. package/templates/frontend/react-vite-help/src/routeTree.gen.ts +241 -0
  1180. package/templates/frontend/react-vite-help/src/router.tsx +13 -0
  1181. package/templates/frontend/react-vite-help/src/routes/__root.tsx +92 -0
  1182. package/templates/frontend/react-vite-help/src/routes/auth/iniciar-sesion.tsx +139 -0
  1183. package/templates/frontend/react-vite-help/src/routes/auth/registro.tsx +205 -0
  1184. package/templates/frontend/react-vite-help/src/routes/contacto.tsx +60 -0
  1185. package/templates/frontend/react-vite-help/src/routes/dashbord.tsx +9 -0
  1186. package/templates/frontend/react-vite-help/src/routes/documentacion.tsx +80 -0
  1187. package/templates/frontend/react-vite-help/src/routes/index.test.tsx +42 -0
  1188. package/templates/frontend/react-vite-help/src/routes/index.tsx +211 -0
  1189. package/templates/frontend/react-vite-help/src/routes/perfil.tsx +9 -0
  1190. package/templates/frontend/react-vite-help/src/routes/proyectos.$proyectoId.tsx +156 -0
  1191. package/templates/frontend/react-vite-help/src/routes/proyectos.tsx +93 -0
  1192. package/templates/frontend/react-vite-help/src/test/setup.ts +1 -0
  1193. package/templates/frontend/react-vite-help/tsconfig.app.json +34 -0
  1194. package/templates/frontend/react-vite-help/tsconfig.json +10 -0
  1195. package/templates/frontend/react-vite-help/tsconfig.node.json +26 -0
  1196. package/templates/frontend/react-vite-help/vite.config.ts +22 -0
  1197. package/templates/frontend/react-vite-help/vitest.config.ts +9 -0
  1198. package/templates/mobile/.gitkeep +1 -0
  1199. package/templates/mobile/expo-base/.cursor/rules/general-rules.mdc +231 -0
  1200. package/templates/mobile/expo-base/.cursor/rules/react-native-rules.mdc +1348 -0
  1201. package/templates/mobile/expo-base/.env +1 -0
  1202. package/templates/mobile/expo-base/.husky/commit-msg +4 -0
  1203. package/templates/mobile/expo-base/.husky/pre-commit +1 -0
  1204. package/templates/mobile/expo-base/.lintstagedrc.js +25 -0
  1205. package/templates/mobile/expo-base/.prettierignore +10 -0
  1206. package/templates/mobile/expo-base/.prettierrc +11 -0
  1207. package/templates/mobile/expo-base/.vscode/extensions.json +1 -0
  1208. package/templates/mobile/expo-base/.vscode/settings.json +7 -0
  1209. package/templates/mobile/expo-base/CHANGELOG.md +155 -0
  1210. package/templates/mobile/expo-base/IMPLEMENTATION_SUMMARY.md +413 -0
  1211. package/templates/mobile/expo-base/README.md +510 -0
  1212. package/templates/mobile/expo-base/SETUP_NOTES.md +233 -0
  1213. package/templates/mobile/expo-base/TEMPLATE_USAGE.md +623 -0
  1214. package/templates/mobile/expo-base/WARP.md +123 -0
  1215. package/templates/mobile/expo-base/app/(public)/_layout.tsx +21 -0
  1216. package/templates/mobile/expo-base/app/(public)/forgot-password.tsx +3 -0
  1217. package/templates/mobile/expo-base/app/(public)/login.tsx +3 -0
  1218. package/templates/mobile/expo-base/app/(public)/register.tsx +3 -0
  1219. package/templates/mobile/expo-base/app/(tabs)/_layout.tsx +60 -0
  1220. package/templates/mobile/expo-base/app/(tabs)/explore.tsx +235 -0
  1221. package/templates/mobile/expo-base/app/(tabs)/index.tsx +290 -0
  1222. package/templates/mobile/expo-base/app/(tabs)/profile.tsx +3 -0
  1223. package/templates/mobile/expo-base/app/_layout.tsx +143 -0
  1224. package/templates/mobile/expo-base/app/modal.tsx +29 -0
  1225. package/templates/mobile/expo-base/app/onboarding.tsx +3 -0
  1226. package/templates/mobile/expo-base/app/profile/_layout.tsx +44 -0
  1227. package/templates/mobile/expo-base/app/profile/change-password.tsx +3 -0
  1228. package/templates/mobile/expo-base/app/profile/edit.tsx +3 -0
  1229. package/templates/mobile/expo-base/app/settings/_layout.tsx +62 -0
  1230. package/templates/mobile/expo-base/app/settings/about.tsx +3 -0
  1231. package/templates/mobile/expo-base/app/settings/index.tsx +3 -0
  1232. package/templates/mobile/expo-base/app/settings/language.tsx +3 -0
  1233. package/templates/mobile/expo-base/app/settings/notifications.tsx +3 -0
  1234. package/templates/mobile/expo-base/app/settings/theme.tsx +3 -0
  1235. package/templates/mobile/expo-base/app.json +31 -0
  1236. package/templates/mobile/expo-base/commitlint.config.js +50 -0
  1237. package/templates/mobile/expo-base/docs/ARCHITECTURE.md +565 -0
  1238. package/templates/mobile/expo-base/docs/CI_CD.md +461 -0
  1239. package/templates/mobile/expo-base/docs/COMPONENTS.md +1103 -0
  1240. package/templates/mobile/expo-base/docs/CONTRIBUTING.md +733 -0
  1241. package/templates/mobile/expo-base/docs/DESIGN_TOKENS.md +832 -0
  1242. package/templates/mobile/expo-base/docs/GIT_CONVENTIONS.md +411 -0
  1243. package/templates/mobile/expo-base/docs/I18N.md +701 -0
  1244. package/templates/mobile/expo-base/docs/TESTING.md +565 -0
  1245. package/templates/mobile/expo-base/docs/THEMING.md +753 -0
  1246. package/templates/mobile/expo-base/docs/VERSIONING.md +518 -0
  1247. package/templates/mobile/expo-base/eslint.config.js +180 -0
  1248. package/templates/mobile/expo-base/jest.config.js +51 -0
  1249. package/templates/mobile/expo-base/jest.setup.js +106 -0
  1250. package/templates/mobile/expo-base/package.json +74 -0
  1251. package/templates/mobile/expo-base/pnpm-lock.yaml +11354 -0
  1252. package/templates/mobile/expo-base/pnpm-workspace.yaml +4 -0
  1253. package/templates/mobile/expo-base/src/__tests__/helpers/test-utils.tsx +77 -0
  1254. package/templates/mobile/expo-base/src/__tests__/mocks/api.ts +65 -0
  1255. package/templates/mobile/expo-base/src/__tests__/mocks/i18n.ts +22 -0
  1256. package/templates/mobile/expo-base/src/__tests__/mocks/index.ts +7 -0
  1257. package/templates/mobile/expo-base/src/__tests__/mocks/navigation.ts +47 -0
  1258. package/templates/mobile/expo-base/src/__tests__/mocks/theme.ts +46 -0
  1259. package/templates/mobile/expo-base/src/assets/images/android-icon-background.png +0 -0
  1260. package/templates/mobile/expo-base/src/assets/images/android-icon-foreground.png +0 -0
  1261. package/templates/mobile/expo-base/src/assets/images/android-icon-monochrome.png +0 -0
  1262. package/templates/mobile/expo-base/src/assets/images/favicon.png +0 -0
  1263. package/templates/mobile/expo-base/src/assets/images/icon.png +0 -0
  1264. package/templates/mobile/expo-base/src/assets/images/partial-react-logo.png +0 -0
  1265. package/templates/mobile/expo-base/src/assets/images/react-logo.png +0 -0
  1266. package/templates/mobile/expo-base/src/assets/images/react-logo@2x.png +0 -0
  1267. package/templates/mobile/expo-base/src/assets/images/react-logo@3x.png +0 -0
  1268. package/templates/mobile/expo-base/src/assets/images/splash-icon.png +0 -0
  1269. package/templates/mobile/expo-base/src/components/external-link.tsx +25 -0
  1270. package/templates/mobile/expo-base/src/components/feedback/empty-state.tsx +150 -0
  1271. package/templates/mobile/expo-base/src/components/feedback/error-boundary.tsx +145 -0
  1272. package/templates/mobile/expo-base/src/components/feedback/error-screen.tsx +121 -0
  1273. package/templates/mobile/expo-base/src/components/feedback/index.ts +11 -0
  1274. package/templates/mobile/expo-base/src/components/feedback/loading.tsx +155 -0
  1275. package/templates/mobile/expo-base/src/components/haptic-tab.tsx +18 -0
  1276. package/templates/mobile/expo-base/src/components/hello-wave.tsx +19 -0
  1277. package/templates/mobile/expo-base/src/components/layout/column.tsx +49 -0
  1278. package/templates/mobile/expo-base/src/components/layout/container.tsx +41 -0
  1279. package/templates/mobile/expo-base/src/components/layout/index.ts +14 -0
  1280. package/templates/mobile/expo-base/src/components/layout/row.tsx +52 -0
  1281. package/templates/mobile/expo-base/src/components/layout/screen.tsx +110 -0
  1282. package/templates/mobile/expo-base/src/components/layout/section.tsx +37 -0
  1283. package/templates/mobile/expo-base/src/components/parallax-scroll-view.tsx +79 -0
  1284. package/templates/mobile/expo-base/src/components/themed-text.tsx +60 -0
  1285. package/templates/mobile/expo-base/src/components/themed-view.tsx +14 -0
  1286. package/templates/mobile/expo-base/src/components/ui/__tests__/button.test.tsx +206 -0
  1287. package/templates/mobile/expo-base/src/components/ui/avatar.tsx +141 -0
  1288. package/templates/mobile/expo-base/src/components/ui/badge.tsx +175 -0
  1289. package/templates/mobile/expo-base/src/components/ui/button.tsx +247 -0
  1290. package/templates/mobile/expo-base/src/components/ui/card.tsx +127 -0
  1291. package/templates/mobile/expo-base/src/components/ui/collapsible.tsx +45 -0
  1292. package/templates/mobile/expo-base/src/components/ui/divider.tsx +50 -0
  1293. package/templates/mobile/expo-base/src/components/ui/icon-symbol.ios.tsx +32 -0
  1294. package/templates/mobile/expo-base/src/components/ui/icon-symbol.tsx +41 -0
  1295. package/templates/mobile/expo-base/src/components/ui/icon.tsx +137 -0
  1296. package/templates/mobile/expo-base/src/components/ui/index.ts +20 -0
  1297. package/templates/mobile/expo-base/src/components/ui/input.tsx +242 -0
  1298. package/templates/mobile/expo-base/src/constants/theme.ts +53 -0
  1299. package/templates/mobile/expo-base/src/contexts/auth-context.tsx +246 -0
  1300. package/templates/mobile/expo-base/src/contexts/index.ts +8 -0
  1301. package/templates/mobile/expo-base/src/contexts/query-client.tsx +43 -0
  1302. package/templates/mobile/expo-base/src/contexts/theme-context.tsx +111 -0
  1303. package/templates/mobile/expo-base/src/features/auth/forgot-password-screen.tsx +164 -0
  1304. package/templates/mobile/expo-base/src/features/auth/index.ts +7 -0
  1305. package/templates/mobile/expo-base/src/features/auth/login-screen.tsx +177 -0
  1306. package/templates/mobile/expo-base/src/features/auth/register-screen.tsx +220 -0
  1307. package/templates/mobile/expo-base/src/features/onboarding/README.md +190 -0
  1308. package/templates/mobile/expo-base/src/features/onboarding/index.ts +7 -0
  1309. package/templates/mobile/expo-base/src/features/onboarding/onboarding-debug.tsx +120 -0
  1310. package/templates/mobile/expo-base/src/features/onboarding/onboarding-screen.tsx +242 -0
  1311. package/templates/mobile/expo-base/src/features/onboarding/onboarding-utils.ts +49 -0
  1312. package/templates/mobile/expo-base/src/features/profile/change-password-screen.tsx +154 -0
  1313. package/templates/mobile/expo-base/src/features/profile/edit-profile-screen.tsx +183 -0
  1314. package/templates/mobile/expo-base/src/features/profile/index.ts +7 -0
  1315. package/templates/mobile/expo-base/src/features/profile/profile-screen.tsx +177 -0
  1316. package/templates/mobile/expo-base/src/features/settings/about-screen.tsx +167 -0
  1317. package/templates/mobile/expo-base/src/features/settings/index.ts +9 -0
  1318. package/templates/mobile/expo-base/src/features/settings/language-settings-screen.tsx +97 -0
  1319. package/templates/mobile/expo-base/src/features/settings/notifications-settings-screen.tsx +128 -0
  1320. package/templates/mobile/expo-base/src/features/settings/settings-screen.tsx +141 -0
  1321. package/templates/mobile/expo-base/src/features/settings/theme-settings-screen.tsx +149 -0
  1322. package/templates/mobile/expo-base/src/hooks/__tests__/use-theme.test.ts +151 -0
  1323. package/templates/mobile/expo-base/src/hooks/index.ts +13 -0
  1324. package/templates/mobile/expo-base/src/hooks/use-api.ts +206 -0
  1325. package/templates/mobile/expo-base/src/hooks/use-auth.ts +7 -0
  1326. package/templates/mobile/expo-base/src/hooks/use-color-scheme.ts +19 -0
  1327. package/templates/mobile/expo-base/src/hooks/use-color-scheme.web.ts +31 -0
  1328. package/templates/mobile/expo-base/src/hooks/use-theme-color.ts +21 -0
  1329. package/templates/mobile/expo-base/src/hooks/use-theme.ts +60 -0
  1330. package/templates/mobile/expo-base/src/hooks/use-translation.ts +48 -0
  1331. package/templates/mobile/expo-base/src/i18n/index.ts +113 -0
  1332. package/templates/mobile/expo-base/src/i18n/locales/en-US.json +134 -0
  1333. package/templates/mobile/expo-base/src/i18n/locales/es-AR.json +134 -0
  1334. package/templates/mobile/expo-base/src/scripts/reset-project.js +112 -0
  1335. package/templates/mobile/expo-base/src/services/api/client.ts +190 -0
  1336. package/templates/mobile/expo-base/src/services/api/endpoints.ts +45 -0
  1337. package/templates/mobile/expo-base/src/services/api/index.ts +7 -0
  1338. package/templates/mobile/expo-base/src/services/storage/secure-storage.ts +56 -0
  1339. package/templates/mobile/expo-base/src/theme/colors.ts +147 -0
  1340. package/templates/mobile/expo-base/src/theme/index.ts +40 -0
  1341. package/templates/mobile/expo-base/src/theme/semantic-colors.ts +221 -0
  1342. package/templates/mobile/expo-base/src/theme/shadows.ts +123 -0
  1343. package/templates/mobile/expo-base/src/theme/spacing.ts +118 -0
  1344. package/templates/mobile/expo-base/src/theme/theme-config.ts +111 -0
  1345. package/templates/mobile/expo-base/src/theme/tokens.ts +218 -0
  1346. package/templates/mobile/expo-base/src/theme/typography.ts +152 -0
  1347. package/templates/mobile/expo-base/src/types/index.ts +6 -0
  1348. package/templates/mobile/expo-base/src/types/models.ts +153 -0
  1349. package/templates/mobile/expo-base/src/types/navigation.ts +67 -0
  1350. package/templates/mobile/expo-base/src/utils/__tests__/validators.test.ts +312 -0
  1351. package/templates/mobile/expo-base/src/utils/constants.ts +167 -0
  1352. package/templates/mobile/expo-base/src/utils/formatters.ts +222 -0
  1353. package/templates/mobile/expo-base/src/utils/index.ts +7 -0
  1354. package/templates/mobile/expo-base/src/utils/validators.ts +187 -0
  1355. package/templates/mobile/expo-base/tsconfig.json +26 -0
@@ -0,0 +1,247 @@
1
+ /**
2
+ * Button Component
3
+ *
4
+ * Componente de botón profesional con múltiples variantes, tamaños, y estados.
5
+ * Incluye feedback háptico, animaciones, y soporte completo de accesibilidad.
6
+ */
7
+
8
+ import * as Haptics from 'expo-haptics';
9
+ import type { ReactNode } from 'react';
10
+ import {
11
+ ActivityIndicator,
12
+ StyleSheet,
13
+ Text,
14
+ TouchableOpacity,
15
+ type ViewStyle,
16
+ } from 'react-native';
17
+ import Animated, {
18
+ useAnimatedStyle,
19
+ useSharedValue,
20
+ withSpring,
21
+ } from 'react-native-reanimated';
22
+
23
+ import { useTheme } from '@/hooks/use-theme';
24
+ import { tokens } from '@/theme/tokens';
25
+ import { typography } from '@/theme/typography';
26
+
27
+ const AnimatedTouchable = Animated.createAnimatedComponent(TouchableOpacity);
28
+
29
+ type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger';
30
+ type ButtonSize = 'sm' | 'md' | 'lg';
31
+
32
+ export interface ButtonProps {
33
+ children: ReactNode;
34
+ onPress?: () => void;
35
+ variant?: ButtonVariant;
36
+ size?: ButtonSize;
37
+ disabled?: boolean;
38
+ loading?: boolean;
39
+ fullWidth?: boolean;
40
+ leftIcon?: ReactNode;
41
+ rightIcon?: ReactNode;
42
+ hapticFeedback?: boolean;
43
+ testID?: string;
44
+ accessibilityLabel?: string;
45
+ style?: ViewStyle;
46
+ }
47
+
48
+ export function Button({
49
+ children,
50
+ onPress,
51
+ variant = 'primary',
52
+ size = 'md',
53
+ disabled = false,
54
+ loading = false,
55
+ fullWidth = false,
56
+ leftIcon,
57
+ rightIcon,
58
+ hapticFeedback = true,
59
+ testID,
60
+ accessibilityLabel,
61
+ style,
62
+ }: ButtonProps) {
63
+ const { colors } = useTheme();
64
+ const scale = useSharedValue(1);
65
+
66
+ const isDisabled = disabled || loading;
67
+
68
+ // Animación de escala al presionar
69
+ const animatedStyle = useAnimatedStyle(() => ({
70
+ transform: [{ scale: scale.value }],
71
+ }));
72
+
73
+ function handlePressIn() {
74
+ if (!isDisabled) {
75
+ scale.value = withSpring(0.95, { damping: 15 });
76
+ }
77
+ }
78
+
79
+ function handlePressOut() {
80
+ scale.value = withSpring(1, { damping: 15 });
81
+ }
82
+
83
+ function handlePress() {
84
+ if (isDisabled || !onPress) return;
85
+
86
+ // Haptic feedback
87
+ if (hapticFeedback) {
88
+ Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light);
89
+ }
90
+
91
+ onPress();
92
+ }
93
+
94
+ // Estilos basados en variante
95
+ const variantStyles = getVariantStyles(variant, colors);
96
+ const sizeStyles = getSizeStyles(size);
97
+
98
+ return (
99
+ <AnimatedTouchable
100
+ onPress={handlePress}
101
+ onPressIn={handlePressIn}
102
+ onPressOut={handlePressOut}
103
+ disabled={isDisabled}
104
+ testID={testID}
105
+ accessibilityLabel={accessibilityLabel}
106
+ accessibilityRole="button"
107
+ accessibilityState={{ disabled: isDisabled }}
108
+ style={[
109
+ styles.base,
110
+ variantStyles.container,
111
+ sizeStyles.container,
112
+ fullWidth && styles.fullWidth,
113
+ isDisabled && styles.disabled,
114
+ animatedStyle,
115
+ style,
116
+ ]}
117
+ activeOpacity={0.8}
118
+ >
119
+ {loading ? (
120
+ <ActivityIndicator
121
+ color={variantStyles.text.color}
122
+ size={size === 'sm' ? 'small' : 'small'}
123
+ />
124
+ ) : (
125
+ <>
126
+ {leftIcon && leftIcon}
127
+ <Text
128
+ style={[
129
+ styles.text,
130
+ variantStyles.text,
131
+ sizeStyles.text,
132
+ (leftIcon || rightIcon) ? styles.textWithIcon : undefined,
133
+ ]}
134
+ >
135
+ {children}
136
+ </Text>
137
+ {rightIcon && rightIcon}
138
+ </>
139
+ )}
140
+ </AnimatedTouchable>
141
+ );
142
+ }
143
+
144
+ /**
145
+ * Obtiene los estilos según la variante
146
+ */
147
+ function getVariantStyles(variant: ButtonVariant, colors: ReturnType<typeof useTheme>['colors']) {
148
+ const variants = {
149
+ primary: {
150
+ container: {
151
+ backgroundColor: colors.bgAccent,
152
+ },
153
+ text: {
154
+ color: colors.textOnAccent,
155
+ },
156
+ },
157
+ secondary: {
158
+ container: {
159
+ backgroundColor: colors.colorSecondary,
160
+ },
161
+ text: {
162
+ color: colors.textOnAccent,
163
+ },
164
+ },
165
+ outline: {
166
+ container: {
167
+ backgroundColor: 'transparent',
168
+ borderWidth: 1.5,
169
+ borderColor: colors.colorPrimary,
170
+ },
171
+ text: {
172
+ color: colors.colorPrimary,
173
+ },
174
+ },
175
+ ghost: {
176
+ container: {
177
+ backgroundColor: 'transparent',
178
+ },
179
+ text: {
180
+ color: colors.interactive,
181
+ },
182
+ },
183
+ danger: {
184
+ container: {
185
+ backgroundColor: colors.stateError,
186
+ },
187
+ text: {
188
+ color: colors.textOnAccent,
189
+ },
190
+ },
191
+ };
192
+
193
+ return variants[variant];
194
+ }
195
+
196
+ /**
197
+ * Obtiene los estilos según el tamaño
198
+ */
199
+ function getSizeStyles(size: ButtonSize) {
200
+ const sizes = {
201
+ sm: {
202
+ container: {
203
+ height: tokens.sizes.button.sm,
204
+ paddingHorizontal: tokens.spacing.md,
205
+ },
206
+ text: typography.buttonSmall,
207
+ },
208
+ md: {
209
+ container: {
210
+ height: tokens.sizes.button.md,
211
+ paddingHorizontal: tokens.spacing.lg,
212
+ },
213
+ text: typography.button,
214
+ },
215
+ lg: {
216
+ container: {
217
+ height: tokens.sizes.button.lg,
218
+ paddingHorizontal: tokens.spacing.xl,
219
+ },
220
+ text: typography.buttonLarge,
221
+ },
222
+ };
223
+
224
+ return sizes[size];
225
+ }
226
+
227
+ const styles = StyleSheet.create({
228
+ base: {
229
+ flexDirection: 'row',
230
+ alignItems: 'center',
231
+ justifyContent: 'center',
232
+ borderRadius: tokens.radius.lg,
233
+ gap: tokens.spacing.sm,
234
+ },
235
+ text: {
236
+ textAlign: 'center',
237
+ },
238
+ textWithIcon: {
239
+ marginHorizontal: tokens.spacing.xs,
240
+ },
241
+ fullWidth: {
242
+ width: '100%',
243
+ },
244
+ disabled: {
245
+ opacity: tokens.opacity.disabled,
246
+ },
247
+ });
@@ -0,0 +1,127 @@
1
+ /**
2
+ * Card Component
3
+ *
4
+ * Contenedor tipo tarjeta con elevación, padding, y variantes.
5
+ * Usado para agrupar contenido relacionado con separación visual.
6
+ */
7
+
8
+ import type { ReactNode } from 'react';
9
+ import {
10
+ StyleSheet,
11
+ TouchableOpacity,
12
+ View,
13
+ type ViewProps,
14
+ type ViewStyle,
15
+ } from 'react-native';
16
+
17
+ import { useTheme } from '@/hooks/use-theme';
18
+ import { componentShadows } from '@/theme/shadows';
19
+ import { tokens } from '@/theme/tokens';
20
+
21
+ type CardVariant = 'elevated' | 'outlined' | 'filled';
22
+ type CardPadding = 'none' | 'sm' | 'md' | 'lg';
23
+
24
+ export interface CardProps extends Omit<ViewProps, 'style'> {
25
+ children: ReactNode;
26
+ variant?: CardVariant;
27
+ padding?: CardPadding;
28
+ onPress?: () => void;
29
+ style?: ViewStyle;
30
+ }
31
+
32
+ export function Card({
33
+ children,
34
+ variant = 'elevated',
35
+ padding = 'md',
36
+ onPress,
37
+ style,
38
+ ...viewProps
39
+ }: CardProps) {
40
+ const { colors } = useTheme();
41
+
42
+ const variantStyles = getVariantStyles(variant, colors);
43
+ const paddingStyles = getPaddingStyles(padding);
44
+
45
+ const cardStyle = [
46
+ styles.base,
47
+ variantStyles,
48
+ paddingStyles,
49
+ style,
50
+ ];
51
+
52
+ // Si tiene onPress, renderizar como TouchableOpacity
53
+ if (onPress) {
54
+ return (
55
+ <TouchableOpacity
56
+ onPress={onPress}
57
+ activeOpacity={0.7}
58
+ style={cardStyle}
59
+ testID={viewProps.testID}
60
+ accessibilityLabel={viewProps.accessibilityLabel}
61
+ >
62
+ {children}
63
+ </TouchableOpacity>
64
+ );
65
+ }
66
+
67
+ // Si no tiene onPress, renderizar como View
68
+ return (
69
+ <View {...viewProps} style={cardStyle}>
70
+ {children}
71
+ </View>
72
+ );
73
+ }
74
+
75
+ /**
76
+ * Obtiene los estilos según la variante
77
+ */
78
+ function getVariantStyles(
79
+ variant: CardVariant,
80
+ colors: ReturnType<typeof useTheme>['colors'],
81
+ ) {
82
+ const variants = {
83
+ elevated: {
84
+ backgroundColor: colors.bgSurface,
85
+ ...componentShadows.card,
86
+ },
87
+ outlined: {
88
+ backgroundColor: colors.bgSurface,
89
+ borderWidth: 1,
90
+ borderColor: colors.borderPrimary,
91
+ },
92
+ filled: {
93
+ backgroundColor: colors.bgSecondary,
94
+ },
95
+ };
96
+
97
+ return variants[variant];
98
+ }
99
+
100
+ /**
101
+ * Obtiene el padding según el tamaño
102
+ */
103
+ function getPaddingStyles(padding: CardPadding) {
104
+ const paddings = {
105
+ none: {
106
+ padding: 0,
107
+ },
108
+ sm: {
109
+ padding: tokens.spacing.sm,
110
+ },
111
+ md: {
112
+ padding: tokens.spacing.md,
113
+ },
114
+ lg: {
115
+ padding: tokens.spacing.lg,
116
+ },
117
+ };
118
+
119
+ return paddings[padding];
120
+ }
121
+
122
+ const styles = StyleSheet.create({
123
+ base: {
124
+ borderRadius: tokens.radius.xl,
125
+ overflow: 'hidden',
126
+ },
127
+ });
@@ -0,0 +1,45 @@
1
+ import { PropsWithChildren, useState } from 'react';
2
+ import { StyleSheet, TouchableOpacity } from 'react-native';
3
+
4
+ import { ThemedText } from '@/components/themed-text';
5
+ import { ThemedView } from '@/components/themed-view';
6
+ import { IconSymbol } from '@/components/ui/icon-symbol';
7
+ import { Colors } from '@/constants/theme';
8
+ import { useColorScheme } from '@/hooks/use-color-scheme';
9
+
10
+ export function Collapsible({ children, title }: PropsWithChildren & { title: string }) {
11
+ const [isOpen, setIsOpen] = useState(false);
12
+ const theme = useColorScheme() ?? 'light';
13
+
14
+ return (
15
+ <ThemedView>
16
+ <TouchableOpacity
17
+ style={styles.heading}
18
+ onPress={() => setIsOpen((value) => !value)}
19
+ activeOpacity={0.8}>
20
+ <IconSymbol
21
+ name="chevron.right"
22
+ size={18}
23
+ weight="medium"
24
+ color={theme === 'light' ? Colors.light.icon : Colors.dark.icon}
25
+ style={{ transform: [{ rotate: isOpen ? '90deg' : '0deg' }] }}
26
+ />
27
+
28
+ <ThemedText type="defaultSemiBold">{title}</ThemedText>
29
+ </TouchableOpacity>
30
+ {isOpen && <ThemedView style={styles.content}>{children}</ThemedView>}
31
+ </ThemedView>
32
+ );
33
+ }
34
+
35
+ const styles = StyleSheet.create({
36
+ heading: {
37
+ flexDirection: 'row',
38
+ alignItems: 'center',
39
+ gap: 6,
40
+ },
41
+ content: {
42
+ marginTop: 6,
43
+ marginLeft: 24,
44
+ },
45
+ });
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Divider Component
3
+ *
4
+ * Separador visual horizontal o vertical.
5
+ * Útil para dividir secciones de contenido.
6
+ */
7
+
8
+ import { StyleSheet, View, type ViewStyle } from 'react-native';
9
+
10
+ import { useTheme } from '@/hooks/use-theme';
11
+ import { tokens } from '@/theme/tokens';
12
+
13
+ export interface DividerProps {
14
+ orientation?: 'horizontal' | 'vertical';
15
+ thickness?: number;
16
+ style?: ViewStyle;
17
+ }
18
+
19
+ export function Divider({
20
+ orientation = 'horizontal',
21
+ thickness = 1,
22
+ style,
23
+ }: DividerProps) {
24
+ const { colors } = useTheme();
25
+
26
+ const dividerStyle = [
27
+ styles.base,
28
+ {
29
+ backgroundColor: colors.divider,
30
+ },
31
+ orientation === 'horizontal'
32
+ ? {
33
+ height: thickness,
34
+ width: '100%',
35
+ }
36
+ : {
37
+ width: thickness,
38
+ height: '100%',
39
+ },
40
+ style,
41
+ ];
42
+
43
+ return <View style={dividerStyle} />;
44
+ }
45
+
46
+ const styles = StyleSheet.create({
47
+ base: {
48
+ // Base styles
49
+ },
50
+ });
@@ -0,0 +1,32 @@
1
+ import { SymbolView, SymbolViewProps, SymbolWeight } from 'expo-symbols';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+
4
+ export function IconSymbol({
5
+ name,
6
+ size = 24,
7
+ color,
8
+ style,
9
+ weight = 'regular',
10
+ }: {
11
+ name: SymbolViewProps['name'];
12
+ size?: number;
13
+ color: string;
14
+ style?: StyleProp<ViewStyle>;
15
+ weight?: SymbolWeight;
16
+ }) {
17
+ return (
18
+ <SymbolView
19
+ weight={weight}
20
+ tintColor={color}
21
+ resizeMode="scaleAspectFit"
22
+ name={name}
23
+ style={[
24
+ {
25
+ width: size,
26
+ height: size,
27
+ },
28
+ style,
29
+ ]}
30
+ />
31
+ );
32
+ }
@@ -0,0 +1,41 @@
1
+ // Fallback for using MaterialIcons on Android and web.
2
+
3
+ import MaterialIcons from '@expo/vector-icons/MaterialIcons';
4
+ import { SymbolWeight, SymbolViewProps } from 'expo-symbols';
5
+ import { ComponentProps } from 'react';
6
+ import { OpaqueColorValue, type StyleProp, type TextStyle } from 'react-native';
7
+
8
+ type IconMapping = Record<SymbolViewProps['name'], ComponentProps<typeof MaterialIcons>['name']>;
9
+ type IconSymbolName = keyof typeof MAPPING;
10
+
11
+ /**
12
+ * Add your SF Symbols to Material Icons mappings here.
13
+ * - see Material Icons in the [Icons Directory](https://icons.expo.fyi).
14
+ * - see SF Symbols in the [SF Symbols](https://developer.apple.com/sf-symbols/) app.
15
+ */
16
+ const MAPPING = {
17
+ 'house.fill': 'home',
18
+ 'paperplane.fill': 'send',
19
+ 'chevron.left.forwardslash.chevron.right': 'code',
20
+ 'chevron.right': 'chevron-right',
21
+ } as IconMapping;
22
+
23
+ /**
24
+ * An icon component that uses native SF Symbols on iOS, and Material Icons on Android and web.
25
+ * This ensures a consistent look across platforms, and optimal resource usage.
26
+ * Icon `name`s are based on SF Symbols and require manual mapping to Material Icons.
27
+ */
28
+ export function IconSymbol({
29
+ name,
30
+ size = 24,
31
+ color,
32
+ style,
33
+ }: {
34
+ name: IconSymbolName;
35
+ size?: number;
36
+ color: string | OpaqueColorValue;
37
+ style?: StyleProp<TextStyle>;
38
+ weight?: SymbolWeight;
39
+ }) {
40
+ return <MaterialIcons color={color} size={size} name={MAPPING[name]} style={style} />;
41
+ }
@@ -0,0 +1,137 @@
1
+ /**
2
+ * Icon Component
3
+ *
4
+ * Componente unificado de íconos integrado con el sistema de theming.
5
+ * Usa lucide-react-native para íconos modernos, flat y consistentes.
6
+ *
7
+ * Features:
8
+ * - Integración automática con semantic colors del theme
9
+ * - Variantes semánticas predefinidas (default, active, primary, etc.)
10
+ * - Tamaños desde tokens del design system
11
+ * - Props de override para casos especiales
12
+ * - TypeScript typing completo
13
+ */
14
+
15
+ import type { LucideIcon } from 'lucide-react-native';
16
+ import type { ViewStyle } from 'react-native';
17
+
18
+ import { useTheme } from '@/hooks/use-theme';
19
+ import { tokens } from '@/theme/tokens';
20
+
21
+ /**
22
+ * Variantes semánticas de color para íconos
23
+ */
24
+ export type IconVariant =
25
+ | 'default'
26
+ | 'active'
27
+ | 'primary'
28
+ | 'secondary'
29
+ | 'muted'
30
+ | 'success'
31
+ | 'error'
32
+ | 'warning'
33
+ | 'info';
34
+
35
+ /**
36
+ * Tamaños predefinidos de íconos desde design tokens
37
+ */
38
+ export type IconSize = keyof typeof tokens.sizes.icon;
39
+
40
+ export interface IconProps {
41
+ /**
42
+ * Ícono de Lucide a renderizar
43
+ * @example icon={Home}
44
+ */
45
+ icon: LucideIcon;
46
+
47
+ /**
48
+ * Variante semántica de color (se mapea a semantic colors del theme)
49
+ * @default 'default'
50
+ */
51
+ variant?: IconVariant;
52
+
53
+ /**
54
+ * Tamaño predefinido desde tokens o número custom
55
+ * @default 'md'
56
+ */
57
+ size?: IconSize | number;
58
+
59
+ /**
60
+ * Color custom (override manual, ignora variant)
61
+ */
62
+ color?: string;
63
+
64
+ /**
65
+ * Grosor del stroke del ícono
66
+ * @default 2
67
+ */
68
+ strokeWidth?: number;
69
+
70
+ /**
71
+ * Estilos adicionales del contenedor
72
+ */
73
+ style?: ViewStyle;
74
+ }
75
+
76
+ /**
77
+ * Componente Icon
78
+ *
79
+ * @example
80
+ * // Con variante semántica
81
+ * <Icon icon={Home} variant="primary" size="md" />
82
+ *
83
+ * @example
84
+ * // Con color custom
85
+ * <Icon icon={Search} size={20} color="#FF0000" />
86
+ *
87
+ * @example
88
+ * // Para tab navigation
89
+ * <Icon icon={User} size="md" color={color} />
90
+ */
91
+ export function Icon({
92
+ icon: LucideIcon,
93
+ variant = 'default',
94
+ size = 'md',
95
+ color,
96
+ strokeWidth = 2,
97
+ style,
98
+ }: IconProps) {
99
+ const { colors } = useTheme();
100
+
101
+ // Resolver tamaño: si es string, buscar en tokens, sino usar número directo
102
+ const iconSize = typeof size === 'string' ? tokens.sizes.icon[size] : size;
103
+
104
+ // Resolver color: si se pasa color prop, usarlo; sino mapear variant a semantic color
105
+ const iconColor = color || getColorFromVariant(variant, colors);
106
+
107
+ return (
108
+ <LucideIcon
109
+ size={iconSize}
110
+ color={iconColor}
111
+ strokeWidth={strokeWidth}
112
+ style={style}
113
+ />
114
+ );
115
+ }
116
+
117
+ /**
118
+ * Mapea variantes semánticas a colores del theme
119
+ */
120
+ function getColorFromVariant(
121
+ variant: IconVariant,
122
+ colors: ReturnType<typeof useTheme>['colors'],
123
+ ): string {
124
+ const variantMap: Record<IconVariant, string> = {
125
+ default: colors.iconDefault,
126
+ active: colors.iconActive,
127
+ primary: colors.colorPrimary,
128
+ secondary: colors.colorSecondary,
129
+ muted: colors.textTertiary,
130
+ success: colors.stateSuccess,
131
+ error: colors.stateError,
132
+ warning: colors.stateWarning,
133
+ info: colors.stateInfo,
134
+ };
135
+
136
+ return variantMap[variant];
137
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * UI Components - Punto de entrada principal
3
+ *
4
+ * Exporta todos los componentes UI básicos.
5
+ */
6
+
7
+ export { Button } from './button';
8
+ export type { ButtonProps } from './button';
9
+ export { Input, PasswordInput } from './input';
10
+ export type { InputProps } from './input';
11
+ export { Card } from './card';
12
+ export type { CardProps } from './card';
13
+ export { Avatar } from './avatar';
14
+ export type { AvatarProps } from './avatar';
15
+ export { Badge } from './badge';
16
+ export type { BadgeProps } from './badge';
17
+ export { Divider } from './divider';
18
+ export type { DividerProps } from './divider';
19
+ export { Icon } from './icon';
20
+ export type { IconProps, IconVariant, IconSize } from './icon';