@batijs/cli 0.0.329 → 0.0.331

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 (98) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +1 -1
  2. package/dist/boilerplates/@batijs/auth0/files/$README.md.js +1 -1
  3. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -1
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -1
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
  7. package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
  8. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -1
  9. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +1 -1
  10. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +1 -1
  11. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
  12. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
  13. package/dist/boilerplates/@batijs/d1/files/$README.md.js +1 -1
  14. package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
  15. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
  16. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
  17. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
  18. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
  19. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +1 -1
  20. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +2 -2
  21. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +1 -1
  22. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +1 -1
  23. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
  24. package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
  25. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
  26. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +1 -1
  27. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +1 -1
  28. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +1 -1
  29. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
  30. package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
  31. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +1 -1
  32. package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
  33. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +1 -1
  34. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +1 -1
  35. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +1 -1
  36. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +2 -2
  37. package/dist/boilerplates/@batijs/lucia-auth/files/lib/lucia-auth.ts +1 -1
  38. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
  39. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
  40. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +1 -1
  41. package/dist/boilerplates/@batijs/panda-css/files/layouts/panda.css +1 -1
  42. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
  43. package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
  44. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +1 -1
  45. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
  46. package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
  47. package/dist/boilerplates/@batijs/react/files/$package.json.js +2 -2
  48. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
  49. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
  50. package/dist/boilerplates/@batijs/react/files/pages/index/Counter.tsx +15 -13
  51. package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +1 -1
  52. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
  53. package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
  54. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -1
  55. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +2 -2
  56. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
  57. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
  58. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
  59. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +12 -2
  60. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
  61. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
  62. package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
  63. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
  64. package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
  65. package/dist/boilerplates/@batijs/solid/files/$package.json.js +2 -2
  66. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
  67. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -1
  68. package/dist/boilerplates/@batijs/solid/files/pages/index/Counter.tsx +15 -13
  69. package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +1 -1
  70. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
  71. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
  72. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +1 -1
  73. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
  74. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +10 -24
  75. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +22 -0
  76. package/dist/boilerplates/@batijs/tailwindcss/files/layouts/tailwind.css +4 -3
  77. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
  78. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
  79. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
  80. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +12 -12
  81. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
  82. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
  83. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +1 -1
  84. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +1 -1
  85. package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
  86. package/dist/boilerplates/@batijs/vue/files/$package.json.js +2 -2
  87. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
  88. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
  89. package/dist/boilerplates/@batijs/vue/files/components/Counter.vue +3 -1
  90. package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +1 -1
  91. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
  92. package/dist/{chunk-BS3TII3O.js → chunk-GGPPMXJ7.js} +2 -2
  93. package/dist/index.js +2 -2
  94. package/package.json +5 -5
  95. package/dist/boilerplates/@batijs/tailwindcss/files/tailwind.config.ts +0 -10
  96. package/dist/boilerplates/@batijs/tailwindcss/types/tailwind.config.d.ts +0 -11
  97. /package/dist/boilerplates/@batijs/{tailwindcss → shadcn-ui}/files/postcss.config.js +0 -0
  98. /package/dist/boilerplates/@batijs/{tailwindcss → shadcn-ui}/types/postcss.config.d.ts +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  OHs,
5
5
  Ose,
6
6
  zV
7
- } from "../../../../../chunk-BS3TII3O.js";
7
+ } from "../../../../../chunk-GGPPMXJ7.js";
8
8
  import "../../../../../chunk-LU7IBQI7.js";
9
9
 
10
10
  // ../../boilerplates/sentry/dist/files/pages/$+client.ts.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  kHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$package.json.js
@@ -49,9 +49,11 @@ var require_package = __commonJS({
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@radix-ui/react-icons": "^1.3.2",
51
51
  "@types/node": "^18.19.74",
52
+ autoprefixer: "^10.4.20",
52
53
  "class-variance-authority": "^0.7.1",
53
54
  clsx: "^2.1.1",
54
- "lucide-react": "^0.471.2",
55
+ "lucide-react": "^0.474.0",
56
+ postcss: "^8.5.1",
55
57
  "tailwind-merge": "^2.6.0",
56
58
  tailwindcss: "^3.4.17",
57
59
  "tailwindcss-animate": "^1.0.7"
@@ -71,6 +73,9 @@ var require_package = __commonJS({
71
73
  "./!tailwind.config": {
72
74
  types: "./dist/types/!tailwind.config.d.ts"
73
75
  },
76
+ "./postcss.config": {
77
+ types: "./dist/types/postcss.config.d.ts"
78
+ },
74
79
  "./lib/utils": {
75
80
  types: "./dist/types/lib/utils.d.ts"
76
81
  }
@@ -80,6 +85,9 @@ var require_package = __commonJS({
80
85
  "!tailwind.config": [
81
86
  "./dist/types/!tailwind.config.d.ts"
82
87
  ],
88
+ "postcss.config": [
89
+ "./dist/types/postcss.config.d.ts"
90
+ ],
83
91
  "lib/utils": [
84
92
  "./dist/types/lib/utils.d.ts"
85
93
  ]
@@ -95,6 +103,8 @@ async function getPackageJson(props) {
95
103
  precedence: 1,
96
104
  warnIfReplaced: true
97
105
  }).addDependencies([
106
+ "postcss",
107
+ "autoprefixer",
98
108
  "tailwindcss-animate",
99
109
  "class-variance-authority",
100
110
  "clsx",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  NHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.js
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  OHs,
4
4
  YXr
5
- } from "../../../../chunk-BS3TII3O.js";
5
+ } from "../../../../chunk-GGPPMXJ7.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.js
@@ -4,7 +4,7 @@ import {
4
4
  iXs,
5
5
  kHs,
6
6
  nXs
7
- } from "../../../../chunk-BS3TII3O.js";
7
+ } from "../../../../chunk-GGPPMXJ7.js";
8
8
  import "../../../../chunk-LU7IBQI7.js";
9
9
 
10
10
  // ../../boilerplates/shared/dist/files/$README.md.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shared-server/dist/files/$package.json.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  kHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$README.md.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$package.json.js
@@ -51,7 +51,7 @@ var require_package = __commonJS({
51
51
  "@pandacss/dev": "^0.51.1",
52
52
  "@types/node": "^18.19.74",
53
53
  "solid-js": "^1.9.4",
54
- tailwindcss: "^3.4.17",
54
+ tailwindcss: "^4.0.0",
55
55
  typescript: "^5.7.3",
56
56
  vike: "^0.4.220",
57
57
  "vike-solid": "^0.7.8",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  NHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$tsconfig.json.js
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  OHs,
4
4
  hbs
5
- } from "../../../../chunk-BS3TII3O.js";
5
+ } from "../../../../chunk-GGPPMXJ7.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/solid/dist/files/$vite.config.ts.js
@@ -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
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid-sentry/dist/files/$package.json.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  YHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$.env.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  kHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$README.md.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$package.json.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/tailwindcss/dist/files/$package.json.js
@@ -49,9 +49,9 @@ var require_package = __commonJS({
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@types/node": "^18.19.74",
51
51
  autoprefixer: "^10.4.20",
52
- daisyui: "^4.12.23",
53
- postcss: "^8.5.1",
54
- tailwindcss: "^3.4.17",
52
+ daisyui: "^5.0.0-beta.2",
53
+ tailwindcss: "^4.0.0",
54
+ "@tailwindcss/vite": "^4.0.0",
55
55
  vike: "^0.4.220",
56
56
  vite: "^6.0.11"
57
57
  },
@@ -65,31 +65,17 @@ 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 IHs(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 pkgjson = await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default);
74
+ if (props.meta.BATI.has("shadcn-ui")) {
75
+ pkgjson.devDependencies.tailwindcss = "^3.4.17";
76
+ }
77
+ const packageJson = await IHs(props, pkgjson);
78
+ return packageJson.addDevDependencies(["tailwindcss"]).addDevDependencies(["@tailwindcss/vite"], !props.meta.BATI.has("shadcn-ui")).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
93
79
  }
94
80
  export {
95
81
  getPackageJson as default
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ OHs,
4
+ hbs
5
+ } from "../../../../chunk-GGPPMXJ7.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/tailwindcss/dist/files/$vite.config.ts.js
9
+ async function getViteConfig(props) {
10
+ if (props.meta.BATI.has("shadcn-ui")) {
11
+ return;
12
+ }
13
+ const mod = await OHs(props);
14
+ hbs(mod, {
15
+ from: "@tailwindcss/vite",
16
+ constructor: "tailwindcss"
17
+ });
18
+ return mod.generate().code;
19
+ }
20
+ export {
21
+ getViteConfig as default
22
+ };
@@ -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
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/telefunc/dist/files/$package.json.js
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  OHs,
4
4
  hbs
5
- } from "../../../../chunk-BS3TII3O.js";
5
+ } from "../../../../chunk-GGPPMXJ7.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/telefunc/dist/files/$vite.config.ts.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/trpc/dist/files/$package.json.js
@@ -3,11 +3,11 @@ export declare const trpc: {
3
3
  query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
4
4
  _config: import("@trpc/server").RootConfig<{
5
5
  ctx: object & {
6
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
7
- } & {
8
6
  db: ReturnType<any>;
9
7
  } & {
10
- db: ReturnType<any>;
8
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
9
+ } & {
10
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
11
11
  } & {
12
12
  db: import("@cloudflare/workers-types").D1Database;
13
13
  };
@@ -16,11 +16,11 @@ export declare const trpc: {
16
16
  transformer: import("@trpc/server").DefaultDataTransformer;
17
17
  }>;
18
18
  _ctx_out: object & {
19
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
20
- } & {
21
19
  db: ReturnType<any>;
22
20
  } & {
23
- db: ReturnType<any>;
21
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
22
+ } & {
23
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
24
24
  } & {
25
25
  db: import("@cloudflare/workers-types").D1Database;
26
26
  };
@@ -37,11 +37,11 @@ export declare const trpc: {
37
37
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
38
38
  _config: import("@trpc/server").RootConfig<{
39
39
  ctx: object & {
40
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
41
- } & {
42
40
  db: ReturnType<any>;
43
41
  } & {
44
- db: ReturnType<any>;
42
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
43
+ } & {
44
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
45
45
  } & {
46
46
  db: import("@cloudflare/workers-types").D1Database;
47
47
  };
@@ -51,11 +51,11 @@ export declare const trpc: {
51
51
  }>;
52
52
  _meta: object;
53
53
  _ctx_out: object & {
54
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
55
- } & {
56
54
  db: ReturnType<any>;
57
55
  } & {
58
- db: ReturnType<any>;
56
+ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
57
+ } & {
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
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/ts-rest/dist/files/$package.json.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vercel/dist/files/$package.json.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  NHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vercel/dist/files/$tsconfig.json.js
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  OHs,
4
4
  hbs
5
- } from "../../../../chunk-BS3TII3O.js";
5
+ } from "../../../../chunk-GGPPMXJ7.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/vercel/dist/files/$vite.config.ts.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  kHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$README.md.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$package.json.js
@@ -53,7 +53,7 @@ var require_package = __commonJS({
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
58
  "unplugin-vue-markdown": "^28.1.0",
59
59
  vike: "^0.4.220",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  NHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$tsconfig.json.js
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  OHs,
4
4
  hbs
5
- } from "../../../../chunk-BS3TII3O.js";
5
+ } from "../../../../chunk-GGPPMXJ7.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/vue/dist/files/$vite.config.ts.js
@@ -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
3
  IHs
4
- } from "../../../../chunk-BS3TII3O.js";
4
+ } from "../../../../chunk-GGPPMXJ7.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue-sentry/dist/files/$package.json.js
@@ -202789,7 +202789,7 @@ function SWr(t6, e) {
202789
202789
  return vWr(t6, e, { tags: rvt });
202790
202790
  }
202791
202791
  function Dus(t6, e) {
202792
- return { eslint: t6.includes("BATI.has") || t6.includes("BATI_TEST") || t6.includes("/*# BATI ") || t6.includes("@batijs/") || e.endsWith(".ts") || e.endsWith(".tsx"), squirelly: t6.includes(rvt[0]) };
202792
+ return { eslint: (t6.includes("BATI.has") || t6.includes("BATI_TEST") || t6.includes("/*# BATI ") || t6.includes("@batijs/") || e.endsWith(".ts") || e.endsWith(".tsx")) && !e.endsWith(".css"), squirelly: t6.includes(rvt[0]) };
202793
202793
  }
202794
202794
  async function wus(t6, e, n2) {
202795
202795
  let { eslint: i, squirelly: a } = Dus(t6, n2.filepath), l = t6, p2, f = false;
@@ -209532,7 +209532,7 @@ function ybs(t6) {
209532
209532
  return e;
209533
209533
  }
209534
209534
  var jbs = q(yQr(), 1);
209535
- var YEt = { name: "@batijs/core", version: "0.0.329", description: "", type: "module", types: "./dist/index.d.ts", scripts: { "check-types": "tsc --noEmit", vue: "tsx src/parse/linters/vue.ts", test: "vitest run", "test:ci": "vitest run", build: "tsup" }, keywords: [], author: "Jo\xEBl Charles <joel.charles91@gmail.com>", repository: "https://github.com/vikejs/bati", license: "MIT", devDependencies: { "@batijs/features": "workspace:*", "@types/eslint": "^9.6.1", "@types/estree": "^1.0.6", "@types/node": "^18.19.74", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.21.0", "@typescript-eslint/utils": "^8.21.0", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.24.2", eslint: "^9.19.0", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^10.3.0", magicast: "^0.3.5", "mdast-builder": "^1.1.1", "mdast-util-from-markdown": "^2.0.2", "mdast-util-to-markdown": "^2.1.2", "mdast-util-to-string": "^4.0.0", "mdast-util-toc": "^7.1.0", prettier: "^3.4.2", squirrelly: "^9.1.0", tsup: "^8.3.6", tsx: "^4.19.2", typescript: "^5.7.3", "unplugin-purge-polyfills": "^0.0.7", vitest: "^3.0.4", "vue-eslint-parser": "^9.4.3", which: "^5.0.0", yaml: "^2.7.0" }, exports: { ".": "./dist/index.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { types: ["./global.d.ts"] } }, files: ["dist/"] };
209535
+ var YEt = { name: "@batijs/core", version: "0.0.331", description: "", type: "module", types: "./dist/index.d.ts", scripts: { "check-types": "tsc --noEmit", vue: "tsx src/parse/linters/vue.ts", test: "vitest run", "test:ci": "vitest run", build: "tsup" }, keywords: [], author: "Jo\xEBl Charles <joel.charles91@gmail.com>", repository: "https://github.com/vikejs/bati", license: "MIT", devDependencies: { "@batijs/features": "workspace:*", "@types/eslint": "^9.6.1", "@types/estree": "^1.0.6", "@types/node": "^18.19.74", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.21.0", "@typescript-eslint/utils": "^8.21.0", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.24.2", eslint: "^9.19.0", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^10.3.0", magicast: "^0.3.5", "mdast-builder": "^1.1.1", "mdast-util-from-markdown": "^2.0.2", "mdast-util-to-markdown": "^2.1.2", "mdast-util-to-string": "^4.0.0", "mdast-util-toc": "^7.1.0", prettier: "^3.4.2", squirrelly: "^9.1.0", tsup: "^8.3.6", tsx: "^4.19.2", typescript: "^5.7.3", "unplugin-purge-polyfills": "^0.0.7", vitest: "^3.0.4", "vue-eslint-parser": "^9.4.3", which: "^5.0.0", yaml: "^2.7.0" }, exports: { ".": "./dist/index.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { types: ["./global.d.ts"] } }, files: ["dist/"] };
209536
209536
  function Ubs() {
209537
209537
  if (process.env.npm_config_user_agent) return qbs(process.env.npm_config_user_agent);
209538
209538
  }
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  export_which,
7
7
  uit,
8
8
  wus
9
- } from "./chunk-BS3TII3O.js";
9
+ } from "./chunk-GGPPMXJ7.js";
10
10
  import "./chunk-LU7IBQI7.js";
11
11
 
12
12
  // index.ts
@@ -3588,7 +3588,7 @@ var createDefaultQueryTester = function(query, options) {
3588
3588
  // package.json
3589
3589
  var package_default = {
3590
3590
  name: "@batijs/cli",
3591
- version: "0.0.329",
3591
+ version: "0.0.331",
3592
3592
  type: "module",
3593
3593
  scripts: {
3594
3594
  "check-types": "tsc --noEmit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.329",
3
+ "version": "0.0.331",
4
4
  "type": "module",
5
5
  "keywords": [],
6
6
  "description": "Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want",
@@ -20,12 +20,12 @@
20
20
  "typescript": "^5.7.3",
21
21
  "unplugin-purge-polyfills": "^0.0.7",
22
22
  "vite": "^6.0.11",
23
- "@batijs/build": "0.0.329",
24
- "@batijs/compile": "0.0.329"
23
+ "@batijs/build": "0.0.331",
24
+ "@batijs/compile": "0.0.331"
25
25
  },
26
26
  "dependencies": {
27
- "@batijs/core": "0.0.329",
28
- "@batijs/features": "0.0.329"
27
+ "@batijs/core": "0.0.331",
28
+ "@batijs/features": "0.0.331"
29
29
  },
30
30
  "bin": "./dist/index.js",
31
31
  "exports": {
@@ -1,10 +0,0 @@
1
- import daisyui from "daisyui";
2
- import type { Config } from "tailwindcss";
3
-
4
- export default {
5
- content: ["./{pages,layouts,components,src}/**/*.{html,js,jsx,ts,tsx,vue}"],
6
- theme: {
7
- extend: {},
8
- },
9
- plugins: BATI.has("daisyui") ? [daisyui] : [],
10
- } satisfies Config;