@batijs/cli 0.0.681 → 0.0.683

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 (268) hide show
  1. package/dist/{asset-package.json-B_pazplk.js → asset-package.json-4mQJRmPo.js} +4 -4
  2. package/dist/{asset-package.json-DcFKh5ZX.js → asset-package.json-BHhJFp1f.js} +2 -2
  3. package/dist/{asset-package.json-BcaaH1fT.js → asset-package.json-BRT4HKtJ.js} +3 -3
  4. package/dist/{asset-package.json-C5n7w3va.js → asset-package.json-BU9-a27h.js} +1 -1
  5. package/dist/{asset-package2.json-KyL19vnl.js → asset-package.json-BUofXF9B.js} +1 -1
  6. package/dist/{asset-package.json-CIhRMg8g.js → asset-package.json-BVQnl8tE.js} +4 -4
  7. package/dist/{asset-package.json-BrErWJQ6.js → asset-package.json-BYMVMFRk.js} +4 -4
  8. package/dist/{asset-package2.json-BlKSajuX.js → asset-package.json-BsDgBOIe.js} +4 -4
  9. package/dist/{asset-package.json-BpbN9AfX.js → asset-package.json-BsOz1Qtn.js} +2 -2
  10. package/dist/{asset-package.json-vwvN2THl.js → asset-package.json-C0pjbm9Y.js} +1 -1
  11. package/dist/{asset-package.json-4hHDvG5M.js → asset-package.json-C4pk_6iL.js} +5 -5
  12. package/dist/{asset-package.json-CZMyNgM5.js → asset-package.json-CQACBif7.js} +1 -1
  13. package/dist/{asset-package.json-C00xIdyh.js → asset-package.json-CQam9Kv2.js} +3 -3
  14. package/dist/{asset-package.json-D9l7Wxa1.js → asset-package.json-CSNGgDf6.js} +10 -10
  15. package/dist/{asset-package.json-C3ghodCO.js → asset-package.json-CXIGvDSP.js} +6 -6
  16. package/dist/{asset-package.json-D737QeLo.js → asset-package.json-CeIu_DYT.js} +3 -3
  17. package/dist/{asset-package.json-CRn7GwYA.js → asset-package.json-CevFmytN.js} +6 -6
  18. package/dist/{asset-package.json-B9fQhA_A.js → asset-package.json-CoFmWo1I.js} +2 -2
  19. package/dist/{asset-package.json-DnHh08nC.js → asset-package.json-CsPkf_Nf.js} +2 -2
  20. package/dist/{asset-package.json-Cd8k1mrL.js → asset-package.json-D0cV5JO6.js} +4 -4
  21. package/dist/{asset-package.json-5iqCyT0F.js → asset-package.json-D8fTrGin.js} +7 -7
  22. package/dist/{asset-package.json-DRVZaLqw.js → asset-package.json-DBcKSgtv.js} +4 -4
  23. package/dist/{asset-package2.json-Ba8YAFW0.js → asset-package.json-DRUcfE6B.js} +3 -3
  24. package/dist/{asset-package.json-BY1Ie5cp.js → asset-package.json-DSCAfi1Y.js} +1 -1
  25. package/dist/{asset-package.json-BOjU7Woi.js → asset-package.json-DhFF8EuN.js} +2 -2
  26. package/dist/{asset-package.json-B4wAsHrC.js → asset-package.json-Djg0rKVd.js} +9 -9
  27. package/dist/{asset-package.json-DUxbWZtN.js → asset-package.json-DmJUTmV-.js} +2 -2
  28. package/dist/{asset-package.json-Dxqmhkqq.js → asset-package.json-DnJ7W42m.js} +7 -7
  29. package/dist/{asset-package.json-OIaoYz3d.js → asset-package.json-DpC4WSwY.js} +4 -4
  30. package/dist/{asset-package.json-B44tqElU.js → asset-package.json-DxNnEz4u.js} +2 -2
  31. package/dist/{asset-package.json-CE51k3w7.js → asset-package.json-VkUXvqsr.js} +1 -1
  32. package/dist/{asset-package2.json-8pJwRB75.js → asset-package.json-_lnXLKEQ.js} +5 -5
  33. package/dist/{asset-package.json-DQMAwShU.js → asset-package.json-aAJ_krcM.js} +6 -6
  34. package/dist/{asset-package2.json-oYvHMynY.js → asset-package.json-d5UpfGKX.js} +4 -4
  35. package/dist/{asset-package.json-CcCHCWn-.js → asset-package.json-i2TPdF43.js} +3 -3
  36. package/dist/{asset-package.json-D8gWgpen.js → asset-package.json-i7VmyGS6.js} +5 -5
  37. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -1
  38. package/dist/boilerplates/@batijs/authjs/files/asset-package.json.mjs +1 -1
  39. package/dist/boilerplates/@batijs/authjs/types/server/authjs-handler.d.mts +4 -5
  40. package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
  41. package/dist/boilerplates/@batijs/aws/files/asset-package.json.mjs +5 -5
  42. package/dist/boilerplates/@batijs/aws/types/cdk/bin/infrastructure.d.mts +3 -4
  43. package/dist/boilerplates/@batijs/aws/types/cdk/lib/vike-stack.d.mts +3 -3
  44. package/dist/boilerplates/@batijs/better-auth/files/$package.json.js +1 -1
  45. package/dist/boilerplates/@batijs/better-auth/files/asset-package.json.mjs +5 -5
  46. package/dist/boilerplates/@batijs/better-auth/files/database/drizzle/schema/auth.ts +32 -44
  47. package/dist/boilerplates/@batijs/better-auth/files/database/migrations/$better-auth.sql.js +0 -3
  48. package/dist/boilerplates/@batijs/better-auth/types/database/drizzle/schema/auth.d.mts +5 -42
  49. package/dist/boilerplates/@batijs/better-auth/types/server/better-auth-handler.d.mts +3 -4
  50. package/dist/boilerplates/@batijs/better-auth/types/server/better-auth.d.mts +2 -3
  51. package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
  52. package/dist/boilerplates/@batijs/biome/files/asset-package.json.mjs +2 -2
  53. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -1
  54. package/dist/boilerplates/@batijs/cloudflare/files/asset-package.json.mjs +3 -3
  55. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
  56. package/dist/boilerplates/@batijs/compiled/files/asset-package.json.mjs +2 -2
  57. package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
  58. package/dist/boilerplates/@batijs/d1/files/asset-package.json.mjs +3 -3
  59. package/dist/boilerplates/@batijs/d1/types/database/d1/helpers.d.mts +2 -3
  60. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
  61. package/dist/boilerplates/@batijs/d1-sqlite/files/asset-package.json.mjs +2 -2
  62. package/dist/boilerplates/@batijs/d1-sqlite/types/database/d1/queries/todos.d.mts +3 -4
  63. package/dist/boilerplates/@batijs/docker-compose/files/$docker-compose.yml.js +2 -1
  64. package/dist/boilerplates/@batijs/docker-compose/files/$package.json.js +1 -1
  65. package/dist/boilerplates/@batijs/docker-compose/files/asset-package.json.mjs +1 -1
  66. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -1
  67. package/dist/boilerplates/@batijs/drizzle/files/asset-package.json.mjs +2 -2
  68. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/db.d.mts +4 -5
  69. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/todos.d.mts +3 -4
  70. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/schema/todos.d.mts +4 -5
  71. package/dist/boilerplates/@batijs/elysia/files/$package.json.js +1 -1
  72. package/dist/boilerplates/@batijs/elysia/files/asset-package.json.mjs +6 -6
  73. package/dist/boilerplates/@batijs/elysia/types/server/elysia.d.mts +2 -3
  74. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
  75. package/dist/boilerplates/@batijs/eslint/files/asset-package.json.mjs +4 -4
  76. package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
  77. package/dist/boilerplates/@batijs/express/files/asset-package.json.mjs +6 -6
  78. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
  79. package/dist/boilerplates/@batijs/fastify/files/asset-package.json.mjs +7 -7
  80. package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
  81. package/dist/boilerplates/@batijs/hono/files/asset-package.json.mjs +7 -7
  82. package/dist/boilerplates/@batijs/hono/types/entry_aws_lambda.d.mts +3 -5
  83. package/dist/boilerplates/@batijs/hono/types/server/hono.d.mts +2 -3
  84. package/dist/boilerplates/@batijs/kysely/files/$package.json.js +1 -1
  85. package/dist/boilerplates/@batijs/kysely/files/asset-package.json.mjs +4 -4
  86. package/dist/boilerplates/@batijs/kysely/types/database/kysely/db.d.mts +4 -5
  87. package/dist/boilerplates/@batijs/kysely/types/database/kysely/migrations/001_create_todos_table.d.mts +3 -4
  88. package/dist/boilerplates/@batijs/kysely/types/database/kysely/queries/todos.d.mts +3 -4
  89. package/dist/boilerplates/@batijs/kysely/types/database/kysely/types.d.mts +5 -6
  90. package/dist/boilerplates/@batijs/kysely/types/vite-plugin-input.d.mts +2 -3
  91. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
  92. package/dist/boilerplates/@batijs/mantine/files/asset-package.json.mjs +9 -9
  93. package/dist/boilerplates/@batijs/mantine/types/components/Link.d.mts +2 -3
  94. package/dist/boilerplates/@batijs/mantine/types/pages/+Layout.d.mts +2 -3
  95. package/dist/boilerplates/@batijs/oxlint/files/$package.json.js +1 -1
  96. package/dist/boilerplates/@batijs/oxlint/files/asset-package.json.mjs +2 -2
  97. package/dist/boilerplates/@batijs/postgres/files/$package.json.js +1 -1
  98. package/dist/boilerplates/@batijs/postgres/files/asset-package.json.mjs +1 -1
  99. package/dist/boilerplates/@batijs/postgres/types/database/postgres/db.d.mts +2 -3
  100. package/dist/boilerplates/@batijs/postgres/types/database/postgres/queries/todos.d.mts +3 -4
  101. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
  102. package/dist/boilerplates/@batijs/prettier/files/asset-package.json.mjs +1 -1
  103. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
  104. package/dist/boilerplates/@batijs/prisma/files/asset-package.json.mjs +2 -2
  105. package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -1
  106. package/dist/boilerplates/@batijs/react/files/asset-package.json.mjs +10 -10
  107. package/dist/boilerplates/@batijs/react/types/components/Link.d.mts +2 -3
  108. package/dist/boilerplates/@batijs/react/types/pages/+Head.d.mts +2 -3
  109. package/dist/boilerplates/@batijs/react/types/pages/+Layout.d.mts +2 -3
  110. package/dist/boilerplates/@batijs/react/types/pages/+onPageTransitionEnd.d.mts +2 -3
  111. package/dist/boilerplates/@batijs/react/types/pages/+onPageTransitionStart.d.mts +2 -3
  112. package/dist/boilerplates/@batijs/react/types/pages/_error/+Page.d.mts +2 -3
  113. package/dist/boilerplates/@batijs/react/types/pages/index/+Page.d.mts +2 -3
  114. package/dist/boilerplates/@batijs/react/types/pages/index/Counter.d.mts +2 -3
  115. package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+Page.d.mts +2 -3
  116. package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+data.d.mts +3 -4
  117. package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+Page.d.mts +2 -3
  118. package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+data.d.mts +3 -4
  119. package/dist/boilerplates/@batijs/react/types/pages/star-wars/types.d.mts +3 -4
  120. package/dist/boilerplates/@batijs/react/types/pages/todo/+Page.d.mts +2 -3
  121. package/dist/boilerplates/@batijs/react/types/pages/todo/TodoList.d.mts +2 -3
  122. package/dist/boilerplates/@batijs/react-better-auth/types/components/AuthNav.d.mts +2 -3
  123. package/dist/boilerplates/@batijs/react-better-auth/types/pages/account/+Page.d.mts +2 -3
  124. package/dist/boilerplates/@batijs/react-better-auth/types/pages/account/+guard.d.mts +2 -3
  125. package/dist/boilerplates/@batijs/react-better-auth/types/pages/login/+Page.d.mts +2 -3
  126. package/dist/boilerplates/@batijs/react-better-auth/types/pages/signup/+Page.d.mts +2 -3
  127. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
  128. package/dist/boilerplates/@batijs/react-sentry/files/asset-package.json.mjs +6 -6
  129. package/dist/boilerplates/@batijs/react-sentry/types/pages/sentry/+Page.d.mts +2 -3
  130. package/dist/boilerplates/@batijs/react-sentry/types/sentry.browser.config.d.mts +2 -3
  131. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -1
  132. package/dist/boilerplates/@batijs/sentry/files/asset-package.json.mjs +2 -2
  133. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
  134. package/dist/boilerplates/@batijs/shadcn-ui/files/asset-package.json.mjs +3 -3
  135. package/dist/boilerplates/@batijs/shadcn-ui/types/lib/utils.d.mts +2 -3
  136. package/dist/boilerplates/@batijs/shared-db/types/server/db-middleware.d.mts +2 -3
  137. package/dist/boilerplates/@batijs/shared-env/types/server/env.d.mts +2 -3
  138. package/dist/boilerplates/@batijs/shared-env/types/server/load.d.mts +2 -3
  139. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
  140. package/dist/boilerplates/@batijs/shared-server/files/asset-package.json.mjs +3 -3
  141. package/dist/boilerplates/@batijs/shared-server/types/server/create-todo-handler.d.mts +2 -3
  142. package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+config.d.mts +2 -3
  143. package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.mts +3 -4
  144. package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
  145. package/dist/boilerplates/@batijs/solid/files/asset-package.json.mjs +4 -4
  146. package/dist/boilerplates/@batijs/solid/types/components/Link.d.mts +2 -3
  147. package/dist/boilerplates/@batijs/solid/types/pages/+Head.d.mts +2 -3
  148. package/dist/boilerplates/@batijs/solid/types/pages/+Layout.d.mts +2 -3
  149. package/dist/boilerplates/@batijs/solid/types/pages/+onPageTransitionEnd.d.mts +2 -3
  150. package/dist/boilerplates/@batijs/solid/types/pages/+onPageTransitionStart.d.mts +2 -3
  151. package/dist/boilerplates/@batijs/solid/types/pages/_error/+Page.d.mts +2 -3
  152. package/dist/boilerplates/@batijs/solid/types/pages/index/+Page.d.mts +2 -3
  153. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+Page.d.mts +2 -3
  154. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+data.d.mts +3 -4
  155. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+Page.d.mts +2 -3
  156. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+data.d.mts +3 -4
  157. package/dist/boilerplates/@batijs/solid/types/pages/star-wars/types.d.mts +3 -4
  158. package/dist/boilerplates/@batijs/solid/types/pages/todo/+Page.d.mts +2 -3
  159. package/dist/boilerplates/@batijs/solid/types/pages/todo/TodoList.d.mts +2 -3
  160. package/dist/boilerplates/@batijs/solid-better-auth/types/components/AuthNav.d.mts +2 -3
  161. package/dist/boilerplates/@batijs/solid-better-auth/types/pages/account/+Page.d.mts +2 -3
  162. package/dist/boilerplates/@batijs/solid-better-auth/types/pages/account/+guard.d.mts +2 -3
  163. package/dist/boilerplates/@batijs/solid-better-auth/types/pages/login/+Page.d.mts +2 -3
  164. package/dist/boilerplates/@batijs/solid-better-auth/types/pages/signup/+Page.d.mts +2 -3
  165. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
  166. package/dist/boilerplates/@batijs/solid-sentry/files/asset-package.json.mjs +4 -4
  167. package/dist/boilerplates/@batijs/solid-sentry/types/pages/sentry/+Page.d.mts +2 -3
  168. package/dist/boilerplates/@batijs/solid-sentry/types/sentry.browser.config.d.mts +2 -3
  169. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
  170. package/dist/boilerplates/@batijs/sqlite/files/asset-package.json.mjs +1 -1
  171. package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/db.d.mts +2 -3
  172. package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/queries/todos.d.mts +3 -4
  173. package/dist/boilerplates/@batijs/storybook/hooks/after.mjs +2 -1
  174. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +2 -1
  175. package/dist/boilerplates/@batijs/tailwindcss/files/asset-package.json.mjs +4 -4
  176. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
  177. package/dist/boilerplates/@batijs/telefunc/files/asset-package.json.mjs +4 -4
  178. package/dist/boilerplates/@batijs/telefunc/types/pages/todo/TodoList.telefunc.d.mts +2 -3
  179. package/dist/boilerplates/@batijs/telefunc/types/server/telefunc-handler.d.mts +2 -3
  180. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
  181. package/dist/boilerplates/@batijs/trpc/files/asset-package.json.mjs +4 -4
  182. package/dist/boilerplates/@batijs/trpc/types/server/trpc-handler.d.mts +2 -3
  183. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.mts +2 -3
  184. package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.mts +5 -6
  185. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
  186. package/dist/boilerplates/@batijs/ts-rest/files/asset-package.json.mjs +1 -1
  187. package/dist/boilerplates/@batijs/ts-rest/types/server/ts-rest-handler.d.mts +2 -3
  188. package/dist/boilerplates/@batijs/ts-rest/types/ts-rest/client.d.mts +2 -3
  189. package/dist/boilerplates/@batijs/ts-rest/types/ts-rest/contract.d.mts +2 -3
  190. package/dist/boilerplates/@batijs/universal-deploy/files/$package.json.js +1 -1
  191. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
  192. package/dist/boilerplates/@batijs/vercel/files/asset-package.json.mjs +3 -3
  193. package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -1
  194. package/dist/boilerplates/@batijs/vue/files/asset-package.json.mjs +5 -5
  195. package/dist/boilerplates/@batijs/vue/types/pages/+onCreateApp.d.mts +3 -5
  196. package/dist/boilerplates/@batijs/vue/types/pages/+onPageTransitionEnd.d.mts +2 -3
  197. package/dist/boilerplates/@batijs/vue/types/pages/+onPageTransitionStart.d.mts +2 -3
  198. package/dist/boilerplates/@batijs/vue/types/pages/star-wars/@id/+data.d.mts +3 -4
  199. package/dist/boilerplates/@batijs/vue/types/pages/star-wars/index/+data.d.mts +3 -4
  200. package/dist/boilerplates/@batijs/vue/types/pages/star-wars/types.d.mts +3 -4
  201. package/dist/boilerplates/@batijs/vue-better-auth/types/pages/account/+guard.d.mts +2 -3
  202. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
  203. package/dist/boilerplates/@batijs/vue-sentry/files/asset-package.json.mjs +4 -4
  204. package/dist/boilerplates/@batijs/vue-sentry/types/sentry.browser.config.d.mts +2 -3
  205. package/dist/index.js +163 -133
  206. package/package.json +10 -10
  207. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/handler.d.mts +0 -247
  208. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/index.d.mts +0 -44
  209. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/alb.d.mts +0 -1
  210. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/amplify-resolver.d.mts +0 -2
  211. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.mts +0 -2
  212. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.mts +0 -1
  213. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.mts +0 -1
  214. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/autoscaling.d.mts +0 -1
  215. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.mts +0 -2
  216. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.mts +0 -1
  217. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudfront-request.d.mts +0 -1
  218. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudfront-response.d.mts +0 -1
  219. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudwatch-alarm.d.mts +0 -1
  220. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudwatch-events.d.mts +0 -1
  221. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cloudwatch-logs.d.mts +0 -1
  222. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codebuild-cloudwatch-state.d.mts +0 -1
  223. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codecommit.d.mts +0 -1
  224. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-action.d.mts +0 -1
  225. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-pipeline.d.mts +0 -1
  226. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-stage.d.mts +0 -1
  227. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch.d.mts +0 -4
  228. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/codepipeline.d.mts +0 -1
  229. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/create-auth-challenge.d.mts +0 -1
  230. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-email-sender.d.mts +0 -1
  231. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-message.d.mts +0 -1
  232. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-sms-sender.d.mts +0 -1
  233. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.mts +0 -1
  234. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/inbound-federation.d.mts +0 -1
  235. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.mts +0 -16
  236. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-authentication.d.mts +0 -1
  237. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-confirmation.d.mts +0 -1
  238. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-authentication.d.mts +0 -1
  239. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-signup.d.mts +0 -1
  240. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v2.d.mts +0 -1
  241. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v3.d.mts +0 -1
  242. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation.d.mts +0 -1
  243. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/user-migration.d.mts +0 -1
  244. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/verify-auth-challenge-response.d.mts +0 -1
  245. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/connect-contact-flow.d.mts +0 -1
  246. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.mts +0 -1
  247. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/eventbridge.d.mts +0 -1
  248. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/guard-duty-event-notification.d.mts +0 -1
  249. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/iot-authorizer.d.mts +0 -2
  250. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/iot.d.mts +0 -1
  251. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/kinesis-firehose-transformation.d.mts +0 -1
  252. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/kinesis-stream.d.mts +0 -1
  253. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/lambda-function-url.d.mts +0 -2
  254. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/lex-v2.d.mts +0 -1
  255. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/lex.d.mts +0 -1
  256. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/msk.d.mts +0 -1
  257. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/s3-batch.d.mts +0 -1
  258. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/s3-event-notification.d.mts +0 -2
  259. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/s3.d.mts +0 -1
  260. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/secretsmanager.d.mts +0 -1
  261. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/self-managed-kafka.d.mts +0 -1
  262. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/ses.d.mts +0 -1
  263. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/sns.d.mts +0 -1
  264. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/sqs.d.mts +0 -1
  265. package/dist/boilerplates/@batijs/hono/types/node_modules/.bun/@types+aws-lambda@8.10.162/node_modules/@types/aws-lambda/trigger/transfer-family-authorizer.d.mts +0 -1
  266. package/dist/boilerplates/@batijs/vue/types/node_modules/.bun/vike-vue@0.9.13+65a302fece80211b/node_modules/vike-vue/dist/types/VikeHooks.d.mts +0 -12
  267. package/dist/boilerplates/@batijs/vue/types/node_modules/.bun/vike-vue@0.9.13+65a302fece80211b/node_modules/vike-vue/dist/types/public.d.mts +0 -2
  268. /package/dist/{asset-package2.json-DND0OHll.js → asset-package.json-DND0OHll.js} +0 -0
@@ -17,7 +17,7 @@ var package_default = {
17
17
  "@batijs/core": "workspace:*",
18
18
  "@batijs/shared-env": "workspace:*",
19
19
  "@types/node": "^20.19.37",
20
- "@universal-middleware/core": "^0.4.18"
20
+ "@universal-middleware/core": "^0.6.2"
21
21
  },
22
22
  dependencies: { "@auth/core": "^0.41.3" },
23
23
  files: ["dist/"],
@@ -5,21 +5,20 @@ import { UniversalMiddleware } from "@universal-middleware/core";
5
5
  /**
6
6
  * Retrieve Auth.js session from Request
7
7
  */
8
- declare function getSession(req: Request, config: Omit<AuthConfig, "raw">): Promise<Session | null>;
8
+ export declare function getSession(req: Request, config: Omit<AuthConfig, "raw">): Promise<Session | null>;
9
9
  /**
10
10
  * Add Auth.js session to the context.
11
11
  * @link {@see https://authjs.dev/getting-started/session-management/get-session}
12
12
  */
13
- declare const authjsSessionMiddleware: UniversalMiddleware;
13
+ export declare const authjsSessionMiddleware: UniversalMiddleware;
14
14
  /**
15
15
  * Auth.js route
16
16
  * @link {@see https://authjs.dev/getting-started/installation}
17
17
  **/
18
- declare const authjsHandler: ((request: Request<unknown, CfProperties<unknown>>) => Promise<Response>) & import("@universal-middleware/core").WithUniversalSymbols<{
18
+ export declare const authjsHandler: ((request: Request<unknown, CfProperties<unknown>>) => Promise<Response>) & import("@universal-middleware/core").WithUniversalSymbols<{
19
19
  name: string;
20
20
  path: string;
21
21
  method: ("GET" | "POST")[];
22
22
  immutable: false;
23
23
  }>;
24
- //#endregion
25
- export { authjsHandler, authjsSessionMiddleware, getSession };
24
+ //#endregion
@@ -3,7 +3,7 @@
3
3
  import { loadPackageJson } from "@batijs/core";
4
4
  //#region ../../boilerplates/aws/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- return (await loadPackageJson(props, await import("../../../../asset-package.json-4hHDvG5M.js").then((x) => x.default))).setScript("test", {
6
+ return (await loadPackageJson(props, await import("../../../../asset-package.json-C4pk_6iL.js").then((x) => x.default))).setScript("test", {
7
7
  value: "vitest",
8
8
  precedence: 0
9
9
  }).setScript("deploy:cdk-deploy-all", {
@@ -17,16 +17,16 @@ var package_default = {
17
17
  "@batijs/core": "workspace:*",
18
18
  "@types/node": "^20.19.37",
19
19
  "@types/which": "^3.0.4",
20
- "aws-cdk": "^2.1135.1",
21
- "aws-cdk-lib": "^2.263.0",
22
- "cdk": "^2.1135.1",
20
+ "aws-cdk": "^2.1145.0",
21
+ "aws-cdk-lib": "^2.273.0",
22
+ "cdk": "^2.1145.0",
23
23
  "constructs": "^10.8.0",
24
24
  "esbuild": "^0.28.2",
25
25
  "npm-run-all2": "^9.0.3",
26
26
  "source-map-support": "^0.5.21",
27
- "tsx": "^4.23.12",
27
+ "tsx": "^4.23.15",
28
28
  "typescript": "^6.0.3",
29
- "vitest": "^4.1.10",
29
+ "vitest": "^4.1.11",
30
30
  "which": "^7.0.0"
31
31
  },
32
32
  files: ["dist/"],
@@ -1,13 +1,12 @@
1
- import "source-map-support/register.js";
1
+ import "source-map-support/register";
2
2
  import * as cdk from "aws-cdk-lib";
3
3
  import * as certificatemanager from "aws-cdk-lib/aws-certificatemanager";
4
4
  import * as route53 from "aws-cdk-lib/aws-route53";
5
5
  //#region files/cdk/bin/infrastructure.d.ts
6
- type CustomStackProps = cdk.StackProps & {
6
+ export type CustomStackProps = cdk.StackProps & {
7
7
  domainName?: string;
8
8
  subDomain?: string;
9
9
  certificate?: string | certificatemanager.ICertificate;
10
10
  hostedZone?: route53.IHostedZone;
11
11
  };
12
- //#endregion
13
- export { CustomStackProps };
12
+ //#endregion
@@ -1,14 +1,14 @@
1
1
  import { CustomStackProps } from "../bin/infrastructure.mjs";
2
- import "source-map-support/register.js";
2
+ import "source-map-support/register";
3
3
  import * as cdk from "aws-cdk-lib";
4
4
  import { Construct } from "constructs";
5
5
  //#region files/cdk/lib/vike-stack.d.ts
6
6
  type VikeStackProps = cdk.StackProps & {
7
7
  customStackProps: CustomStackProps;
8
8
  };
9
- declare class VikeStack extends cdk.Stack {
9
+ export declare class VikeStack extends cdk.Stack {
10
10
  readonly distributionUrlParameterName: string;
11
11
  constructor(scope: Construct, id: string, props: VikeStackProps);
12
12
  }
13
13
  //#endregion
14
- export { VikeStack };
14
+ export {};
@@ -3,7 +3,7 @@
3
3
  import { loadPackageJson, packageManager } from "@batijs/core";
4
4
  //#region ../../boilerplates/better-auth/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- const packageJson = await loadPackageJson(props, await import("../../../../asset-package.json-D8gWgpen.js").then((x) => x.default));
6
+ const packageJson = await loadPackageJson(props, await import("../../../../asset-package.json-i7VmyGS6.js").then((x) => x.default));
7
7
  const { BATI } = props.meta;
8
8
  packageJson.addDependencies(["better-auth", "@universal-middleware/core"]);
9
9
  if (BATI.has("drizzle")) return packageJson;
@@ -19,16 +19,16 @@ var package_default = {
19
19
  "@batijs/shared-env": "workspace:*",
20
20
  "@types/better-sqlite3": "^9.6.0",
21
21
  "@types/node": "^20.19.37",
22
- "@universal-middleware/core": "^0.4.18",
22
+ "@universal-middleware/core": "^0.6.2",
23
23
  "better-sqlite3": "^13.0.3",
24
- "drizzle-orm": "^0.45.2",
25
- "kysely": "^0.29.5",
24
+ "drizzle-orm": "^0.45.4",
25
+ "kysely": "^0.29.6",
26
26
  "kysely-d1": "^0.4.0",
27
27
  "kysely-postgres-js": "^3.0.0",
28
28
  "postgres": "^3.4.9",
29
- "tsx": "^4.23.12"
29
+ "tsx": "^4.23.15"
30
30
  },
31
- dependencies: { "better-auth": "^1.7.1" },
31
+ dependencies: { "better-auth": "^1.7.7" },
32
32
  files: ["dist/"],
33
33
  exports: {
34
34
  "./database/better-auth/migrate": { "types": "./dist/types/database/better-auth/migrate.d.mts" },
@@ -1,6 +1,6 @@
1
1
  /* $$.keepFileIfImported */
2
- import { boolean, pgTable, text as pgText, timestamp, uniqueIndex as pgUniqueIndex } from "drizzle-orm/pg-core";
3
- import { integer, sqliteTable, text as sqliteText, uniqueIndex as sqliteUniqueIndex } from "drizzle-orm/sqlite-core";
2
+ import { boolean, pgTable, text as pgText, timestamp } from "drizzle-orm/pg-core";
3
+ import { integer, sqliteTable, text as sqliteText } from "drizzle-orm/sqlite-core";
4
4
 
5
5
  // Better Auth's tables, owned by Drizzle so its migrations create them.
6
6
  // Regenerate with `npx auth generate` if you customize the Better Auth config.
@@ -48,49 +48,37 @@ export const session = $$.BATI.has("postgres")
48
48
  userId: sqliteText("user_id").notNull(),
49
49
  });
50
50
 
51
- // Since Better Auth 1.7 account identity is scoped by `issuer`: the column is required and
52
- // (issuer, accountId) must be unique. https://better-auth.com/docs/guides/1-7-upgrade-guide
53
51
  export const account = $$.BATI.has("postgres")
54
- ? pgTable(
55
- "account",
56
- {
57
- id: pgText("id").primaryKey(),
58
- accountId: pgText("account_id").notNull(),
59
- providerId: pgText("provider_id").notNull(),
60
- issuer: pgText("issuer").notNull(),
61
- userId: pgText("user_id").notNull(),
62
- accessToken: pgText("access_token"),
63
- refreshToken: pgText("refresh_token"),
64
- idToken: pgText("id_token"),
65
- accessTokenExpiresAt: timestamp("access_token_expires_at"),
66
- refreshTokenExpiresAt: timestamp("refresh_token_expires_at"),
67
- scope: pgText("scope"),
68
- password: pgText("password"),
69
- createdAt: timestamp("created_at").notNull(),
70
- updatedAt: timestamp("updated_at").notNull(),
71
- },
72
- (table) => [pgUniqueIndex("account_issuer_accountId_uidx").on(table.issuer, table.accountId)],
73
- )
74
- : sqliteTable(
75
- "account",
76
- {
77
- id: sqliteText("id").primaryKey(),
78
- accountId: sqliteText("account_id").notNull(),
79
- providerId: sqliteText("provider_id").notNull(),
80
- issuer: sqliteText("issuer").notNull(),
81
- userId: sqliteText("user_id").notNull(),
82
- accessToken: sqliteText("access_token"),
83
- refreshToken: sqliteText("refresh_token"),
84
- idToken: sqliteText("id_token"),
85
- accessTokenExpiresAt: integer("access_token_expires_at", { mode: "timestamp_ms" }),
86
- refreshTokenExpiresAt: integer("refresh_token_expires_at", { mode: "timestamp_ms" }),
87
- scope: sqliteText("scope"),
88
- password: sqliteText("password"),
89
- createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
90
- updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
91
- },
92
- (table) => [sqliteUniqueIndex("account_issuer_accountId_uidx").on(table.issuer, table.accountId)],
93
- );
52
+ ? pgTable("account", {
53
+ id: pgText("id").primaryKey(),
54
+ accountId: pgText("account_id").notNull(),
55
+ providerId: pgText("provider_id").notNull(),
56
+ userId: pgText("user_id").notNull(),
57
+ accessToken: pgText("access_token"),
58
+ refreshToken: pgText("refresh_token"),
59
+ idToken: pgText("id_token"),
60
+ accessTokenExpiresAt: timestamp("access_token_expires_at"),
61
+ refreshTokenExpiresAt: timestamp("refresh_token_expires_at"),
62
+ scope: pgText("scope"),
63
+ password: pgText("password"),
64
+ createdAt: timestamp("created_at").notNull(),
65
+ updatedAt: timestamp("updated_at").notNull(),
66
+ })
67
+ : sqliteTable("account", {
68
+ id: sqliteText("id").primaryKey(),
69
+ accountId: sqliteText("account_id").notNull(),
70
+ providerId: sqliteText("provider_id").notNull(),
71
+ userId: sqliteText("user_id").notNull(),
72
+ accessToken: sqliteText("access_token"),
73
+ refreshToken: sqliteText("refresh_token"),
74
+ idToken: sqliteText("id_token"),
75
+ accessTokenExpiresAt: integer("access_token_expires_at", { mode: "timestamp_ms" }),
76
+ refreshTokenExpiresAt: integer("refresh_token_expires_at", { mode: "timestamp_ms" }),
77
+ scope: sqliteText("scope"),
78
+ password: sqliteText("password"),
79
+ createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
80
+ updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
81
+ });
94
82
 
95
83
  export const verification = $$.BATI.has("postgres")
96
84
  ? pgTable("verification", {
@@ -28,7 +28,6 @@ CREATE TABLE IF NOT EXISTS "account" (
28
28
  "id" text NOT NULL PRIMARY KEY,
29
29
  "accountId" text NOT NULL,
30
30
  "providerId" text NOT NULL,
31
- "issuer" text NOT NULL,
32
31
  "userId" text NOT NULL REFERENCES "user" ("id"),
33
32
  "accessToken" text,
34
33
  "refreshToken" text,
@@ -41,8 +40,6 @@ CREATE TABLE IF NOT EXISTS "account" (
41
40
  "updatedAt" date NOT NULL DEFAULT CURRENT_TIMESTAMP
42
41
  );
43
42
 
44
- CREATE UNIQUE INDEX IF NOT EXISTS "account_issuer_accountId_uidx" ON "account" ("issuer", "accountId");
45
-
46
43
  CREATE TABLE IF NOT EXISTS "verification" (
47
44
  "id" text NOT NULL PRIMARY KEY,
48
45
  "identifier" text NOT NULL,
@@ -1,5 +1,5 @@
1
1
  //#region files/database/drizzle/schema/auth.d.ts
2
- declare const user: import("drizzle-orm/pg-core").PgTableWithColumns<{
2
+ export declare const user: import("drizzle-orm/pg-core").PgTableWithColumns<{
3
3
  name: "user";
4
4
  schema: undefined;
5
5
  columns: {
@@ -258,7 +258,7 @@ declare const user: import("drizzle-orm/pg-core").PgTableWithColumns<{
258
258
  };
259
259
  dialect: "sqlite";
260
260
  }>;
261
- declare const session: import("drizzle-orm/pg-core").PgTableWithColumns<{
261
+ export declare const session: import("drizzle-orm/pg-core").PgTableWithColumns<{
262
262
  name: "session";
263
263
  schema: undefined;
264
264
  columns: {
@@ -553,7 +553,7 @@ declare const session: import("drizzle-orm/pg-core").PgTableWithColumns<{
553
553
  };
554
554
  dialect: "sqlite";
555
555
  }>;
556
- declare const account: import("drizzle-orm/pg-core").PgTableWithColumns<{
556
+ export declare const account: import("drizzle-orm/pg-core").PgTableWithColumns<{
557
557
  name: "account";
558
558
  schema: undefined;
559
559
  columns: {
@@ -608,23 +608,6 @@ declare const account: import("drizzle-orm/pg-core").PgTableWithColumns<{
608
608
  identity: undefined;
609
609
  generated: undefined;
610
610
  }, {}, {}>;
611
- issuer: import("drizzle-orm/pg-core").PgColumn<{
612
- name: "issuer";
613
- tableName: "account";
614
- dataType: "string";
615
- columnType: "PgText";
616
- data: string;
617
- driverParam: string;
618
- notNull: true;
619
- hasDefault: false;
620
- isPrimaryKey: false;
621
- isAutoincrement: false;
622
- hasRuntimeDefault: false;
623
- enumValues: [string, ...string[]];
624
- baseColumn: never;
625
- identity: undefined;
626
- generated: undefined;
627
- }, {}, {}>;
628
611
  userId: import("drizzle-orm/pg-core").PgColumn<{
629
612
  name: "user_id";
630
613
  tableName: "account";
@@ -858,25 +841,6 @@ declare const account: import("drizzle-orm/pg-core").PgTableWithColumns<{
858
841
  }, {}, {
859
842
  length: number | undefined;
860
843
  }>;
861
- issuer: import("drizzle-orm/sqlite-core").SQLiteColumn<{
862
- name: "issuer";
863
- tableName: "account";
864
- dataType: "string";
865
- columnType: "SQLiteText";
866
- data: string;
867
- driverParam: string;
868
- notNull: true;
869
- hasDefault: false;
870
- isPrimaryKey: false;
871
- isAutoincrement: false;
872
- hasRuntimeDefault: false;
873
- enumValues: [string, ...string[]];
874
- baseColumn: never;
875
- identity: undefined;
876
- generated: undefined;
877
- }, {}, {
878
- length: number | undefined;
879
- }>;
880
844
  userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
881
845
  name: "user_id";
882
846
  tableName: "account";
@@ -1062,7 +1026,7 @@ declare const account: import("drizzle-orm/pg-core").PgTableWithColumns<{
1062
1026
  };
1063
1027
  dialect: "sqlite";
1064
1028
  }>;
1065
- declare const verification: import("drizzle-orm/pg-core").PgTableWithColumns<{
1029
+ export declare const verification: import("drizzle-orm/pg-core").PgTableWithColumns<{
1066
1030
  name: "verification";
1067
1031
  schema: undefined;
1068
1032
  columns: {
@@ -1285,5 +1249,4 @@ declare const verification: import("drizzle-orm/pg-core").PgTableWithColumns<{
1285
1249
  };
1286
1250
  dialect: "sqlite";
1287
1251
  }>;
1288
- //#endregion
1289
- export { account, session, user, verification };
1252
+ //#endregion
@@ -4,16 +4,15 @@ import { RuntimeAdapter, UniversalMiddleware } from "@universal-middleware/core"
4
4
  * Add the Better Auth user to the context.
5
5
  * @link {@see https://better-auth.com/docs/concepts/session-management}
6
6
  */
7
- declare const betterAuthSessionMiddleware: UniversalMiddleware;
7
+ export declare const betterAuthSessionMiddleware: UniversalMiddleware;
8
8
  /**
9
9
  * Better Auth route
10
10
  * @link {@see https://better-auth.com/docs/installation}
11
11
  **/
12
- declare const betterAuthHandler: ((request: Request<unknown, CfProperties<unknown>>, _context: Universal.Context, runtime: RuntimeAdapter) => Promise<Response>) & import("@universal-middleware/core").WithUniversalSymbols<{
12
+ export declare const betterAuthHandler: ((request: Request<unknown, CfProperties<unknown>>, _context: Universal.Context, runtime: RuntimeAdapter) => Promise<Response>) & import("@universal-middleware/core").WithUniversalSymbols<{
13
13
  name: string;
14
14
  path: string;
15
15
  method: ("GET" | "POST")[];
16
16
  immutable: false;
17
17
  }>;
18
- //#endregion
19
- export { betterAuthHandler, betterAuthSessionMiddleware };
18
+ //#endregion
@@ -1,6 +1,5 @@
1
1
  import { RuntimeAdapter } from "@universal-middleware/core";
2
2
  import { BetterAuthOptions } from "better-auth";
3
3
  //#region files/server/better-auth.d.ts
4
- declare function getAuthConfig(runtime?: RuntimeAdapter): BetterAuthOptions;
5
- //#endregion
6
- export { getAuthConfig };
4
+ export declare function getAuthConfig(runtime?: RuntimeAdapter): BetterAuthOptions;
5
+ //#endregion
@@ -3,7 +3,7 @@
3
3
  import { loadPackageJson } from "@batijs/core";
4
4
  //#region ../../boilerplates/biome/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- return (await loadPackageJson(props, await import("../../../../asset-package.json-DnHh08nC.js").then((x) => x.default))).setScript("lint", {
6
+ return (await loadPackageJson(props, await import("../../../../asset-package.json-CsPkf_Nf.js").then((x) => x.default))).setScript("lint", {
7
7
  value: "biome lint --write .",
8
8
  precedence: 0
9
9
  }).setScript("format", {
@@ -15,8 +15,8 @@ var package_default = {
15
15
  devDependencies: {
16
16
  "@batijs/compile": "workspace:*",
17
17
  "@batijs/core": "workspace:*",
18
- "@biomejs/biome": "2.5.7",
19
- "@biomejs/wasm-nodejs": "^2.5.7",
18
+ "@biomejs/biome": "2.5.15",
19
+ "@biomejs/wasm-nodejs": "^2.5.15",
20
20
  "@types/node": "^20.19.37"
21
21
  },
22
22
  files: ["dist/"],
@@ -3,7 +3,7 @@
3
3
  import { loadPackageJson } from "@batijs/core";
4
4
  //#region ../../boilerplates/cloudflare/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- return (await loadPackageJson(props, await import("../../../../asset-package.json-C00xIdyh.js").then((x) => x.default))).removeScript("prod").setScript("deploy", {
6
+ return (await loadPackageJson(props, await import("../../../../asset-package.json-CQam9Kv2.js").then((x) => x.default))).removeScript("prod").setScript("deploy", {
7
7
  value: "vike build && wrangler deploy",
8
8
  precedence: 25,
9
9
  warnIfReplaced: true
@@ -16,10 +16,10 @@ var package_default = {
16
16
  devDependencies: {
17
17
  "@batijs/compile": "workspace:*",
18
18
  "@batijs/core": "workspace:*",
19
- "@cloudflare/vite-plugin": "^1.51.1",
19
+ "@cloudflare/vite-plugin": "^1.63.1",
20
20
  "@types/node": "^20.19.37",
21
- "vitest": "^4.1.10",
22
- "wrangler": "^4.120.0"
21
+ "vitest": "^4.1.11",
22
+ "wrangler": "^4.149.0"
23
23
  },
24
24
  files: ["dist/"],
25
25
  nx: { "tags": ["type:boilerplate"] }
@@ -3,7 +3,7 @@
3
3
  import { loadPackageJson } from "@batijs/core";
4
4
  //#region ../../boilerplates/compiled/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- return (await loadPackageJson(props, await import("../../../../asset-package.json-DUxbWZtN.js").then((x) => x.default))).addDevDependencies(["vite-plugin-compiled-react"]).addDependencies(["@compiled/react"]);
6
+ return (await loadPackageJson(props, await import("../../../../asset-package.json-DmJUTmV-.js").then((x) => x.default))).addDevDependencies(["vite-plugin-compiled-react"]).addDependencies(["@compiled/react"]);
7
7
  }
8
8
  //#endregion
9
9
  export { getPackageJson as default };
@@ -15,9 +15,9 @@ var package_default = {
15
15
  devDependencies: {
16
16
  "@batijs/compile": "workspace:*",
17
17
  "@batijs/core": "workspace:*",
18
- "@compiled/react": "^1.0.1",
18
+ "@compiled/react": "^1.0.2",
19
19
  "@types/node": "^20.19.37",
20
- "vite": "^8.2.1",
20
+ "vite": "^8.3.4",
21
21
  "vite-plugin-compiled-react": "^1.3.1"
22
22
  },
23
23
  files: ["dist/"],
@@ -3,7 +3,7 @@
3
3
  import { loadPackageJson } from "@batijs/core";
4
4
  //#region ../../boilerplates/d1/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- return (await loadPackageJson(props, await import("../../../../asset-package.json-D737QeLo.js").then((x) => x.default))).addDevDependencies(["@universal-middleware/core"]);
6
+ return (await loadPackageJson(props, await import("../../../../asset-package.json-CeIu_DYT.js").then((x) => x.default))).addDevDependencies(["@universal-middleware/core"]);
7
7
  }
8
8
  //#endregion
9
9
  export { getPackageJson as default };
@@ -16,9 +16,9 @@ var package_default = {
16
16
  "@batijs/compile": "workspace:*",
17
17
  "@batijs/core": "workspace:*",
18
18
  "@types/node": "^20.19.37",
19
- "@universal-middleware/core": "^0.4.18",
20
- "vike": "^0.4.260",
21
- "wrangler": "^4.120.0"
19
+ "@universal-middleware/core": "^0.6.2",
20
+ "vike": "^0.4.267",
21
+ "wrangler": "^4.149.0"
22
22
  },
23
23
  files: ["dist/"],
24
24
  exports: { "./database/d1/helpers": { "types": "./dist/types/database/d1/helpers.d.mts" } },
@@ -3,6 +3,5 @@ import { RuntimeAdapter } from "@universal-middleware/core";
3
3
  /**
4
4
  * Retrieve Cloudflare `env.DB` from `universal-middleware` runtime
5
5
  */
6
- declare function getDbFromRuntime(runtime: RuntimeAdapter): Promise<D1Database>;
7
- //#endregion
8
- export { getDbFromRuntime };
6
+ export declare function getDbFromRuntime(runtime: RuntimeAdapter): Promise<D1Database>;
7
+ //#endregion
@@ -3,7 +3,7 @@
3
3
  import { loadPackageJson } from "@batijs/core";
4
4
  //#region ../../boilerplates/d1-sqlite/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- return (await loadPackageJson(props, await import("../../../../asset-package.json-B9fQhA_A.js").then((x) => x.default))).setScript("d1:migrate", {
6
+ return (await loadPackageJson(props, await import("../../../../asset-package.json-CoFmWo1I.js").then((x) => x.default))).setScript("d1:migrate", {
7
7
  value: "wrangler d1 migrations apply MY_VIKE_DEMO_DATABASE --local",
8
8
  precedence: 0
9
9
  }).setScript("d1:deploy", {
@@ -16,8 +16,8 @@ var package_default = {
16
16
  "@batijs/compile": "workspace:*",
17
17
  "@batijs/core": "workspace:*",
18
18
  "@types/node": "^20.19.37",
19
- "@universal-middleware/core": "^0.4.18",
20
- "vike": "^0.4.260"
19
+ "@universal-middleware/core": "^0.6.2",
20
+ "vike": "^0.4.267"
21
21
  },
22
22
  files: ["dist/"],
23
23
  exports: { "./database/d1/queries/todos": { "types": "./dist/types/database/d1/queries/todos.d.mts" } },
@@ -1,8 +1,7 @@
1
1
  //#region files/database/d1/queries/todos.d.ts
2
- declare function insertTodo(db: D1Database, text: string): Promise<D1Result<Record<string, unknown>>>;
3
- declare function getAllTodos(db: D1Database): Promise<{
2
+ export declare function insertTodo(db: D1Database, text: string): Promise<D1Result<Record<string, unknown>>>;
3
+ export declare function getAllTodos(db: D1Database): Promise<{
4
4
  id: number;
5
5
  text: string;
6
6
  }[]>;
7
- //#endregion
8
- export { getAllTodos, insertTodo };
7
+ //#endregion
@@ -4,7 +4,8 @@ import { t as composeEnvEntries } from "../../../../asset-env-DvKtWq7P.js";
4
4
  import { setComposeEnvironment } from "@batijs/core";
5
5
  //#region ../../boilerplates/docker-compose/dist/files/$docker-compose.yml.mjs
6
6
  async function getDockerCompose(props) {
7
- return setComposeEnvironment(await props.readfile(), composeEnvEntries(props.env));
7
+ const code = await props.readfile();
8
+ return setComposeEnvironment(code, composeEnvEntries(props.env));
8
9
  }
9
10
  //#endregion
10
11
  export { getDockerCompose as default };
@@ -3,7 +3,7 @@
3
3
  import { loadPackageJson } from "@batijs/core";
4
4
  //#region ../../boilerplates/docker-compose/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- return (await loadPackageJson(props, await import("../../../../asset-package.json-C5n7w3va.js").then((x) => x.default))).setScript("prod", {
6
+ return (await loadPackageJson(props, await import("../../../../asset-package.json-BU9-a27h.js").then((x) => x.default))).setScript("prod", {
7
7
  value: "docker compose up -d --build",
8
8
  precedence: 25,
9
9
  warnIfReplaced: true
@@ -17,7 +17,7 @@ var package_default = {
17
17
  "@batijs/compile": "workspace:*",
18
18
  "@batijs/core": "workspace:*",
19
19
  "@types/node": "^20.19.37",
20
- "vitest": "^4.1.10"
20
+ "vitest": "^4.1.11"
21
21
  },
22
22
  nx: { "tags": ["type:boilerplate"] },
23
23
  files: ["dist/"]
@@ -3,7 +3,7 @@
3
3
  import { loadPackageJson } from "@batijs/core";
4
4
  //#region ../../boilerplates/drizzle/dist/files/$package.json.mjs
5
5
  async function getPackageJson(props) {
6
- const packageJson = await loadPackageJson(props, await import("../../../../asset-package.json-DcFKh5ZX.js").then((x) => x.default));
6
+ const packageJson = await loadPackageJson(props, await import("../../../../asset-package.json-BHhJFp1f.js").then((x) => x.default));
7
7
  const hasPostgres = props.meta.BATI.has("postgres");
8
8
  const hasSqliteEngine = !props.meta.BATI.hasD1 && !hasPostgres;
9
9
  return packageJson.setScript("drizzle:generate", {
@@ -19,8 +19,8 @@ var package_default = {
19
19
  "@types/better-sqlite3": "^9.6.0",
20
20
  "@types/node": "^20.19.37",
21
21
  "better-sqlite3": "^13.0.3",
22
- "drizzle-kit": "^0.31.10",
23
- "drizzle-orm": "^0.45.2",
22
+ "drizzle-kit": "^0.31.11",
23
+ "drizzle-orm": "^0.45.4",
24
24
  "postgres": "^3.4.9"
25
25
  },
26
26
  files: ["dist/"],
@@ -1,14 +1,13 @@
1
1
  import Database from "better-sqlite3";
2
2
  import postgres from "postgres";
3
3
  //#region files/database/drizzle/db.d.ts
4
- declare function dbSqlite(): import("drizzle-orm/better-sqlite3").BetterSQLite3Database<Record<string, never>> & {
4
+ export declare function dbSqlite(): import("drizzle-orm/better-sqlite3").BetterSQLite3Database<Record<string, never>> & {
5
5
  $client: Database.Database;
6
6
  };
7
- declare function dbD1(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Database<Record<string, never>> & {
7
+ export declare function dbD1(d1: D1Database): import("drizzle-orm/d1").DrizzleD1Database<Record<string, never>> & {
8
8
  $client: D1Database;
9
9
  };
10
- declare function dbPostgres(): import("drizzle-orm/postgres-js").PostgresJsDatabase<Record<string, never>> & {
10
+ export declare function dbPostgres(): import("drizzle-orm/postgres-js").PostgresJsDatabase<Record<string, never>> & {
11
11
  $client: postgres.Sql<{}>;
12
12
  };
13
- //#endregion
14
- export { dbD1, dbPostgres, dbSqlite };
13
+ //#endregion
@@ -1,14 +1,13 @@
1
1
  import { dbD1, dbPostgres, dbSqlite } from "../db.mjs";
2
2
  //#region files/database/drizzle/queries/todos.d.ts
3
- declare function insertTodo(db: $$.If<{
3
+ export declare function insertTodo(db: $$.If<{
4
4
  '$$.BATI.has("postgres")': ReturnType<typeof dbPostgres>;
5
5
  "!$$.BATI.hasD1": ReturnType<typeof dbSqlite>;
6
6
  _: ReturnType<typeof dbD1>;
7
7
  }>, text: string): any;
8
- declare function getAllTodos(db: $$.If<{
8
+ export declare function getAllTodos(db: $$.If<{
9
9
  '$$.BATI.has("postgres")': ReturnType<typeof dbPostgres>;
10
10
  "!$$.BATI.hasD1": ReturnType<typeof dbSqlite>;
11
11
  _: ReturnType<typeof dbD1>;
12
12
  }, "union">): Promise<any>;
13
- //#endregion
14
- export { getAllTodos, insertTodo };
13
+ //#endregion
@@ -1,5 +1,5 @@
1
1
  //#region files/database/drizzle/schema/todos.d.ts
2
- declare const todoTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
2
+ export declare const todoTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
3
3
  name: "todos";
4
4
  schema: undefined;
5
5
  columns: {
@@ -84,7 +84,6 @@ declare const todoTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
84
84
  };
85
85
  dialect: "sqlite";
86
86
  }>;
87
- type TodoItem = typeof todoTable.$inferSelect;
88
- type TodoInsert = typeof todoTable.$inferInsert;
89
- //#endregion
90
- export { TodoInsert, TodoItem, todoTable };
87
+ export type TodoItem = typeof todoTable.$inferSelect;
88
+ export type TodoInsert = typeof todoTable.$inferInsert;
89
+ //#endregion