@batijs/cli 0.0.443 → 0.0.445

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 (125) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$README.md.js +3 -3
  3. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +5 -5
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +9 -9
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
  8. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +6 -6
  9. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
  10. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +5 -5
  11. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +5 -5
  12. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  13. package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
  14. package/dist/boilerplates/@batijs/d1/files/$package.json.js +7 -7
  15. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  16. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
  17. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +6 -12
  18. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  19. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
  20. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +4 -16
  21. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +6 -6
  22. package/dist/boilerplates/@batijs/eslint/files/eslint.config.ts +5 -5
  23. package/dist/boilerplates/@batijs/express/files/$package.json.js +7 -7
  24. package/dist/boilerplates/@batijs/express/files/express-entry.ts +0 -24
  25. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +8 -8
  26. package/dist/boilerplates/@batijs/fastify/files/fastify-entry.ts +0 -24
  27. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
  28. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
  29. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +6 -6
  30. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  31. package/dist/boilerplates/@batijs/h3/files/$package.json.js +7 -7
  32. package/dist/boilerplates/@batijs/h3/files/h3-entry.ts +0 -24
  33. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +7 -7
  34. package/dist/boilerplates/@batijs/hattip/files/hattip-entry.ts +0 -24
  35. package/dist/boilerplates/@batijs/hono/files/$package.json.js +8 -8
  36. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  37. package/dist/boilerplates/@batijs/hono/files/hono-entry.ts +0 -24
  38. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  39. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +8 -8
  40. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +6 -6
  41. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
  42. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +4 -4
  43. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  44. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  45. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +4 -4
  46. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  47. package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -9
  48. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  49. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  50. package/dist/boilerplates/@batijs/react/files/layouts/LayoutDefault.tsx +1 -1
  51. package/dist/boilerplates/@batijs/react/files/pages/+config.ts +1 -1
  52. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +6 -6
  53. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  54. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  55. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +4 -4
  56. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  57. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +7 -7
  58. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  59. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +7 -7
  60. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  61. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  62. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  63. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
  64. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  65. package/dist/boilerplates/@batijs/solid/files/$package.json.js +6 -6
  66. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  67. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  68. package/dist/boilerplates/@batijs/solid/files/layouts/LayoutDefault.tsx +1 -1
  69. package/dist/boilerplates/@batijs/solid/files/pages/+config.ts +1 -1
  70. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +5 -5
  71. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  72. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  73. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +5 -17
  74. package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/schema/all.ts +0 -2
  75. package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/schema/all.d.ts +0 -1
  76. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +6 -6
  77. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  78. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +6 -6
  79. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  80. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +8 -8
  81. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +3 -3
  82. package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.ts +8 -8
  83. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +7 -7
  84. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +4 -4
  85. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  86. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  87. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
  88. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  89. package/dist/boilerplates/@batijs/vue/files/$package.json.js +6 -6
  90. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  91. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  92. package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +1 -1
  93. package/dist/boilerplates/@batijs/vue/files/pages/+config.ts +1 -1
  94. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +5 -5
  95. package/dist/boilerplates/boilerplates.json +0 -59
  96. package/dist/{chunk-4WNEELKU.js → chunk-YO6CY4MA.js} +53461 -53354
  97. package/dist/index.js +63 -92
  98. package/package.json +6 -6
  99. package/dist/boilerplates/@batijs/d1-sqlite/files/database/d1/queries/lucia-auth.ts +0 -29
  100. package/dist/boilerplates/@batijs/d1-sqlite/files/database/migrations/lucia-auth.sql +0 -20
  101. package/dist/boilerplates/@batijs/d1-sqlite/types/database/d1/queries/lucia-auth.d.ts +0 -5
  102. package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/queries/lucia-auth.ts +0 -56
  103. package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/schema/lucia-auth.ts +0 -41
  104. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/lucia-auth.d.ts +0 -25
  105. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/schema/lucia-auth.d.ts +0 -190
  106. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +0 -32
  107. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +0 -38
  108. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +0 -113
  109. package/dist/boilerplates/@batijs/lucia-auth/files/global.d.ts +0 -11
  110. package/dist/boilerplates/@batijs/lucia-auth/files/lib/lucia-auth.ts +0 -136
  111. package/dist/boilerplates/@batijs/lucia-auth/files/pages/login/+guard.ts +0 -11
  112. package/dist/boilerplates/@batijs/lucia-auth/files/pages/login/style.css +0 -94
  113. package/dist/boilerplates/@batijs/lucia-auth/files/server/lucia-auth-handlers.ts +0 -401
  114. package/dist/boilerplates/@batijs/lucia-auth/types/lib/lucia-auth.d.ts +0 -63
  115. package/dist/boilerplates/@batijs/lucia-auth/types/pages/login/+guard.d.ts +0 -3
  116. package/dist/boilerplates/@batijs/lucia-auth/types/server/lucia-auth-handlers.d.ts +0 -65
  117. package/dist/boilerplates/@batijs/react-lucia-auth/files/pages/login/+Page.tsx +0 -97
  118. package/dist/boilerplates/@batijs/react-lucia-auth/types/pages/login/+Page.d.ts +0 -2
  119. package/dist/boilerplates/@batijs/solid-lucia-auth/files/pages/login/+Page.tsx +0 -97
  120. package/dist/boilerplates/@batijs/solid-lucia-auth/types/pages/login/+Page.d.ts +0 -2
  121. package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/queries/lucia-auth.ts +0 -27
  122. package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/schema/lucia-auth.ts +0 -32
  123. package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/queries/lucia-auth.d.ts +0 -5
  124. package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/schema/lucia-auth.d.ts +0 -1
  125. package/dist/boilerplates/@batijs/vue-lucia-auth/files/pages/login/+Page.vue +0 -88
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- $ea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ ata
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,15 +52,15 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@auth/core": "^0.39.1",
54
54
  "@batijs/compile": "workspace:*",
55
- "@trpc/server": "^11.3.1",
55
+ "@trpc/server": "^11.4.1",
56
56
  "@types/express": "^5.0.3",
57
- "@types/node": "^18.19.110",
58
- "@universal-middleware/express": "^0.4.16",
57
+ "@types/node": "^18.19.111",
58
+ "@universal-middleware/express": "^0.4.17",
59
59
  "cross-env": "^7.0.3",
60
60
  dotenv: "^16.5.0",
61
61
  express: "^5.1.0",
62
62
  telefunc: "^0.2.7",
63
- tsx: "^4.19.4",
63
+ tsx: "^4.20.3",
64
64
  vike: "^0.4.231",
65
65
  vite: "^6.3.5"
66
66
  },
@@ -91,7 +91,7 @@ var require_package = __commonJS({
91
91
  }
92
92
  });
93
93
  async function getPackageJson(props) {
94
- const packageJson = await $ea(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
+ const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
95
  return packageJson.setScript("dev", {
96
96
  value: "tsx ./express-entry.ts",
97
97
  precedence: 20,
@@ -8,17 +8,6 @@ import {
8
8
  firebaseAuthLogoutHandler,
9
9
  firebaseAuthMiddleware,
10
10
  } from "@batijs/firebase-auth/server/firebase-auth-middleware";
11
- import {
12
- luciaAuthContextMiddleware,
13
- luciaAuthCookieMiddleware,
14
- luciaAuthLoginHandler,
15
- luciaAuthLogoutHandler,
16
- luciaAuthSignupHandler,
17
- luciaCsrfMiddleware,
18
- luciaDbMiddleware,
19
- luciaGithubCallbackHandler,
20
- luciaGithubLoginHandler,
21
- } from "@batijs/lucia-auth/server/lucia-auth-handlers";
22
11
  import { createTodoHandler } from "@batijs/shared-server/server/create-todo-handler";
23
12
  import { vikeHandler } from "@batijs/shared-server/server/vike-handler";
24
13
  import { telefuncHandler } from "@batijs/telefunc/server/telefunc-handler";
@@ -83,19 +72,6 @@ async function startServer() {
83
72
  app.post("/api/sessionLogout", createHandler(firebaseAuthLogoutHandler)());
84
73
  }
85
74
 
86
- if (BATI.has("lucia-auth")) {
87
- app.use(createMiddleware(luciaDbMiddleware)());
88
- app.use(createMiddleware(luciaCsrfMiddleware)());
89
- app.use(createMiddleware(luciaAuthContextMiddleware)());
90
- app.use(createMiddleware(luciaAuthCookieMiddleware)());
91
-
92
- app.post("/api/signup", createHandler(luciaAuthSignupHandler)());
93
- app.post("/api/login", createHandler(luciaAuthLoginHandler)());
94
- app.post("/api/logout", createHandler(luciaAuthLogoutHandler)());
95
- app.get("/api/login/github", createHandler(luciaGithubLoginHandler)());
96
- app.get("/api/login/github/callback", createHandler(luciaGithubCallbackHandler)());
97
- }
98
-
99
75
  if (BATI.has("trpc")) {
100
76
  /**
101
77
  * tRPC route
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- $ea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ ata
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -54,15 +54,15 @@ var require_package = __commonJS({
54
54
  "@batijs/compile": "workspace:*",
55
55
  "@fastify/middie": "^9.0.3",
56
56
  "@fastify/static": "^8.2.0",
57
- "@trpc/server": "^11.3.1",
57
+ "@trpc/server": "^11.4.1",
58
58
  "@types/express": "^5.0.3",
59
- "@types/node": "^18.19.110",
60
- "@universal-middleware/fastify": "^0.5.18",
59
+ "@types/node": "^18.19.111",
60
+ "@universal-middleware/fastify": "^0.5.19",
61
61
  "cross-env": "^7.0.3",
62
62
  dotenv: "^16.5.0",
63
- fastify: "^5.3.3",
63
+ fastify: "^5.4.0",
64
64
  telefunc: "^0.2.7",
65
- tsx: "^4.19.4",
65
+ tsx: "^4.20.3",
66
66
  vike: "^0.4.231",
67
67
  vite: "^6.3.5"
68
68
  },
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await $ea(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.setScript("dev", {
98
98
  value: "tsx ./fastify-entry.ts",
99
99
  precedence: 20,
@@ -8,17 +8,6 @@ import {
8
8
  firebaseAuthLogoutHandler,
9
9
  firebaseAuthMiddleware,
10
10
  } from "@batijs/firebase-auth/server/firebase-auth-middleware";
11
- import {
12
- luciaAuthContextMiddleware,
13
- luciaAuthCookieMiddleware,
14
- luciaAuthLoginHandler,
15
- luciaAuthLogoutHandler,
16
- luciaAuthSignupHandler,
17
- luciaCsrfMiddleware,
18
- luciaDbMiddleware,
19
- luciaGithubCallbackHandler,
20
- luciaGithubLoginHandler,
21
- } from "@batijs/lucia-auth/server/lucia-auth-handlers";
22
11
  import { createTodoHandler } from "@batijs/shared-server/server/create-todo-handler";
23
12
  import { vikeHandler } from "@batijs/shared-server/server/vike-handler";
24
13
  import { telefuncHandler } from "@batijs/telefunc/server/telefunc-handler";
@@ -93,19 +82,6 @@ async function startServer() {
93
82
  app.post("/api/sessionLogout", createHandler(firebaseAuthLogoutHandler)());
94
83
  }
95
84
 
96
- if (BATI.has("lucia-auth")) {
97
- await app.register(createMiddleware(luciaDbMiddleware)());
98
- await app.register(createMiddleware(luciaCsrfMiddleware)());
99
- await app.register(createMiddleware(luciaAuthContextMiddleware)());
100
- await app.register(createMiddleware(luciaAuthCookieMiddleware)());
101
-
102
- app.post("/api/signup", createHandler(luciaAuthSignupHandler)());
103
- app.post("/api/login", createHandler(luciaAuthLoginHandler)());
104
- app.post("/api/logout", createHandler(luciaAuthLogoutHandler)());
105
- app.get("/api/login/github", createHandler(luciaGithubLoginHandler)());
106
- app.get("/api/login/github/callback", createHandler(luciaGithubCallbackHandler)());
107
- }
108
-
109
85
  if (BATI.has("trpc")) {
110
86
  /**
111
87
  * tRPC route
@@ -3,15 +3,15 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- ata
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ bta
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/firebase-auth/dist/files/$.env.js
12
12
  async function getEnv(props) {
13
13
  const envContent = await props.readfile?.();
14
- return ata(
14
+ return bta(
15
15
  envContent,
16
16
  "GOOGLE_APPLICATION_CREDENTIALS",
17
17
  "firebase/service-account.json",
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Wea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ ita
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/firebase-auth/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await Wea(props);
13
+ const content = await ita(props);
14
14
  const todo = `
15
15
  ## *Firebase*
16
16
  - You first need to **[Create a Firebase project](https://firebase.google.com/docs/web/setup#create-project)**.
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- $ea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ ata
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,11 +51,11 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@types/node": "^18.19.110",
55
- "@universal-middleware/core": "^0.4.7",
54
+ "@types/node": "^18.19.111",
55
+ "@universal-middleware/core": "^0.4.8",
56
56
  cookie: "^1.0.2",
57
57
  dotenv: "^16.5.0",
58
- firebase: "^11.9.0",
58
+ firebase: "^11.9.1",
59
59
  "firebase-admin": "^12.7.0",
60
60
  firebaseui: "^6.1.0",
61
61
  vike: "^0.4.231",
@@ -118,7 +118,7 @@ var require_package = __commonJS({
118
118
  }
119
119
  });
120
120
  async function getPackageJson(props) {
121
- const packageJson = await $ea(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
121
+ const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
122
122
  return packageJson.addDependencies([
123
123
  "firebase",
124
124
  "firebase-admin",
@@ -3,15 +3,15 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- ata
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ bta
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/google-analytics/dist/files/$.env.js
12
12
  async function getEnv(props) {
13
13
  const envContent = await props.readfile?.();
14
- return ata(
14
+ return bta(
15
15
  envContent,
16
16
  "PUBLIC_ENV__GOOGLE_ANALYTICS",
17
17
  "G-XXXXXXXXXX",
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- $ea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ ata
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -53,17 +53,17 @@ var require_package = __commonJS({
53
53
  "@auth/core": "^0.39.1",
54
54
  "@batijs/compile": "workspace:*",
55
55
  "@hattip/polyfills": "^0.0.49",
56
- "@trpc/server": "^11.3.1",
56
+ "@trpc/server": "^11.4.1",
57
57
  "@types/express": "^5.0.3",
58
- "@types/node": "^18.19.110",
58
+ "@types/node": "^18.19.111",
59
59
  "@types/serve-static": "^1.15.8",
60
- "@universal-middleware/h3": "^0.4.10",
60
+ "@universal-middleware/h3": "^0.4.11",
61
61
  "cross-env": "^7.0.3",
62
62
  dotenv: "^16.5.0",
63
63
  h3: "~1.15.3",
64
64
  "serve-static": "^2.2.0",
65
65
  telefunc: "^0.2.7",
66
- tsx: "^4.19.4",
66
+ tsx: "^4.20.3",
67
67
  vike: "^0.4.231",
68
68
  vite: "^6.3.5"
69
69
  },
@@ -94,7 +94,7 @@ var require_package = __commonJS({
94
94
  }
95
95
  });
96
96
  async function getPackageJson(props) {
97
- const packageJson = await $ea(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
+ const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
98
98
  return packageJson.setScript("dev", {
99
99
  value: "tsx ./h3-entry.ts",
100
100
  precedence: 20,
@@ -9,17 +9,6 @@ import {
9
9
  firebaseAuthLogoutHandler,
10
10
  firebaseAuthMiddleware,
11
11
  } from "@batijs/firebase-auth/server/firebase-auth-middleware";
12
- import {
13
- luciaAuthContextMiddleware,
14
- luciaAuthCookieMiddleware,
15
- luciaAuthLoginHandler,
16
- luciaAuthLogoutHandler,
17
- luciaAuthSignupHandler,
18
- luciaCsrfMiddleware,
19
- luciaDbMiddleware,
20
- luciaGithubCallbackHandler,
21
- luciaGithubLoginHandler,
22
- } from "@batijs/lucia-auth/server/lucia-auth-handlers";
23
12
  import { createTodoHandler } from "@batijs/shared-server/server/create-todo-handler";
24
13
  import { vikeHandler } from "@batijs/shared-server/server/vike-handler";
25
14
  import { telefuncHandler } from "@batijs/telefunc/server/telefunc-handler";
@@ -95,19 +84,6 @@ async function startServer() {
95
84
  router.post("/api/sessionLogout", createHandler(firebaseAuthLogoutHandler)());
96
85
  }
97
86
 
98
- if (BATI.has("lucia-auth")) {
99
- app.use(createMiddleware(luciaDbMiddleware)());
100
- app.use(createMiddleware(luciaCsrfMiddleware)());
101
- app.use(createMiddleware(luciaAuthContextMiddleware)());
102
- app.use(createMiddleware(luciaAuthCookieMiddleware)());
103
-
104
- router.post("/api/signup", createHandler(luciaAuthSignupHandler)());
105
- router.post("/api/login", createHandler(luciaAuthLoginHandler)());
106
- router.post("/api/logout", createHandler(luciaAuthLogoutHandler)());
107
- router.get("/api/login/github", createHandler(luciaGithubLoginHandler)());
108
- router.get("/api/login/github/callback", createHandler(luciaGithubCallbackHandler)());
109
- }
110
-
111
87
  if (BATI.has("trpc")) {
112
88
  /**
113
89
  * tRPC route
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- $ea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ ata
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,7 +52,7 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@auth/core": "^0.39.1",
54
54
  "@batijs/compile": "workspace:*",
55
- "@cloudflare/workers-types": "^4.20250607.0",
55
+ "@cloudflare/workers-types": "^4.20250614.0",
56
56
  "@hattip/adapter-aws-lambda": "^0.0.49",
57
57
  "@hattip/adapter-node": "^0.0.49",
58
58
  "@hattip/adapter-vercel-edge": "^0.0.49",
@@ -61,10 +61,10 @@ var require_package = __commonJS({
61
61
  "@hattip/static": "^0.0.49",
62
62
  "@hattip/vite": "^0.0.49",
63
63
  "@hattip/walk": "^0.0.49",
64
- "@trpc/server": "^11.3.1",
64
+ "@trpc/server": "^11.4.1",
65
65
  "@types/aws-lambda": "^8.10.149",
66
- "@types/node": "^18.19.110",
67
- "@universal-middleware/hattip": "^0.4.9",
66
+ "@types/node": "^18.19.111",
67
+ "@universal-middleware/hattip": "^0.4.10",
68
68
  "cross-env": "^7.0.3",
69
69
  dotenv: "^16.5.0",
70
70
  hattip: "^0.0.33",
@@ -105,7 +105,7 @@ var require_package = __commonJS({
105
105
  }
106
106
  });
107
107
  async function getPackageJson(props) {
108
- const packageJson = await $ea(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
108
+ const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
109
109
  return packageJson.setScript("dev", {
110
110
  value: "hattip serve ./hattip-entry.ts --client",
111
111
  precedence: 20,
@@ -6,17 +6,6 @@ import {
6
6
  firebaseAuthLogoutHandler,
7
7
  firebaseAuthMiddleware,
8
8
  } from "@batijs/firebase-auth/server/firebase-auth-middleware";
9
- import {
10
- luciaAuthContextMiddleware,
11
- luciaAuthCookieMiddleware,
12
- luciaAuthLoginHandler,
13
- luciaAuthLogoutHandler,
14
- luciaAuthSignupHandler,
15
- luciaCsrfMiddleware,
16
- luciaDbMiddleware,
17
- luciaGithubCallbackHandler,
18
- luciaGithubLoginHandler,
19
- } from "@batijs/lucia-auth/server/lucia-auth-handlers";
20
9
  import { createTodoHandler } from "@batijs/shared-server/server/create-todo-handler";
21
10
  import { vikeHandler } from "@batijs/shared-server/server/vike-handler";
22
11
  import { telefuncHandler } from "@batijs/telefunc/server/telefunc-handler";
@@ -78,19 +67,6 @@ if (BATI.has("firebase-auth")) {
78
67
  router.post("/api/sessionLogout", createHandler(firebaseAuthLogoutHandler)());
79
68
  }
80
69
 
81
- if (BATI.has("lucia-auth")) {
82
- router.use(createMiddleware(luciaDbMiddleware)());
83
- router.use(createMiddleware(luciaCsrfMiddleware)());
84
- router.use(createMiddleware(luciaAuthContextMiddleware)());
85
- router.use(createMiddleware(luciaAuthCookieMiddleware)());
86
-
87
- router.post("/api/signup", createHandler(luciaAuthSignupHandler)());
88
- router.post("/api/login", createHandler(luciaAuthLoginHandler)());
89
- router.post("/api/logout", createHandler(luciaAuthLogoutHandler)());
90
- router.get("/api/login/github", createHandler(luciaGithubLoginHandler)());
91
- router.get("/api/login/github/callback", createHandler(luciaGithubCallbackHandler)());
92
- }
93
-
94
70
  if (!BATI.has("telefunc") && !BATI.has("trpc") && !BATI.has("ts-rest")) {
95
71
  router.post("/api/todo/create", createHandler(createTodoHandler)());
96
72
  }
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- $ea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ ata
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,18 +52,18 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@auth/core": "^0.39.1",
54
54
  "@batijs/compile": "workspace:*",
55
- "@cloudflare/workers-types": "^4.20250607.0",
55
+ "@cloudflare/workers-types": "^4.20250614.0",
56
56
  "@hono/node-server": "^1.14.4",
57
57
  "@hono/vite-dev-server": "^0.19.1",
58
- "@trpc/server": "^11.3.1",
58
+ "@trpc/server": "^11.4.1",
59
59
  "@types/aws-lambda": "^8.10.149",
60
- "@types/node": "^18.19.110",
61
- "@universal-middleware/hono": "^0.4.12",
60
+ "@types/node": "^18.19.111",
61
+ "@universal-middleware/hono": "^0.4.14",
62
62
  "cross-env": "^7.0.3",
63
63
  dotenv: "^16.5.0",
64
64
  hono: "^4.7.11",
65
65
  telefunc: "^0.2.7",
66
- tsx: "^4.19.4",
66
+ tsx: "^4.20.3",
67
67
  vike: "^0.4.231",
68
68
  vite: "^6.3.5"
69
69
  },
@@ -106,7 +106,7 @@ var require_package = __commonJS({
106
106
  }
107
107
  });
108
108
  async function getPackageJson(props) {
109
- const packageJson = await $ea(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
109
+ const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
110
110
  return packageJson.setScript("dev", {
111
111
  value: "vike dev",
112
112
  precedence: 20,
@@ -3,16 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Gea,
7
- sEs
8
- } from "../../../../chunk-4WNEELKU.js";
6
+ hEs,
7
+ ota
8
+ } from "../../../../chunk-YO6CY4MA.js";
9
9
  import "../../../../chunk-V7W2TXCE.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/hono/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await Gea(props);
15
- sEs(mod, {
14
+ const mod = await ota(props);
15
+ hEs(mod, {
16
16
  from: "@hono/vite-dev-server",
17
17
  constructor: "devServer",
18
18
  options: {
@@ -6,17 +6,6 @@ import {
6
6
  firebaseAuthLogoutHandler,
7
7
  firebaseAuthMiddleware,
8
8
  } from "@batijs/firebase-auth/server/firebase-auth-middleware";
9
- import {
10
- luciaAuthContextMiddleware,
11
- luciaAuthCookieMiddleware,
12
- luciaAuthLoginHandler,
13
- luciaAuthLogoutHandler,
14
- luciaAuthSignupHandler,
15
- luciaCsrfMiddleware,
16
- luciaDbMiddleware,
17
- luciaGithubCallbackHandler,
18
- luciaGithubLoginHandler,
19
- } from "@batijs/lucia-auth/server/lucia-auth-handlers";
20
9
  import { createTodoHandler } from "@batijs/shared-server/server/create-todo-handler";
21
10
  import { vikeHandler } from "@batijs/shared-server/server/vike-handler";
22
11
  import { telefuncHandler } from "@batijs/telefunc/server/telefunc-handler";
@@ -55,19 +44,6 @@ if (BATI.has("firebase-auth")) {
55
44
  app.post("/api/sessionLogout", createHandler(firebaseAuthLogoutHandler)());
56
45
  }
57
46
 
58
- if (BATI.has("lucia-auth")) {
59
- app.use(createMiddleware(luciaDbMiddleware)());
60
- app.use(createMiddleware(luciaCsrfMiddleware)());
61
- app.use(createMiddleware(luciaAuthContextMiddleware)());
62
- app.use(createMiddleware(luciaAuthCookieMiddleware)());
63
-
64
- app.post("/api/signup", createHandler(luciaAuthSignupHandler)());
65
- app.post("/api/login", createHandler(luciaAuthLoginHandler)());
66
- app.post("/api/logout", createHandler(luciaAuthLogoutHandler)());
67
- app.get("/api/login/github", createHandler(luciaGithubLoginHandler)());
68
- app.get("/api/login/github/callback", createHandler(luciaGithubCallbackHandler)());
69
- }
70
-
71
47
  if (BATI.has("trpc")) {
72
48
  /**
73
49
  * tRPC route
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Wea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ ita
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/mantine/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await Wea(props);
13
+ const content = await ita(props);
14
14
  const todo = `
15
15
  ## Mantine
16
16
 
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- $ea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ ata
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,12 +51,12 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@mantine/core": "^8.0.2",
55
- "@mantine/hooks": "^8.0.2",
56
- "@types/node": "^18.19.110",
57
- "@types/react": "^19.1.6",
54
+ "@mantine/core": "^8.1.0",
55
+ "@mantine/hooks": "^8.1.0",
56
+ "@types/node": "^18.19.111",
57
+ "@types/react": "^19.1.8",
58
58
  "@types/react-dom": "^19.1.6",
59
- postcss: "^8.5.4",
59
+ postcss: "^8.5.5",
60
60
  "postcss-preset-mantine": "^1.17.0",
61
61
  "postcss-simple-vars": "^7.0.1",
62
62
  react: "^19.1.0",
@@ -110,7 +110,7 @@ var require_package = __commonJS({
110
110
  }
111
111
  });
112
112
  async function getPackageJson(props) {
113
- const packageJson = await $ea(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
113
+ const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
114
114
  return packageJson.addDevDependencies(["postcss", "postcss-preset-mantine", "postcss-simple-vars"]).addDependencies(["@mantine/core", "@mantine/hooks"]);
115
115
  }
116
116
  export {
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- $ea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ ata
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,9 +51,9 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@pandacss/dev": "^0.53.7",
55
- "@types/node": "^18.19.110",
56
- postcss: "^8.5.4"
54
+ "@pandacss/dev": "^0.54.0",
55
+ "@types/node": "^18.19.111",
56
+ postcss: "^8.5.5"
57
57
  },
58
58
  dependencies: {
59
59
  "@batijs/core": "workspace:*"
@@ -82,7 +82,7 @@ var require_package = __commonJS({
82
82
  }
83
83
  });
84
84
  async function getPackageJson(props) {
85
- const packageJson = await $ea(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
85
+ const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
86
86
  return packageJson.setScript("prepare", {
87
87
  value: "panda codegen",
88
88
  precedence: 20
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Hea
7
- } from "../../../../chunk-4WNEELKU.js";
6
+ cta
7
+ } from "../../../../chunk-YO6CY4MA.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -28,7 +28,7 @@ async function getPnpmWorkspace(props) {
28
28
  ];
29
29
  const intersection = intersect(dependenciesApproveBuild, deps);
30
30
  if (intersection.length === 0) return;
31
- const pnpmWorkspace = await Hea(props, { fallbackEmpty: true });
31
+ const pnpmWorkspace = await cta(props, { fallbackEmpty: true });
32
32
  if (!pnpmWorkspace.has("onlyBuiltDependencies")) {
33
33
  pnpmWorkspace.set("onlyBuiltDependencies", []);
34
34
  }