@batijs/cli 0.0.461 → 0.0.464

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 (140) 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 +3 -3
  4. package/dist/boilerplates/@batijs/authjs/files/global.d.ts +0 -2
  5. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  6. package/dist/boilerplates/@batijs/aws/files/$package.json.js +8 -8
  7. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  8. package/dist/boilerplates/@batijs/aws/files/cdk/bin/infrastructure.ts +3 -4
  9. package/dist/boilerplates/@batijs/aws/files/cdk/lib/vike-stack.ts +12 -12
  10. package/dist/boilerplates/@batijs/aws/files/tests/aws_handler.spec.ts +4 -3
  11. package/dist/boilerplates/@batijs/aws/types/cdk/lib/vike-stack.d.ts +1 -1
  12. package/dist/boilerplates/@batijs/biome/files/$biome.json.js +93 -0
  13. package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
  14. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +5 -5
  15. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
  16. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +6 -6
  17. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
  18. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  19. package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
  20. package/dist/boilerplates/@batijs/d1/files/$package.json.js +6 -6
  21. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  22. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +0 -2
  23. package/dist/boilerplates/@batijs/d1/files/database/d1/helpers.ts +1 -0
  24. package/dist/boilerplates/@batijs/d1/files/global.d.ts +1 -3
  25. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +5 -5
  26. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  27. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
  28. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +3 -3
  29. package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/db.ts +1 -1
  30. package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/queries/todos.ts +2 -1
  31. package/dist/boilerplates/@batijs/drizzle/files/drizzle.config.ts +1 -0
  32. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/db.d.ts +1 -1
  33. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/todos.d.ts +1 -1
  34. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +6 -6
  35. package/dist/boilerplates/@batijs/express/files/$package.json.js +6 -6
  36. package/dist/boilerplates/@batijs/express/files/express-entry.ts +2 -2
  37. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +7 -7
  38. package/dist/boilerplates/@batijs/fastify/files/fastify-entry.ts +4 -4
  39. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  40. package/dist/boilerplates/@batijs/h3/files/$package.json.js +6 -6
  41. package/dist/boilerplates/@batijs/h3/files/h3-entry.ts +4 -3
  42. package/dist/boilerplates/@batijs/hono/files/$package.json.js +9 -9
  43. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  44. package/dist/boilerplates/@batijs/hono/files/entry_aws_lambda.ts +5 -5
  45. package/dist/boilerplates/@batijs/hono/files/hono-entry.node.ts +1 -1
  46. package/dist/boilerplates/@batijs/hono/files/hono-entry.ts +3 -3
  47. package/dist/boilerplates/@batijs/hono/types/entry_aws_lambda.d.ts +1 -1
  48. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  49. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +7 -7
  50. package/dist/boilerplates/@batijs/mantine/files/components/Link.tsx +1 -1
  51. package/dist/boilerplates/@batijs/mantine/files/layouts/LayoutDefault.tsx +3 -3
  52. package/dist/boilerplates/@batijs/mantine/files/layouts/theme.ts +1 -1
  53. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
  54. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  55. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  56. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  57. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +5 -5
  58. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  59. package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -9
  60. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  61. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  62. package/dist/boilerplates/@batijs/react/files/pages/+Head.tsx +12 -7
  63. package/dist/boilerplates/@batijs/react/files/pages/+config.ts +1 -1
  64. package/dist/boilerplates/@batijs/react/files/pages/star-wars/@id/+data.ts +1 -1
  65. package/dist/boilerplates/@batijs/react/files/pages/star-wars/index/+data.ts +1 -1
  66. package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +1 -1
  67. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +6 -6
  68. package/dist/boilerplates/@batijs/react-sentry/files/pages/sentry/+Page.tsx +3 -2
  69. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  70. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  71. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +5 -5
  72. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  73. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  74. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  75. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -6
  76. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  77. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  78. package/dist/boilerplates/@batijs/shadcn-ui/files/lib/utils.ts +1 -1
  79. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  80. package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
  81. package/dist/boilerplates/@batijs/shared/files/vite.config.ts +2 -1
  82. package/dist/boilerplates/@batijs/shared-db/files/server/db-middleware.ts +4 -3
  83. package/dist/boilerplates/@batijs/shared-db/types/server/db-middleware.d.ts +2 -2
  84. package/dist/boilerplates/@batijs/shared-no-db/files/database/todoItems.ts +1 -1
  85. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
  86. package/dist/boilerplates/@batijs/shared-server/files/server/create-todo-handler.ts +4 -3
  87. package/dist/boilerplates/@batijs/shared-server/files/server/vike-handler.ts +2 -1
  88. package/dist/boilerplates/@batijs/shared-server/types/server/create-todo-handler.d.ts +1 -1
  89. package/dist/boilerplates/@batijs/shared-todo/files/global.d.ts +3 -5
  90. package/dist/boilerplates/@batijs/shared-todo/files/pages/todo/+data.ts +3 -2
  91. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  92. package/dist/boilerplates/@batijs/solid/files/$package.json.js +7 -7
  93. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  94. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  95. package/dist/boilerplates/@batijs/solid/files/pages/+Head.tsx +1 -5
  96. package/dist/boilerplates/@batijs/solid/files/pages/+config.ts +1 -1
  97. package/dist/boilerplates/@batijs/solid/files/pages/star-wars/@id/+data.ts +1 -1
  98. package/dist/boilerplates/@batijs/solid/files/pages/star-wars/index/+data.ts +1 -1
  99. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
  100. package/dist/boilerplates/@batijs/solid-sentry/files/pages/sentry/+Page.tsx +2 -3
  101. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  102. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  103. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +4 -4
  104. package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/db.ts +1 -1
  105. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +7 -7
  106. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  107. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +6 -6
  108. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  109. package/dist/boilerplates/@batijs/telefunc/files/global.d.ts +3 -5
  110. package/dist/boilerplates/@batijs/telefunc/files/pages/todo/TodoList.telefunc.ts +2 -2
  111. package/dist/boilerplates/@batijs/telefunc/files/server/telefunc-handler.ts +3 -3
  112. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +5 -5
  113. package/dist/boilerplates/@batijs/trpc/files/server/trpc-handler.ts +4 -3
  114. package/dist/boilerplates/@batijs/trpc/files/trpc/server.ts +4 -4
  115. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +2 -2
  116. package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.ts +1 -1
  117. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
  118. package/dist/boilerplates/@batijs/ts-rest/files/server/ts-rest-handler.ts +8 -7
  119. package/dist/boilerplates/@batijs/ts-rest/types/server/ts-rest-handler.d.ts +1 -1
  120. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +5 -5
  121. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  122. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  123. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
  124. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  125. package/dist/boilerplates/@batijs/vue/files/$package.json.js +6 -6
  126. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  127. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  128. package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +1 -0
  129. package/dist/boilerplates/@batijs/vue/files/pages/+Head.vue +1 -1
  130. package/dist/boilerplates/@batijs/vue/files/pages/+config.ts +1 -1
  131. package/dist/boilerplates/@batijs/vue/files/pages/star-wars/@id/+data.ts +1 -1
  132. package/dist/boilerplates/@batijs/vue/files/pages/star-wars/index/+data.ts +1 -1
  133. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +5 -5
  134. package/dist/boilerplates/@batijs/vue-sentry/files/sentry.browser.config.ts +3 -4
  135. package/dist/{chunk-FMU63FHF.js → chunk-IAY736Z6.js} +159734 -159712
  136. package/dist/index.js +5089 -5185
  137. package/dist/{jiti-EM3N2G3P-5LY37YR5.js → jiti-W5Y5D52V-VBLACVBV.js} +417 -417
  138. package/package.json +8 -8
  139. package/dist/boilerplates/@batijs/biome/files/biome.json +0 -29
  140. package/dist/boilerplates/@batijs/prettier/files/.prettierrc +0 -3
@@ -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
- kjs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ pEs
7
+ } from "../../../../chunk-IAY736Z6.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/prisma/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await kjs(props);
13
+ const content = await pEs(props);
14
14
  const todo = `
15
15
  ## *Prisma*
16
16
  ### Setup
@@ -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
- Ijs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ _Es
7
+ } from "../../../../chunk-IAY736Z6.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
- "@prisma/client": "^6.13.0",
54
+ "@prisma/client": "^6.14.0",
55
55
  "@types/node": "^20.19.9",
56
56
  colorette: "^2.0.20",
57
- prisma: "^6.13.0"
57
+ prisma: "^6.14.0"
58
58
  },
59
59
  dependencies: {
60
60
  "@batijs/core": "workspace:*"
@@ -71,7 +71,7 @@ var require_package = __commonJS({
71
71
  }
72
72
  });
73
73
  async function getPackageJson(props) {
74
- const packageJson = await Ijs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
74
+ const packageJson = await _Es(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
75
75
  return packageJson.setScript("prisma:studio", {
76
76
  value: "prisma studio",
77
77
  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
- kjs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ pEs
7
+ } from "../../../../chunk-IAY736Z6.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 kjs(props);
13
+ const content = await pEs(props);
14
14
  const about = `
15
15
  ## React
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
- Ijs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ _Es
7
+ } from "../../../../chunk-IAY736Z6.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -50,22 +50,22 @@ var require_package = __commonJS({
50
50
  author: "",
51
51
  license: "MIT",
52
52
  devDependencies: {
53
- "@babel/core": "^7.28.0",
53
+ "@babel/core": "^7.28.3",
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.2.3",
57
+ "@mantine/core": "^8.2.5",
58
58
  "@types/node": "^20.19.9",
59
- "@types/react": "^19.1.9",
59
+ "@types/react": "^19.1.10",
60
60
  "@types/react-dom": "^19.1.7",
61
61
  "@vitejs/plugin-react": "^4.7.0",
62
62
  react: "^19.1.1",
63
63
  "react-dom": "^19.1.1",
64
- tailwindcss: "^4.1.11",
64
+ tailwindcss: "^4.1.12",
65
65
  typescript: "^5.9.2",
66
- vike: "^0.4.236",
66
+ vike: "^0.4.237",
67
67
  "vike-react": "^0.6.5",
68
- vite: "^7.0.6",
68
+ vite: "^7.1.2",
69
69
  "vite-plugin-compiled-react": "^1.3.1"
70
70
  },
71
71
  dependencies: {
@@ -185,7 +185,7 @@ var require_package = __commonJS({
185
185
  }
186
186
  });
187
187
  async function getPackageJson(props) {
188
- const packageJson = await Ijs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
188
+ const packageJson = await _Es(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
189
189
  return packageJson.addDevDependencies(["vite", "@types/react", "@types/react-dom"]).addDependencies(["@vitejs/plugin-react", "react", "react-dom", "vike", "vike-react"]);
190
190
  }
191
191
  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
- Njs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ fEs
7
+ } from "../../../../chunk-IAY736Z6.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 Njs(props);
13
+ const tsConfig = await fEs(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
- Ojs,
7
- xps
8
- } from "../../../../chunk-FMU63FHF.js";
6
+ Vri,
7
+ dEs
8
+ } from "../../../../chunk-IAY736Z6.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 Ojs(props);
15
- xps(mod, {
14
+ const mod = await dEs(props);
15
+ Vri(mod, {
16
16
  from: "@vitejs/plugin-react",
17
17
  constructor: "react"
18
18
  });
@@ -1,8 +1,8 @@
1
1
  // https://vike.dev/Head
2
2
 
3
- import logoUrl from "../assets/logo.svg";
4
3
  //# BATI.has("mantine")
5
4
  import { ColorSchemeScript } from "@mantine/core";
5
+ import logoUrl from "../assets/logo.svg";
6
6
 
7
7
  export default function HeadDefault() {
8
8
  if (BATI.has("plausible.io")) {
@@ -25,6 +25,7 @@ export default function HeadDefault() {
25
25
  src={`https://www.googletagmanager.com/gtag/js?id=${import.meta.env.PUBLIC_ENV__GOOGLE_ANALYTICS}`}
26
26
  ></script>
27
27
  <script
28
+ // biome-ignore lint/security/noDangerouslySetInnerHtml: GTM
28
29
  dangerouslySetInnerHTML={{
29
30
  __html: `window.dataLayer = window.dataLayer || [];
30
31
  function gtag(){dataLayer.push(arguments);}
@@ -36,11 +37,15 @@ export default function HeadDefault() {
36
37
  </>
37
38
  );
38
39
  } else {
39
- return (
40
- <>
41
- <link rel="icon" href={logoUrl} />
42
- {BATI.has("mantine") ? <ColorSchemeScript /> : null}
43
- </>
44
- );
40
+ if (BATI.has("mantine")) {
41
+ return (
42
+ <>
43
+ <link rel="icon" href={logoUrl} />
44
+ {BATI.has("mantine") ? <ColorSchemeScript /> : null}
45
+ </>
46
+ );
47
+ } else {
48
+ return <link rel="icon" href={logoUrl} />;
49
+ }
45
50
  }
46
51
  }
@@ -1,5 +1,5 @@
1
- import vikeReact from "vike-react/config";
2
1
  import type { Config } from "vike/types";
2
+ import vikeReact from "vike-react/config";
3
3
  import Layout from "../layouts/LayoutDefault.js";
4
4
 
5
5
  // Default config (can be overridden by pages)
@@ -1,8 +1,8 @@
1
1
  // https://vike.dev/data
2
2
 
3
3
  import type { PageContextServer } from "vike/types";
4
- import type { MovieDetails } from "../types.js";
5
4
  import { useConfig } from "vike-react/useConfig";
5
+ import type { MovieDetails } from "../types.js";
6
6
 
7
7
  export type Data = Awaited<ReturnType<typeof data>>;
8
8
 
@@ -1,7 +1,7 @@
1
1
  // https://vike.dev/data
2
2
 
3
- import type { Movie, MovieDetails } from "../types.js";
4
3
  import { useConfig } from "vike-react/useConfig";
4
+ import type { Movie, MovieDetails } from "../types.js";
5
5
 
6
6
  export type Data = Awaited<ReturnType<typeof data>>;
7
7
 
@@ -10,7 +10,7 @@ export function TodoList({ initialTodoItems }: { initialTodoItems: { text: strin
10
10
  <>
11
11
  <ul>
12
12
  {todoItems.map((todoItem, index) => (
13
- // biome-ignore lint:
13
+ // biome-ignore lint: example
14
14
  <li key={index}>{todoItem.text}</li>
15
15
  ))}
16
16
  </ul>
@@ -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
- Ijs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ _Es
7
+ } from "../../../../chunk-IAY736Z6.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,13 +51,13 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@sentry/react": "^10.1.0",
54
+ "@sentry/react": "^10.5.0",
55
55
  "@types/node": "^20.19.9",
56
- "@types/react": "^19.1.9",
56
+ "@types/react": "^19.1.10",
57
57
  "@types/react-dom": "^19.1.7",
58
58
  react: "^19.1.1",
59
59
  "react-dom": "^19.1.1",
60
- vite: "^7.0.6"
60
+ vite: "^7.1.2"
61
61
  },
62
62
  dependencies: {
63
63
  "@batijs/core": "workspace:*"
@@ -97,7 +97,7 @@ var require_package = __commonJS({
97
97
  }
98
98
  });
99
99
  async function getPackageJson(props) {
100
- const packageJson = await Ijs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
100
+ const packageJson = await _Es(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
101
101
  return packageJson.addDependencies(["@sentry/react"]);
102
102
  }
103
103
  export {
@@ -1,5 +1,5 @@
1
- import { useEffect, useState } from "react";
2
1
  import * as Sentry from "@sentry/react";
2
+ import { useEffect, useState } from "react";
3
3
 
4
4
  export default function ReactSentryErrorPage() {
5
5
  const [sentryClientStatus, setSentryClientStatus] = useState({
@@ -12,7 +12,7 @@ export default function ReactSentryErrorPage() {
12
12
  setSentryClientStatus({
13
13
  client_not_loaded: !options,
14
14
  dsn_missing: (options?.dsn?.length ?? 0) < 2,
15
- enabled: (options?.enabled ?? true) !== false,
15
+ enabled: options?.enabled ?? true,
16
16
  });
17
17
  console.log("Sentry DSN: ", options?.dsn);
18
18
  }, []);
@@ -31,6 +31,7 @@ export default function ReactSentryErrorPage() {
31
31
  )}
32
32
  <div>
33
33
  <button
34
+ type="button"
34
35
  onClick={() => {
35
36
  throw new Error(`This is a React SENTRY Browser Test! [${import.meta.env.DEV ? "DEV Mode" : "PROD Mode"}]`);
36
37
  }}
@@ -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
- Wjs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ $js
7
+ } from "../../../../chunk-IAY736Z6.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -12,13 +12,13 @@ import "../../../../chunk-DHZ7AZKP.js";
12
12
  async function getServerlessEnv(props) {
13
13
  const sentryDNS = process.env.TEST_SENTRY_DSN;
14
14
  let envContent = await props.readfile?.();
15
- envContent = Wjs(
15
+ envContent = $js(
16
16
  envContent,
17
17
  "SENTRY_DSN",
18
18
  sentryDNS ?? "",
19
19
  "Sentry DNS. Used for Error Reporting on the Server"
20
20
  );
21
- envContent = Wjs(
21
+ envContent = $js(
22
22
  envContent,
23
23
  "PUBLIC_ENV__SENTRY_DSN",
24
24
  "",
@@ -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
- kjs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ pEs
7
+ } from "../../../../chunk-IAY736Z6.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/sentry/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await kjs(props);
13
+ const content = await pEs(props);
14
14
  const about = `
15
15
 
16
16
  ## Sentry Browser / Error Tracking & Performance Monitoring
@@ -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
- Ijs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ _Es
7
+ } from "../../../../chunk-IAY736Z6.js";
8
8
  import "../../../../chunk-IAWYWZSL.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
- "@sentry/vite-plugin": "^4.0.2",
54
+ "@sentry/vite-plugin": "^4.1.1",
55
55
  "@types/node": "^20.19.9",
56
- vite: "^7.0.6"
56
+ vite: "^7.1.2"
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 Ijs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
85
+ const packageJson = await _Es(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
86
86
  return packageJson.addDevDependencies(["@sentry/vite-plugin"]);
87
87
  }
88
88
  export {
@@ -3,17 +3,17 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Ojs,
7
- Q$r,
8
- xps
9
- } from "../../../../chunk-FMU63FHF.js";
6
+ $ir,
7
+ Vri,
8
+ dEs
9
+ } from "../../../../chunk-IAY736Z6.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
11
  import "../../../../chunk-DHZ7AZKP.js";
12
12
 
13
13
  // ../../boilerplates/sentry/dist/files/$vite.config.ts.js
14
14
  async function getViteConfig(props) {
15
- const mod = await Ojs(props);
16
- xps(mod, {
15
+ const mod = await dEs(props);
16
+ Vri(mod, {
17
17
  from: "@sentry/vite-plugin",
18
18
  constructor: "sentryVitePlugin",
19
19
  imported: "sentryVitePlugin",
@@ -21,7 +21,7 @@ async function getViteConfig(props) {
21
21
  sourcemaps: { disable: false }
22
22
  }
23
23
  });
24
- Q$r(mod.exports.default.$args[0], { build: { sourcemap: true } });
24
+ $ir(mod.exports.default.$args[0], { build: { sourcemap: true } });
25
25
  return mod.generate().code;
26
26
  }
27
27
  export {
@@ -3,11 +3,11 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- G5e,
7
- Ojs,
8
- Wse,
9
- vz
10
- } from "../../../../../chunk-FMU63FHF.js";
6
+ Vq,
7
+ dEs,
8
+ gNe,
9
+ pne
10
+ } from "../../../../../chunk-IAY736Z6.js";
11
11
  import "../../../../../chunk-IAWYWZSL.js";
12
12
  import "../../../../../chunk-DHZ7AZKP.js";
13
13
 
@@ -15,17 +15,17 @@ import "../../../../../chunk-DHZ7AZKP.js";
15
15
  async function getViteConfig(props) {
16
16
  let mod;
17
17
  try {
18
- mod = await Ojs(props);
18
+ mod = await dEs(props);
19
19
  } catch {
20
- mod = G5e("");
20
+ mod = gNe("");
21
21
  }
22
22
  if (!props.meta.BATI.has("vue")) {
23
23
  mod.imports.$prepend({
24
24
  from: "../sentry.browser.config",
25
25
  imported: "sentryBrowserConfig"
26
26
  });
27
- const e = Wse.functionCall("sentryBrowserConfig");
28
- const c = vz(e).code;
27
+ const e = pne.functionCall("sentryBrowserConfig");
28
+ const c = Vq(e).code;
29
29
  mod.$ast.body.splice(mod.$ast.body.length - 1, 0, c);
30
30
  }
31
31
  return mod.generate().code;
@@ -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
- kjs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ pEs
7
+ } from "../../../../chunk-IAY736Z6.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await kjs(props);
13
+ const content = await pEs(props);
14
14
  const about = `
15
15
 
16
16
  ## shadcn/ui
@@ -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
- Ijs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ _Es
7
+ } from "../../../../chunk-IAY736Z6.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -56,10 +56,10 @@ var require_package = __commonJS({
56
56
  autoprefixer: "^10.4.21",
57
57
  "class-variance-authority": "^0.7.1",
58
58
  clsx: "^2.1.1",
59
- "lucide-react": "^0.536.0",
59
+ "lucide-react": "^0.539.0",
60
60
  "tailwind-merge": "^3.3.1",
61
- tailwindcss: "^4.1.11",
62
- "tw-animate-css": "^1.3.6"
61
+ tailwindcss: "^4.1.12",
62
+ "tw-animate-css": "^1.3.7"
63
63
  },
64
64
  dependencies: {
65
65
  "@batijs/core": "workspace:*"
@@ -88,7 +88,7 @@ var require_package = __commonJS({
88
88
  }
89
89
  });
90
90
  async function getPackageJson(props) {
91
- const packageJson = await Ijs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ const packageJson = await _Es(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
92
  return packageJson.setScript("shadcn", {
93
93
  value: "npx shadcn@latest",
94
94
  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
- Njs
7
- } from "../../../../chunk-FMU63FHF.js";
6
+ fEs
7
+ } from "../../../../chunk-IAY736Z6.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await Njs(props);
13
+ const tsConfig = await fEs(props);
14
14
  tsConfig.compilerOptions.paths = {
15
15
  ...tsConfig.compilerOptions?.paths ?? {},
16
16
  "@/*": ["./*"]
@@ -3,22 +3,22 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- K$r,
7
- Ojs
8
- } from "../../../../chunk-FMU63FHF.js";
6
+ dEs,
7
+ zir
8
+ } from "../../../../chunk-IAY736Z6.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await Ojs(props);
14
+ const mod = await dEs(props);
15
15
  const replacement = `new URL("./", import.meta.url).pathname`;
16
16
  addResolveAlias(mod, "@", replacement);
17
17
  return mod.generate().code.replace(`"{{PLACEHOLDER_ALIAS}}"`, replacement);
18
18
  }
19
19
  function addResolveAlias(mod, find, replacement) {
20
20
  const alias = mod.exports.default.$args[0]?.resolve?.alias ?? {};
21
- const warnMsg = `${K$r("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
21
+ const warnMsg = `${zir("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
22
22
  if (alias?.length === void 0) {
23
23
  if (alias[find]) {
24
24
  console.warn(warnMsg);
@@ -1,4 +1,4 @@
1
- import { clsx, type ClassValue } from "clsx";
1
+ import { type ClassValue, clsx } from "clsx";
2
2
  import { twMerge } from "tailwind-merge";
3
3
 
4
4
  export function cn(...inputs: ClassValue[]) {
@@ -3,23 +3,23 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- P6s,
7
- iBs,
8
- kjs,
9
- sBs
10
- } from "../../../../chunk-FMU63FHF.js";
6
+ Wjs,
7
+ Yjs,
8
+ pEs,
9
+ uSs
10
+ } from "../../../../chunk-IAY736Z6.js";
11
11
  import "../../../../chunk-IAWYWZSL.js";
12
12
  import "../../../../chunk-DHZ7AZKP.js";
13
13
 
14
14
  // ../../boilerplates/shared/dist/files/$README.md.js
15
15
  async function getReadme(props) {
16
- const content = await kjs(props);
16
+ const content = await pEs(props);
17
17
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
18
- const v = sBs();
19
- const intro = `Generated with [vike.dev/new](https://vike.dev/new) ${`(${P6s.link("https://www.npmjs.com/package/create-vike/v/" + v.version, "version " + v.semver.at(-1))})`} using this command:
18
+ const v = Wjs();
19
+ const intro = `Generated with [vike.dev/new](https://vike.dev/new) ${`(${uSs.link(`https://www.npmjs.com/package/create-vike/v/${v.version}`, `version ${v.semver.at(-1)}`)})`} using this command:
20
20
 
21
21
  \`\`\`sh
22
- ${iBs()} ${flags}
22
+ ${Yjs()} ${flags}
23
23
  \`\`\`
24
24
  `;
25
25
  content.addMarkdown(intro, {
@@ -5,11 +5,11 @@
5
5
  "preview": "vike preview"
6
6
  },
7
7
  "dependencies": {
8
- "vike": "^0.4.236"
8
+ "vike": "^0.4.237"
9
9
  },
10
10
  "devDependencies": {
11
11
  "typescript": "^5.9.2",
12
- "vite": "^7.0.6"
12
+ "vite": "^7.1.2"
13
13
  },
14
14
  "type": "module"
15
15
  }
@@ -1,8 +1,9 @@
1
1
  //# BATI.has("REMOVE-COMMENT") || "remove-comments-only"
2
2
  /// <reference types="vite-plugin-vercel/types" />
3
3
  /// <reference types="@batijs/core/types" />
4
- import { defineConfig } from "vite";
4
+
5
5
  import vike from "vike/plugin";
6
+ import { defineConfig } from "vite";
6
7
 
7
8
  export default defineConfig({
8
9
  plugins: [vike()],
@@ -1,9 +1,10 @@
1
1
  /*# BATI include-if-imported #*/
2
- import type { Get, UniversalMiddleware } from "@universal-middleware/core";
2
+
3
+ import { getDbFromRuntime } from "@batijs/d1/database/d1/helpers";
3
4
  import { dbD1, dbSqlite } from "@batijs/drizzle/database/drizzle/db";
4
5
  import { db as sqliteDb } from "@batijs/sqlite/database/sqlite/db";
5
- import { getDbFromRuntime } from "@batijs/d1/database/d1/helpers";
6
- import { D1Database } from "@cloudflare/workers-types";
6
+ import type { D1Database } from "@cloudflare/workers-types";
7
+ import type { Get, UniversalMiddleware } from "@universal-middleware/core";
7
8
 
8
9
  //# BATI.hasDatabase
9
10
  declare global {