@batijs/cli 0.0.650 → 0.0.652
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.
- package/dist/{asset-package.json-Wd5j3EKB.js → asset-package.json-0oMdGF0g.js} +1 -1
- package/dist/{asset-package.json-CFrBrqtV.js → asset-package.json-B0NdK0ho.js} +2 -2
- package/dist/{asset-package.json-9qjIK96w.js → asset-package.json-B8AVDNBU.js} +1 -1
- package/dist/{asset-package.json-By7CVlYM.js → asset-package.json-BklLTc-3.js} +2 -2
- package/dist/{asset-package.json-CAXFrLbi.js → asset-package.json-BmDnXWQm.js} +2 -2
- package/dist/{asset-package.json-PRKYrxEU.js → asset-package.json-BmtFF7PF.js} +1 -1
- package/dist/{asset-package.json-BkoVqsYe.js → asset-package.json-CDymEsIZ.js} +1 -1
- package/dist/{asset-package.json-C_aGwesI.js → asset-package.json-CEuTzbzC.js} +1 -1
- package/dist/{asset-package.json-Dcax-8-H.js → asset-package.json-CJw7XEsv.js} +4 -4
- package/dist/{asset-package.json-CBKGvpRO.js → asset-package.json-CS3bcBbB.js} +2 -2
- package/dist/{asset-package.json-BO_mG8iv.js → asset-package.json-CeCtp88g.js} +1 -1
- package/dist/{asset-package.json-BjED634i.js → asset-package.json-CuYvHpfF.js} +1 -1
- package/dist/{asset-package.json-IZ_nF8HA.js → asset-package.json-CvDm4Paq.js} +3 -3
- package/dist/{asset-package.json-2qBJNO7t.js → asset-package.json-D1flHhPS.js} +1 -1
- package/dist/{asset-package.json-F_LaGIFG.js → asset-package.json-DID-HIRh.js} +1 -1
- package/dist/{asset-package.json-Dp8_jZlq.js → asset-package.json-DP7v-FYq.js} +1 -1
- package/dist/{asset-package.json-DobDM57N.js → asset-package.json-DQGSDwIQ.js} +1 -1
- package/dist/{asset-package.json-B4-el3C8.js → asset-package.json-DSgQY-Gf.js} +3 -3
- package/dist/{asset-package.json-Bz2A-j3e.js → asset-package.json-DldqNQpY.js} +1 -1
- package/dist/{asset-package.json-D__Qv8zc.js → asset-package.json-NB4WcxPN.js} +1 -1
- package/dist/{asset-package.json-JX4l_iJo.js → asset-package.json-O4v_VJIB.js} +3 -3
- package/dist/{asset-package.json-BvDYjR1q.js → asset-package.json-QlrVXkbH.js} +3 -3
- package/dist/{asset-package.json-CEIIoP83.js → asset-package.json-UccRgYgA.js} +1 -1
- package/dist/{asset-package.json-BD7JeKOS.js → asset-package.json-oXC06ijh.js} +2 -2
- package/dist/{asset-package.json-CuqCIRq1.js → asset-package.json-uf2g2h8M.js} +1 -1
- package/dist/{asset-package2.json-BvSATRUX.js → asset-package2.json-BTOfT2Qt.js} +2 -2
- package/dist/{asset-package2.json-DPPOFRzH.js → asset-package2.json-BcQxgRCo.js} +1 -1
- package/dist/{asset-package2.json-4ZXPt1c-.js → asset-package2.json-Bn9yI1Th.js} +1 -1
- package/dist/{asset-package2.json-Cqt3zXsB.js → asset-package2.json-KyL19vnl.js} +1 -1
- package/dist/{asset-package2.json-B0r28M_8.js → asset-package2.json-tycQSmlY.js} +2 -2
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/authjs/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/authjs/files/server/authjs-handler.ts +1 -1
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/asset-package.json.mjs +4 -4
- package/dist/boilerplates/@batijs/aws/files/cdk/bin/infrastructure.ts +1 -1
- package/dist/boilerplates/@batijs/better-auth/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/better-auth/files/asset-package.json.mjs +3 -3
- package/dist/boilerplates/@batijs/better-auth/files/database/better-auth/migrate.ts +1 -3
- package/dist/boilerplates/@batijs/better-auth/files/database/drizzle/schema/auth.ts +5 -5
- package/dist/boilerplates/@batijs/better-auth/files/server/better-auth-handler.ts +2 -2
- package/dist/boilerplates/@batijs/better-auth/files/server/better-auth.ts +8 -8
- package/dist/boilerplates/@batijs/biome/files/$biome.json.js +3 -3
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/biome/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +9 -9
- package/dist/boilerplates/@batijs/cloudflare/files/asset-package.json.mjs +3 -3
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +9 -9
- package/dist/boilerplates/@batijs/compiled/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/docker-compose/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/docker-compose/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/docker-compose/files/docker-compose.yml +6 -6
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/db.ts +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/queries/todos.ts +10 -10
- package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/schema/todos.ts +2 -2
- package/dist/boilerplates/@batijs/drizzle/files/drizzle.config.ts +3 -3
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/todos.d.mts +6 -6
- package/dist/boilerplates/@batijs/edgeone/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/elysia/files/+server.ts +1 -1
- package/dist/boilerplates/@batijs/elysia/files/server/elysia.ts +9 -9
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/eslint/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/eslint/files/eslint.config.ts +14 -14
- package/dist/boilerplates/@batijs/express/files/+server.ts +10 -10
- package/dist/boilerplates/@batijs/fastify/files/+server.ts +10 -10
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hono/files/+server.ts +2 -2
- package/dist/boilerplates/@batijs/hono/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/hono/files/entry_aws_lambda.ts +1 -3
- package/dist/boilerplates/@batijs/hono/files/server/hono.ts +9 -9
- package/dist/boilerplates/@batijs/kysely/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/kysely/files/$vite.config.ts.js +9 -12
- package/dist/boilerplates/@batijs/kysely/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/kysely/files/database/kysely/db.ts +5 -5
- package/dist/boilerplates/@batijs/kysely/files/database/kysely/migrate.ts +2 -4
- package/dist/boilerplates/@batijs/kysely/files/database/kysely/migrations/001_create_todos_table.ts +2 -3
- package/dist/boilerplates/@batijs/kysely/files/database/kysely/queries/todos.ts +8 -8
- package/dist/boilerplates/@batijs/kysely/files/vite-plugin-input.ts +1 -2
- package/dist/boilerplates/@batijs/kysely/types/database/kysely/queries/todos.d.mts +8 -8
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/asset-package.json.mjs +3 -3
- package/dist/boilerplates/@batijs/netlify/files/$vite.config.ts.js +8 -8
- package/dist/boilerplates/@batijs/oxlint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/oxlint/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/postgres/files/database/postgres/db.ts +1 -1
- package/dist/boilerplates/@batijs/postgres/files/database/postgres/schema/todos.ts +1 -1
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/prettier/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/react/files/asset-package.json.mjs +3 -3
- package/dist/boilerplates/@batijs/react/files/assets/logo.svg +1 -0
- package/dist/boilerplates/@batijs/react/files/pages/+Head.tsx +6 -6
- package/dist/boilerplates/@batijs/react/files/pages/+Layout.tsx +14 -14
- package/dist/boilerplates/@batijs/react/files/pages/+config.ts +3 -3
- package/dist/boilerplates/@batijs/react/files/pages/index/+Page.tsx +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/index/Counter.tsx +3 -3
- package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +6 -6
- package/dist/boilerplates/@batijs/react-better-auth/files/pages/account/+Page.tsx +1 -1
- package/dist/boilerplates/@batijs/react-better-auth/files/pages/login/+Page.tsx +4 -4
- package/dist/boilerplates/@batijs/react-better-auth/files/pages/signup/+Page.tsx +4 -4
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/react-sentry/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +10 -10
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +12 -18
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -27
- package/dist/boilerplates/@batijs/shadcn-ui/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/shared/files/vite.config.ts +1 -1
- package/dist/boilerplates/@batijs/shared-db/files/server/db-middleware.ts +21 -21
- package/dist/boilerplates/@batijs/shared-db/types/server/db-middleware.d.mts +10 -10
- package/dist/boilerplates/@batijs/shared-env/files/server/env.ts +6 -4
- package/dist/boilerplates/@batijs/shared-env/files/server/load.ts +1 -1
- package/dist/boilerplates/@batijs/shared-env/types/server/env.d.mts +2 -2
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/server/create-todo-handler.ts +16 -16
- package/dist/boilerplates/@batijs/shared-server/types/server/create-todo-handler.d.mts +10 -10
- package/dist/boilerplates/@batijs/shared-todo/files/global.d.ts +11 -11
- package/dist/boilerplates/@batijs/shared-todo/files/pages/todo/+config.ts +1 -4
- package/dist/boilerplates/@batijs/shared-todo/files/pages/todo/+data.ts +5 -5
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/solid/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/solid/files/assets/logo.svg +1 -0
- package/dist/boilerplates/@batijs/solid/files/pages/+Head.tsx +3 -4
- package/dist/boilerplates/@batijs/solid/files/pages/+Layout.tsx +10 -10
- package/dist/boilerplates/@batijs/solid/files/pages/+config.ts +3 -3
- package/dist/boilerplates/@batijs/solid/files/pages/index/Counter.tsx +2 -2
- package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +6 -6
- package/dist/boilerplates/@batijs/solid-better-auth/files/pages/account/+Page.tsx +1 -1
- package/dist/boilerplates/@batijs/solid-better-auth/files/pages/login/+Page.tsx +4 -4
- package/dist/boilerplates/@batijs/solid-better-auth/files/pages/signup/+Page.tsx +4 -4
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/solid-sentry/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/db.ts +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/schema/todos.ts +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/tailwindcss/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/tailwindcss/files/pages/tailwind.css +2 -2
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +8 -8
- package/dist/boilerplates/@batijs/telefunc/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/global.d.ts +12 -12
- package/dist/boilerplates/@batijs/telefunc/files/pages/todo/TodoList.telefunc.ts +5 -5
- package/dist/boilerplates/@batijs/telefunc/files/server/telefunc-handler.ts +12 -12
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/trpc/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/trpc/files/server/trpc-handler.ts +4 -4
- package/dist/boilerplates/@batijs/trpc/files/trpc/server.ts +15 -15
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/ts-rest/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/ts-rest/files/server/ts-rest-handler.ts +15 -15
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +8 -8
- package/dist/boilerplates/@batijs/vercel/files/asset-package.json.mjs +1 -1
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/vue/files/asset-package.json.mjs +2 -2
- package/dist/boilerplates/@batijs/vue/files/assets/logo.svg +1 -0
- package/dist/boilerplates/@batijs/vue/files/components/Content.vue +2 -2
- package/dist/boilerplates/@batijs/vue/files/components/{Counter.vue → CounterButton.vue} +3 -3
- package/dist/boilerplates/@batijs/vue/files/components/Logo.vue +2 -2
- package/dist/boilerplates/@batijs/vue/files/components/Sidebar.vue +2 -2
- package/dist/boilerplates/@batijs/vue/files/pages/+Head.vue +2 -3
- package/dist/boilerplates/@batijs/vue/files/pages/+Layout.vue +7 -7
- package/dist/boilerplates/@batijs/vue/files/pages/+config.ts +3 -3
- package/dist/boilerplates/@batijs/vue/files/pages/+onCreateApp.ts +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/index/+Page.vue +2 -2
- package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +8 -8
- package/dist/boilerplates/@batijs/vue/types/node_modules/.bun/{vike-vue@0.9.11+7230c3f931f788a8 → vike-vue@0.9.11+b486b24823877407}/node_modules/vike-vue/dist/types/VikeHooks.d.mts +1 -1
- package/dist/boilerplates/@batijs/vue/types/pages/+onCreateApp.d.mts +1 -1
- package/dist/boilerplates/@batijs/vue-better-auth/files/pages/account/+Page.vue +1 -1
- package/dist/boilerplates/@batijs/vue-better-auth/files/pages/login/+Page.vue +3 -3
- package/dist/boilerplates/@batijs/vue-better-auth/files/pages/signup/+Page.vue +2 -2
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vue-sentry/files/asset-package.json.mjs +2 -2
- package/dist/index.js +40 -43
- package/package.json +7 -7
- /package/dist/boilerplates/@batijs/vue/files/components/{Link.vue → NavLink.vue} +0 -0
- /package/dist/boilerplates/@batijs/vue/types/node_modules/.bun/{vike-vue@0.9.11+7230c3f931f788a8 → vike-vue@0.9.11+b486b24823877407}/node_modules/vike-vue/dist/types/public.d.mts +0 -0
|
@@ -22,9 +22,9 @@ var package_default = {
|
|
|
22
22
|
"autoprefixer": "^10.5.0",
|
|
23
23
|
"class-variance-authority": "^0.7.1",
|
|
24
24
|
"clsx": "^2.1.1",
|
|
25
|
-
"lucide-react": "^1.
|
|
25
|
+
"lucide-react": "^1.18.0",
|
|
26
26
|
"tailwind-merge": "^3.6.0",
|
|
27
|
-
"tailwindcss": "^4.3.
|
|
27
|
+
"tailwindcss": "^4.3.1",
|
|
28
28
|
"tw-animate-css": "^1.4.0"
|
|
29
29
|
},
|
|
30
30
|
files: ["dist/"],
|
|
@@ -20,7 +20,7 @@ var package_default = {
|
|
|
20
20
|
"@batijs/shared-env": "workspace:*",
|
|
21
21
|
"@types/better-sqlite3": "^7.6.13",
|
|
22
22
|
"@types/node": "^20.19.37",
|
|
23
|
-
"better-sqlite3": "^12.10.
|
|
23
|
+
"better-sqlite3": "^12.10.1",
|
|
24
24
|
"drizzle-kit": "^0.31.10",
|
|
25
25
|
"drizzle-orm": "^0.45.2",
|
|
26
26
|
"postgres": "^3.4.9"
|
|
@@ -17,11 +17,11 @@ var package_default = {
|
|
|
17
17
|
devDependencies: {
|
|
18
18
|
"@batijs/compile": "workspace:*",
|
|
19
19
|
"@batijs/core": "workspace:*",
|
|
20
|
-
"@tailwindcss/vite": "^4.3.
|
|
20
|
+
"@tailwindcss/vite": "^4.3.1",
|
|
21
21
|
"@types/node": "^20.19.37",
|
|
22
22
|
"autoprefixer": "^10.5.0",
|
|
23
23
|
"daisyui": "^5.5.23",
|
|
24
|
-
"tailwindcss": "^4.3.
|
|
24
|
+
"tailwindcss": "^4.3.1",
|
|
25
25
|
"vike": "0.4.259",
|
|
26
26
|
"vite": "^8.0.16"
|
|
27
27
|
},
|
|
@@ -18,10 +18,10 @@ var package_default = {
|
|
|
18
18
|
"@batijs/compile": "workspace:*",
|
|
19
19
|
"@batijs/core": "workspace:*",
|
|
20
20
|
"@batijs/shared-env": "workspace:*",
|
|
21
|
-
"@cloudflare/workers-types": "^4.
|
|
21
|
+
"@cloudflare/workers-types": "^4.20260615.1",
|
|
22
22
|
"@types/better-sqlite3": "^7.6.13",
|
|
23
23
|
"@types/node": "^20.19.37",
|
|
24
|
-
"better-sqlite3": "^12.10.
|
|
24
|
+
"better-sqlite3": "^12.10.1",
|
|
25
25
|
"kysely": "^0.29.2",
|
|
26
26
|
"kysely-d1": "^0.4.0",
|
|
27
27
|
"kysely-postgres-js": "^3.0.0",
|
|
@@ -17,7 +17,7 @@ var package_default = {
|
|
|
17
17
|
devDependencies: {
|
|
18
18
|
"@batijs/compile": "workspace:*",
|
|
19
19
|
"@batijs/core": "workspace:*",
|
|
20
|
-
"@sentry/solid": "^10.
|
|
20
|
+
"@sentry/solid": "^10.57.0",
|
|
21
21
|
"@types/node": "^20.19.37",
|
|
22
22
|
"solid-js": "^1.9.13",
|
|
23
23
|
"vike-solid": "^0.8.2",
|
|
@@ -18,7 +18,7 @@ var package_default = {
|
|
|
18
18
|
"@batijs/compile": "workspace:*",
|
|
19
19
|
"@batijs/core": "workspace:*",
|
|
20
20
|
"@types/node": "^20.19.37",
|
|
21
|
-
"@universal-middleware/core": "^0.4.
|
|
21
|
+
"@universal-middleware/core": "^0.4.18",
|
|
22
22
|
"vike": "0.4.259"
|
|
23
23
|
},
|
|
24
24
|
files: ["dist/"],
|
|
@@ -20,15 +20,15 @@ var package_default = {
|
|
|
20
20
|
"@types/node": "^20.19.37",
|
|
21
21
|
"@types/which": "^3.0.4",
|
|
22
22
|
"aws-cdk": "^2.1126.0",
|
|
23
|
-
"aws-cdk-lib": "^2.
|
|
23
|
+
"aws-cdk-lib": "^2.259.0",
|
|
24
24
|
"cdk": "^2.1126.0",
|
|
25
25
|
"constructs": "^10.6.0",
|
|
26
|
-
"esbuild": "^0.28.
|
|
27
|
-
"npm-run-all2": "^9.0.
|
|
26
|
+
"esbuild": "^0.28.1",
|
|
27
|
+
"npm-run-all2": "^9.0.2",
|
|
28
28
|
"source-map-support": "^0.5.21",
|
|
29
29
|
"tsx": "^4.22.4",
|
|
30
30
|
"typescript": "^6.0.3",
|
|
31
|
-
"vitest": "^4.1.
|
|
31
|
+
"vitest": "^4.1.9",
|
|
32
32
|
"which": "^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
files: ["dist/"],
|
|
@@ -18,9 +18,9 @@ var package_default = {
|
|
|
18
18
|
"@batijs/compile": "workspace:*",
|
|
19
19
|
"@batijs/core": "workspace:*",
|
|
20
20
|
"@types/node": "^20.19.37",
|
|
21
|
-
"@universal-middleware/core": "^0.4.
|
|
21
|
+
"@universal-middleware/core": "^0.4.18",
|
|
22
22
|
"vike": "0.4.259",
|
|
23
|
-
"wrangler": "^4.
|
|
23
|
+
"wrangler": "^4.100.0"
|
|
24
24
|
},
|
|
25
25
|
files: ["dist/"],
|
|
26
26
|
exports: { "./database/d1/helpers": { "types": "./dist/types/database/d1/helpers.d.mts" } },
|
|
@@ -24,7 +24,7 @@ var package_default = {
|
|
|
24
24
|
"@batijs/postgres": "workspace:*",
|
|
25
25
|
"@batijs/sqlite": "workspace:*",
|
|
26
26
|
"@types/node": "^20.19.37",
|
|
27
|
-
"@universal-middleware/core": "^0.4.
|
|
27
|
+
"@universal-middleware/core": "^0.4.18",
|
|
28
28
|
"vike": "0.4.259",
|
|
29
29
|
"vite": "^8.0.16"
|
|
30
30
|
},
|
|
@@ -25,17 +25,17 @@ var package_default = {
|
|
|
25
25
|
"@batijs/telefunc": "workspace:*",
|
|
26
26
|
"@batijs/trpc": "workspace:*",
|
|
27
27
|
"@batijs/ts-rest": "workspace:*",
|
|
28
|
-
"@mantine/core": "^9.3.
|
|
28
|
+
"@mantine/core": "^9.3.1",
|
|
29
29
|
"@types/node": "^20.19.37",
|
|
30
30
|
"@types/react": "^19.2.17",
|
|
31
31
|
"@types/react-dom": "^19.2.3",
|
|
32
32
|
"@vitejs/plugin-react": "^6.0.2",
|
|
33
33
|
"react": "^19.2.7",
|
|
34
34
|
"react-dom": "^19.2.7",
|
|
35
|
-
"tailwindcss": "^4.3.
|
|
35
|
+
"tailwindcss": "^4.3.1",
|
|
36
36
|
"typescript": "^6.0.3",
|
|
37
37
|
"vike": "0.4.259",
|
|
38
|
-
"vike-react": "^0.6.
|
|
38
|
+
"vike-react": "^0.6.24",
|
|
39
39
|
"vite": "^8.0.16",
|
|
40
40
|
"vite-plugin-compiled-react": "^1.3.1"
|
|
41
41
|
},
|
|
@@ -19,7 +19,7 @@ var package_default = {
|
|
|
19
19
|
"@batijs/core": "workspace:*",
|
|
20
20
|
"@batijs/shared-env": "workspace:*",
|
|
21
21
|
"@types/node": "^20.19.37",
|
|
22
|
-
"@universal-middleware/core": "^0.4.
|
|
22
|
+
"@universal-middleware/core": "^0.4.18"
|
|
23
23
|
},
|
|
24
24
|
dependencies: { "@auth/core": "^0.41.2" },
|
|
25
25
|
files: ["dist/"],
|
|
@@ -18,10 +18,10 @@ var package_default = {
|
|
|
18
18
|
devDependencies: {
|
|
19
19
|
"@batijs/compile": "workspace:*",
|
|
20
20
|
"@batijs/core": "workspace:*",
|
|
21
|
-
"@cloudflare/vite-plugin": "^1.40.
|
|
21
|
+
"@cloudflare/vite-plugin": "^1.40.2",
|
|
22
22
|
"@types/node": "^20.19.37",
|
|
23
|
-
"vitest": "^4.1.
|
|
24
|
-
"wrangler": "^4.
|
|
23
|
+
"vitest": "^4.1.9",
|
|
24
|
+
"wrangler": "^4.100.0"
|
|
25
25
|
},
|
|
26
26
|
files: ["dist/"],
|
|
27
27
|
nx: { "tags": ["type:boilerplate"] }
|
|
@@ -23,7 +23,7 @@ var package_default = {
|
|
|
23
23
|
"@batijs/postgres": "workspace:*",
|
|
24
24
|
"@batijs/sqlite": "workspace:*",
|
|
25
25
|
"@types/node": "^20.19.37",
|
|
26
|
-
"@universal-middleware/core": "^0.4.
|
|
26
|
+
"@universal-middleware/core": "^0.4.18",
|
|
27
27
|
"telefunc": "^0.2.20",
|
|
28
28
|
"vike": "0.4.259",
|
|
29
29
|
"vite": "^8.0.16"
|
|
@@ -21,8 +21,8 @@ var package_default = {
|
|
|
21
21
|
"@batijs/shared-env": "workspace:*",
|
|
22
22
|
"@types/better-sqlite3": "^7.6.13",
|
|
23
23
|
"@types/node": "^20.19.37",
|
|
24
|
-
"@universal-middleware/core": "^0.4.
|
|
25
|
-
"better-sqlite3": "^12.10.
|
|
24
|
+
"@universal-middleware/core": "^0.4.18",
|
|
25
|
+
"better-sqlite3": "^12.10.1",
|
|
26
26
|
"drizzle-orm": "^0.45.2",
|
|
27
27
|
"kysely": "^0.29.2",
|
|
28
28
|
"kysely-d1": "^0.4.0",
|
|
@@ -30,7 +30,7 @@ var package_default = {
|
|
|
30
30
|
"postgres": "^3.4.9",
|
|
31
31
|
"tsx": "^4.22.4"
|
|
32
32
|
},
|
|
33
|
-
dependencies: { "better-auth": "^1.6.
|
|
33
|
+
dependencies: { "better-auth": "^1.6.18" },
|
|
34
34
|
files: ["dist/"],
|
|
35
35
|
exports: {
|
|
36
36
|
"./database/better-auth/migrate": { "types": "./dist/types/database/better-auth/migrate.d.mts" },
|
|
@@ -18,8 +18,8 @@ var package_default = {
|
|
|
18
18
|
"@batijs/compile": "workspace:*",
|
|
19
19
|
"@batijs/core": "workspace:*",
|
|
20
20
|
"@batijs/react": "workspace:*",
|
|
21
|
-
"@mantine/core": "^9.3.
|
|
22
|
-
"@mantine/hooks": "^9.3.
|
|
21
|
+
"@mantine/core": "^9.3.1",
|
|
22
|
+
"@mantine/hooks": "^9.3.1",
|
|
23
23
|
"@types/node": "^20.19.37",
|
|
24
24
|
"@types/react": "^19.2.17",
|
|
25
25
|
"@types/react-dom": "^19.2.3",
|
|
@@ -28,7 +28,7 @@ var package_default = {
|
|
|
28
28
|
"postcss-simple-vars": "^7.0.1",
|
|
29
29
|
"react": "^19.2.7",
|
|
30
30
|
"react-dom": "^19.2.7",
|
|
31
|
-
"vike-react": "^0.6.
|
|
31
|
+
"vike-react": "^0.6.24",
|
|
32
32
|
"vite": "^8.0.16",
|
|
33
33
|
"vite-plugin-compiled-react": "^1.3.1"
|
|
34
34
|
},
|
|
@@ -17,7 +17,7 @@ var package_default = {
|
|
|
17
17
|
devDependencies: {
|
|
18
18
|
"@batijs/compile": "workspace:*",
|
|
19
19
|
"@batijs/core": "workspace:*",
|
|
20
|
-
"@sentry/react": "^10.
|
|
20
|
+
"@sentry/react": "^10.57.0",
|
|
21
21
|
"@types/node": "^20.19.37",
|
|
22
22
|
"@types/react": "^19.2.17",
|
|
23
23
|
"@types/react-dom": "^19.2.3",
|
|
@@ -17,8 +17,8 @@ var package_default = {
|
|
|
17
17
|
devDependencies: {
|
|
18
18
|
"@batijs/compile": "workspace:*",
|
|
19
19
|
"@batijs/core": "workspace:*",
|
|
20
|
-
"@biomejs/biome": "2.
|
|
21
|
-
"@biomejs/wasm-nodejs": "^2.
|
|
20
|
+
"@biomejs/biome": "2.5.0",
|
|
21
|
+
"@biomejs/wasm-nodejs": "^2.5.0",
|
|
22
22
|
"@types/node": "^20.19.37"
|
|
23
23
|
},
|
|
24
24
|
files: ["dist/"],
|
|
@@ -24,12 +24,12 @@ var package_default = {
|
|
|
24
24
|
"@batijs/ts-rest": "workspace:*",
|
|
25
25
|
"@types/node": "^20.19.37",
|
|
26
26
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
27
|
-
"tailwindcss": "^4.3.
|
|
27
|
+
"tailwindcss": "^4.3.1",
|
|
28
28
|
"typescript": "^6.0.3",
|
|
29
29
|
"vike": "0.4.259",
|
|
30
30
|
"vike-vue": "^0.9.11",
|
|
31
31
|
"vite": "^8.0.16",
|
|
32
|
-
"vue": "^3.5.
|
|
32
|
+
"vue": "^3.5.38",
|
|
33
33
|
"vue-gtag": "^3.7.1"
|
|
34
34
|
},
|
|
35
35
|
files: ["dist/"],
|
|
@@ -17,11 +17,11 @@ var package_default = {
|
|
|
17
17
|
devDependencies: {
|
|
18
18
|
"@batijs/compile": "workspace:*",
|
|
19
19
|
"@batijs/core": "workspace:*",
|
|
20
|
-
"@sentry/vue": "^10.
|
|
20
|
+
"@sentry/vue": "^10.57.0",
|
|
21
21
|
"@types/node": "^20.19.37",
|
|
22
22
|
"vike-vue": "^0.9.11",
|
|
23
23
|
"vite": "^8.0.16",
|
|
24
|
-
"vue": "^3.5.
|
|
24
|
+
"vue": "^3.5.38"
|
|
25
25
|
},
|
|
26
26
|
files: ["dist/"],
|
|
27
27
|
exports: { "./sentry.browser.config": { "types": "./dist/types/sentry.browser.config.d.mts" } },
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { loadPackageJson } from "@batijs/core";
|
|
4
4
|
//#region ../../boilerplates/authjs/dist/files/$package.json.mjs
|
|
5
5
|
async function getPackageJson(props) {
|
|
6
|
-
return (await loadPackageJson(props, await import("../../../../asset-package.json-
|
|
6
|
+
return (await loadPackageJson(props, await import("../../../../asset-package.json-D1flHhPS.js").then((x) => x.default))).addDependencies(["@auth/core", "@universal-middleware/core"]);
|
|
7
7
|
}
|
|
8
8
|
//#endregion
|
|
9
9
|
export { getPackageJson as default };
|
|
@@ -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.
|
|
20
|
+
"@universal-middleware/core": "^0.4.18"
|
|
21
21
|
},
|
|
22
22
|
dependencies: { "@auth/core": "^0.41.2" },
|
|
23
23
|
files: ["dist/"],
|
|
@@ -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-
|
|
6
|
+
return (await loadPackageJson(props, await import("../../../../asset-package.json-CJw7XEsv.js").then((x) => x.default))).setScript("test", {
|
|
7
7
|
value: "vitest",
|
|
8
8
|
precedence: 0
|
|
9
9
|
}).setScript("deploy:cdk-deploy-all", {
|
|
@@ -18,15 +18,15 @@ var package_default = {
|
|
|
18
18
|
"@types/node": "^20.19.37",
|
|
19
19
|
"@types/which": "^3.0.4",
|
|
20
20
|
"aws-cdk": "^2.1126.0",
|
|
21
|
-
"aws-cdk-lib": "^2.
|
|
21
|
+
"aws-cdk-lib": "^2.259.0",
|
|
22
22
|
"cdk": "^2.1126.0",
|
|
23
23
|
"constructs": "^10.6.0",
|
|
24
|
-
"esbuild": "^0.28.
|
|
25
|
-
"npm-run-all2": "^9.0.
|
|
24
|
+
"esbuild": "^0.28.1",
|
|
25
|
+
"npm-run-all2": "^9.0.2",
|
|
26
26
|
"source-map-support": "^0.5.21",
|
|
27
27
|
"tsx": "^4.22.4",
|
|
28
28
|
"typescript": "^6.0.3",
|
|
29
|
-
"vitest": "^4.1.
|
|
29
|
+
"vitest": "^4.1.9",
|
|
30
30
|
"which": "^7.0.0"
|
|
31
31
|
},
|
|
32
32
|
files: ["dist/"],
|
|
@@ -5,7 +5,7 @@ import * as certificatemanager from "aws-cdk-lib/aws-certificatemanager";
|
|
|
5
5
|
import * as route53 from "aws-cdk-lib/aws-route53";
|
|
6
6
|
import { VikeStack } from "../lib/vike-stack";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// $$.keepCommentsIf(false)
|
|
9
9
|
// @ts-expect-error file will be generated by the transformer
|
|
10
10
|
import { stackNameSuffix } from "../stack-name-suffix.json";
|
|
11
11
|
|
|
@@ -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-
|
|
6
|
+
const packageJson = await loadPackageJson(props, await import("../../../../asset-package.json-O4v_VJIB.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,8 +19,8 @@ var package_default = {
|
|
|
19
19
|
"@batijs/shared-env": "workspace:*",
|
|
20
20
|
"@types/better-sqlite3": "^7.6.13",
|
|
21
21
|
"@types/node": "^20.19.37",
|
|
22
|
-
"@universal-middleware/core": "^0.4.
|
|
23
|
-
"better-sqlite3": "^12.10.
|
|
22
|
+
"@universal-middleware/core": "^0.4.18",
|
|
23
|
+
"better-sqlite3": "^12.10.1",
|
|
24
24
|
"drizzle-orm": "^0.45.2",
|
|
25
25
|
"kysely": "^0.29.2",
|
|
26
26
|
"kysely-d1": "^0.4.0",
|
|
@@ -28,7 +28,7 @@ var package_default = {
|
|
|
28
28
|
"postgres": "^3.4.9",
|
|
29
29
|
"tsx": "^4.22.4"
|
|
30
30
|
},
|
|
31
|
-
dependencies: { "better-auth": "^1.6.
|
|
31
|
+
dependencies: { "better-auth": "^1.6.18" },
|
|
32
32
|
files: ["dist/"],
|
|
33
33
|
exports: {
|
|
34
34
|
"./database/better-auth/migrate": { "types": "./dist/types/database/better-auth/migrate.d.mts" },
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// $$.keepFileIf(!$$.BATI.hasD1 && !$$.BATI.has("drizzle"))
|
|
3
2
|
import "@batijs/shared-env/server/load";
|
|
4
3
|
import { getMigrations } from "better-auth/db/migration";
|
|
5
4
|
import { getAuthConfig } from "../../server/better-auth";
|
|
@@ -17,4 +16,3 @@ console.log("Better Auth tables are up to date");
|
|
|
17
16
|
// The database driver keeps the event loop alive (e.g. Postgres connection pool); exit explicitly
|
|
18
17
|
// so this one-shot script terminates instead of hanging.
|
|
19
18
|
process.exit(0);
|
|
20
|
-
/*{ /if }*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* $$.keepFileIfImported */
|
|
2
2
|
import { boolean, pgTable, text as pgText, timestamp } from "drizzle-orm/pg-core";
|
|
3
3
|
import { integer, sqliteTable, text as sqliteText } from "drizzle-orm/sqlite-core";
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import { integer, sqliteTable, text as sqliteText } from "drizzle-orm/sqlite-cor
|
|
|
6
6
|
// Regenerate with `npx @better-auth/cli generate` if you customize the Better Auth config.
|
|
7
7
|
// Column names are snake_case to match Better Auth's Drizzle adapter defaults.
|
|
8
8
|
|
|
9
|
-
export const user = BATI.has("postgres")
|
|
9
|
+
export const user = $$.BATI.has("postgres")
|
|
10
10
|
? pgTable("user", {
|
|
11
11
|
id: pgText("id").primaryKey(),
|
|
12
12
|
name: pgText("name").notNull(),
|
|
@@ -26,7 +26,7 @@ export const user = BATI.has("postgres")
|
|
|
26
26
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
export const session = BATI.has("postgres")
|
|
29
|
+
export const session = $$.BATI.has("postgres")
|
|
30
30
|
? pgTable("session", {
|
|
31
31
|
id: pgText("id").primaryKey(),
|
|
32
32
|
expiresAt: timestamp("expires_at").notNull(),
|
|
@@ -48,7 +48,7 @@ export const session = BATI.has("postgres")
|
|
|
48
48
|
userId: sqliteText("user_id").notNull(),
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export const account = BATI.has("postgres")
|
|
51
|
+
export const account = $$.BATI.has("postgres")
|
|
52
52
|
? pgTable("account", {
|
|
53
53
|
id: pgText("id").primaryKey(),
|
|
54
54
|
accountId: pgText("account_id").notNull(),
|
|
@@ -80,7 +80,7 @@ export const account = BATI.has("postgres")
|
|
|
80
80
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
export const verification = BATI.has("postgres")
|
|
83
|
+
export const verification = $$.BATI.has("postgres")
|
|
84
84
|
? pgTable("verification", {
|
|
85
85
|
id: pgText("id").primaryKey(),
|
|
86
86
|
identifier: pgText("identifier").notNull(),
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import { betterAuth } from "better-auth";
|
|
8
8
|
import { getAuthConfig } from "./better-auth";
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// !$$.BATI.hasD1
|
|
11
11
|
let authSingleton: ReturnType<typeof betterAuth> | undefined;
|
|
12
12
|
|
|
13
13
|
// On Cloudflare the D1 binding is request-scoped (fresh instance per request); elsewhere it's memoized.
|
|
14
14
|
function getAuth(runtime: RuntimeAdapter) {
|
|
15
|
-
if (BATI.hasD1) {
|
|
15
|
+
if ($$.BATI.hasD1) {
|
|
16
16
|
return betterAuth(getAuthConfig(runtime));
|
|
17
17
|
} else {
|
|
18
18
|
authSingleton ??= betterAuth(getAuthConfig(runtime));
|
|
@@ -10,7 +10,7 @@ import { PostgresJSDialect } from "kysely-postgres-js";
|
|
|
10
10
|
import postgres from "postgres";
|
|
11
11
|
import * as authSchema from "../database/drizzle/schema/auth";
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
// $$.BATI.hasD1
|
|
14
14
|
function getD1(runtime?: RuntimeAdapter): D1Database {
|
|
15
15
|
if (runtime?.runtime === "workerd" && runtime.env) {
|
|
16
16
|
return runtime.env.DB as D1Database;
|
|
@@ -18,11 +18,11 @@ function getD1(runtime?: RuntimeAdapter): D1Database {
|
|
|
18
18
|
throw new Error("Cloudflare D1 binding (DB) is not available");
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
// $$.BATI.has("drizzle")
|
|
22
22
|
function getDrizzleDb(_runtime?: RuntimeAdapter) {
|
|
23
|
-
if (BATI.hasD1) {
|
|
23
|
+
if ($$.BATI.hasD1) {
|
|
24
24
|
return dbD1(getD1(_runtime));
|
|
25
|
-
} else if (BATI.has("postgres")) {
|
|
25
|
+
} else if ($$.BATI.has("postgres")) {
|
|
26
26
|
return dbPostgres();
|
|
27
27
|
} else {
|
|
28
28
|
return dbSqlite();
|
|
@@ -33,18 +33,18 @@ function getDrizzleDb(_runtime?: RuntimeAdapter) {
|
|
|
33
33
|
// With Drizzle it reuses the app's instance (Drizzle owns the schema + migrations); otherwise it
|
|
34
34
|
// opens its own connection and creates the tables via `better-auth:migrate` (or a D1 SQL migration).
|
|
35
35
|
function getDatabase(_runtime?: RuntimeAdapter): BetterAuthOptions["database"] {
|
|
36
|
-
if (BATI.has("drizzle")) {
|
|
36
|
+
if ($$.BATI.has("drizzle")) {
|
|
37
37
|
return drizzleAdapter(getDrizzleDb(_runtime), {
|
|
38
|
-
provider: BATI.has("postgres") ? "pg" : "sqlite",
|
|
38
|
+
provider: $$.BATI.has("postgres") ? "pg" : "sqlite",
|
|
39
39
|
schema: authSchema,
|
|
40
40
|
});
|
|
41
|
-
} else if (BATI.hasD1) {
|
|
41
|
+
} else if ($$.BATI.hasD1) {
|
|
42
42
|
// Cloudflare D1 is the SQLite engine on Workers, reached through Kysely's D1 dialect.
|
|
43
43
|
return {
|
|
44
44
|
db: new Kysely({ dialect: new D1Dialect({ database: getD1(_runtime) }) }),
|
|
45
45
|
type: "sqlite" as const,
|
|
46
46
|
};
|
|
47
|
-
} else if (BATI.has("postgres")) {
|
|
47
|
+
} else if ($$.BATI.has("postgres")) {
|
|
48
48
|
// postgres.js via Kysely's dialect — the same driver the rest of the app uses (and Bun-friendly).
|
|
49
49
|
if (!env.DATABASE_URL) {
|
|
50
50
|
throw new Error("Missing DATABASE_URL in .env file");
|
|
@@ -50,11 +50,11 @@ async function getBiomeJson(props) {
|
|
|
50
50
|
formatter: { indentStyle: "space" },
|
|
51
51
|
linter: {
|
|
52
52
|
enabled: true,
|
|
53
|
+
...additionalLinter,
|
|
53
54
|
rules: {
|
|
54
|
-
|
|
55
|
+
preset: "recommended",
|
|
55
56
|
...additionalLinter.rules
|
|
56
|
-
}
|
|
57
|
-
...additionalLinter
|
|
57
|
+
}
|
|
58
58
|
},
|
|
59
59
|
files: {
|
|
60
60
|
...additionalConfig.files,
|