@batijs/cli 0.0.516 → 0.0.518

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 (93) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +3 -3
  3. package/dist/boilerplates/@batijs/auth0/files/$wrangler.jsonc.js +26 -0
  4. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +5 -5
  5. package/dist/boilerplates/@batijs/aws/files/$README.md.js +5 -5
  6. package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +5 -5
  7. package/dist/boilerplates/@batijs/aws/files/$package.json.js +8 -8
  8. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  9. package/dist/boilerplates/@batijs/aws/files/$vite.config.ts.js +31 -0
  10. package/dist/boilerplates/@batijs/biome/files/$package.json.js +6 -6
  11. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +7 -7
  12. package/dist/boilerplates/@batijs/cloudflare/files/wrangler.jsonc +6 -0
  13. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +5 -5
  14. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  15. package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +5 -5
  16. package/dist/boilerplates/@batijs/d1/files/$package.json.js +6 -6
  17. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  18. package/dist/boilerplates/@batijs/d1/files/$wrangler.jsonc.js +25 -0
  19. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +5 -5
  20. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  21. package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +5 -5
  22. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +5 -5
  23. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +5 -5
  24. package/dist/boilerplates/@batijs/express/files/$package.json.js +7 -7
  25. package/dist/boilerplates/@batijs/express/files/server/entry.ts +1 -1
  26. package/dist/boilerplates/@batijs/express/types/server/entry.d.ts +1 -1
  27. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +7 -7
  28. package/dist/boilerplates/@batijs/fastify/files/server/entry.ts +3 -3
  29. package/dist/boilerplates/@batijs/fastify/types/server/entry.d.ts +1 -2
  30. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  31. package/dist/boilerplates/@batijs/h3/files/$package.json.js +8 -8
  32. package/dist/boilerplates/@batijs/hono/files/$package.json.js +10 -10
  33. package/dist/boilerplates/@batijs/hono/files/entry_aws_lambda.ts +2 -2
  34. package/dist/boilerplates/@batijs/hono/files/server/entry.ts +1 -1
  35. package/dist/boilerplates/@batijs/hono/types/server/entry.d.ts +1 -2
  36. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  37. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +8 -8
  38. package/dist/boilerplates/@batijs/photon/files/$README.md.js +3 -3
  39. package/dist/boilerplates/@batijs/photon/files/$package.json.js +5 -5
  40. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +3 -3
  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/prettier/files/.prettierrc +3 -0
  44. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  45. package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +3 -3
  46. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +4 -4
  47. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  48. package/dist/boilerplates/@batijs/react/files/$package.json.js +8 -8
  49. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  50. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  51. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +7 -7
  52. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  53. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +5 -5
  54. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +3 -3
  55. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +6 -6
  56. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  57. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  58. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +5 -5
  59. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +5 -5
  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 +7 -7
  63. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +3 -3
  64. package/dist/boilerplates/@batijs/shared/files/package.json +1 -1
  65. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
  66. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  67. package/dist/boilerplates/@batijs/solid/files/$package.json.js +6 -6
  68. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  69. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  70. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
  71. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  72. package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +3 -3
  73. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +5 -5
  74. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +5 -5
  75. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  76. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +6 -6
  77. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  78. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +8 -8
  79. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +2 -2
  80. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +5 -5
  81. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +8 -7
  82. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
  83. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  84. package/dist/boilerplates/@batijs/vue/files/$package.json.js +8 -8
  85. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  86. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +5 -5
  87. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +7 -7
  88. package/dist/{chunk-HKWAALEK.js → chunk-5DFJDTFL.js} +56761 -56450
  89. package/dist/index.js +2645 -14145
  90. package/package.json +8 -8
  91. package/dist/boilerplates/@batijs/auth0/files/$wrangler.toml.js +0 -32
  92. package/dist/boilerplates/@batijs/cloudflare/files/wrangler.toml +0 -3
  93. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +0 -26
@@ -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
- WEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ xxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.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.41.1",
54
54
  "@batijs/compile": "workspace:*",
55
- "@photonjs/express": "^0.1.6",
56
- "@trpc/server": "^11.7.1",
55
+ "@photonjs/express": "^0.1.8",
56
+ "@trpc/server": "^11.7.2",
57
57
  "@types/express": "^5.0.5",
58
- "@types/node": "^20.19.24",
58
+ "@types/node": "^20.19.25",
59
59
  dotenv: "^17.2.3",
60
60
  express: "^5.1.0",
61
61
  telefunc: "^0.2.17",
62
62
  vike: "^0.4.247",
63
- vite: "^7.2.2"
63
+ vite: "^7.2.4"
64
64
  },
65
65
  dependencies: {
66
66
  "@batijs/core": "workspace:*"
@@ -84,7 +84,7 @@ var require_package = __commonJS({
84
84
  }
85
85
  });
86
86
  async function getPackageJson(props) {
87
- const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
87
+ const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
88
88
  return packageJson.addDevDependencies(["@types/express"]).addDependencies(["@photonjs/express", "express", "vite", "vike"]).addDependencies(["dotenv"], props.meta.BATI.has("auth0") || props.meta.BATI.hasDatabase);
89
89
  }
90
90
  export {
@@ -11,7 +11,7 @@ import express from "express";
11
11
 
12
12
  const port = process.env.PORT ? parseInt(process.env.PORT, 10) : 3000;
13
13
 
14
- export default startServer();
14
+ export default startServer() as unknown;
15
15
 
16
16
  function startServer() {
17
17
  const app = express();
@@ -1,3 +1,3 @@
1
1
  import "dotenv/config";
2
- declare const _default: import("express-serve-static-core").Express;
2
+ declare const _default: unknown;
3
3
  export default _default;
@@ -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
- WEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ xxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,16 +52,16 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@auth/core": "^0.41.1",
54
54
  "@batijs/compile": "workspace:*",
55
- "@photonjs/fastify": "^0.1.6",
56
- "@trpc/server": "^11.7.1",
55
+ "@photonjs/fastify": "^0.1.7",
56
+ "@trpc/server": "^11.7.2",
57
57
  "@types/express": "^5.0.5",
58
- "@types/node": "^20.19.24",
58
+ "@types/node": "^20.19.25",
59
59
  dotenv: "^17.2.3",
60
60
  fastify: "^5.6.2",
61
61
  "fastify-raw-body": "^5.0.0",
62
62
  telefunc: "^0.2.17",
63
63
  vike: "^0.4.247",
64
- vite: "^7.2.2"
64
+ vite: "^7.2.4"
65
65
  },
66
66
  dependencies: {
67
67
  "@batijs/core": "workspace:*"
@@ -85,7 +85,7 @@ var require_package = __commonJS({
85
85
  }
86
86
  });
87
87
  async function getPackageJson(props) {
88
- const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
88
+ const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
89
89
  return packageJson.addDevDependencies(["@types/node"]).addDependencies(["@photonjs/fastify", "fastify", "fastify-raw-body", "vike", "vite"]).addDependencies(["dotenv"], props.meta.BATI.has("auth0") || props.meta.BATI.hasDatabase);
90
90
  }
91
91
  export {
@@ -7,14 +7,14 @@ import { telefuncHandler } from "@batijs/telefunc/server/telefunc-handler";
7
7
  import { trpcHandler } from "@batijs/trpc/server/trpc-handler";
8
8
  import { tsRestHandler } from "@batijs/ts-rest/server/ts-rest-handler";
9
9
  import { apply, serve } from "@photonjs/fastify";
10
- import fastify, { type FastifyInstance } from "fastify";
10
+ import fastify from "fastify";
11
11
  import rawBody from "fastify-raw-body";
12
12
 
13
13
  const port = process.env.PORT ? parseInt(process.env.PORT, 10) : 3000;
14
14
 
15
- export default await startServer();
15
+ export default (await startServer()) as unknown;
16
16
 
17
- async function startServer(): Promise<FastifyInstance> {
17
+ async function startServer() {
18
18
  const app = fastify({
19
19
  // Ensures proper HMR support
20
20
  forceCloseConnections: true,
@@ -1,4 +1,3 @@
1
1
  import "dotenv/config";
2
- import { type FastifyInstance } from "fastify";
3
- declare const _default: FastifyInstance<import("fastify").RawServerDefault, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault>;
2
+ declare const _default: unknown;
4
3
  export default _default;
@@ -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
- CBs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ lUs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.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 CBs(
14
+ return lUs(
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
- WEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ xxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,17 +52,17 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@auth/core": "^0.41.1",
54
54
  "@batijs/compile": "workspace:*",
55
- "@photonjs/h3": "^0.1.6",
56
- "@trpc/server": "^11.7.1",
55
+ "@photonjs/h3": "^0.1.7",
56
+ "@trpc/server": "^11.7.2",
57
57
  "@types/express": "^5.0.5",
58
- "@types/node": "^20.19.24",
58
+ "@types/node": "^20.19.25",
59
59
  "@universal-middleware/core": "^0.4.13",
60
60
  dotenv: "^17.2.3",
61
61
  h3: "~1.15.4",
62
62
  telefunc: "^0.2.17",
63
63
  vike: "^0.4.247",
64
- "vike-photon": "^0.1.16",
65
- vite: "^7.2.2"
64
+ "vike-photon": "^0.1.19",
65
+ vite: "^7.2.4"
66
66
  },
67
67
  dependencies: {
68
68
  "@batijs/core": "workspace:*"
@@ -86,7 +86,7 @@ var require_package = __commonJS({
86
86
  }
87
87
  });
88
88
  async function getPackageJson(props) {
89
- const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
89
+ const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
90
90
  return packageJson.addDependencies(["h3", "vike", "vite", "@photonjs/h3", "@universal-middleware/core"]).addDependencies(["@auth/core"], props.meta.BATI.has("authjs") || props.meta.BATI.has("auth0")).addDependencies(
91
91
  ["dotenv"],
92
92
  (props.meta.BATI.has("auth0") || props.meta.BATI.hasDatabase) && !props.meta.BATI.has("cloudflare")
@@ -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
- WEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ xxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,17 +52,17 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@auth/core": "^0.41.1",
54
54
  "@batijs/compile": "workspace:*",
55
- "@cloudflare/workers-types": "^4.20251117.0",
56
- "@photonjs/hono": "^0.1.6",
57
- "@trpc/server": "^11.7.1",
58
- "@types/aws-lambda": "^8.10.158",
59
- "@types/node": "^20.19.24",
55
+ "@cloudflare/workers-types": "^4.20251121.0",
56
+ "@photonjs/hono": "^0.1.7",
57
+ "@trpc/server": "^11.7.2",
58
+ "@types/aws-lambda": "^8.10.159",
59
+ "@types/node": "^20.19.25",
60
60
  dotenv: "^17.2.3",
61
61
  hono: "^4.10.6",
62
62
  telefunc: "^0.2.17",
63
63
  vike: "^0.4.247",
64
- "vike-photon": "^0.1.16",
65
- vite: "^7.2.2"
64
+ "vike-photon": "^0.1.19",
65
+ vite: "^7.2.4"
66
66
  },
67
67
  dependencies: {
68
68
  "@batijs/core": "workspace:*"
@@ -92,7 +92,7 @@ var require_package = __commonJS({
92
92
  }
93
93
  });
94
94
  async function getPackageJson(props) {
95
- const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
+ const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
96
  return packageJson.addDevDependencies(["@types/node"]).addDevDependencies(["@types/aws-lambda", "vike-photon"], props.meta.BATI.has("aws")).addDependencies(["@photonjs/hono", "hono", "vite", "vike"]).addDependencies(
97
97
  ["dotenv"],
98
98
  (props.meta.BATI.has("auth0") || props.meta.BATI.hasDatabase) && !props.meta.BATI.has("cloudflare")
@@ -14,7 +14,7 @@ import { Hono } from "hono";
14
14
  import type { LambdaContext, LambdaEvent } from "hono/aws-lambda";
15
15
  import { handle } from "hono/aws-lambda";
16
16
  // @ts-expect-error loading file compiled by Vite
17
- import app from "./dist/server/index.mjs";
17
+ import app from "./dist/server/aws.mjs";
18
18
 
19
19
  type Bindings = {
20
20
  event: LambdaEvent;
@@ -23,7 +23,7 @@ type Bindings = {
23
23
 
24
24
  const lambdaApp = new Hono<{ Bindings: Bindings }>();
25
25
 
26
- lambdaApp.route("/", app as Hono);
26
+ lambdaApp.route("/", app.server.app as Hono);
27
27
  const awsHandler = handle(lambdaApp);
28
28
 
29
29
  export const handler: Handler<LambdaEvent, APIGatewayProxyResult> = awsHandler;
@@ -12,7 +12,7 @@ import { getMiddlewares } from "vike-photon/universal-middlewares";
12
12
 
13
13
  const port = process.env.PORT ? parseInt(process.env.PORT, 10) : 3000;
14
14
 
15
- export default startServer();
15
+ export default startServer() as unknown;
16
16
 
17
17
  function startServer() {
18
18
  const app = new Hono();
@@ -1,4 +1,3 @@
1
1
  import "dotenv/config";
2
- import { Hono } from "hono";
3
- declare const _default: Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">;
2
+ declare const _default: unknown;
4
3
  export default _default;
@@ -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
- zEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ Sxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.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 zEs(props);
13
+ const content = await Sxs(props);
14
14
  const about = `
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
- WEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ xxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,10 +51,10 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@mantine/core": "^8.3.8",
55
- "@mantine/hooks": "^8.3.8",
56
- "@types/node": "^20.19.24",
57
- "@types/react": "^19.2.5",
54
+ "@mantine/core": "^8.3.9",
55
+ "@mantine/hooks": "^8.3.9",
56
+ "@types/node": "^20.19.25",
57
+ "@types/react": "^19.2.7",
58
58
  "@types/react-dom": "^19.2.3",
59
59
  postcss: "^8.5.6",
60
60
  "postcss-preset-mantine": "^1.18.0",
@@ -62,7 +62,7 @@ var require_package = __commonJS({
62
62
  react: "^19.2.0",
63
63
  "react-dom": "^19.2.0",
64
64
  "vike-react": "^0.6.13",
65
- vite: "^7.2.2",
65
+ vite: "^7.2.4",
66
66
  "vite-plugin-compiled-react": "^1.3.1"
67
67
  },
68
68
  dependencies: {
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.addDevDependencies(["postcss", "postcss-preset-mantine", "postcss-simple-vars"]).addDependencies(["@mantine/core", "@mantine/hooks"]);
98
98
  }
99
99
  export {
@@ -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
- zEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ Sxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/photon/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await zEs(props);
13
+ const content = await Sxs(props);
14
14
  const photon = `
15
15
  ## Photon
16
16
  [Photon](https://photonjs.dev) is a next-generation server and deployment toolkit.
@@ -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
- WEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ xxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,8 +51,8 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@types/node": "^20.19.24",
55
- "vike-photon": "^0.1.16"
54
+ "@types/node": "^20.19.25",
55
+ "vike-photon": "^0.1.19"
56
56
  },
57
57
  dependencies: {
58
58
  "@batijs/core": "workspace:*"
@@ -76,7 +76,7 @@ var require_package = __commonJS({
76
76
  }
77
77
  });
78
78
  async function getPackageJson(props) {
79
- const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
79
+ const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
80
80
  return packageJson.setScript("dev", {
81
81
  value: "vike dev",
82
82
  precedence: 20,
@@ -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
- zEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ Sxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/plausible.io/dist/files/$TODO.md.js
12
12
  async function getTodo(props) {
13
- const content = await zEs(props);
13
+ const content = await Sxs(props);
14
14
  const headFileName = props.meta.BATI.has("vue") ? "+Head.vue" : "+Head.tsx";
15
15
  const todo = `
16
16
  ## plausible.io
@@ -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
- KEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ Dxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.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 KEs(props, { fallbackEmpty: true });
31
+ const pnpmWorkspace = await Dxs(props, { fallbackEmpty: true });
32
32
  if (!pnpmWorkspace.has("onlyBuiltDependencies")) {
33
33
  pnpmWorkspace.set("onlyBuiltDependencies", []);
34
34
  }
@@ -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
- WEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ xxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,7 +51,7 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@types/node": "^20.19.24",
54
+ "@types/node": "^20.19.25",
55
55
  prettier: "^3.6.2"
56
56
  },
57
57
  dependencies: {
@@ -64,7 +64,7 @@ var require_package = __commonJS({
64
64
  }
65
65
  });
66
66
  async function getPackageJson(props) {
67
- const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
67
+ const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
68
68
  return packageJson.addDevDependencies(["prettier"]);
69
69
  }
70
70
  export {
@@ -0,0 +1,3 @@
1
+ {
2
+ "printWidth": 120
3
+ }
@@ -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
- CBs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ lUs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/prisma/dist/files/$.env.js
12
12
  async function getEnv(props) {
13
13
  const envContent = await props.readfile?.();
14
- return CBs(
14
+ return lUs(
15
15
  envContent,
16
16
  "DATABASE_URL",
17
17
  "postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public",
@@ -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
- zEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ Sxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/prisma/dist/files/$TODO.md.js
12
12
  async function getTodo(props) {
13
- const content = await zEs(props);
13
+ const content = await Sxs(props);
14
14
  const todo = `
15
15
  ## Prisma
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
- WEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ xxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,7 +52,7 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@prisma/client": "^6.19.0",
55
- "@types/node": "^20.19.24",
55
+ "@types/node": "^20.19.25",
56
56
  colorette: "^2.0.20",
57
57
  prisma: "^6.19.0"
58
58
  },
@@ -66,7 +66,7 @@ var require_package = __commonJS({
66
66
  }
67
67
  });
68
68
  async function getPackageJson(props) {
69
- const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
69
+ const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
70
70
  return packageJson.setScript("prisma:studio", {
71
71
  value: "prisma studio",
72
72
  precedence: 1
@@ -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
- zEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ Sxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/react/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await zEs(props);
13
+ const content = await Sxs(props);
14
14
  const about = `
15
15
  ## Vike
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
- WEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ xxs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -54,9 +54,9 @@ var require_package = __commonJS({
54
54
  "@babel/plugin-syntax-flow": "^7.27.1",
55
55
  "@babel/plugin-transform-react-jsx": "^7.27.1",
56
56
  "@batijs/compile": "workspace:*",
57
- "@mantine/core": "^8.3.8",
58
- "@types/node": "^20.19.24",
59
- "@types/react": "^19.2.5",
57
+ "@mantine/core": "^8.3.9",
58
+ "@types/node": "^20.19.25",
59
+ "@types/react": "^19.2.7",
60
60
  "@types/react-dom": "^19.2.3",
61
61
  "@vitejs/plugin-react": "^5.1.1",
62
62
  react: "^19.2.0",
@@ -64,9 +64,9 @@ var require_package = __commonJS({
64
64
  tailwindcss: "^4.1.17",
65
65
  typescript: "^5.9.3",
66
66
  vike: "^0.4.247",
67
- "vike-photon": "^0.1.16",
67
+ "vike-photon": "^0.1.19",
68
68
  "vike-react": "^0.6.13",
69
- vite: "^7.2.2",
69
+ vite: "^7.2.4",
70
70
  "vite-plugin-compiled-react": "^1.3.1"
71
71
  },
72
72
  dependencies: {
@@ -181,7 +181,7 @@ var require_package = __commonJS({
181
181
  }
182
182
  });
183
183
  async function getPackageJson(props) {
184
- const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
184
+ const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
185
185
  return packageJson.addDevDependencies(["vite", "@vitejs/plugin-react", "@types/react", "@types/react-dom"]).addDependencies(["react", "react-dom", "vike", "vike-react"]);
186
186
  }
187
187
  export {
@@ -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
- YEs
7
- } from "../../../../chunk-HKWAALEK.js";
6
+ Exs
7
+ } from "../../../../chunk-5DFJDTFL.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/react/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await YEs(props);
13
+ const tsConfig = await Exs(props);
14
14
  tsConfig.compilerOptions.jsx = "react-jsx";
15
15
  tsConfig.compilerOptions.jsxImportSource = "react";
16
16
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-react"];
@@ -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
- JEs,
7
- Zti
8
- } from "../../../../chunk-HKWAALEK.js";
6
+ Cxs,
7
+ Tri
8
+ } from "../../../../chunk-5DFJDTFL.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/react/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await JEs(props);
15
- Zti(mod, {
14
+ const mod = await Cxs(props);
15
+ Tri(mod, {
16
16
  from: "@vitejs/plugin-react",
17
17
  constructor: "react"
18
18
  });