@batijs/cli 0.0.689 → 0.0.690

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 (350) hide show
  1. package/dist/{asset-env-DvKtWq7P.js → asset-env-CdkrETMo.js} +1 -2
  2. package/dist/{asset-package.json-thpQh5rj.js → asset-package.json-0HhYnegB.js} +3 -4
  3. package/dist/{asset-package.json-DlqRT1gD.js → asset-package.json-0OcQsEZB.js} +3 -4
  4. package/dist/{asset-package.json-B54dcErI.js → asset-package.json-AKyD2v6W.js} +3 -4
  5. package/dist/{asset-package.json-BsOz1Qtn.js → asset-package.json-B-IQH2Ax.js} +2 -3
  6. package/dist/{asset-package.json-B9fyS9ol.js → asset-package.json-B0M-Hy5s.js} +1 -2
  7. package/dist/{asset-package.json-fFiMUZiC.js → asset-package.json-B0US5URl.js} +5 -6
  8. package/dist/{asset-package.json-nJZMPAut.js → asset-package.json-B6g5h9_0.js} +2 -3
  9. package/dist/{asset-package.json-DdabfmBk.js → asset-package.json-B7F7Wx63.js} +2 -3
  10. package/dist/{asset-package.json-BuM3wec-.js → asset-package.json-BJw0tWgY.js} +3 -4
  11. package/dist/{asset-package.json-BHhJFp1f.js → asset-package.json-BW55_eMV.js} +1 -2
  12. package/dist/{asset-package.json-BCcXIWVE.js → asset-package.json-BguJ7VWg.js} +1 -2
  13. package/dist/{asset-package.json-1M1adAgB.js → asset-package.json-Bij13g7r.js} +2 -3
  14. package/dist/{asset-package.json-CoQQ7j-T.js → asset-package.json-BmKdFYhk.js} +2 -3
  15. package/dist/{asset-package.json-B2OBvLMV.js → asset-package.json-BqbokPK_.js} +4 -5
  16. package/dist/{asset-package.json-CKVkxAhF.js → asset-package.json-BrVJ8Cas.js} +3 -4
  17. package/dist/{asset-package.json-CPZpOkgd.js → asset-package.json-BvSVojrT.js} +4 -5
  18. package/dist/{asset-package.json-VkUXvqsr.js → asset-package.json-ByD8Xyg7.js} +1 -2
  19. package/dist/{asset-package.json-CE3XrZHr.js → asset-package.json-CHtbJ8AO.js} +2 -3
  20. package/dist/{asset-package.json-DqGXTjLe.js → asset-package.json-CLOVtTki.js} +1 -2
  21. package/dist/{asset-package.json-C0pjbm9Y.js → asset-package.json-CSnguoJS.js} +1 -2
  22. package/dist/{asset-package.json-_607AoXW.js → asset-package.json-CTSsGWep.js} +1 -2
  23. package/dist/{asset-package.json-Bp5OqVkb.js → asset-package.json-CUho6Sfy.js} +3 -4
  24. package/dist/{asset-package.json-BpAQW_YA.js → asset-package.json-CYD7ihrL.js} +5 -6
  25. package/dist/{asset-package.json-e2518RzC.js → asset-package.json-Cct1fYvX.js} +3 -4
  26. package/dist/{asset-package.json-BkrvoQq_.js → asset-package.json-CpFujh9Q.js} +1 -2
  27. package/dist/{asset-package.json-C_W63Sd4.js → asset-package.json-Cua28iQR.js} +1 -2
  28. package/dist/{asset-package.json-CsPkf_Nf.js → asset-package.json-DF39PUPm.js} +3 -4
  29. package/dist/{asset-package.json-DND0OHll.js → asset-package.json-DFrTP7mB.js} +1 -2
  30. package/dist/{asset-package.json-C1AgKJq0.js → asset-package.json-DJB-rxQI.js} +3 -4
  31. package/dist/{asset-package.json-Dbibqwju.js → asset-package.json-DNZ-W1DW.js} +3 -4
  32. package/dist/{asset-package.json-CQACBif7.js → asset-package.json-DaMLR-27.js} +1 -2
  33. package/dist/{asset-package.json-B6RCFZXC.js → asset-package.json-Dc7LmJiX.js} +2 -3
  34. package/dist/{asset-package.json-CYZNLPWB.js → asset-package.json-DoQwM6Vc.js} +2 -3
  35. package/dist/{asset-package.json-CsKH-qVa.js → asset-package.json-Dr5C2M19.js} +3 -4
  36. package/dist/{asset-package.json-C-xGfN1u.js → asset-package.json-OoloAndD.js} +3 -4
  37. package/dist/{asset-package.json-C5xRFj1K.js → asset-package.json-RlcPECQL.js} +3 -4
  38. package/dist/{asset-package.json-8kO14FIM.js → asset-package.json-WK62eq80.js} +5 -6
  39. package/dist/{asset-package.json-D75wNltL.js → asset-package.json-Wp2JIruC.js} +3 -4
  40. package/dist/{asset-package.json-Ctv512h0.js → asset-package.json-_sykCzlI.js} +2 -3
  41. package/dist/{asset-package.json-D0cV5JO6.js → asset-package.json-lkF62-cC.js} +3 -4
  42. package/dist/{asset-package.json-Fz1Q3HSz.js → asset-package.json-vMduulhO.js} +3 -4
  43. package/dist/boilerplates/@batijs/auth0/bati.config.mjs +2 -4
  44. package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -2
  45. package/dist/boilerplates/@batijs/authjs/bati.config.mjs +2 -4
  46. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +2 -3
  47. package/dist/boilerplates/@batijs/authjs/files/asset-package.json.mjs +2 -3
  48. package/dist/boilerplates/@batijs/authjs/types/server/authjs-handler.d.mts +1 -3
  49. package/dist/boilerplates/@batijs/aws/bati.config.mjs +2 -4
  50. package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -2
  51. package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +1 -2
  52. package/dist/boilerplates/@batijs/aws/files/$package.json.js +2 -3
  53. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -2
  54. package/dist/boilerplates/@batijs/aws/files/$vite.config.ts.js +1 -2
  55. package/dist/boilerplates/@batijs/aws/files/asset-package.json.mjs +5 -6
  56. package/dist/boilerplates/@batijs/aws/files/cdk/$stack-name-suffix.json.js +1 -2
  57. package/dist/boilerplates/@batijs/aws/types/cdk/bin/infrastructure.d.mts +1 -3
  58. package/dist/boilerplates/@batijs/aws/types/cdk/lib/vike-stack.d.mts +0 -2
  59. package/dist/boilerplates/@batijs/aws/types/vitest.config.d.mts +0 -2
  60. package/dist/boilerplates/@batijs/better-auth/bati.config.mjs +2 -4
  61. package/dist/boilerplates/@batijs/better-auth/files/$TODO.md.js +1 -2
  62. package/dist/boilerplates/@batijs/better-auth/files/$package.json.js +2 -3
  63. package/dist/boilerplates/@batijs/better-auth/files/asset-package.json.mjs +3 -4
  64. package/dist/boilerplates/@batijs/better-auth/files/database/migrations/$better-auth.sql.js +1 -2
  65. package/dist/boilerplates/@batijs/better-auth/types/database/drizzle/schema/auth.d.mts +1 -3
  66. package/dist/boilerplates/@batijs/better-auth/types/server/better-auth-handler.d.mts +1 -3
  67. package/dist/boilerplates/@batijs/better-auth/types/server/better-auth.d.mts +1 -3
  68. package/dist/boilerplates/@batijs/biome/bati.config.mjs +2 -4
  69. package/dist/boilerplates/@batijs/biome/files/$biome.json.js +1 -2
  70. package/dist/boilerplates/@batijs/biome/files/$package.json.js +2 -3
  71. package/dist/boilerplates/@batijs/biome/files/asset-package.json.mjs +3 -4
  72. package/dist/boilerplates/@batijs/cloudflare/bati.config.mjs +2 -4
  73. package/dist/boilerplates/@batijs/cloudflare/files/$TODO.md.js +1 -2
  74. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +2 -3
  75. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +1 -2
  76. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +1 -2
  77. package/dist/boilerplates/@batijs/cloudflare/files/$wrangler.jsonc.js +2 -4
  78. package/dist/boilerplates/@batijs/cloudflare/files/asset-env.mjs +1 -2
  79. package/dist/boilerplates/@batijs/cloudflare/files/asset-package.json.mjs +3 -4
  80. package/dist/boilerplates/@batijs/compiled/bati.config.mjs +2 -4
  81. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +2 -3
  82. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -2
  83. package/dist/boilerplates/@batijs/compiled/files/asset-package.json.mjs +2 -3
  84. package/dist/boilerplates/@batijs/d1/bati.config.mjs +2 -4
  85. package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +1 -2
  86. package/dist/boilerplates/@batijs/d1/files/$package.json.js +2 -3
  87. package/dist/boilerplates/@batijs/d1/files/$wrangler.jsonc.js +1 -2
  88. package/dist/boilerplates/@batijs/d1/files/asset-package.json.mjs +3 -4
  89. package/dist/boilerplates/@batijs/d1/types/database/d1/helpers.d.mts +1 -3
  90. package/dist/boilerplates/@batijs/d1-kysely/bati.config.mjs +2 -4
  91. package/dist/boilerplates/@batijs/d1-kysely/files/$package.json.js +2 -3
  92. package/dist/boilerplates/@batijs/d1-kysely/files/asset-package.json.mjs +1 -2
  93. package/dist/boilerplates/@batijs/d1-sqlite/bati.config.mjs +2 -4
  94. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +2 -3
  95. package/dist/boilerplates/@batijs/d1-sqlite/files/asset-package.json.mjs +2 -3
  96. package/dist/boilerplates/@batijs/d1-sqlite/types/database/d1/queries/todos.d.mts +1 -3
  97. package/dist/boilerplates/@batijs/docker-compose/bati.config.mjs +2 -4
  98. package/dist/boilerplates/@batijs/docker-compose/files/$.dockerignore.js +1 -2
  99. package/dist/boilerplates/@batijs/docker-compose/files/$Dockerfile.js +2 -3
  100. package/dist/boilerplates/@batijs/docker-compose/files/$docker-compose.yml.js +2 -3
  101. package/dist/boilerplates/@batijs/docker-compose/files/$package.json.js +2 -3
  102. package/dist/boilerplates/@batijs/docker-compose/files/asset-env.mjs +1 -2
  103. package/dist/boilerplates/@batijs/docker-compose/files/asset-package.json.mjs +1 -2
  104. package/dist/boilerplates/@batijs/dokploy/bati.config.mjs +2 -4
  105. package/dist/boilerplates/@batijs/dokploy/files/$TODO.md.js +1 -2
  106. package/dist/boilerplates/@batijs/drizzle/bati.config.mjs +2 -4
  107. package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +1 -2
  108. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +2 -3
  109. package/dist/boilerplates/@batijs/drizzle/files/asset-package.json.mjs +1 -2
  110. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/db.d.mts +1 -3
  111. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/todos.d.mts +1 -3
  112. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/schema/todos.d.mts +1 -3
  113. package/dist/boilerplates/@batijs/drizzle/types/drizzle.config.d.mts +0 -2
  114. package/dist/boilerplates/@batijs/edgeone/bati.config.mjs +2 -4
  115. package/dist/boilerplates/@batijs/edgeone/files/$package.json.js +2 -3
  116. package/dist/boilerplates/@batijs/edgeone/files/$vite.config.ts.js +1 -2
  117. package/dist/boilerplates/@batijs/edgeone/files/asset-package.json.mjs +1 -2
  118. package/dist/boilerplates/@batijs/elysia/bati.config.mjs +2 -4
  119. package/dist/boilerplates/@batijs/elysia/files/$package.json.js +2 -3
  120. package/dist/boilerplates/@batijs/elysia/files/asset-package.json.mjs +3 -4
  121. package/dist/boilerplates/@batijs/elysia/types/+server.d.mts +0 -2
  122. package/dist/boilerplates/@batijs/elysia/types/server/elysia.d.mts +1 -3
  123. package/dist/boilerplates/@batijs/eslint/bati.config.mjs +2 -4
  124. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +2 -3
  125. package/dist/boilerplates/@batijs/eslint/files/asset-package.json.mjs +3 -4
  126. package/dist/boilerplates/@batijs/eslint/types/eslint.config.d.mts +0 -2
  127. package/dist/boilerplates/@batijs/express/bati.config.mjs +2 -4
  128. package/dist/boilerplates/@batijs/express/files/$package.json.js +2 -3
  129. package/dist/boilerplates/@batijs/express/files/asset-package.json.mjs +3 -4
  130. package/dist/boilerplates/@batijs/express/types/+server.d.mts +0 -2
  131. package/dist/boilerplates/@batijs/fastify/bati.config.mjs +2 -4
  132. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +2 -3
  133. package/dist/boilerplates/@batijs/fastify/files/asset-package.json.mjs +3 -4
  134. package/dist/boilerplates/@batijs/fastify/types/+server.d.mts +0 -2
  135. package/dist/boilerplates/@batijs/google-analytics/bati.config.mjs +2 -4
  136. package/dist/boilerplates/@batijs/hono/bati.config.mjs +2 -4
  137. package/dist/boilerplates/@batijs/hono/files/$package.json.js +2 -3
  138. package/dist/boilerplates/@batijs/hono/files/asset-package.json.mjs +4 -5
  139. package/dist/boilerplates/@batijs/hono/types/+server.d.mts +0 -2
  140. package/dist/boilerplates/@batijs/hono/types/entry_aws_lambda.d.mts +1 -3
  141. package/dist/boilerplates/@batijs/hono/types/server/hono.d.mts +1 -3
  142. package/dist/boilerplates/@batijs/kysely/bati.config.mjs +2 -4
  143. package/dist/boilerplates/@batijs/kysely/files/$TODO.md.js +1 -2
  144. package/dist/boilerplates/@batijs/kysely/files/$package.json.js +2 -3
  145. package/dist/boilerplates/@batijs/kysely/files/$vite.config.ts.js +1 -2
  146. package/dist/boilerplates/@batijs/kysely/files/asset-package.json.mjs +3 -4
  147. package/dist/boilerplates/@batijs/kysely/types/database/kysely/db.d.mts +1 -3
  148. package/dist/boilerplates/@batijs/kysely/types/database/kysely/migrations/001_create_todos_table.d.mts +1 -3
  149. package/dist/boilerplates/@batijs/kysely/types/database/kysely/queries/todos.d.mts +1 -3
  150. package/dist/boilerplates/@batijs/kysely/types/database/kysely/types.d.mts +1 -3
  151. package/dist/boilerplates/@batijs/kysely/types/vite-plugin-input.d.mts +1 -3
  152. package/dist/boilerplates/@batijs/mantine/bati.config.mjs +2 -4
  153. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -2
  154. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +2 -3
  155. package/dist/boilerplates/@batijs/mantine/files/asset-package.json.mjs +5 -6
  156. package/dist/boilerplates/@batijs/mantine/types/components/Link.d.mts +1 -3
  157. package/dist/boilerplates/@batijs/mantine/types/pages/+Layout.d.mts +1 -3
  158. package/dist/boilerplates/@batijs/netlify/bati.config.mjs +2 -4
  159. package/dist/boilerplates/@batijs/netlify/files/$package.json.js +2 -3
  160. package/dist/boilerplates/@batijs/netlify/files/$vite.config.ts.js +1 -2
  161. package/dist/boilerplates/@batijs/netlify/files/asset-package.json.mjs +1 -2
  162. package/dist/boilerplates/@batijs/oxlint/bati.config.mjs +2 -4
  163. package/dist/boilerplates/@batijs/oxlint/files/$.oxlintrc.json.js +1 -2
  164. package/dist/boilerplates/@batijs/oxlint/files/$package.json.js +2 -3
  165. package/dist/boilerplates/@batijs/oxlint/files/asset-package.json.mjs +3 -4
  166. package/dist/boilerplates/@batijs/plausible.io/bati.config.mjs +2 -4
  167. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -2
  168. package/dist/boilerplates/@batijs/pnpm/bati.config.mjs +2 -4
  169. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -2
  170. package/dist/boilerplates/@batijs/postgres/bati.config.mjs +2 -4
  171. package/dist/boilerplates/@batijs/postgres/files/$TODO.md.js +1 -2
  172. package/dist/boilerplates/@batijs/postgres/files/$package.json.js +2 -3
  173. package/dist/boilerplates/@batijs/postgres/files/asset-package.json.mjs +1 -2
  174. package/dist/boilerplates/@batijs/postgres/types/database/postgres/db.d.mts +1 -3
  175. package/dist/boilerplates/@batijs/postgres/types/database/postgres/queries/todos.d.mts +1 -3
  176. package/dist/boilerplates/@batijs/prettier/bati.config.mjs +2 -4
  177. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +2 -3
  178. package/dist/boilerplates/@batijs/prettier/files/asset-package.json.mjs +1 -2
  179. package/dist/boilerplates/@batijs/prisma/bati.config.mjs +2 -4
  180. package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +1 -2
  181. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +2 -3
  182. package/dist/boilerplates/@batijs/prisma/files/asset-package.json.mjs +1 -2
  183. package/dist/boilerplates/@batijs/react/bati.config.mjs +2 -4
  184. package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -2
  185. package/dist/boilerplates/@batijs/react/files/$package.json.js +2 -3
  186. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -2
  187. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -2
  188. package/dist/boilerplates/@batijs/react/files/asset-package.json.mjs +5 -6
  189. package/dist/boilerplates/@batijs/react/types/components/Link.d.mts +1 -3
  190. package/dist/boilerplates/@batijs/react/types/pages/+Head.d.mts +1 -3
  191. package/dist/boilerplates/@batijs/react/types/pages/+Layout.d.mts +1 -3
  192. package/dist/boilerplates/@batijs/react/types/pages/+config.d.mts +0 -2
  193. package/dist/boilerplates/@batijs/react/types/pages/+onPageTransitionEnd.d.mts +1 -3
  194. package/dist/boilerplates/@batijs/react/types/pages/+onPageTransitionStart.d.mts +1 -3
  195. package/dist/boilerplates/@batijs/react/types/pages/_error/+Page.d.mts +1 -3
  196. package/dist/boilerplates/@batijs/react/types/pages/index/+Page.d.mts +1 -3
  197. package/dist/boilerplates/@batijs/react/types/pages/index/Counter.d.mts +1 -3
  198. package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+Page.d.mts +1 -3
  199. package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+data.d.mts +1 -3
  200. package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+Page.d.mts +1 -3
  201. package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+data.d.mts +1 -3
  202. package/dist/boilerplates/@batijs/react/types/pages/star-wars/types.d.mts +1 -3
  203. package/dist/boilerplates/@batijs/react/types/pages/todo/+Page.d.mts +1 -3
  204. package/dist/boilerplates/@batijs/react/types/pages/todo/TodoList.d.mts +1 -3
  205. package/dist/boilerplates/@batijs/react-better-auth/bati.config.mjs +2 -4
  206. package/dist/boilerplates/@batijs/react-better-auth/types/components/AuthNav.d.mts +1 -3
  207. package/dist/boilerplates/@batijs/react-better-auth/types/pages/account/+Page.d.mts +1 -3
  208. package/dist/boilerplates/@batijs/react-better-auth/types/pages/account/+guard.d.mts +1 -3
  209. package/dist/boilerplates/@batijs/react-better-auth/types/pages/login/+Page.d.mts +1 -3
  210. package/dist/boilerplates/@batijs/react-better-auth/types/pages/signup/+Page.d.mts +1 -3
  211. package/dist/boilerplates/@batijs/react-sentry/bati.config.mjs +2 -4
  212. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +2 -3
  213. package/dist/boilerplates/@batijs/react-sentry/files/asset-package.json.mjs +2 -3
  214. package/dist/boilerplates/@batijs/react-sentry/types/pages/sentry/+Page.d.mts +1 -3
  215. package/dist/boilerplates/@batijs/react-sentry/types/sentry.browser.config.d.mts +1 -3
  216. package/dist/boilerplates/@batijs/sentry/bati.config.mjs +2 -4
  217. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -2
  218. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +1 -2
  219. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +2 -3
  220. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -2
  221. package/dist/boilerplates/@batijs/sentry/files/asset-package.json.mjs +2 -3
  222. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -2
  223. package/dist/boilerplates/@batijs/shadcn-ui/bati.config.mjs +2 -4
  224. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -2
  225. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +2 -3
  226. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -2
  227. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -2
  228. package/dist/boilerplates/@batijs/shadcn-ui/files/asset-package.json.mjs +2 -3
  229. package/dist/boilerplates/@batijs/shadcn-ui/types/lib/utils.d.mts +1 -3
  230. package/dist/boilerplates/@batijs/shared/bati.config.mjs +2 -4
  231. package/dist/boilerplates/@batijs/shared/files/$.env.js +2 -4
  232. package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -2
  233. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +2 -4
  234. package/dist/boilerplates/@batijs/shared/files/$package.json.js +1 -2
  235. package/dist/boilerplates/@batijs/shared/files/asset-const.mjs +1 -2
  236. package/dist/boilerplates/@batijs/shared/files/asset-env.mjs +1 -2
  237. package/dist/boilerplates/@batijs/shared/hooks/after.mjs +1 -2
  238. package/dist/boilerplates/@batijs/shared/hooks/asset-const.mjs +1 -2
  239. package/dist/boilerplates/@batijs/shared/types/vite.config.d.mts +0 -2
  240. package/dist/boilerplates/@batijs/shared-agents/bati.config.mjs +2 -4
  241. package/dist/boilerplates/@batijs/shared-agents/hooks/after.mjs +1 -2
  242. package/dist/boilerplates/@batijs/shared-agents/hooks/asset-boilerplates/shared-agents/compose.mjs +2 -3
  243. package/dist/boilerplates/@batijs/shared-agents/hooks/asset-packages/features/dist/{features-Blmihkil.mjs → features-D6DHpWno.mjs} +1 -2
  244. package/dist/boilerplates/@batijs/shared-agents/hooks/asset-packages/features/dist/index.mjs +2 -3
  245. package/dist/boilerplates/@batijs/shared-db/bati.config.mjs +2 -4
  246. package/dist/boilerplates/@batijs/shared-db/types/server/db-middleware.d.mts +1 -3
  247. package/dist/boilerplates/@batijs/shared-env/bati.config.mjs +2 -4
  248. package/dist/boilerplates/@batijs/shared-env/types/server/env.d.mts +1 -3
  249. package/dist/boilerplates/@batijs/shared-env/types/server/load.d.mts +1 -3
  250. package/dist/boilerplates/@batijs/shared-server/bati.config.mjs +2 -4
  251. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +2 -3
  252. package/dist/boilerplates/@batijs/shared-server/files/asset-package.json.mjs +3 -4
  253. package/dist/boilerplates/@batijs/shared-server/types/server/create-todo-handler.d.mts +1 -3
  254. package/dist/boilerplates/@batijs/shared-todo/bati.config.mjs +2 -4
  255. package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+config.d.mts +1 -3
  256. package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.mts +1 -3
  257. package/dist/boilerplates/@batijs/solid/bati.config.mjs +2 -4
  258. package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -2
  259. package/dist/boilerplates/@batijs/solid/files/$package.json.js +2 -3
  260. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -2
  261. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -2
  262. package/dist/boilerplates/@batijs/solid/files/asset-package.json.mjs +3 -4
  263. package/dist/boilerplates/@batijs/solid/types/components/Link.d.mts +1 -3
  264. package/dist/boilerplates/@batijs/solid/types/pages/+Head.d.mts +1 -3
  265. package/dist/boilerplates/@batijs/solid/types/pages/+Layout.d.mts +1 -3
  266. package/dist/boilerplates/@batijs/solid/types/pages/+config.d.mts +0 -2
  267. package/dist/boilerplates/@batijs/solid/types/pages/+onPageTransitionEnd.d.mts +1 -3
  268. package/dist/boilerplates/@batijs/solid/types/pages/+onPageTransitionStart.d.mts +1 -3
  269. package/dist/boilerplates/@batijs/solid/types/pages/_error/+Page.d.mts +1 -3
  270. package/dist/boilerplates/@batijs/solid/types/pages/index/+Page.d.mts +1 -3
  271. package/dist/boilerplates/@batijs/solid/types/pages/index/Counter.d.mts +0 -2
  272. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+Page.d.mts +1 -3
  273. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+data.d.mts +1 -3
  274. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+Page.d.mts +1 -3
  275. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+data.d.mts +1 -3
  276. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/types.d.mts +1 -3
  277. package/dist/boilerplates/@batijs/solid/types/pages/todo/+Page.d.mts +1 -3
  278. package/dist/boilerplates/@batijs/solid/types/pages/todo/TodoList.d.mts +1 -3
  279. package/dist/boilerplates/@batijs/solid-better-auth/bati.config.mjs +2 -4
  280. package/dist/boilerplates/@batijs/solid-better-auth/types/components/AuthNav.d.mts +1 -3
  281. package/dist/boilerplates/@batijs/solid-better-auth/types/pages/account/+Page.d.mts +1 -3
  282. package/dist/boilerplates/@batijs/solid-better-auth/types/pages/account/+guard.d.mts +1 -3
  283. package/dist/boilerplates/@batijs/solid-better-auth/types/pages/login/+Page.d.mts +1 -3
  284. package/dist/boilerplates/@batijs/solid-better-auth/types/pages/signup/+Page.d.mts +1 -3
  285. package/dist/boilerplates/@batijs/solid-sentry/bati.config.mjs +2 -4
  286. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +2 -3
  287. package/dist/boilerplates/@batijs/solid-sentry/files/asset-package.json.mjs +3 -4
  288. package/dist/boilerplates/@batijs/solid-sentry/types/pages/sentry/+Page.d.mts +1 -3
  289. package/dist/boilerplates/@batijs/solid-sentry/types/sentry.browser.config.d.mts +1 -3
  290. package/dist/boilerplates/@batijs/sqlite/bati.config.mjs +2 -4
  291. package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +1 -2
  292. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +2 -3
  293. package/dist/boilerplates/@batijs/sqlite/files/asset-package.json.mjs +1 -2
  294. package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/db.d.mts +1 -3
  295. package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/queries/todos.d.mts +1 -3
  296. package/dist/boilerplates/@batijs/storybook/bati.config.mjs +2 -4
  297. package/dist/boilerplates/@batijs/storybook/files/$package.json.js +2 -3
  298. package/dist/boilerplates/@batijs/storybook/files/asset-package.json.mjs +1 -2
  299. package/dist/boilerplates/@batijs/storybook/hooks/after.mjs +1 -2
  300. package/dist/boilerplates/@batijs/tailwindcss/bati.config.mjs +2 -4
  301. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +2 -3
  302. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -2
  303. package/dist/boilerplates/@batijs/tailwindcss/files/asset-package.json.mjs +2 -3
  304. package/dist/boilerplates/@batijs/telefunc/bati.config.mjs +2 -4
  305. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +2 -3
  306. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -2
  307. package/dist/boilerplates/@batijs/telefunc/files/asset-package.json.mjs +4 -5
  308. package/dist/boilerplates/@batijs/telefunc/files/server/telefunc-handler.ts +5 -8
  309. package/dist/boilerplates/@batijs/telefunc/types/pages/todo/TodoList.telefunc.d.mts +1 -3
  310. package/dist/boilerplates/@batijs/telefunc/types/server/telefunc-handler.d.mts +1 -3
  311. package/dist/boilerplates/@batijs/trpc/bati.config.mjs +2 -4
  312. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +2 -3
  313. package/dist/boilerplates/@batijs/trpc/files/asset-package.json.mjs +3 -4
  314. package/dist/boilerplates/@batijs/trpc/types/server/trpc-handler.d.mts +1 -3
  315. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.mts +1 -3
  316. package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.mts +1 -3
  317. package/dist/boilerplates/@batijs/ts-rest/bati.config.mjs +2 -4
  318. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +2 -3
  319. package/dist/boilerplates/@batijs/ts-rest/files/asset-package.json.mjs +2 -3
  320. package/dist/boilerplates/@batijs/ts-rest/types/server/ts-rest-handler.d.mts +1 -3
  321. package/dist/boilerplates/@batijs/ts-rest/types/ts-rest/client.d.mts +1 -3
  322. package/dist/boilerplates/@batijs/ts-rest/types/ts-rest/contract.d.mts +1 -3
  323. package/dist/boilerplates/@batijs/universal-deploy/bati.config.mjs +2 -4
  324. package/dist/boilerplates/@batijs/universal-deploy/files/$package.json.js +2 -3
  325. package/dist/boilerplates/@batijs/universal-deploy/files/asset-package.json.mjs +1 -2
  326. package/dist/boilerplates/@batijs/vercel/bati.config.mjs +2 -4
  327. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +2 -3
  328. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +1 -2
  329. package/dist/boilerplates/@batijs/vercel/files/asset-package.json.mjs +2 -3
  330. package/dist/boilerplates/@batijs/vue/bati.config.mjs +2 -4
  331. package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -2
  332. package/dist/boilerplates/@batijs/vue/files/$package.json.js +2 -3
  333. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -2
  334. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -2
  335. package/dist/boilerplates/@batijs/vue/files/asset-package.json.mjs +3 -4
  336. package/dist/boilerplates/@batijs/vue/types/pages/+config.d.mts +0 -2
  337. package/dist/boilerplates/@batijs/vue/types/pages/+onCreateApp.d.mts +1 -3
  338. package/dist/boilerplates/@batijs/vue/types/pages/+onPageTransitionEnd.d.mts +1 -3
  339. package/dist/boilerplates/@batijs/vue/types/pages/+onPageTransitionStart.d.mts +1 -3
  340. package/dist/boilerplates/@batijs/vue/types/pages/star-wars/@id/+data.d.mts +1 -3
  341. package/dist/boilerplates/@batijs/vue/types/pages/star-wars/index/+data.d.mts +1 -3
  342. package/dist/boilerplates/@batijs/vue/types/pages/star-wars/types.d.mts +1 -3
  343. package/dist/boilerplates/@batijs/vue-better-auth/bati.config.mjs +2 -4
  344. package/dist/boilerplates/@batijs/vue-better-auth/types/pages/account/+guard.d.mts +1 -3
  345. package/dist/boilerplates/@batijs/vue-sentry/bati.config.mjs +2 -4
  346. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +2 -3
  347. package/dist/boilerplates/@batijs/vue-sentry/files/asset-package.json.mjs +3 -4
  348. package/dist/boilerplates/@batijs/vue-sentry/types/sentry.browser.config.d.mts +1 -3
  349. package/dist/index.js +47 -81
  350. package/package.json +10 -10
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { addVitePlugin, defineConfigArg, mergeObject, transformConfig } from "@batijs/core";
4
- //#region ../../boilerplates/sentry/dist/files/$vite.config.ts.mjs
4
+ // ../../boilerplates/sentry/dist/files/$vite.config.ts.mjs
5
5
  function getViteConfig(props) {
6
6
  return transformConfig(props, (root) => {
7
7
  addVitePlugin(root, {
@@ -13,5 +13,4 @@ function getViteConfig(props) {
13
13
  mergeObject(defineConfigArg(root), { build: { sourcemap: "true" } });
14
14
  });
15
15
  }
16
- //#endregion
17
16
  export { getViteConfig as default };
@@ -1,4 +1,4 @@
1
- //#region package.json
1
+ // package.json
2
2
  var package_default = {
3
3
  name: "@batijs/sentry",
4
4
  "private": true,
@@ -17,10 +17,9 @@ var package_default = {
17
17
  "@batijs/core": "workspace:*",
18
18
  "@sentry/vite-plugin": "^5.4.1",
19
19
  "@types/node": "^20.19.37",
20
- "vite": "^8.3.4"
20
+ "vite": "^8.3.5"
21
21
  },
22
22
  files: ["dist/"],
23
23
  nx: { "tags": ["type:boilerplate"] }
24
24
  };
25
- //#endregion
26
25
  export { package_default as default };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { transformConfig } from "@batijs/core";
4
- //#region ../../boilerplates/sentry/dist/files/pages/$+client.ts.mjs
4
+ // ../../boilerplates/sentry/dist/files/pages/$+client.ts.mjs
5
5
  const IMPORT = `import { sentryBrowserConfig } from "../sentry.browser.config";`;
6
6
  const CALL = `sentryBrowserConfig();`;
7
7
  async function getClientEntry(props) {
@@ -13,5 +13,4 @@ async function getClientEntry(props) {
13
13
  if (exp.size() > 0) exp.insertBefore(`${CALL}\n\n`);
14
14
  });
15
15
  }
16
- //#endregion
17
16
  export { getClientEntry as default };
@@ -1,14 +1,12 @@
1
- //#region ../../packages/core/dist/config.js
1
+ // ../../packages/core/dist/config.js
2
2
  function e(e, t) {
3
3
  if (!e) throw Error(t);
4
4
  }
5
5
  function t(t) {
6
6
  return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
7
7
  }
8
- //#endregion
9
- //#region bati.config.ts
8
+ // bati.config.ts
10
9
  var bati_config_default = t({ if(meta) {
11
10
  return meta.BATI.has("shadcn-ui");
12
11
  } });
13
- //#endregion
14
12
  export { bati_config_default as default };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { loadMarkdown, packageManager } from "@batijs/core";
4
- //#region ../../boilerplates/shadcn-ui/dist/files/$README.md.mjs
4
+ // ../../boilerplates/shadcn-ui/dist/files/$README.md.mjs
5
5
  async function getReadme(props) {
6
6
  const content = await loadMarkdown(props);
7
7
  const about = `
@@ -33,5 +33,4 @@ async function getReadme(props) {
33
33
  content.addMarkdownFeature(about, "shadcn-ui");
34
34
  return content;
35
35
  }
36
- //#endregion
37
36
  export { getReadme as default };
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { loadPackageJson } from "@batijs/core";
4
- //#region ../../boilerplates/shadcn-ui/dist/files/$package.json.mjs
4
+ // ../../boilerplates/shadcn-ui/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- return (await loadPackageJson(props, await import("../../../../asset-package.json-CoQQ7j-T.js").then((x) => x.default))).setScript("shadcn", {
6
+ return (await loadPackageJson(props, await import("../../../../asset-package.json-BmKdFYhk.js").then((x) => x.default))).setScript("shadcn", {
7
7
  value: "npx shadcn@latest",
8
8
  precedence: 1,
9
9
  warnIfReplaced: true
@@ -15,5 +15,4 @@ async function getPackageJson(props) {
15
15
  "@radix-ui/react-icons"
16
16
  ]).addDevDependencies(["tw-animate-css"]);
17
17
  }
18
- //#endregion
19
18
  export { getPackageJson as default };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { loadAsJson } from "@batijs/core";
4
- //#region ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.mjs
4
+ // ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.mjs
5
5
  async function getTsConfig(props) {
6
6
  const tsConfig = await loadAsJson(props);
7
7
  tsConfig.compilerOptions.paths = {
@@ -10,5 +10,4 @@ async function getTsConfig(props) {
10
10
  };
11
11
  return tsConfig;
12
12
  }
13
- //#endregion
14
13
  export { getTsConfig as default };
@@ -1,11 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { defineConfigArg, mergeObject, transformConfig } from "@batijs/core";
4
- //#region ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.mjs
4
+ // ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.mjs
5
5
  function getViteConfig(props) {
6
6
  return transformConfig(props, (root) => {
7
7
  mergeObject(defineConfigArg(root), { resolve: { alias: { "@": `new URL("./", import.meta.url).pathname` } } });
8
8
  });
9
9
  }
10
- //#endregion
11
10
  export { getViteConfig as default };
@@ -1,4 +1,4 @@
1
- //#region package.json
1
+ // package.json
2
2
  var package_default = {
3
3
  name: "@batijs/shadcn-ui",
4
4
  "private": true,
@@ -20,7 +20,7 @@ var package_default = {
20
20
  "autoprefixer": "^10.6.1",
21
21
  "class-variance-authority": "^0.7.1",
22
22
  "clsx": "^2.1.1",
23
- "lucide-react": "^1.59.0",
23
+ "lucide-react": "^1.61.0",
24
24
  "tailwind-merge": "^3.7.0",
25
25
  "tailwindcss": "^4.3.3",
26
26
  "tw-animate-css": "^1.4.0"
@@ -30,5 +30,4 @@ var package_default = {
30
30
  typesVersions: { "*": { "lib/utils": ["./dist/types/lib/utils.d.mts"] } },
31
31
  nx: { "tags": ["type:boilerplate"] }
32
32
  };
33
- //#endregion
34
33
  export { package_default as default };
@@ -1,4 +1,2 @@
1
1
  import { ClassValue } from "clsx";
2
- //#region files/lib/utils.d.ts
3
- export declare function cn(...inputs: ClassValue[]): string;
4
- //#endregion
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -1,12 +1,11 @@
1
- //#region ../../packages/core/dist/config.js
1
+ // ../../packages/core/dist/config.js
2
2
  function e(e, t) {
3
3
  if (!e) throw Error(t);
4
4
  }
5
5
  function t(t) {
6
6
  return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
7
7
  }
8
- //#endregion
9
- //#region bati.config.ts
8
+ // bati.config.ts
10
9
  var bati_config_default = t({
11
10
  enforce: "pre",
12
11
  knip: {
@@ -14,5 +13,4 @@ var bati_config_default = t({
14
13
  ignoreDependencies: ["@batijs/tests-utils", "turbo"]
15
14
  }
16
15
  });
17
- //#endregion
18
16
  export { bati_config_default as default };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { committedValue, secretDevValue } from "@batijs/core";
4
- //#region ../../boilerplates/shared/dist/files/asset-env.mjs
4
+ // ../../boilerplates/shared/dist/files/asset-env.mjs
5
5
  /**
6
6
  * Render the whole `.env` from the registry. Returns `undefined` when no var
7
7
  * targets `.env`, so the caller writes no (empty) file.
@@ -22,10 +22,8 @@ function appendEntry(content, key, value, comment) {
22
22
  const comments = comment ? `${comment.replace(/^(.+)/gm, "# $1")}\n` : "";
23
23
  return `${content ?? ""}${blank}${comments}${key}=${value ? JSON.stringify(value) : ""}\n`;
24
24
  }
25
- //#endregion
26
- //#region ../../boilerplates/shared/dist/files/$.env.mjs
25
+ // ../../boilerplates/shared/dist/files/$.env.mjs
27
26
  function getEnv(props) {
28
27
  return renderDotenv(props.env, props.meta);
29
28
  }
30
- //#endregion
31
29
  export { getEnv as default };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { getArgs, getVersion, loadMarkdown } from "@batijs/core";
4
- //#region ../../boilerplates/shared/dist/files/$README.md.mjs
4
+ // ../../boilerplates/shared/dist/files/$README.md.mjs
5
5
  async function getReadme(props) {
6
6
  const content = await loadMarkdown(props);
7
7
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
@@ -25,5 +25,4 @@ ${getArgs()} ${flags}
25
25
  });
26
26
  return content;
27
27
  }
28
- //#endregion
29
28
  export { getReadme as default };
@@ -1,10 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { loadMarkdown } from "@batijs/core";
4
- //#region ../../boilerplates/shared/dist/files/asset-const.mjs
4
+ // ../../boilerplates/shared/dist/files/asset-const.mjs
5
5
  const todoIntro = "Follow the steps below to finish setting up your application.";
6
- //#endregion
7
- //#region ../../boilerplates/shared/dist/files/$TODO.md.mjs
6
+ // ../../boilerplates/shared/dist/files/$TODO.md.mjs
8
7
  async function getTodo(props) {
9
8
  const content = await loadMarkdown(props);
10
9
  content.addMarkdown(todoIntro, { wrapper: { section: "intro" } });
@@ -15,5 +14,4 @@ async function getTodo(props) {
15
14
  });
16
15
  return content;
17
16
  }
18
- //#endregion
19
17
  export { getTodo as default };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- //#region ../../boilerplates/shared/dist/files/$package.json.mjs
3
+ // ../../boilerplates/shared/dist/files/$package.json.mjs
4
4
  async function getPackageJson(props) {
5
5
  const split = props.target.split(/[\\/]/);
6
6
  split.pop();
@@ -19,5 +19,4 @@ async function getPackageJson(props) {
19
19
  type: "module"
20
20
  };
21
21
  }
22
- //#endregion
23
22
  export { getPackageJson as default };
@@ -1,4 +1,3 @@
1
- //#region const.ts
1
+ // const.ts
2
2
  const todoIntro = "Follow the steps below to finish setting up your application.";
3
- //#endregion
4
3
  export { todoIntro };
@@ -1,5 +1,5 @@
1
1
  import { committedValue, secretDevValue } from "@batijs/core";
2
- //#region env.ts
2
+ // env.ts
3
3
  /**
4
4
  * Render the whole `.env` from the registry. Returns `undefined` when no var
5
5
  * targets `.env`, so the caller writes no (empty) file.
@@ -20,5 +20,4 @@ function appendEntry(content, key, value, comment) {
20
20
  const comments = comment ? `${comment.replace(/^(.+)/gm, "# $1")}\n` : "";
21
21
  return `${content ?? ""}${blank}${comments}${key}=${value ? JSON.stringify(value) : ""}\n`;
22
22
  }
23
- //#endregion
24
23
  export { renderDotenv };
@@ -1,7 +1,7 @@
1
1
  import "./asset-const.mjs";
2
2
  import { readFile, rename, unlink, writeFile } from "node:fs/promises";
3
3
  import { join } from "node:path";
4
- //#region hooks/after.ts
4
+ // hooks/after.ts
5
5
  async function cleanupMarkdown(cwd, filename) {
6
6
  const trimmed = (await readFile(join(cwd, filename), "utf8")).replaceAll(/<!--bati:.*-->/g, "").replaceAll(/\n\n+/g, "\n\n").trimStart();
7
7
  await writeFile(join(cwd, filename), trimmed, "utf-8");
@@ -15,5 +15,4 @@ async function onafter(cwd, _meta) {
15
15
  if ((await cleanupMarkdown(cwd, "TODO.md")).trim() === "Follow the steps below to finish setting up your application.") await unlink(join(cwd, "TODO.md"));
16
16
  await renameGitIgnore(cwd);
17
17
  }
18
- //#endregion
19
18
  export { onafter as default };
@@ -1,4 +1,3 @@
1
- //#region const.ts
1
+ // const.ts
2
2
  const todoIntro = "Follow the steps below to finish setting up your application.";
3
- //#endregion
4
3
  export { todoIntro };
@@ -1,4 +1,2 @@
1
- //#region files/vite.config.d.ts
2
1
  declare const _default: import("vite").UserConfig;
3
- //#endregion
4
2
  export { _default as default };
@@ -1,12 +1,10 @@
1
- //#region ../../packages/core/dist/config.js
1
+ // ../../packages/core/dist/config.js
2
2
  function e(e, t) {
3
3
  if (!e) throw Error(t);
4
4
  }
5
5
  function t(t) {
6
6
  return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
7
7
  }
8
- //#endregion
9
- //#region bati.config.ts
8
+ // bati.config.ts
10
9
  var bati_config_default = t({ enforce: "post" });
11
- //#endregion
12
10
  export { bati_config_default as default };
@@ -2,7 +2,7 @@ import { CLAUDE_SKILLS_DIR, SKILLS_DIR } from "./asset-packages/features/dist/in
2
2
  import { composeSkills } from "./asset-boilerplates/shared-agents/compose.mjs";
3
3
  import { cp, mkdir, symlink, writeFile } from "node:fs/promises";
4
4
  import { dirname, join, relative } from "node:path";
5
- //#region hooks/after.ts
5
+ // hooks/after.ts
6
6
  async function onafter(cwd, meta) {
7
7
  for (const { path, content } of composeSkills((flag) => meta.BATI.has(flag))) {
8
8
  const dest = join(cwd, path);
@@ -21,5 +21,4 @@ async function mirrorSkillsForClaude(cwd) {
21
21
  await cp(source, target, { recursive: true });
22
22
  }
23
23
  }
24
- //#endregion
25
24
  export { onafter as default };
@@ -1,6 +1,6 @@
1
- import { n as features } from "../../asset-packages/features/dist/features-Blmihkil.mjs";
1
+ import { n as features } from "../../asset-packages/features/dist/features-D6DHpWno.mjs";
2
2
  import { SKILLS_DIR } from "../../asset-packages/features/dist/index.mjs";
3
- //#region compose.ts
3
+ // compose.ts
4
4
  /**
5
5
  * One `SKILL.md` per in-stack feature that publishes an `llms.txt`, under {@link SKILLS_DIR}, sorted by
6
6
  * flag (deterministic output). Each skill is a pointer to the live docs — no how-to is stored, so it never
@@ -26,5 +26,4 @@ function possessive(label) {
26
26
  function yamlString(s) {
27
27
  return `"${s.replace(/\\/g, "\\\\").replace(/"/g, "\\\"")}"`;
28
28
  }
29
- //#endregion
30
29
  export { composeSkills, renderSkillMd };
@@ -1,4 +1,4 @@
1
- //#region ../../packages/features/dist/features-Blmihkil.js
1
+ // ../../packages/features/dist/features-D6DHpWno.js
2
2
  /**
3
3
  * In forder to have an icon that has different colors based on dark/light mode:
4
4
  *
@@ -635,5 +635,4 @@ const features = [
635
635
  ];
636
636
  features.map((f) => f.flag);
637
637
  features.filter((f) => !f.invisibleCli).map((f) => f.flag);
638
- //#endregion
639
638
  export { features as n };
@@ -1,7 +1,6 @@
1
- import { n as features } from "./features-Blmihkil.mjs";
2
- //#region ../../packages/features/dist/index.js
1
+ import { n as features } from "./features-D6DHpWno.mjs";
2
+ // ../../packages/features/dist/index.js
3
3
  /** Skills are written to the cross-tool `.agents/` standard, read by Codex/Gemini/Cursor/Copilot. */
4
4
  const SKILLS_DIR = ".agents/skills";
5
5
  const CLAUDE_SKILLS_DIR = ".claude/skills";
6
- //#endregion
7
6
  export { CLAUDE_SKILLS_DIR, SKILLS_DIR, features };
@@ -1,12 +1,11 @@
1
- //#region ../../packages/core/dist/config.js
1
+ // ../../packages/core/dist/config.js
2
2
  function e(e, t) {
3
3
  if (!e) throw Error(t);
4
4
  }
5
5
  function t(t) {
6
6
  return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
7
7
  }
8
- //#endregion
9
- //#region bati.config.ts
8
+ // bati.config.ts
10
9
  var bati_config_default = t({
11
10
  if(meta) {
12
11
  return meta.BATI.hasDbDemo;
@@ -37,5 +36,4 @@ var bati_config_default = t({
37
36
  }];
38
37
  }
39
38
  });
40
- //#endregion
41
39
  export { bati_config_default as default };
@@ -3,7 +3,6 @@ import { dbKysely, dbKyselyD1, dbKyselyPostgres } from "@batijs/kysely/database/
3
3
  import { db } from "@batijs/postgres/database/postgres/db";
4
4
  import { db as db$1 } from "@batijs/sqlite/database/sqlite/db";
5
5
  import { UniversalMiddleware } from "@universal-middleware/core";
6
- //#region files/server/db-middleware.d.ts
7
6
  declare global {
8
7
  namespace Universal {
9
8
  interface Context {
@@ -24,5 +23,4 @@ declare global {
24
23
  /**
25
24
  * Add the `db` object to the context.
26
25
  */
27
- export declare const dbMiddleware: UniversalMiddleware;
28
- //#endregion
26
+ export declare const dbMiddleware: UniversalMiddleware;
@@ -1,12 +1,10 @@
1
- //#region ../../packages/core/dist/config.js
1
+ // ../../packages/core/dist/config.js
2
2
  function e(e, t) {
3
3
  if (!e) throw Error(t);
4
4
  }
5
5
  function t(t) {
6
6
  return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
7
7
  }
8
- //#endregion
9
- //#region bati.config.ts
8
+ // bati.config.ts
10
9
  var bati_config_default = t({ enforce: "pre" });
11
- //#endregion
12
10
  export { bati_config_default as default };
@@ -1,5 +1,3 @@
1
- //#region files/server/env.d.ts
2
1
  export declare const env: $$.If<{
3
2
  '!$$.BATI.has("cloudflare")': Record<string, string | undefined>;
4
- }>;
5
- //#endregion
3
+ }>;
@@ -1,4 +1,3 @@
1
- //#region files/server/load.d.ts
2
1
  /**
3
2
  * Load a `.env` file into `process.env` using the runtime's native facilities — the dependency-free
4
3
  * replacement for `dotenv/config`. Like dotenv (and `--env-file`), it does not override variables
@@ -8,5 +7,4 @@
8
7
  * - Bun: lacks `process.loadEnvFile` but auto-loads `.env` already; the `parseEnv` fallback then
9
8
  * only fills in anything still missing.
10
9
  */
11
- export declare function loadEnv(file?: string): void;
12
- //#endregion
10
+ export declare function loadEnv(file?: string): void;
@@ -1,14 +1,12 @@
1
- //#region ../../packages/core/dist/config.js
1
+ // ../../packages/core/dist/config.js
2
2
  function e(e, t) {
3
3
  if (!e) throw Error(t);
4
4
  }
5
5
  function t(t) {
6
6
  return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
7
7
  }
8
- //#endregion
9
- //#region bati.config.ts
8
+ // bati.config.ts
10
9
  var bati_config_default = t({ if(meta) {
11
10
  return meta.BATI.hasServer;
12
11
  } });
13
- //#endregion
14
12
  export { bati_config_default as default };
@@ -1,9 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { loadPackageJson } from "@batijs/core";
4
- //#region ../../boilerplates/shared-server/dist/files/$package.json.mjs
4
+ // ../../boilerplates/shared-server/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- return (await loadPackageJson(props, await import("../../../../asset-package.json-BuM3wec-.js").then((x) => x.default))).addDependencies(["@universal-middleware/core"]);
6
+ return (await loadPackageJson(props, await import("../../../../asset-package.json-BJw0tWgY.js").then((x) => x.default))).addDependencies(["@universal-middleware/core"]);
7
7
  }
8
- //#endregion
9
8
  export { getPackageJson as default };
@@ -1,4 +1,4 @@
1
- //#region package.json
1
+ // package.json
2
2
  var package_default = {
3
3
  name: "@batijs/shared-server",
4
4
  "private": true,
@@ -22,14 +22,13 @@ var package_default = {
22
22
  "@batijs/postgres": "workspace:*",
23
23
  "@batijs/sqlite": "workspace:*",
24
24
  "@types/node": "^20.19.37",
25
- "@universal-middleware/core": "^0.7.1",
25
+ "@universal-middleware/core": "^0.7.2",
26
26
  "vike": "^0.4.268",
27
- "vite": "^8.3.4"
27
+ "vite": "^8.3.5"
28
28
  },
29
29
  files: ["dist/"],
30
30
  exports: { "./server/create-todo-handler": { "types": "./dist/types/server/create-todo-handler.d.mts" } },
31
31
  typesVersions: { "*": { "server/create-todo-handler": ["./dist/types/server/create-todo-handler.d.mts"] } },
32
32
  nx: { "tags": ["type:boilerplate"] }
33
33
  };
34
- //#endregion
35
34
  export { package_default as default };
@@ -3,7 +3,6 @@ import { dbKysely, dbKyselyD1, dbKyselyPostgres } from "@batijs/kysely/database/
3
3
  import { db } from "@batijs/postgres/database/postgres/db";
4
4
  import { db as db$1 } from "@batijs/sqlite/database/sqlite/db";
5
5
  import { UniversalHandler } from "@universal-middleware/core";
6
- //#region files/server/create-todo-handler.d.ts
7
6
  export declare const createTodoHandler: UniversalHandler<Universal.Context & $$.If<{
8
7
  '$$.BATI.has("drizzle") && $$.BATI.has("postgres")': {
9
8
  db: ReturnType<typeof dbPostgres>;
@@ -33,5 +32,4 @@ export declare const createTodoHandler: UniversalHandler<Universal.Context & $$.
33
32
  db: D1Database;
34
33
  };
35
34
  _: object;
36
- }>>;
37
- //#endregion
35
+ }>>;
@@ -1,12 +1,10 @@
1
- //#region ../../packages/core/dist/config.js
1
+ // ../../packages/core/dist/config.js
2
2
  function e(e, t) {
3
3
  if (!e) throw Error(t);
4
4
  }
5
5
  function t(t) {
6
6
  return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
7
7
  }
8
- //#endregion
9
- //#region bati.config.ts
8
+ // bati.config.ts
10
9
  var bati_config_default = t({ enforce: "pre" });
11
- //#endregion
12
10
  export { bati_config_default as default };
@@ -1,5 +1,3 @@
1
- //#region files/pages/todo/+config.d.ts
2
1
  export declare const config: {
3
2
  prerender: boolean;
4
- };
5
- //#endregion
3
+ };
@@ -1,7 +1,5 @@
1
1
  import { PageContextServer } from "vike/types";
2
- //#region files/pages/todo/+data.d.ts
3
2
  export type Data = Awaited<ReturnType<typeof data>>;
4
3
  export declare function data(_pageContext: PageContextServer): Promise<{
5
4
  todoItemsInitial: any;
6
- }>;
7
- //#endregion
5
+ }>;
@@ -1,14 +1,12 @@
1
- //#region ../../packages/core/dist/config.js
1
+ // ../../packages/core/dist/config.js
2
2
  function e(e, t) {
3
3
  if (!e) throw Error(t);
4
4
  }
5
5
  function t(t) {
6
6
  return `enforce` in t && e(t.enforce === `pre` || t.enforce === `post`, `'enforce' must be 'pre' or 'post', was ${t.enforce}`), `if` in t && e(typeof t.if == `function`, `'if' must be a function`), `nextSteps` in t && e(typeof t.nextSteps == `function`, `'nextSteps' must be a function`), `knip` in t && (e(typeof t.knip == `object` && t.knip !== null, `'knip' must be an object`), `entry` in t.knip && e(Array.isArray(t.knip.entry), `'knip.entry' must be an array`), `ignoreDependencies` in t.knip && e(Array.isArray(t.knip.ignoreDependencies), `'knip.ignoreDependencies' must be an array`), `ignore` in t.knip && e(Array.isArray(t.knip.ignore), `'knip.ignore' must be an array`), `vite` in t.knip && e(typeof t.knip.vite == `boolean`, `'knip.vite' must be a boolean`)), `env` in t && e(typeof t.env == `function`, `'env' must be a function of meta`), `deploy` in t && e(Array.isArray(t.deploy) || typeof t.deploy == `function`, `'deploy' must be an array or a function of meta`), t;
7
7
  }
8
- //#endregion
9
- //#region bati.config.ts
8
+ // bati.config.ts
10
9
  var bati_config_default = t({ if(meta) {
11
10
  return meta.BATI.has("solid");
12
11
  } });
13
- //#endregion
14
12
  export { bati_config_default as default };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { loadMarkdown } from "@batijs/core";
4
- //#region ../../boilerplates/solid/dist/files/$README.md.mjs
4
+ // ../../boilerplates/solid/dist/files/$README.md.mjs
5
5
  async function getReadme(props) {
6
6
  const content = await loadMarkdown(props);
7
7
  content.addMarkdownFeature(`
@@ -37,5 +37,4 @@ SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all or
37
37
  You can [enable/disable HTML streaming](https://vike.dev/stream) for all or specific pages.`, "solid", { position: "before" });
38
38
  return content;
39
39
  }
40
- //#endregion
41
40
  export { getReadme as default };
@@ -1,13 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { loadPackageJson } from "@batijs/core";
4
- //#region ../../boilerplates/solid/dist/files/$package.json.mjs
4
+ // ../../boilerplates/solid/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- return (await loadPackageJson(props, await import("../../../../asset-package.json-Fz1Q3HSz.js").then((x) => x.default))).addDevDependencies(["vite", "vite-plugin-solid"]).addDependencies([
6
+ return (await loadPackageJson(props, await import("../../../../asset-package.json-vMduulhO.js").then((x) => x.default))).addDevDependencies(["vite", "vite-plugin-solid"]).addDependencies([
7
7
  "solid-js",
8
8
  "vike-solid",
9
9
  "vike"
10
10
  ]);
11
11
  }
12
- //#endregion
13
12
  export { getPackageJson as default };