@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
@@ -2,9 +2,9 @@ export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/serve
2
2
  ctx: object & {
3
3
  db: ReturnType<any>;
4
4
  } & {
5
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
5
+ db: ReturnType<any>;
6
6
  } & {
7
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
7
+ db: ReturnType<any>;
8
8
  } & {
9
9
  db: import("@cloudflare/workers-types").D1Database;
10
10
  };
@@ -1,6 +1,6 @@
1
1
  import type { dbD1, dbSqlite } from "@batijs/drizzle/database/drizzle/db";
2
2
  import type { db as sqliteDb } from "@batijs/sqlite/database/sqlite/db";
3
- import { D1Database } from "@cloudflare/workers-types";
3
+ import type { D1Database } from "@cloudflare/workers-types";
4
4
  /**
5
5
  * Export reusable router and procedure helpers
6
6
  * that can be used throughout the router
@@ -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,7 +51,7 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@cloudflare/workers-types": "^4.20250806.0",
54
+ "@cloudflare/workers-types": "^4.20250816.0",
55
55
  "@ts-rest/core": "^3.52.1",
56
56
  "@ts-rest/serverless": "^3.52.1",
57
57
  "@types/node": "^20.19.9",
@@ -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.addDevDependencies(["zod"]).addDependencies(["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"]);
102
102
  }
103
103
  export {
@@ -1,13 +1,14 @@
1
- import { fetchRequestHandler, tsr } from "@ts-rest/serverless/fetch";
2
- import { contract } from "../ts-rest/contract";
3
- // TODO: stop using universal-middleware and directly integrate server middlewares instead and/or use vike-server https://vike.dev/server. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
4
- import { Get, UniversalHandler } from "@universal-middleware/core";
1
+ /** biome-ignore-all lint/suspicious/noExplicitAny: avoid platformContext type inference */
2
+ import * as d1Queries from "@batijs/d1-sqlite/database/d1/queries/todos";
3
+ import type { dbD1, dbSqlite } from "@batijs/drizzle/database/drizzle/db";
5
4
  import * as drizzleQueries from "@batijs/drizzle/database/drizzle/queries/todos";
6
- import { dbD1, dbSqlite } from "@batijs/drizzle/database/drizzle/db";
5
+ import type { db as sqliteDb } from "@batijs/sqlite/database/sqlite/db";
7
6
  import * as sqliteQueries from "@batijs/sqlite/database/sqlite/queries/todos";
8
- import { db as sqliteDb } from "@batijs/sqlite/database/sqlite/db";
9
- import * as d1Queries from "@batijs/d1-sqlite/database/d1/queries/todos";
10
7
  import type { D1Database } from "@cloudflare/workers-types";
8
+ import { fetchRequestHandler, tsr } from "@ts-rest/serverless/fetch";
9
+ // TODO: stop using universal-middleware and directly integrate server middlewares instead and/or use vike-server https://vike.dev/server. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
10
+ import type { Get, UniversalHandler } from "@universal-middleware/core";
11
+ import { contract } from "../ts-rest/contract";
11
12
 
12
13
  /**
13
14
  * ts-rest route
@@ -1,2 +1,2 @@
1
- import { Get, UniversalHandler } from "@universal-middleware/core";
1
+ import type { Get, UniversalHandler } from "@universal-middleware/core";
2
2
  export declare const tsRestHandler: Get<[], UniversalHandler>;
@@ -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
 
@@ -53,8 +53,8 @@ var require_package = __commonJS({
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@types/node": "^20.19.9",
55
55
  "@vite-plugin-vercel/vike": "^9.0.6",
56
- vike: "^0.4.236",
57
- vite: "^7.0.6",
56
+ vike: "^0.4.237",
57
+ vite: "^7.1.2",
58
58
  "vite-plugin-vercel": "^9.0.7"
59
59
  },
60
60
  dependencies: {
@@ -72,7 +72,7 @@ var require_package = __commonJS({
72
72
  }
73
73
  });
74
74
  async function getPackageJson(props) {
75
- const packageJson = await Ijs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
75
+ const packageJson = await _Es(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
76
76
  return packageJson.addDependencies(["vite-plugin-vercel", "@vite-plugin-vercel/vike"]);
77
77
  }
78
78
  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/vercel/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.types = [...tsConfig.compilerOptions.types ?? [], "vite-plugin-vercel/types"];
15
15
  return tsConfig;
16
16
  }
@@ -3,19 +3,19 @@ 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/vercel/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 options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
16
16
  source: "/.*"
17
17
  } : void 0;
18
- xps(mod, {
18
+ Vri(mod, {
19
19
  from: "vite-plugin-vercel",
20
20
  constructor: "vercel",
21
21
  options
@@ -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
- Ojs
7
- } from "../../../../../chunk-FMU63FHF.js";
6
+ dEs
7
+ } from "../../../../../chunk-IAY736Z6.js";
8
8
  import "../../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/vercel/dist/files/pages/$+config.ts.js
12
12
  async function getViteConfig(props) {
13
- const mod = await Ojs(props);
13
+ const mod = await dEs(props);
14
14
  mod.exports.default.prerender = true;
15
15
  return mod.generate().code;
16
16
  }
@@ -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/vue/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
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [Vue](https://vuejs.org/guide/quick-start.html).
@@ -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,12 +56,12 @@ var require_package = __commonJS({
56
56
  "@vitejs/plugin-vue": "^6.0.1",
57
57
  "@vue/compiler-sfc": "^3.5.18",
58
58
  "@vue/server-renderer": "^3.5.18",
59
- tailwindcss: "^4.1.11",
59
+ tailwindcss: "^4.1.12",
60
60
  typescript: "^5.9.2",
61
61
  "unplugin-vue-markdown": "^29.1.0",
62
- vike: "^0.4.236",
62
+ vike: "^0.4.237",
63
63
  "vike-vue": "^0.9.2",
64
- vite: "^7.0.6",
64
+ vite: "^7.1.2",
65
65
  vue: "^3.5.18",
66
66
  "vue-gtag": "^3.5.2"
67
67
  },
@@ -128,7 +128,7 @@ var require_package = __commonJS({
128
128
  }
129
129
  });
130
130
  async function getPackageJson(props) {
131
- const packageJson = await Ijs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
131
+ const packageJson = await _Es(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
132
132
  return packageJson.addDevDependencies(["vite"]).addDependencies([
133
133
  "@vitejs/plugin-vue",
134
134
  "@vue/compiler-sfc",
@@ -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/vue/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 = "vue";
16
16
  return tsConfig;
@@ -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
- 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/vue/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-vue",
17
17
  constructor: "vue",
18
18
  options: {
19
19
  include: [/\.vue$/, /\.md$/]
20
20
  }
21
21
  });
22
- xps(mod, {
22
+ Vri(mod, {
23
23
  from: "unplugin-vue-markdown/vite",
24
24
  constructor: "md",
25
25
  options: {}
@@ -16,6 +16,7 @@ import Link from "../components/Link.vue";
16
16
  import Logo from "../components/Logo.vue";
17
17
  import Sidebar from "../components/Sidebar.vue";
18
18
  import { sentryBrowserConfig } from "../sentry.browser.config";
19
+
19
20
  //# BATI.has("sentry")
20
21
  sentryBrowserConfig();
21
22
  </script>
@@ -12,7 +12,7 @@
12
12
  </template>
13
13
 
14
14
  <script setup lang="ts">
15
- import logoUrl from "../assets/logo.svg";
16
15
  //# BATI.has("tailwindcss")
17
16
  import * as tailwindCss from "@batijs/tailwindcss/layouts/tailwind.css";
17
+ import logoUrl from "../assets/logo.svg";
18
18
  </script>
@@ -1,5 +1,5 @@
1
- import vikeVue from "vike-vue/config";
2
1
  import type { Config } from "vike/types";
2
+ import vikeVue from "vike-vue/config";
3
3
  import Layout from "../layouts/LayoutDefault.vue";
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-vue/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-vue/useConfig";
4
+ import type { Movie, MovieDetails } from "../types.js";
5
5
 
6
6
  export type Data = Awaited<ReturnType<typeof data>>;
7
7
 
@@ -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
- "@sentry/vue": "^10.1.0",
54
+ "@sentry/vue": "^10.5.0",
55
55
  "@types/node": "^20.19.9",
56
56
  "vike-vue": "^0.9.2",
57
- vite: "^7.0.6",
57
+ vite: "^7.1.2",
58
58
  vue: "^3.5.18"
59
59
  },
60
60
  dependencies: {
@@ -89,7 +89,7 @@ var require_package = __commonJS({
89
89
  }
90
90
  });
91
91
  async function getPackageJson(props) {
92
- const packageJson = await Ijs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ const packageJson = await _Es(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
93
  return packageJson.addDependencies(["@sentry/vue"]);
94
94
  }
95
95
  export {
@@ -1,15 +1,14 @@
1
1
  import * as Sentry from "@sentry/vue";
2
- import { usePageContext } from "vike-vue/usePageContext";
2
+ import { getCurrentInstance } from "vue";
3
3
 
4
4
  export const sentryBrowserConfig = () => {
5
5
  // eslint-disable-next-line
6
6
  import.meta.env.PROD === true &&
7
7
  Sentry.init({
8
- // @ts-ignore
9
- app: usePageContext().app,
8
+ app: getCurrentInstance()?.appContext.app,
10
9
  dsn: import.meta.env.PUBLIC_ENV__SENTRY_DSN,
11
10
  environment: "production-frontend",
12
- //enabled: import.meta.env.DEV ? false : true,
11
+ // enabled: import.meta.env.DEV ? false : true,
13
12
  integrations: [Sentry.replayIntegration()],
14
13
  // Set tracesSampleRate to 1.0 to capture 100%
15
14
  // of transactions for tracing.