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,401 @@
1
+ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
2
+ import { Badge } from "@/components/ui/badge";
3
+ import { Separator } from "@/components/ui/separator";
4
+ import { Zap, Code, FileText, Database, Palette } from "lucide-react";
5
+
6
+ export function StackTab() {
7
+ return (
8
+ <>
9
+ <Card>
10
+ <CardHeader>
11
+ <CardTitle>Índice del Stack Tecnológico</CardTitle>
12
+ </CardHeader>
13
+ <CardContent>
14
+ <div className="p-4 bg-slate-50 dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700">
15
+ <ul className="space-y-2 text-sm">
16
+ <li>
17
+ <a href="#stack-vite" className="text-blue-600 hover:underline">
18
+ Vite
19
+ </a>
20
+ </li>
21
+ <li>
22
+ <a href="#stack-react" className="text-blue-600 hover:underline">
23
+ React 19 + TypeScript
24
+ </a>
25
+ </li>
26
+ <li>
27
+ <a href="#stack-zod" className="text-blue-600 hover:underline">
28
+ Zod - Validación de Esquemas
29
+ </a>
30
+ </li>
31
+ <li>
32
+ <a href="#stack-query" className="text-blue-600 hover:underline">
33
+ TanStack Query
34
+ </a>
35
+ </li>
36
+ <li>
37
+ <a href="#stack-router" className="text-blue-600 hover:underline">
38
+ TanStack Router
39
+ </a>
40
+ </li>
41
+ <li>
42
+ <a href="#stack-tailwind" className="text-blue-600 hover:underline">
43
+ Tailwind CSS v4
44
+ </a>
45
+ </li>
46
+ <li>
47
+ <a href="#stack-shadcn" className="text-blue-600 hover:underline">
48
+ shadcn/ui
49
+ </a>
50
+ </li>
51
+ </ul>
52
+ </div>
53
+ </CardContent>
54
+ </Card>
55
+ {/* Vite */}
56
+ <Card id="stack-vite">
57
+ <CardHeader>
58
+ <div className="flex items-center gap-2">
59
+ <Zap className="h-5 w-5" />
60
+ <CardTitle>Vite</CardTitle>
61
+ </div>
62
+ <CardDescription>Build tool ultra-rápido para desarrollo y producción.</CardDescription>
63
+ </CardHeader>
64
+ <CardContent className="space-y-4">
65
+ <div>
66
+ <h3 className="text-lg font-semibold mb-2">Características</h3>
67
+ <ul className="list-disc list-inside space-y-2 text-slate-600">
68
+ <li>HMR (Hot Module Replacement) instantáneo</li>
69
+ <li>Build optimizado con rolldown</li>
70
+ <li>
71
+ Configuración en <code className="bg-slate-100 px-1 rounded">vite.config.ts</code>
72
+ </li>
73
+ </ul>
74
+ </div>
75
+ <Separator />
76
+ <div>
77
+ <h3 className="text-lg font-semibold mb-2">Scripts disponibles</h3>
78
+ <div className="bg-slate-100 rounded-lg p-4 font-mono text-sm space-y-2">
79
+ <div>
80
+ <code>pnpm dev</code> - Servidor de desarrollo
81
+ </div>
82
+ <div>
83
+ <code>pnpm build</code> - Build para producción
84
+ </div>
85
+ <div>
86
+ <code>pnpm preview</code> - Preview del build
87
+ </div>
88
+ </div>
89
+ </div>
90
+ </CardContent>
91
+ </Card>
92
+
93
+ {/* React + TypeScript */}
94
+ <Card id="stack-react">
95
+ <CardHeader>
96
+ <div className="flex items-center gap-2">
97
+ <Code className="h-5 w-5" />
98
+ <CardTitle>React 19 + TypeScript</CardTitle>
99
+ </div>
100
+ <CardDescription>Framework y lenguaje base del proyecto.</CardDescription>
101
+ </CardHeader>
102
+ <CardContent className="space-y-4">
103
+ <div>
104
+ <h3 className="text-lg font-semibold mb-2">Características</h3>
105
+ <ul className="list-disc list-inside space-y-2 text-slate-600">
106
+ <li>React 19 con todas sus mejoras</li>
107
+ <li>TypeScript estricto para type safety</li>
108
+ <li>React Compiler habilitado para optimizaciones automáticas</li>
109
+ <li>StrictMode activado por defecto</li>
110
+ </ul>
111
+ </div>
112
+ <Separator />
113
+ <div>
114
+ <h3 className="text-lg font-semibold mb-2">Configuración</h3>
115
+ <ul className="list-disc list-inside space-y-2 text-slate-600">
116
+ <li>
117
+ <code className="bg-slate-100 px-1 rounded">tsconfig.json</code> - Configuración
118
+ principal
119
+ </li>
120
+ <li>
121
+ <code className="bg-slate-100 px-1 rounded">tsconfig.app.json</code> - Configuración
122
+ de la app
123
+ </li>
124
+ <li>
125
+ Alias <code className="bg-slate-100 px-1 rounded">@/</code> configurado para imports
126
+ </li>
127
+ </ul>
128
+ </div>
129
+ </CardContent>
130
+ </Card>
131
+
132
+ {/* Zod */}
133
+ <Card id="stack-zod">
134
+ <CardHeader>
135
+ <div className="flex items-center gap-2">
136
+ <FileText className="h-5 w-5" />
137
+ <CardTitle>Zod - Validación de Esquemas</CardTitle>
138
+ </div>
139
+ <CardDescription>
140
+ Validación de datos y tipos con TypeScript-first schema validation.
141
+ </CardDescription>
142
+ </CardHeader>
143
+ <CardContent className="space-y-4">
144
+ <div>
145
+ <h3 className="text-lg font-semibold mb-2">Uso con React Hook Form</h3>
146
+ <p className="text-slate-600 mb-3">
147
+ Zod se integra perfectamente con React Hook Form usando{" "}
148
+ <code className="bg-slate-100 px-1 rounded">@hookform/resolvers</code>:
149
+ </p>
150
+ <div className="bg-slate-100 rounded-lg p-4 font-mono text-sm">
151
+ <pre className="text-xs">
152
+ {`import { useForm } from "react-hook-form";
153
+ import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
154
+ import * as z from "zod";
155
+
156
+ const schema = z.object({
157
+ email: z.string().email("El email no es válido"),
158
+ password: z.string().min(6, "Mínimo 6 caracteres"),
159
+ });
160
+
161
+ type FormValues = z.infer<typeof schema>;
162
+
163
+ const form = useForm<FormValues>({
164
+ resolver: standardSchemaResolver(schema),
165
+ });`}
166
+ </pre>
167
+ </div>
168
+ </div>
169
+ <Separator />
170
+ <div>
171
+ <h3 className="text-lg font-semibold mb-2">Ventajas</h3>
172
+ <ul className="list-disc list-inside space-y-2 text-slate-600">
173
+ <li>Type safety end-to-end</li>
174
+ <li>Validación en runtime y compile-time</li>
175
+ <li>Mensajes de error personalizables</li>
176
+ <li>Inferencia automática de tipos TypeScript</li>
177
+ </ul>
178
+ </div>
179
+ </CardContent>
180
+ </Card>
181
+
182
+ {/* TanStack Query */}
183
+ <Card id="stack-query">
184
+ <CardHeader>
185
+ <div className="flex items-center gap-2">
186
+ <Database className="h-5 w-5" />
187
+ <CardTitle>TanStack Query</CardTitle>
188
+ </div>
189
+ <CardDescription>
190
+ Manejo de estado del servidor, caché y sincronización de datos.
191
+ </CardDescription>
192
+ </CardHeader>
193
+ <CardContent className="space-y-4">
194
+ <div>
195
+ <h3 className="text-lg font-semibold mb-2">Configuración</h3>
196
+ <p className="text-slate-600 mb-3">
197
+ El QueryClient está configurado en{" "}
198
+ <code className="bg-slate-100 px-1 rounded">src/lib/queryClient.ts</code>:
199
+ </p>
200
+ <div className="bg-slate-100 rounded-lg p-4 font-mono text-sm">
201
+ <pre className="text-xs">
202
+ {`export const queryClient = new QueryClient({
203
+ defaultOptions: {
204
+ queries: {
205
+ staleTime: 60_000, // 1 minuto
206
+ retry: 1,
207
+ refetchOnWindowFocus: false,
208
+ },
209
+ },
210
+ });`}
211
+ </pre>
212
+ </div>
213
+ </div>
214
+ <Separator />
215
+ <div>
216
+ <h3 className="text-lg font-semibold mb-2">Ejemplo de uso</h3>
217
+ <div className="bg-slate-100 rounded-lg p-4 font-mono text-sm">
218
+ <pre className="text-xs">
219
+ {`import { useQuery } from '@tanstack/react-query';
220
+
221
+ function MyComponent() {
222
+ const { data, isLoading, error } = useQuery({
223
+ queryKey: ['users'],
224
+ queryFn: async () => {
225
+ const res = await fetch('/api/users');
226
+ return res.json();
227
+ },
228
+ });
229
+
230
+ if (isLoading) return <div>Loading...</div>;
231
+ if (error) return <div>Error: {error.message}</div>;
232
+
233
+ return <div>{/* Render data */}</div>;
234
+ }`}
235
+ </pre>
236
+ </div>
237
+ </div>
238
+ <Separator />
239
+ <div>
240
+ <h3 className="text-lg font-semibold mb-2">DevTools</h3>
241
+ <p className="text-slate-600">
242
+ TanStack Query DevTools está disponible en desarrollo para inspeccionar queries, caché
243
+ y estado.
244
+ </p>
245
+ </div>
246
+ </CardContent>
247
+ </Card>
248
+
249
+ {/* TanStack Router */}
250
+ <Card id="stack-router">
251
+ <CardHeader>
252
+ <div className="flex items-center gap-2">
253
+ <Zap className="h-5 w-5" />
254
+ <CardTitle>TanStack Router</CardTitle>
255
+ </div>
256
+ <CardDescription>Enrutamiento type-safe y file-based routing.</CardDescription>
257
+ </CardHeader>
258
+ <CardContent className="space-y-4">
259
+ <div>
260
+ <h3 className="text-lg font-semibold mb-2">File-based Routing</h3>
261
+ <p className="text-slate-600 mb-3">
262
+ Las rutas se generan automáticamente desde la estructura de archivos en{" "}
263
+ <code className="bg-slate-100 px-1 rounded">src/routes/</code>:
264
+ </p>
265
+ <ul className="list-disc list-inside space-y-2 text-slate-600">
266
+ <li>
267
+ <code className="bg-slate-100 px-1 rounded">index.tsx</code> → <code>/</code>
268
+ </li>
269
+ <li>
270
+ <code className="bg-slate-100 px-1 rounded">proyectos.tsx</code> →{" "}
271
+ <code>/proyectos</code>
272
+ </li>
273
+ <li>
274
+ <code className="bg-slate-100 px-1 rounded">proyectos.$proyectoId.tsx</code> →{" "}
275
+ <code>/proyectos/:proyectoId</code>
276
+ </li>
277
+ </ul>
278
+ </div>
279
+ <Separator />
280
+ <div>
281
+ <h3 className="text-lg font-semibold mb-2">Características</h3>
282
+ <ul className="list-disc list-inside space-y-2 text-slate-600">
283
+ <li>Type-safe routing con autocompletado</li>
284
+ <li>
285
+ Preload automático con{" "}
286
+ <code className="bg-slate-100 px-1 rounded">defaultPreload: 'intent'</code>
287
+ </li>
288
+ <li>Code splitting automático</li>
289
+ <li>Router DevTools para debugging</li>
290
+ </ul>
291
+ </div>
292
+ </CardContent>
293
+ </Card>
294
+
295
+ {/* Tailwind CSS */}
296
+ <Card id="stack-tailwind">
297
+ <CardHeader>
298
+ <div className="flex items-center gap-2">
299
+ <Palette className="h-5 w-5" />
300
+ <CardTitle>Tailwind CSS v4</CardTitle>
301
+ </div>
302
+ <CardDescription>Framework CSS utility-first con configuración moderna.</CardDescription>
303
+ </CardHeader>
304
+ <CardContent className="space-y-4">
305
+ <div>
306
+ <h3 className="text-lg font-semibold mb-2">Configuración</h3>
307
+ <p className="text-slate-600 mb-3">
308
+ Tailwind CSS v4 se configura directamente en el archivo CSS usando{" "}
309
+ <code className="bg-slate-100 px-1 rounded">@theme</code>:
310
+ </p>
311
+ <ul className="list-disc list-inside space-y-2 text-slate-600">
312
+ <li>
313
+ Plugin Vite: <code className="bg-slate-100 px-1 rounded">@tailwindcss/vite</code>
314
+ </li>
315
+ <li>
316
+ Configuración en <code className="bg-slate-100 px-1 rounded">src/index.css</code>
317
+ </li>
318
+ <li>No usar estilos inline</li>
319
+ <li>Mobile-first approach</li>
320
+ </ul>
321
+ </div>
322
+ <Separator />
323
+ <div>
324
+ <h3 className="text-lg font-semibold mb-2">Reglas importantes</h3>
325
+ <ul className="list-disc list-inside space-y-2 text-slate-600">
326
+ <li>Figma define layout, spacing y jerarquía</li>
327
+ <li>
328
+ Priorizar <code className="bg-slate-100 px-1 rounded">gap</code> sobre{" "}
329
+ <code className="bg-slate-100 px-1 rounded">margin</code>
330
+ </li>
331
+ <li>Usar tokens definidos, no valores arbitrarios</li>
332
+ <li>Mantener consistencia visual</li>
333
+ </ul>
334
+ </div>
335
+ </CardContent>
336
+ </Card>
337
+
338
+ {/* shadcn/ui */}
339
+ <Card id="stack-shadcn">
340
+ <CardHeader>
341
+ <div className="flex items-center gap-2">
342
+ <Code className="h-5 w-5" />
343
+ <CardTitle>shadcn/ui</CardTitle>
344
+ </div>
345
+ <CardDescription>
346
+ Componentes UI reutilizables construidos con Radix UI y Tailwind CSS.
347
+ </CardDescription>
348
+ </CardHeader>
349
+ <CardContent className="space-y-4">
350
+ <div>
351
+ <h3 className="text-lg font-semibold mb-3">Componentes instalados</h3>
352
+ <div className="flex flex-wrap gap-2">
353
+ <Badge>Card</Badge>
354
+ <Badge>Button</Badge>
355
+ <Badge>Badge</Badge>
356
+ <Badge>Input</Badge>
357
+ <Badge>PasswordInput</Badge>
358
+ <Badge>Textarea</Badge>
359
+ <Badge>Label</Badge>
360
+ <Badge>Form</Badge>
361
+ <Badge>Breadcrumb</Badge>
362
+ <Badge>Separator</Badge>
363
+ <Badge>Tabs</Badge>
364
+ </div>
365
+ </div>
366
+ <Separator />
367
+ <div>
368
+ <h3 className="text-lg font-semibold mb-2">Reglas de uso</h3>
369
+ <ul className="list-disc list-inside space-y-2 text-slate-600">
370
+ <li>
371
+ Importar desde <code className="bg-slate-100 px-1 rounded">@/components/ui</code>
372
+ </li>
373
+ <li>No modificar componentes base</li>
374
+ <li>Extender solo vía composición</li>
375
+ <li>Componentes UI sin lógica de negocio</li>
376
+ </ul>
377
+ </div>
378
+ <Separator />
379
+ <div>
380
+ <h3 className="text-lg font-semibold mb-2">Instalar nuevos componentes</h3>
381
+ <div className="bg-slate-100 rounded-lg p-4 font-mono text-sm mb-2">
382
+ <code>pnpm dlx shadcn@latest add [nombre-componente]</code>
383
+ </div>
384
+ <p className="text-sm text-slate-600">
385
+ Visita{" "}
386
+ <a
387
+ href="https://ui.shadcn.com/docs/components"
388
+ target="_blank"
389
+ rel="noopener noreferrer"
390
+ className="text-blue-600 hover:underline"
391
+ >
392
+ la documentación oficial
393
+ </a>{" "}
394
+ para ver todos los componentes disponibles.
395
+ </p>
396
+ </div>
397
+ </CardContent>
398
+ </Card>
399
+ </>
400
+ );
401
+ }
@@ -0,0 +1,37 @@
1
+ import * as React from "react";
2
+ import { Slot } from "@radix-ui/react-slot";
3
+ import { cva, type VariantProps } from "class-variance-authority";
4
+
5
+ import { cn } from "@/lib/utils";
6
+
7
+ const badgeVariants = cva(
8
+ "badge inline-flex items-center justify-center px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none transition-colors overflow-hidden",
9
+ {
10
+ variants: {
11
+ variant: {
12
+ default: "badge-primary",
13
+ secondary: "badge-secondary",
14
+ destructive: "badge-error",
15
+ outline: "badge-outline",
16
+ },
17
+ },
18
+ defaultVariants: {
19
+ variant: "default",
20
+ },
21
+ }
22
+ );
23
+
24
+ function Badge({
25
+ className,
26
+ variant,
27
+ asChild = false,
28
+ ...props
29
+ }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & { asChild?: boolean }) {
30
+ const Comp = asChild ? Slot : "span";
31
+
32
+ return (
33
+ <Comp data-slot="badge" className={cn(badgeVariants({ variant }), className)} {...props} />
34
+ );
35
+ }
36
+
37
+ export { Badge, badgeVariants };
@@ -0,0 +1,106 @@
1
+ import * as React from "react";
2
+ import { Slot } from "@radix-ui/react-slot";
3
+ import { ChevronRight, MoreHorizontal } from "lucide-react";
4
+
5
+ import { cn } from "@/lib/utils";
6
+
7
+ function Breadcrumb({ className, ...props }: React.ComponentProps<"nav">) {
8
+ return (
9
+ <nav
10
+ aria-label="breadcrumb"
11
+ data-slot="breadcrumb"
12
+ className={cn("breadcrumbs text-sm", className)}
13
+ {...props}
14
+ />
15
+ );
16
+ }
17
+
18
+ function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">) {
19
+ return (
20
+ <ol
21
+ data-slot="breadcrumb-list"
22
+ className={cn("flex flex-wrap items-center gap-1.5 wrap-break-words sm:gap-2.5", className)}
23
+ {...props}
24
+ />
25
+ );
26
+ }
27
+
28
+ function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">) {
29
+ return (
30
+ <li
31
+ data-slot="breadcrumb-item"
32
+ className={cn("inline-flex items-center gap-1.5", className)}
33
+ {...props}
34
+ />
35
+ );
36
+ }
37
+
38
+ function BreadcrumbLink({
39
+ asChild,
40
+ className,
41
+ ...props
42
+ }: React.ComponentProps<"a"> & {
43
+ asChild?: boolean;
44
+ }) {
45
+ const Comp = asChild ? Slot : "a";
46
+
47
+ return (
48
+ <Comp
49
+ data-slot="breadcrumb-link"
50
+ className={cn("hover:text-base-content transition-colors", className)}
51
+ {...props}
52
+ />
53
+ );
54
+ }
55
+
56
+ function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">) {
57
+ return (
58
+ <span
59
+ data-slot="breadcrumb-page"
60
+ role="link"
61
+ aria-disabled="true"
62
+ aria-current="page"
63
+ className={cn("text-base-content font-normal", className)}
64
+ {...props}
65
+ />
66
+ );
67
+ }
68
+
69
+ function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">) {
70
+ return (
71
+ <li
72
+ data-slot="breadcrumb-separator"
73
+ role="presentation"
74
+ aria-hidden="true"
75
+ className={cn("[&>svg]:size-3.5", className)}
76
+ {...props}
77
+ >
78
+ {children ?? <ChevronRight />}
79
+ </li>
80
+ );
81
+ }
82
+
83
+ function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">) {
84
+ return (
85
+ <span
86
+ data-slot="breadcrumb-ellipsis"
87
+ role="presentation"
88
+ aria-hidden="true"
89
+ className={cn("flex size-9 items-center justify-center", className)}
90
+ {...props}
91
+ >
92
+ <MoreHorizontal className="size-4" />
93
+ <span className="sr-only">More</span>
94
+ </span>
95
+ );
96
+ }
97
+
98
+ export {
99
+ Breadcrumb,
100
+ BreadcrumbList,
101
+ BreadcrumbItem,
102
+ BreadcrumbLink,
103
+ BreadcrumbPage,
104
+ BreadcrumbSeparator,
105
+ BreadcrumbEllipsis,
106
+ };
@@ -0,0 +1,58 @@
1
+ import * as React from "react"
2
+ import { Slot } from "@radix-ui/react-slot"
3
+ import { cva, type VariantProps } from "class-variance-authority"
4
+
5
+ import { cn } from "@/lib/utils"
6
+
7
+ const buttonVariants = cva(
8
+ "btn inline-flex items-center justify-center gap-2 whitespace-nowrap [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none disabled:pointer-events-none disabled:opacity-50",
9
+ {
10
+ variants: {
11
+ variant: {
12
+ default: "btn-primary",
13
+ destructive: "btn-error",
14
+ outline: "btn-outline btn-primary",
15
+ secondary: "btn-secondary",
16
+ ghost: "btn-ghost",
17
+ link: "btn-link",
18
+ },
19
+ size: {
20
+ default: "btn-md",
21
+ sm: "btn-sm",
22
+ lg: "btn-lg",
23
+ icon: "btn-square",
24
+ "icon-sm": "btn-square btn-sm",
25
+ "icon-lg": "btn-square btn-lg",
26
+ },
27
+ },
28
+ defaultVariants: {
29
+ variant: "default",
30
+ size: "default",
31
+ },
32
+ }
33
+ )
34
+
35
+ function Button({
36
+ className,
37
+ variant = "default",
38
+ size = "default",
39
+ asChild = false,
40
+ ...props
41
+ }: React.ComponentProps<"button"> &
42
+ VariantProps<typeof buttonVariants> & {
43
+ asChild?: boolean
44
+ }) {
45
+ const Comp = asChild ? Slot : "button"
46
+
47
+ return (
48
+ <Comp
49
+ data-slot="button"
50
+ data-variant={variant}
51
+ data-size={size}
52
+ className={cn(buttonVariants({ variant, size, className }))}
53
+ {...props}
54
+ />
55
+ )
56
+ }
57
+
58
+ export { Button, buttonVariants }
@@ -0,0 +1,72 @@
1
+ import * as React from "react";
2
+
3
+ import { cn } from "@/lib/utils";
4
+
5
+ function Card({ className, ...props }: React.ComponentProps<"div">) {
6
+ return (
7
+ <div
8
+ data-slot="card"
9
+ className={cn("card bg-base-100 shadow-sm border border-base-300 px-4 py-6", className)}
10
+ {...props}
11
+ />
12
+ );
13
+ }
14
+
15
+ function CardHeader({ className, ...props }: React.ComponentProps<"div">) {
16
+ return (
17
+ <div
18
+ data-slot="card-header"
19
+ className={cn(
20
+ "card-header @container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
21
+ className
22
+ )}
23
+ {...props}
24
+ />
25
+ );
26
+ }
27
+
28
+ function CardTitle({ className, ...props }: React.ComponentProps<"div">) {
29
+ return (
30
+ <div
31
+ data-slot="card-title"
32
+ className={cn("card-title leading-none font-semibold", className)}
33
+ {...props}
34
+ />
35
+ );
36
+ }
37
+
38
+ function CardDescription({ className, ...props }: React.ComponentProps<"div">) {
39
+ return (
40
+ <div
41
+ data-slot="card-description"
42
+ className={cn("text-base-content/70 text-sm", className)}
43
+ {...props}
44
+ />
45
+ );
46
+ }
47
+
48
+ function CardAction({ className, ...props }: React.ComponentProps<"div">) {
49
+ return (
50
+ <div
51
+ data-slot="card-action"
52
+ className={cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className)}
53
+ {...props}
54
+ />
55
+ );
56
+ }
57
+
58
+ function CardContent({ className, ...props }: React.ComponentProps<"div">) {
59
+ return <div data-slot="card-content" className={cn("card-body px-6", className)} {...props} />;
60
+ }
61
+
62
+ function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
63
+ return (
64
+ <div
65
+ data-slot="card-footer"
66
+ className={cn("card-actions flex items-center px-6 [.border-t]:pt-6", className)}
67
+ {...props}
68
+ />
69
+ );
70
+ }
71
+
72
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent };