@batijs/cli 0.0.327 → 0.0.329

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 (91) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$README.md.js +3 -3
  3. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +5 -5
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +11 -8
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/aws/files/tests/aws_handler.spec.ts +1 -1
  8. package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
  9. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +7 -7
  10. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
  11. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +5 -5
  12. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +5 -5
  13. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  14. package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
  15. package/dist/boilerplates/@batijs/d1/files/$package.json.js +8 -8
  16. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  17. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
  18. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +7 -7
  19. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  20. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
  21. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +7 -7
  22. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
  23. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +4 -4
  24. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +8 -8
  25. package/dist/boilerplates/@batijs/express/files/$package.json.js +8 -8
  26. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +8 -8
  27. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
  28. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
  29. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +8 -8
  30. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  31. package/dist/boilerplates/@batijs/h3/files/$package.json.js +9 -9
  32. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +9 -9
  33. package/dist/boilerplates/@batijs/hono/files/$package.json.js +12 -12
  34. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  35. package/dist/boilerplates/@batijs/hono/files/hono-entry.node.ts +3 -1
  36. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
  37. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
  38. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +11 -11
  39. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  40. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +10 -10
  41. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +5 -5
  42. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +4 -4
  43. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  44. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  45. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +4 -4
  46. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  47. package/dist/boilerplates/@batijs/react/files/$package.json.js +10 -10
  48. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  49. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  50. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +7 -7
  51. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  52. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  53. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +5 -5
  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 +3 -3
  57. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +5 -5
  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 +9 -9
  61. package/dist/boilerplates/@batijs/shared/files/package.json +5 -5
  62. package/dist/boilerplates/@batijs/shared/files/vite.config.ts +3 -3
  63. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +8 -8
  64. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  65. package/dist/boilerplates/@batijs/solid/files/$package.json.js +6 -6
  66. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  67. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  68. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
  69. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  70. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  71. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +5 -5
  72. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +7 -7
  73. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +8 -8
  74. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  75. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +7 -7
  76. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +4 -4
  77. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +6 -6
  78. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +6 -6
  79. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  80. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  81. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  82. package/dist/boilerplates/@batijs/vue/files/$package.json.js +7 -7
  83. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  84. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  85. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +6 -6
  86. package/dist/{chunk-TTE45OFP.js → chunk-BS3TII3O.js} +71422 -71235
  87. package/dist/index.js +1249 -158
  88. package/dist/prompt-Z3APRUMB.js +752 -0
  89. package/package.json +8 -8
  90. package/dist/chunk-7ZHD2YFR.js +0 -1100
  91. package/dist/prompt-TICE27HC.js +0 -853
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- fXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ IHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/react/dist/files/$package.json.js
@@ -47,23 +47,23 @@ var require_package = __commonJS({
47
47
  author: "",
48
48
  license: "MIT",
49
49
  devDependencies: {
50
- "@babel/core": "^7.26.0",
50
+ "@babel/core": "^7.26.7",
51
51
  "@babel/plugin-syntax-flow": "^7.26.0",
52
52
  "@babel/plugin-transform-react-jsx": "^7.25.9",
53
53
  "@batijs/compile": "workspace:*",
54
- "@mantine/core": "^7.15.3",
54
+ "@mantine/core": "^7.16.2",
55
55
  "@pandacss/dev": "^0.51.1",
56
- "@types/node": "^18.19.68",
57
- "@types/react": "^19.0.6",
56
+ "@types/node": "^18.19.74",
57
+ "@types/react": "^19.0.8",
58
58
  "@types/react-dom": "^19.0.3",
59
59
  "@vitejs/plugin-react": "^4.3.4",
60
60
  react: "^19.0.0",
61
61
  "react-dom": "^19.0.0",
62
62
  tailwindcss: "^3.4.17",
63
63
  typescript: "^5.7.3",
64
- vike: "^0.4.214",
65
- "vike-react": "^0.5.11",
66
- vite: "^6.0.7",
64
+ vike: "^0.4.220",
65
+ "vike-react": "^0.5.12",
66
+ vite: "^6.0.11",
67
67
  "vite-plugin-compiled-react": "^1.1.3"
68
68
  },
69
69
  dependencies: {
@@ -183,7 +183,7 @@ var require_package = __commonJS({
183
183
  }
184
184
  });
185
185
  async function getPackageJson(props) {
186
- const packageJson = await fXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
186
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
187
187
  return packageJson.addDevDependencies(["vite", "@types/react", "@types/react-dom"]).addDependencies(["@vitejs/plugin-react", "react", "react-dom", "vike", "vike-react"]);
188
188
  }
189
189
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- pXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ NHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/react/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await pXs(props);
9
+ const tsConfig = await NHs(props);
10
10
  tsConfig.compilerOptions.jsx = "preserve";
11
11
  tsConfig.compilerOptions.jsxImportSource = "react";
12
12
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-react"];
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- Qbs,
4
- _Xs
5
- } from "../../../../chunk-TTE45OFP.js";
3
+ OHs,
4
+ hbs
5
+ } from "../../../../chunk-BS3TII3O.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/react/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await _Xs(props);
10
+ const mod = await OHs(props);
11
11
  const reactOptions = props.meta.BATI.has("vercel") && props.meta.BATI.has("hattip") ? { jsxRuntime: "classic" } : {};
12
- Qbs(mod, {
12
+ hbs(mod, {
13
13
  from: "@vitejs/plugin-react",
14
14
  constructor: "react",
15
15
  options: reactOptions
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- fXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ IHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/react-sentry/dist/files/$package.json.js
@@ -47,13 +47,13 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@sentry/react": "^8.48.0",
51
- "@types/node": "^18.19.68",
52
- "@types/react": "^19.0.6",
50
+ "@sentry/react": "^8.51.0",
51
+ "@types/node": "^18.19.74",
52
+ "@types/react": "^19.0.8",
53
53
  "@types/react-dom": "^19.0.3",
54
54
  react: "^19.0.0",
55
55
  "react-dom": "^19.0.0",
56
- vite: "^6.0.7"
56
+ vite: "^6.0.11"
57
57
  },
58
58
  dependencies: {
59
59
  "@batijs/core": "workspace:*"
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await fXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.addDependencies(["@sentry/react"]);
98
98
  }
99
99
  export {
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- EXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ YHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sentry/dist/files/$.env.js
8
8
  async function getServerlessEnv(props) {
9
9
  const sentryDNS = process.env.TEST_SENTRY_DSN;
10
10
  let envContent = await props.readfile?.();
11
- envContent = EXs(
11
+ envContent = YHs(
12
12
  envContent,
13
13
  "SENTRY_DSN",
14
14
  sentryDNS ?? "",
15
15
  "Sentry DNS. Used for Error Reporting on the Server"
16
16
  );
17
- envContent = EXs(
17
+ envContent = YHs(
18
18
  envContent,
19
19
  "PUBLIC_ENV__SENTRY_DSN",
20
20
  "",
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- uXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ kHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sentry/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await uXs(props);
9
+ const content = await kHs(props);
10
10
  const about = `
11
11
 
12
12
  ## Sentry Browser / Error Tracking & Performance Monitoring
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- fXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ IHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sentry/dist/files/$package.json.js
@@ -48,8 +48,8 @@ var require_package = __commonJS({
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@sentry/vite-plugin": "^2.23.0",
51
- "@types/node": "^18.19.68",
52
- vite: "^6.0.7"
51
+ "@types/node": "^18.19.74",
52
+ vite: "^6.0.11"
53
53
  },
54
54
  dependencies: {
55
55
  "@batijs/core": "workspace:*"
@@ -78,7 +78,7 @@ var require_package = __commonJS({
78
78
  }
79
79
  });
80
80
  async function getPackageJson(props) {
81
- const packageJson = await fXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
81
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
82
82
  return packageJson.addDevDependencies(["@sentry/vite-plugin"]);
83
83
  }
84
84
  export {
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- Qbs,
4
- _Xs,
5
- wXr
6
- } from "../../../../chunk-TTE45OFP.js";
3
+ GXr,
4
+ OHs,
5
+ hbs
6
+ } from "../../../../chunk-BS3TII3O.js";
7
7
  import "../../../../chunk-LU7IBQI7.js";
8
8
 
9
9
  // ../../boilerplates/sentry/dist/files/$vite.config.ts.js
10
10
  async function getViteConfig(props) {
11
- const mod = await _Xs(props);
12
- Qbs(mod, {
11
+ const mod = await OHs(props);
12
+ hbs(mod, {
13
13
  from: "@sentry/vite-plugin",
14
14
  constructor: "sentryVitePlugin",
15
15
  imported: "sentryVitePlugin",
@@ -17,7 +17,7 @@ async function getViteConfig(props) {
17
17
  sourcemaps: { disable: false }
18
18
  }
19
19
  });
20
- wXr(mod.exports.default.$args[0], { build: { sourcemap: true } });
20
+ GXr(mod.exports.default.$args[0], { build: { sourcemap: true } });
21
21
  return mod.generate().code;
22
22
  }
23
23
  export {
@@ -1,27 +1,27 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- BV,
4
- C5e,
5
- Dse,
6
- _Xs
7
- } from "../../../../../chunk-TTE45OFP.js";
3
+ I5e,
4
+ OHs,
5
+ Ose,
6
+ zV
7
+ } from "../../../../../chunk-BS3TII3O.js";
8
8
  import "../../../../../chunk-LU7IBQI7.js";
9
9
 
10
10
  // ../../boilerplates/sentry/dist/files/pages/$+client.ts.js
11
11
  async function getViteConfig(props) {
12
12
  let mod;
13
13
  try {
14
- mod = await _Xs(props);
14
+ mod = await OHs(props);
15
15
  } catch {
16
- mod = C5e("");
16
+ mod = I5e("");
17
17
  }
18
18
  if (!props.meta.BATI.has("vue")) {
19
19
  mod.imports.$prepend({
20
20
  from: "../sentry.browser.config",
21
21
  imported: "sentryBrowserConfig"
22
22
  });
23
- const e = Dse.functionCall("sentryBrowserConfig");
24
- const c = BV(e).code;
23
+ const e = Ose.functionCall("sentryBrowserConfig");
24
+ const c = zV(e).code;
25
25
  mod.$ast.body.splice(mod.$ast.body.length - 1, 0, c);
26
26
  }
27
27
  return mod.generate().code;
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- uXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ kHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await uXs(props);
9
+ const content = await kHs(props);
10
10
  const about = `
11
11
 
12
12
  ## shadcn/ui
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- fXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ IHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$package.json.js
@@ -48,10 +48,10 @@ var require_package = __commonJS({
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@radix-ui/react-icons": "^1.3.2",
51
- "@types/node": "^18.19.68",
51
+ "@types/node": "^18.19.74",
52
52
  "class-variance-authority": "^0.7.1",
53
53
  clsx: "^2.1.1",
54
- "lucide-react": "^0.471.0",
54
+ "lucide-react": "^0.471.2",
55
55
  "tailwind-merge": "^2.6.0",
56
56
  tailwindcss: "^3.4.17",
57
57
  "tailwindcss-animate": "^1.0.7"
@@ -89,7 +89,7 @@ var require_package = __commonJS({
89
89
  }
90
90
  });
91
91
  async function getPackageJson(props) {
92
- const packageJson = await fXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
93
  return packageJson.setScript("shadcn", {
94
94
  value: "npx shadcn@latest",
95
95
  precedence: 1,
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- pXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ NHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await pXs(props);
9
+ const tsConfig = await NHs(props);
10
10
  tsConfig.compilerOptions.paths = {
11
11
  ...tsConfig.compilerOptions?.paths ?? {},
12
12
  "@/*": ["./*"]
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- EXr,
4
- _Xs
5
- } from "../../../../chunk-TTE45OFP.js";
3
+ OHs,
4
+ YXr
5
+ } from "../../../../chunk-BS3TII3O.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await _Xs(props);
10
+ const mod = await OHs(props);
11
11
  const replacement = `new URL("./", import.meta.url).pathname`;
12
12
  addResolveAlias(mod, "@", replacement);
13
13
  return mod.generate().code.replace(`"{{PLACEHOLDER_ALIAS}}"`, replacement);
14
14
  }
15
15
  function addResolveAlias(mod, find, replacement) {
16
16
  const alias = mod.exports.default.$args[0]?.resolve?.alias ?? {};
17
- const warnMsg = `${EXr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
17
+ const warnMsg = `${YXr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
18
18
  if (alias?.length === void 0) {
19
19
  if (alias[find]) {
20
20
  console.warn(warnMsg);
@@ -1,21 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- RXs,
4
- jXs,
5
- lVs,
6
- uXs
7
- } from "../../../../chunk-TTE45OFP.js";
3
+ Pqs,
4
+ iXs,
5
+ kHs,
6
+ nXs
7
+ } from "../../../../chunk-BS3TII3O.js";
8
8
  import "../../../../chunk-LU7IBQI7.js";
9
9
 
10
10
  // ../../boilerplates/shared/dist/files/$README.md.js
11
11
  async function getReadme(props) {
12
- const content = await uXs(props);
12
+ const content = await kHs(props);
13
13
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
14
- const v = jXs();
15
- const intro = `Generated with [Bati](https://batijs.dev) ${`(${lVs.link("https://www.npmjs.com/package/create-bati/v/" + v.version, "version " + v.semver.at(-1))})`} using this command:
14
+ const v = iXs();
15
+ const intro = `Generated with [Bati](https://batijs.dev) ${`(${Pqs.link("https://www.npmjs.com/package/create-bati/v/" + v.version, "version " + v.semver.at(-1))})`} using this command:
16
16
 
17
17
  \`\`\`sh
18
- ${RXs()} ${flags}
18
+ ${nXs()} ${flags}
19
19
  \`\`\`
20
20
  `;
21
21
  content.addMarkdown(intro, {
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "scripts": {
3
- "dev": "vite",
4
- "build": "vite build",
5
- "preview": "vite preview"
3
+ "dev": "vike dev",
4
+ "build": "vike build",
5
+ "preview": "vike preview"
6
6
  },
7
7
  "dependencies": {},
8
8
  "devDependencies": {
9
9
  "typescript": "^5.7.3",
10
- "vike": "^0.4.214",
11
- "vite": "^6.0.7"
10
+ "vike": "^0.4.220",
11
+ "vite": "^6.0.11"
12
12
  },
13
13
  "type": "module"
14
14
  }
@@ -14,15 +14,15 @@ export default defineConfig({
14
14
  //# BATI.has("hattip") && BATI.has("vercel")
15
15
  process.env.NODE_ENV !== "production" ? hattip() : undefined,
16
16
  //# BATI.has("hattip") && !BATI.has("vercel")
17
- hattip(),
17
+ hattip({
18
+ hattipEntry: "./hattip-entry.ts",
19
+ }),
18
20
  ],
19
- //# BATI.hasD1 || BATI.has("cloudflare")
20
21
  build: {
21
22
  //# BATI.hasD1
22
23
  rollupOptions: {
23
24
  external: ["wrangler"],
24
25
  },
25
- //# BATI.has("cloudflare")
26
26
  target: "es2022",
27
27
  },
28
28
  //# BATI.has("vercel") && BATI.hasServer
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- fXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ IHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shared-server/dist/files/$package.json.js
@@ -48,11 +48,11 @@ var require_package = __commonJS({
48
48
  license: "MIT",
49
49
  devDependencies: {
50
50
  "@batijs/compile": "workspace:*",
51
- "@cloudflare/workers-types": "^4.20250109.0",
52
- "@types/node": "^18.19.68",
53
- "@universal-middleware/core": "^0.3.3",
54
- vike: "^0.4.214",
55
- vite: "^6.0.7"
51
+ "@cloudflare/workers-types": "^4.20250124.3",
52
+ "@types/node": "^18.19.74",
53
+ "@universal-middleware/core": "^0.4.0",
54
+ vike: "^0.4.220",
55
+ vite: "^6.0.11"
56
56
  },
57
57
  files: [
58
58
  "dist/"
@@ -92,7 +92,7 @@ var require_package = __commonJS({
92
92
  }
93
93
  });
94
94
  async function getPackageJson(props) {
95
- const packageJson = await fXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
96
  return packageJson.addDependencies(["@universal-middleware/core"]);
97
97
  }
98
98
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- uXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ kHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await uXs(props);
9
+ const content = await kHs(props);
10
10
  const about = `
11
11
 
12
12
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [SolidJS](https://www.solidjs.com/guides/getting-started).
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- fXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ IHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$package.json.js
@@ -49,13 +49,13 @@ var require_package = __commonJS({
49
49
  devDependencies: {
50
50
  "@batijs/compile": "workspace:*",
51
51
  "@pandacss/dev": "^0.51.1",
52
- "@types/node": "^18.19.68",
52
+ "@types/node": "^18.19.74",
53
53
  "solid-js": "^1.9.4",
54
54
  tailwindcss: "^3.4.17",
55
55
  typescript: "^5.7.3",
56
- vike: "^0.4.214",
56
+ vike: "^0.4.220",
57
57
  "vike-solid": "^0.7.8",
58
- vite: "^6.0.7",
58
+ vite: "^6.0.11",
59
59
  "vite-plugin-solid": "^2.11.0"
60
60
  },
61
61
  dependencies: {
@@ -175,7 +175,7 @@ var require_package = __commonJS({
175
175
  }
176
176
  });
177
177
  async function getPackageJson(props) {
178
- const packageJson = await fXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
178
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
179
179
  return packageJson.addDevDependencies(["vite"]).addDependencies(["solid-js", "vike-solid", "vike"]);
180
180
  }
181
181
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- pXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ NHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await pXs(props);
9
+ const tsConfig = await NHs(props);
10
10
  tsConfig.compilerOptions.jsx = "preserve";
11
11
  tsConfig.compilerOptions.jsxImportSource = "solid-js";
12
12
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-solid/client"];
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- Qbs,
4
- _Xs
5
- } from "../../../../chunk-TTE45OFP.js";
3
+ OHs,
4
+ hbs
5
+ } from "../../../../chunk-BS3TII3O.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/solid/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await _Xs(props);
11
- Qbs(mod, {
10
+ const mod = await OHs(props);
11
+ hbs(mod, {
12
12
  from: "vike-solid/vite",
13
13
  constructor: "vikeSolid"
14
14
  });
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- fXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ IHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid-sentry/dist/files/$package.json.js
@@ -47,11 +47,11 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@sentry/solid": "^8.48.0",
51
- "@types/node": "^18.19.68",
50
+ "@sentry/solid": "^8.51.0",
51
+ "@types/node": "^18.19.74",
52
52
  "solid-js": "^1.9.4",
53
53
  "vike-solid": "^0.7.8",
54
- vite: "^6.0.7"
54
+ vite: "^6.0.11"
55
55
  },
56
56
  dependencies: {
57
57
  "@batijs/core": "workspace:*"
@@ -91,7 +91,7 @@ var require_package = __commonJS({
91
91
  }
92
92
  });
93
93
  async function getPackageJson(props) {
94
- const packageJson = await fXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
95
  return packageJson.addDependencies(["@sentry/solid"]);
96
96
  }
97
97
  export {
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- EXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ YHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$.env.js
8
8
  async function getEnv(props) {
9
9
  if (props.meta.BATI.hasD1) return;
10
10
  const envContent = await props.readfile?.();
11
- return EXs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
11
+ return YHs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
12
12
  }
13
13
  export {
14
14
  getEnv as default
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- uXs
4
- } from "../../../../chunk-TTE45OFP.js";
3
+ kHs
4
+ } from "../../../../chunk-BS3TII3O.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await uXs(props);
9
+ const content = await kHs(props);
10
10
  const todo = `
11
11
  ## *Sqlite*
12
12