@batijs/cli 0.0.554 → 0.0.558

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 (90) 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 +3 -3
  4. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +4 -4
  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/biome/files/$package.json.js +5 -5
  10. package/dist/boilerplates/@batijs/cloudflare/files/$TODO.md.js +5 -5
  11. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +5 -5
  12. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
  13. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
  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/$wrangler.jsonc.js +3 -3
  18. package/dist/boilerplates/@batijs/d1-kysely/files/$package.json.js +3 -3
  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 +3 -3
  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/fastify/files/$package.json.js +7 -7
  26. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  27. package/dist/boilerplates/@batijs/h3/files/$package.json.js +9 -9
  28. package/dist/boilerplates/@batijs/hono/files/$package.json.js +9 -9
  29. package/dist/boilerplates/@batijs/kysely/files/$.env.js +3 -3
  30. package/dist/boilerplates/@batijs/kysely/files/$TODO.md.js +5 -5
  31. package/dist/boilerplates/@batijs/kysely/files/$package.json.js +4 -4
  32. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  33. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +7 -7
  34. package/dist/boilerplates/@batijs/oxlint/files/$package.json.js +5 -5
  35. package/dist/boilerplates/@batijs/photon/files/$README.md.js +3 -3
  36. package/dist/boilerplates/@batijs/photon/files/$package.json.js +4 -4
  37. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +3 -3
  38. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
  39. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  40. package/dist/boilerplates/@batijs/prettier/files/.prettierrc +3 -0
  41. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  42. package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +5 -5
  43. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +5 -5
  44. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  45. package/dist/boilerplates/@batijs/react/files/$package.json.js +8 -8
  46. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  47. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  48. package/dist/boilerplates/@batijs/react/types/pages/+config.d.ts +47 -2
  49. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +5 -5
  50. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  51. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +5 -5
  52. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +3 -3
  53. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +4 -4
  54. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  55. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  56. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +5 -5
  57. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +4 -4
  58. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  59. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  60. package/dist/boilerplates/@batijs/shared/files/$README.md.js +7 -7
  61. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +3 -3
  62. package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
  63. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
  64. package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.ts +3 -1
  65. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  66. package/dist/boilerplates/@batijs/solid/files/$package.json.js +7 -7
  67. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  68. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  69. package/dist/boilerplates/@batijs/solid/types/pages/+config.d.ts +18 -3
  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 +5 -5
  73. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  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 +7 -7
  79. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +2 -2
  80. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
  81. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +6 -6
  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-55HKVDDJ.js → chunk-53NHAV3C.js} +55807 -55761
  89. package/dist/index.js +21 -21
  90. package/package.json +7 -7
@@ -1,7 +1,7 @@
1
1
  declare const _default: {
2
2
  title: string;
3
3
  description: string;
4
- passToClient: string[];
4
+ passToClient: "user"[];
5
5
  extends: ({
6
6
  name: string;
7
7
  require: {
@@ -13,6 +13,51 @@ declare const _default: {
13
13
  passToClient: string[];
14
14
  clientRouting: true;
15
15
  hydrationCanBeAborted: true;
16
+ staticReplace: ({
17
+ env: "server";
18
+ filter: string;
19
+ type: "call";
20
+ match: {
21
+ function: string[];
22
+ args: {
23
+ 0: string;
24
+ };
25
+ };
26
+ remove: {
27
+ arg: number;
28
+ prop: string;
29
+ argsFrom?: undefined;
30
+ };
31
+ replace?: undefined;
32
+ } | {
33
+ env: "server";
34
+ filter: string;
35
+ type: "call";
36
+ match: {
37
+ function: string;
38
+ args: {
39
+ 0: string;
40
+ };
41
+ };
42
+ remove: {
43
+ argsFrom: number;
44
+ arg?: undefined;
45
+ prop?: undefined;
46
+ };
47
+ replace?: undefined;
48
+ } | {
49
+ env: "server";
50
+ filter: string;
51
+ type: "call";
52
+ match: {
53
+ function: string;
54
+ args?: undefined;
55
+ };
56
+ replace: {
57
+ with: boolean;
58
+ };
59
+ remove?: undefined;
60
+ })[];
16
61
  meta: {
17
62
  Head: {
18
63
  env: {
@@ -185,7 +230,7 @@ declare const _default: {
185
230
  };
186
231
  };
187
232
  vite: {
188
- readonly plugins: ((import("vike-photon/plugin").PluginInterop | Promise<import("vike-photon/plugin").PluginInterop | import("vike-photon/plugin").PluginInterop[]>)[] | import("vite").Plugin<any>[] | Promise<import("vike-photon/plugin").PluginInterop[]>)[];
233
+ readonly plugins: (import("vite").Plugin<any>[] | (import("vike-photon/plugin").PluginInterop | Promise<import("vike-photon/plugin").PluginInterop | import("vike-photon/plugin").PluginInterop[]>)[] | Promise<import("vike-photon/plugin").PluginInterop[]>)[];
189
234
  };
190
235
  stream: {
191
236
  enable: null;
@@ -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
- nEs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ SEs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.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.30.0",
54
+ "@sentry/react": "^10.32.1",
55
55
  "@types/node": "^20.19.25",
56
56
  "@types/react": "^19.2.7",
57
57
  "@types/react-dom": "^19.2.3",
58
58
  react: "^19.2.3",
59
59
  "react-dom": "^19.2.3",
60
- vite: "^7.2.7"
60
+ vite: "^7.3.0"
61
61
  },
62
62
  dependencies: {
63
63
  "@batijs/core": "workspace:*"
@@ -87,7 +87,7 @@ var require_package = __commonJS({
87
87
  }
88
88
  });
89
89
  async function getPackageJson(props) {
90
- const packageJson = await nEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
90
+ const packageJson = await SEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
91
  return packageJson.addDependencies(["@sentry/react"]);
92
92
  }
93
93
  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
- Ljs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ rRs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -12,13 +12,13 @@ import "../../../../chunk-IHX3I5SM.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 = Ljs(
15
+ envContent = rRs(
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 = Ljs(
21
+ envContent = rRs(
22
22
  envContent,
23
23
  "PUBLIC_ENV__SENTRY_DSN",
24
24
  "",
@@ -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
- hps,
7
- tEs
8
- } from "../../../../chunk-55HKVDDJ.js";
6
+ Mps,
7
+ vEs
8
+ } from "../../../../chunk-53NHAV3C.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-IHX3I5SM.js";
11
11
 
12
12
  // ../../boilerplates/sentry/dist/files/$README.md.js
13
13
  async function getReadme(props) {
14
- const content = await tEs(props);
15
- const pmCmd = hps().run;
14
+ const content = await vEs(props);
15
+ const pmCmd = Mps().run;
16
16
  const about = `
17
17
 
18
18
  ## Sentry Browser / Error Tracking & Performance Monitoring
@@ -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
- tEs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ vEs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/sentry/dist/files/$TODO.md.js
12
12
  async function getTodo(props) {
13
- const content = await tEs(props);
13
+ const content = await vEs(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
- nEs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ SEs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -53,7 +53,7 @@ var require_package = __commonJS({
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@sentry/vite-plugin": "^4.6.1",
55
55
  "@types/node": "^20.19.25",
56
- vite: "^7.2.7"
56
+ vite: "^7.3.0"
57
57
  },
58
58
  dependencies: {
59
59
  "@batijs/core": "workspace:*"
@@ -77,7 +77,7 @@ var require_package = __commonJS({
77
77
  }
78
78
  });
79
79
  async function getPackageJson(props) {
80
- const packageJson = await nEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
80
+ const packageJson = await SEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
81
81
  return packageJson.addDevDependencies(["@sentry/vite-plugin"]);
82
82
  }
83
83
  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
- Knr,
7
- Xri,
8
- iEs
9
- } from "../../../../chunk-55HKVDDJ.js";
6
+ EEs,
7
+ oni,
8
+ tir
9
+ } from "../../../../chunk-53NHAV3C.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
11
  import "../../../../chunk-IHX3I5SM.js";
12
12
 
13
13
  // ../../boilerplates/sentry/dist/files/$vite.config.ts.js
14
14
  async function getViteConfig(props) {
15
- const mod = await iEs(props);
16
- Xri(mod, {
15
+ const mod = await EEs(props);
16
+ oni(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
- Knr(mod.exports.default.$args[0], { build: { sourcemap: true } });
24
+ tir(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
- TG,
7
- i7,
8
- iEs,
9
- zme
10
- } from "../../../../../chunk-55HKVDDJ.js";
6
+ CG,
7
+ EEs,
8
+ Jme,
9
+ a7
10
+ } from "../../../../../chunk-53NHAV3C.js";
11
11
  import "../../../../../chunk-IAWYWZSL.js";
12
12
  import "../../../../../chunk-IHX3I5SM.js";
13
13
 
@@ -15,17 +15,17 @@ import "../../../../../chunk-IHX3I5SM.js";
15
15
  async function getViteConfig(props) {
16
16
  let mod;
17
17
  try {
18
- mod = await iEs(props);
18
+ mod = await EEs(props);
19
19
  } catch {
20
- mod = zme("");
20
+ mod = Jme("");
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 = TG.functionCall("sentryBrowserConfig");
28
- const c = i7(e).code;
27
+ const e = CG.functionCall("sentryBrowserConfig");
28
+ const c = a7(e).code;
29
29
  mod.$ast.body.splice(mod.$ast.body.length - 1, 0, c);
30
30
  }
31
31
  return mod.generate().code;
@@ -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
- hps,
7
- tEs
8
- } from "../../../../chunk-55HKVDDJ.js";
6
+ Mps,
7
+ vEs
8
+ } from "../../../../chunk-53NHAV3C.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-IHX3I5SM.js";
11
11
 
12
12
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
13
13
  async function getReadme(props) {
14
- const content = await tEs(props);
15
- const pmCmd = hps().run;
14
+ const content = await vEs(props);
15
+ const pmCmd = Mps().run;
16
16
  const about = `
17
17
 
18
18
  ## 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
- nEs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ SEs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -56,7 +56,7 @@ var require_package = __commonJS({
56
56
  autoprefixer: "^10.4.23",
57
57
  "class-variance-authority": "^0.7.1",
58
58
  clsx: "^2.1.1",
59
- "lucide-react": "^0.561.0",
59
+ "lucide-react": "^0.562.0",
60
60
  "tailwind-merge": "^3.4.0",
61
61
  tailwindcss: "^4.1.18",
62
62
  "tw-animate-css": "^1.4.0"
@@ -83,7 +83,7 @@ var require_package = __commonJS({
83
83
  }
84
84
  });
85
85
  async function getPackageJson(props) {
86
- const packageJson = await nEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
86
+ const packageJson = await SEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
87
87
  return packageJson.setScript("shadcn", {
88
88
  value: "npx shadcn@latest",
89
89
  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
- rEs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ TEs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await rEs(props);
13
+ const tsConfig = await TEs(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
- Jnr,
7
- iEs
8
- } from "../../../../chunk-55HKVDDJ.js";
6
+ EEs,
7
+ Qnr
8
+ } from "../../../../chunk-53NHAV3C.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-IHX3I5SM.js";
11
11
 
12
12
  // ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await iEs(props);
14
+ const mod = await EEs(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 = `${Jnr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
21
+ const warnMsg = `${Qnr("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);
@@ -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
- Fjs,
7
- Ojs,
8
- tEs
9
- } from "../../../../chunk-55HKVDDJ.js";
6
+ Zjs,
7
+ eRs,
8
+ vEs
9
+ } from "../../../../chunk-53NHAV3C.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
11
  import "../../../../chunk-IHX3I5SM.js";
12
12
 
13
13
  // ../../boilerplates/shared/dist/files/$README.md.js
14
14
  async function getReadme(props) {
15
- const content = await tEs(props);
15
+ const content = await vEs(props);
16
16
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
17
- const v = Fjs();
17
+ const v = eRs();
18
18
  const intro = `Generated with [vike.dev/new](https://vike.dev/new) ([version ${v.semver.at(-1)}](https://www.npmjs.com/package/create-vike/v/${v.version})) using this command:
19
19
 
20
20
  \`\`\`sh
21
- ${Ojs()} ${flags}
21
+ ${Zjs()} ${flags}
22
22
  \`\`\`
23
23
  `;
24
24
  content.addMarkdown(intro, {
@@ -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
- tEs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ vEs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/shared/dist/files/$TODO.md.js
12
12
  var todoIntro = "Follow the steps below to finish setting up your application.";
13
13
  async function getTodo(props) {
14
- const content = await tEs(props);
14
+ const content = await vEs(props);
15
15
  content.addMarkdown(todoIntro, {
16
16
  wrapper: {
17
17
  section: "intro"
@@ -5,11 +5,11 @@
5
5
  "preview": "vike build && vike preview"
6
6
  },
7
7
  "dependencies": {
8
- "vike": "^0.4.249"
8
+ "vike": "^0.4.250"
9
9
  },
10
10
  "devDependencies": {
11
11
  "typescript": "^5.9.3",
12
- "vite": "^7.2.7"
12
+ "vite": "^7.3.0"
13
13
  },
14
14
  "type": "module"
15
15
  }
@@ -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
- nEs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ SEs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -53,9 +53,9 @@ var require_package = __commonJS({
53
53
  devDependencies: {
54
54
  "@batijs/compile": "workspace:*",
55
55
  "@types/node": "^20.19.25",
56
- "@universal-middleware/core": "^0.4.13",
57
- vike: "^0.4.249",
58
- vite: "^7.2.7"
56
+ "@universal-middleware/core": "^0.4.14",
57
+ vike: "^0.4.250",
58
+ vite: "^7.3.0"
59
59
  },
60
60
  files: [
61
61
  "dist/"
@@ -76,7 +76,7 @@ var require_package = __commonJS({
76
76
  }
77
77
  });
78
78
  async function getPackageJson(props) {
79
- const packageJson = await nEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
79
+ const packageJson = await SEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
80
80
  return packageJson.addDependencies(["@universal-middleware/core"]);
81
81
  }
82
82
  export {
@@ -1,5 +1,7 @@
1
1
  import type { PageContextServer } from "vike/types";
2
2
  export type Data = Awaited<ReturnType<typeof data>>;
3
3
  export declare function data(_pageContext: PageContextServer): Promise<{
4
- todoItemsInitial: any;
4
+ todoItemsInitial: {
5
+ text: string;
6
+ }[];
5
7
  }>;
@@ -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
- tEs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ vEs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/solid/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await tEs(props);
13
+ const content = await vEs(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
- nEs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ SEs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -55,10 +55,10 @@ var require_package = __commonJS({
55
55
  "solid-js": "^1.9.10",
56
56
  tailwindcss: "^4.1.18",
57
57
  typescript: "^5.9.3",
58
- vike: "^0.4.249",
59
- "vike-photon": "^0.1.23",
60
- "vike-solid": "^0.7.13",
61
- vite: "^7.2.7",
58
+ vike: "^0.4.250",
59
+ "vike-photon": "^0.1.24",
60
+ "vike-solid": "^0.7.18",
61
+ vite: "^7.3.0",
62
62
  "vite-plugin-solid": "^2.11.10"
63
63
  },
64
64
  dependencies: {
@@ -173,7 +173,7 @@ var require_package = __commonJS({
173
173
  }
174
174
  });
175
175
  async function getPackageJson(props) {
176
- const packageJson = await nEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
176
+ const packageJson = await SEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
177
177
  return packageJson.addDevDependencies(["vite"]).addDependencies(["solid-js", "vike-solid", "vike"]);
178
178
  }
179
179
  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
- rEs
7
- } from "../../../../chunk-55HKVDDJ.js";
6
+ TEs
7
+ } from "../../../../chunk-53NHAV3C.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/solid/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await rEs(props);
13
+ const tsConfig = await TEs(props);
14
14
  tsConfig.compilerOptions.jsx = "react-jsx";
15
15
  tsConfig.compilerOptions.jsxImportSource = "solid-js";
16
16
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-solid/client"];
@@ -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
- Xri,
7
- iEs
8
- } from "../../../../chunk-55HKVDDJ.js";
6
+ EEs,
7
+ oni
8
+ } from "../../../../chunk-53NHAV3C.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-IHX3I5SM.js";
11
11
 
12
12
  // ../../boilerplates/solid/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await iEs(props);
15
- Xri(mod, {
14
+ const mod = await EEs(props);
15
+ oni(mod, {
16
16
  from: "vike-solid/vite",
17
17
  constructor: "vikeSolid"
18
18
  });
@@ -1,7 +1,7 @@
1
1
  declare const _default: {
2
2
  title: string;
3
3
  description: string;
4
- passToClient: string[];
4
+ passToClient: "user"[];
5
5
  extends: ({
6
6
  name: string;
7
7
  require: {
@@ -18,7 +18,22 @@ declare const _default: {
18
18
  onRenderClient: "import:vike-solid/__internal/integration/onRenderClient:onRenderClient";
19
19
  clientRouting: true;
20
20
  hydrationCanBeAborted: true;
21
- passToClient: string[];
21
+ passToClient: "_configFromHook"[];
22
+ staticReplace: {
23
+ env: "server";
24
+ filter: string;
25
+ type: "call";
26
+ match: {
27
+ function: string;
28
+ args: {
29
+ 0: string;
30
+ };
31
+ };
32
+ remove: {
33
+ arg: number;
34
+ prop: string;
35
+ };
36
+ }[];
22
37
  meta: {
23
38
  Head: {
24
39
  env: {
@@ -125,7 +140,7 @@ declare const _default: {
125
140
  };
126
141
  };
127
142
  vite: {
128
- readonly plugins: ((import("vike-photon/plugin").PluginInterop | Promise<import("vike-photon/plugin").PluginInterop | import("vike-photon/plugin").PluginInterop[]>)[] | import("vite").Plugin<any>[] | Promise<import("vike-photon/plugin").PluginInterop[]>)[];
143
+ readonly plugins: (import("vite").Plugin<any>[] | (import("vike-photon/plugin").PluginInterop | Promise<import("vike-photon/plugin").PluginInterop | import("vike-photon/plugin").PluginInterop[]>)[] | Promise<import("vike-photon/plugin").PluginInterop[]>)[];
129
144
  };
130
145
  stream: {
131
146
  enable: null;