@batijs/cli 0.0.328 → 0.0.330

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 (105) 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/panda-css/files/layouts/panda.css +1 -1
  43. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +4 -4
  44. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  45. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  46. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +4 -4
  47. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  48. package/dist/boilerplates/@batijs/react/files/$package.json.js +11 -11
  49. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  50. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  51. package/dist/boilerplates/@batijs/react/files/pages/index/Counter.tsx +15 -13
  52. package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +1 -1
  53. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +7 -7
  54. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  55. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  56. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +6 -6
  57. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  58. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  59. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  60. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -6
  61. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  62. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  63. package/dist/boilerplates/@batijs/shadcn-ui/files/layouts/!tailwind.css +1 -3
  64. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  65. package/dist/boilerplates/@batijs/shared/files/package.json +5 -5
  66. package/dist/boilerplates/@batijs/shared/files/vite.config.ts +3 -3
  67. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +8 -8
  68. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  69. package/dist/boilerplates/@batijs/solid/files/$package.json.js +7 -7
  70. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  71. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  72. package/dist/boilerplates/@batijs/solid/files/pages/index/Counter.tsx +15 -13
  73. package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +1 -1
  74. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
  75. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  76. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  77. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +5 -5
  78. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +10 -28
  79. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +19 -0
  80. package/dist/boilerplates/@batijs/tailwindcss/files/layouts/tailwind.css +4 -3
  81. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +8 -8
  82. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  83. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +7 -7
  84. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +8 -8
  85. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +6 -6
  86. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +6 -6
  87. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  88. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  89. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  90. package/dist/boilerplates/@batijs/vue/files/$package.json.js +8 -8
  91. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  92. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  93. package/dist/boilerplates/@batijs/vue/files/components/Counter.vue +3 -1
  94. package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +1 -1
  95. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +6 -6
  96. package/dist/{chunk-DZBELOJE.js → chunk-7JKLHW74.js} +71114 -70941
  97. package/dist/index.js +1249 -158
  98. package/dist/prompt-Z3APRUMB.js +752 -0
  99. package/package.json +8 -8
  100. package/dist/boilerplates/@batijs/tailwindcss/files/postcss.config.js +0 -6
  101. package/dist/boilerplates/@batijs/tailwindcss/files/tailwind.config.ts +0 -10
  102. package/dist/boilerplates/@batijs/tailwindcss/types/postcss.config.d.ts +0 -7
  103. package/dist/boilerplates/@batijs/tailwindcss/types/tailwind.config.d.ts +0 -11
  104. package/dist/chunk-7ZHD2YFR.js +0 -1100
  105. package/dist/prompt-TICE27HC.js +0 -853
@@ -11,19 +11,21 @@ function Counter() {
11
11
  type="button"
12
12
  //# BATI.has("tailwindcss") || BATI.has("panda-css")
13
13
  class={
14
- BATI.has("tailwindcss")
15
- ? "inline-block border border-black rounded bg-gray-200 px-2 py-1 text-xs font-medium uppercase leading-normal"
16
- : css({
17
- display: "inline-block",
18
- border: "1px solid black",
19
- rounded: "sm",
20
- bg: "gray.200",
21
- px: 1,
22
- py: 0.5,
23
- fontSize: 12,
24
- fontWeight: 500,
25
- lineHeight: "16px",
26
- })
14
+ BATI.has("daisyui")
15
+ ? "btn"
16
+ : BATI.has("tailwindcss")
17
+ ? "inline-block border border-black rounded bg-gray-200 px-2 py-1 text-xs font-medium uppercase leading-normal"
18
+ : css({
19
+ display: "inline-block",
20
+ border: "1px solid black",
21
+ rounded: "sm",
22
+ bg: "gray.200",
23
+ px: 1,
24
+ py: 0.5,
25
+ fontSize: 12,
26
+ fontWeight: 500,
27
+ lineHeight: "16px",
28
+ })
27
29
  }
28
30
  onClick={() => setCount((count) => count + 1)}
29
31
  >
@@ -74,7 +74,7 @@ export function TodoList(props: { initialTodoItems: { text: string }[] }) {
74
74
  //# BATI.has("tailwindcss") || BATI.has("panda-css")
75
75
  class={
76
76
  BATI.has("tailwindcss")
77
- ? "text-white bg-blue-700 hover:bg-blue-800 focus:ring-2 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto p-2"
77
+ ? "text-white bg-blue-700 hover:bg-blue-800 focus:ring-2 focus:outline-hidden focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto p-2"
78
78
  : css({
79
79
  color: "white",
80
80
  bg: { base: "teal.700", _hover: "teal.800" },
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- dXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ IHs
4
+ } from "../../../../chunk-7JKLHW74.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.70",
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 dXs(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
- AXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ YHs
4
+ } from "../../../../chunk-7JKLHW74.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 AXs(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
- fXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ kHs
4
+ } from "../../../../chunk-7JKLHW74.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 fXs(props);
9
+ const content = await kHs(props);
10
10
  const todo = `
11
11
  ## *Sqlite*
12
12
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- dXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ IHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$package.json.js
@@ -48,8 +48,8 @@ var require_package = __commonJS({
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@types/better-sqlite3": "^7.6.12",
51
- "@types/node": "^18.19.70",
52
- "better-sqlite3": "^11.7.2",
51
+ "@types/node": "^18.19.74",
52
+ "better-sqlite3": "^11.8.1",
53
53
  dotenv: "^16.4.7",
54
54
  tsx: "^4.19.2"
55
55
  },
@@ -119,7 +119,7 @@ var require_package = __commonJS({
119
119
  }
120
120
  });
121
121
  async function getPackageJson(props) {
122
- const packageJson = await dXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
122
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
123
123
  return packageJson.setScript("sqlite:migrate", {
124
124
  value: "tsx ./database/sqlite/schema/all.ts",
125
125
  precedence: 1
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- dXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ IHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/tailwindcss/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
- "@types/node": "^18.19.70",
50
+ "@types/node": "^18.19.74",
51
51
  autoprefixer: "^10.4.20",
52
- daisyui: "^4.12.23",
53
- postcss: "^8.4.49",
54
- tailwindcss: "^3.4.17",
55
- vike: "^0.4.214",
56
- vite: "^6.0.7"
52
+ daisyui: "^5.0.0-beta.2",
53
+ tailwindcss: "^4.0.0",
54
+ "@tailwindcss/vite": "^4.0.0",
55
+ vike: "^0.4.220",
56
+ vite: "^6.0.11"
57
57
  },
58
58
  dependencies: {
59
59
  "@batijs/core": "workspace:*"
@@ -65,31 +65,13 @@ var require_package = __commonJS({
65
65
  if: {
66
66
  flag: "tailwindcss"
67
67
  }
68
- },
69
- exports: {
70
- "./postcss.config": {
71
- types: "./dist/types/postcss.config.d.ts"
72
- },
73
- "./tailwind.config": {
74
- types: "./dist/types/tailwind.config.d.ts"
75
- }
76
- },
77
- typesVersions: {
78
- "*": {
79
- "postcss.config": [
80
- "./dist/types/postcss.config.d.ts"
81
- ],
82
- "tailwind.config": [
83
- "./dist/types/tailwind.config.d.ts"
84
- ]
85
- }
86
68
  }
87
69
  };
88
70
  }
89
71
  });
90
72
  async function getPackageJson(props) {
91
- const packageJson = await dXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
- return packageJson.addDevDependencies(["tailwindcss", "postcss", "autoprefixer"]).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
73
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
74
+ return packageJson.addDevDependencies(["tailwindcss", "@tailwindcss/vite"]).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
93
75
  }
94
76
  export {
95
77
  getPackageJson as default
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ OHs,
4
+ hbs
5
+ } from "../../../../chunk-7JKLHW74.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/tailwindcss/dist/files/$vite.config.ts.js
9
+ async function getViteConfig(props) {
10
+ const mod = await OHs(props);
11
+ hbs(mod, {
12
+ from: "@tailwindcss/vite",
13
+ constructor: "tailwindcss"
14
+ });
15
+ return mod.generate().code;
16
+ }
17
+ export {
18
+ getViteConfig as default
19
+ };
@@ -1,3 +1,4 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
1
+ @import "tailwindcss";
2
+ /*{ @if (it.BATI.has("daisyui")) }*/
3
+ @plugin "daisyui";
4
+ /*{ /if }*/
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- dXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ IHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/telefunc/dist/files/$package.json.js
@@ -47,12 +47,12 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@cloudflare/workers-types": "^4.20250109.0",
51
- "@types/node": "^18.19.70",
52
- "@universal-middleware/core": "^0.3.3",
50
+ "@cloudflare/workers-types": "^4.20250124.3",
51
+ "@types/node": "^18.19.74",
52
+ "@universal-middleware/core": "^0.4.0",
53
53
  telefunc: "^0.1.83",
54
- vike: "^0.4.214",
55
- vite: "^6.0.7"
54
+ vike: "^0.4.220",
55
+ vite: "^6.0.11"
56
56
  },
57
57
  dependencies: {
58
58
  "@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 dXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
90
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
91
  return packageJson.addDependencies(["telefunc", "@universal-middleware/core"]);
92
92
  }
93
93
  export {
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eTs,
4
- mXs
5
- } from "../../../../chunk-DZBELOJE.js";
3
+ OHs,
4
+ hbs
5
+ } from "../../../../chunk-7JKLHW74.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/telefunc/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await mXs(props);
11
- eTs(mod, {
10
+ const mod = await OHs(props);
11
+ hbs(mod, {
12
12
  from: "telefunc/vite",
13
13
  constructor: "telefunc",
14
14
  imported: "telefunc"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- dXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ IHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/trpc/dist/files/$package.json.js
@@ -47,12 +47,12 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@cloudflare/workers-types": "^4.20250109.0",
50
+ "@cloudflare/workers-types": "^4.20250124.3",
51
51
  "@trpc/client": "^10.45.2",
52
52
  "@trpc/server": "^10.45.2",
53
- "@types/node": "^18.19.70",
54
- "@universal-middleware/core": "^0.3.3",
55
- vite: "^6.0.7"
53
+ "@types/node": "^18.19.74",
54
+ "@universal-middleware/core": "^0.4.0",
55
+ vite: "^6.0.11"
56
56
  },
57
57
  dependencies: {
58
58
  "@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 dXs(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(["@trpc/server", "@trpc/client"]);
98
98
  }
99
99
  export {
@@ -5,9 +5,9 @@ export declare const trpc: {
5
5
  ctx: object & {
6
6
  db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
7
7
  } & {
8
- db: ReturnType<any>;
8
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
9
9
  } & {
10
- db: ReturnType<any>;
10
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
11
11
  } & {
12
12
  db: import("@cloudflare/workers-types").D1Database;
13
13
  };
@@ -18,9 +18,9 @@ export declare const trpc: {
18
18
  _ctx_out: object & {
19
19
  db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
20
20
  } & {
21
- db: ReturnType<any>;
21
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
22
22
  } & {
23
- db: ReturnType<any>;
23
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
24
24
  } & {
25
25
  db: import("@cloudflare/workers-types").D1Database;
26
26
  };
@@ -39,9 +39,9 @@ export declare const trpc: {
39
39
  ctx: object & {
40
40
  db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
41
41
  } & {
42
- db: ReturnType<any>;
42
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
43
43
  } & {
44
- db: ReturnType<any>;
44
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
45
45
  } & {
46
46
  db: import("@cloudflare/workers-types").D1Database;
47
47
  };
@@ -53,9 +53,9 @@ export declare const trpc: {
53
53
  _ctx_out: object & {
54
54
  db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
55
55
  } & {
56
- db: ReturnType<any>;
56
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
57
57
  } & {
58
- db: ReturnType<any>;
58
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
59
59
  } & {
60
60
  db: import("@cloudflare/workers-types").D1Database;
61
61
  };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- dXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ IHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/ts-rest/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
- "@cloudflare/workers-types": "^4.20250109.0",
50
+ "@cloudflare/workers-types": "^4.20250124.3",
51
51
  "@ts-rest/core": "^3.51.0",
52
52
  "@ts-rest/serverless": "^3.51.0",
53
- "@types/node": "^18.19.70",
54
- "@universal-middleware/core": "^0.3.3",
53
+ "@types/node": "^18.19.74",
54
+ "@universal-middleware/core": "^0.4.0",
55
55
  zod: "^3.24.1"
56
56
  },
57
57
  dependencies: {
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await dXs(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.addDevDependencies(["zod"]).addDependencies(["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"]);
98
98
  }
99
99
  export {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- dXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ IHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vercel/dist/files/$package.json.js
@@ -47,10 +47,10 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@types/node": "^18.19.70",
50
+ "@types/node": "^18.19.74",
51
51
  "@vite-plugin-vercel/vike": "^9.0.3",
52
- vike: "^0.4.214",
53
- vite: "^6.0.7",
52
+ vike: "^0.4.220",
53
+ vite: "^6.0.11",
54
54
  "vite-plugin-vercel": "^9.0.4"
55
55
  },
56
56
  dependencies: {
@@ -68,7 +68,7 @@ var require_package = __commonJS({
68
68
  }
69
69
  });
70
70
  async function getPackageJson(props) {
71
- const packageJson = await dXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
71
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
72
72
  return packageJson.addDependencies(["vite-plugin-vercel", "@vite-plugin-vercel/vike"]);
73
73
  }
74
74
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- _Xs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ NHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vercel/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await _Xs(props);
9
+ const tsConfig = await NHs(props);
10
10
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vite-plugin-vercel/types"];
11
11
  return tsConfig;
12
12
  }
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eTs,
4
- mXs
5
- } from "../../../../chunk-DZBELOJE.js";
3
+ OHs,
4
+ hbs
5
+ } from "../../../../chunk-7JKLHW74.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/vercel/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await mXs(props);
10
+ const mod = await OHs(props);
11
11
  const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
12
12
  source: "/.*"
13
13
  } : void 0;
14
- eTs(mod, {
14
+ hbs(mod, {
15
15
  from: "vite-plugin-vercel",
16
16
  constructor: "vercel",
17
17
  options
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- fXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ kHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await fXs(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 [Vue](https://vuejs.org/guide/quick-start.html).
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- dXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ IHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$package.json.js
@@ -49,16 +49,16 @@ var require_package = __commonJS({
49
49
  devDependencies: {
50
50
  "@batijs/compile": "workspace:*",
51
51
  "@pandacss/dev": "^0.51.1",
52
- "@types/node": "^18.19.70",
52
+ "@types/node": "^18.19.74",
53
53
  "@vitejs/plugin-vue": "^5.2.1",
54
54
  "@vue/compiler-sfc": "^3.5.13",
55
55
  "@vue/server-renderer": "^3.5.13",
56
- tailwindcss: "^3.4.17",
56
+ tailwindcss: "^4.0.0",
57
57
  typescript: "^5.7.3",
58
- "unplugin-vue-markdown": "^28.0.0",
59
- vike: "^0.4.214",
58
+ "unplugin-vue-markdown": "^28.1.0",
59
+ vike: "^0.4.220",
60
60
  "vike-vue": "^0.8.6",
61
- vite: "^6.0.7",
61
+ vite: "^6.0.11",
62
62
  vue: "^3.5.13",
63
63
  "vue-gtag": "^2.0.1"
64
64
  },
@@ -125,7 +125,7 @@ var require_package = __commonJS({
125
125
  }
126
126
  });
127
127
  async function getPackageJson(props) {
128
- const packageJson = await dXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
128
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
129
129
  return packageJson.addDevDependencies(["vite"]).addDependencies([
130
130
  "@vitejs/plugin-vue",
131
131
  "@vue/compiler-sfc",
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- _Xs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ NHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await _Xs(props);
9
+ const tsConfig = await NHs(props);
10
10
  tsConfig.compilerOptions.jsx = "preserve";
11
11
  tsConfig.compilerOptions.jsxImportSource = "vue";
12
12
  return tsConfig;
@@ -1,21 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eTs,
4
- mXs
5
- } from "../../../../chunk-DZBELOJE.js";
3
+ OHs,
4
+ hbs
5
+ } from "../../../../chunk-7JKLHW74.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/vue/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await mXs(props);
11
- eTs(mod, {
10
+ const mod = await OHs(props);
11
+ hbs(mod, {
12
12
  from: "@vitejs/plugin-vue",
13
13
  constructor: "vue",
14
14
  options: {
15
15
  include: [/\.vue$/, /\.md$/]
16
16
  }
17
17
  });
18
- eTs(mod, {
18
+ hbs(mod, {
19
19
  from: "unplugin-vue-markdown/vite",
20
20
  constructor: "md",
21
21
  options: {}
@@ -1,5 +1,7 @@
1
1
  <template>
2
- <!-- BATI.has("tailwindcss") -->
2
+ <!-- BATI.has("daisyui") -->
3
+ <button type="button" class="btn" @click="state.count++">Counter {{ state.count }}</button>
4
+ <!-- BATI.has("tailwindcss") && !BATI.has("daisyui") -->
3
5
  <button
4
6
  type="button"
5
7
  class="inline-block border border-black rounded bg-gray-200 px-2 py-1 text-xs font-medium uppercase leading-normal"
@@ -40,7 +40,7 @@ const inputClass = ref(
40
40
  );
41
41
  const buttonClass = ref(
42
42
  BATI.has("tailwindcss")
43
- ? "text-white bg-blue-700 hover:bg-blue-800 focus:ring-2 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto p-2"
43
+ ? "text-white bg-blue-700 hover:bg-blue-800 focus:ring-2 focus:outline-hidden focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto p-2"
44
44
  : BATI.has("panda-css")
45
45
  ? css({
46
46
  color: "white",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- dXs
4
- } from "../../../../chunk-DZBELOJE.js";
3
+ IHs
4
+ } from "../../../../chunk-7JKLHW74.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue-sentry/dist/files/$package.json.js
@@ -47,10 +47,10 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@sentry/vue": "^8.48.0",
51
- "@types/node": "^18.19.70",
50
+ "@sentry/vue": "^8.51.0",
51
+ "@types/node": "^18.19.74",
52
52
  "vike-vue": "^0.8.6",
53
- vite: "^6.0.7",
53
+ vite: "^6.0.11",
54
54
  vue: "^3.5.13"
55
55
  },
56
56
  dependencies: {
@@ -85,7 +85,7 @@ var require_package = __commonJS({
85
85
  }
86
86
  });
87
87
  async function getPackageJson(props) {
88
- const packageJson = await dXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
88
+ const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
89
89
  return packageJson.addDependencies(["@sentry/vue"]);
90
90
  }
91
91
  export {