@batijs/cli 0.0.414 → 0.0.416

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 (96) 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/authjs/files/server/authjs-handler.ts +1 -1
  5. package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -1
  6. package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
  7. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
  8. package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
  9. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -1
  10. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +1 -1
  11. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +1 -1
  12. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
  13. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
  14. package/dist/boilerplates/@batijs/d1/files/$README.md.js +1 -1
  15. package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
  16. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
  17. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
  18. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
  19. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
  20. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +1 -1
  21. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -1
  22. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +1 -1
  23. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +1 -1
  24. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
  25. package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
  26. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
  27. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +1 -1
  28. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +1 -1
  29. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +1 -1
  30. package/dist/boilerplates/@batijs/firebase-auth/files/server/firebase-auth-middleware.ts +1 -1
  31. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
  32. package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
  33. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +1 -1
  34. package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
  35. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +1 -1
  36. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +1 -1
  37. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +1 -1
  38. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +1 -1
  39. package/dist/boilerplates/@batijs/lucia-auth/files/server/lucia-auth-handlers.ts +1 -1
  40. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
  41. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
  42. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +1 -1
  43. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
  44. package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
  45. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +1 -1
  46. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
  47. package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
  48. package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -1
  49. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
  50. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
  51. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
  52. package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
  53. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -1
  54. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -1
  55. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
  56. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
  57. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
  58. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -15
  59. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
  60. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
  61. package/dist/boilerplates/@batijs/shadcn-ui/files/layouts/!tailwind.css +108 -92
  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/shared-server/files/server/create-todo-handler.ts +1 -1
  65. package/dist/boilerplates/@batijs/shared-server/files/server/vike-handler.ts +1 -1
  66. package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
  67. package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
  68. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
  69. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +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 +2 -5
  75. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -4
  76. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
  77. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
  78. package/dist/boilerplates/@batijs/telefunc/files/server/telefunc-handler.ts +1 -1
  79. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
  80. package/dist/boilerplates/@batijs/trpc/files/server/trpc-handler.ts +1 -1
  81. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
  82. package/dist/boilerplates/@batijs/ts-rest/files/server/ts-rest-handler.ts +1 -1
  83. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
  84. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +1 -1
  85. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +1 -1
  86. package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
  87. package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -1
  88. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
  89. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
  90. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
  91. package/dist/{chunk-MQFIVUYP.js → chunk-KONP5AIO.js} +1 -1
  92. package/dist/index.js +2 -2
  93. package/package.json +5 -5
  94. package/dist/boilerplates/@batijs/shadcn-ui/files/!tailwind.config.ts +0 -68
  95. package/dist/boilerplates/@batijs/shadcn-ui/files/postcss.config.js +0 -6
  96. package/dist/boilerplates/@batijs/shadcn-ui/types/!tailwind.config.d.ts +0 -72
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -57,10 +57,9 @@ var require_package = __commonJS({
57
57
  "class-variance-authority": "^0.7.1",
58
58
  clsx: "^2.1.1",
59
59
  "lucide-react": "^0.483.0",
60
- postcss: "^8.5.3",
61
- "tailwind-merge": "^2.6.0",
62
- tailwindcss: "^3.4.17",
63
- "tailwindcss-animate": "^1.0.7"
60
+ "tw-animate-css": "^1.2.4",
61
+ "tailwind-merge": "^3.0.2",
62
+ tailwindcss: "^4.0.15"
64
63
  },
65
64
  dependencies: {
66
65
  "@batijs/core": "workspace:*"
@@ -74,18 +73,12 @@ var require_package = __commonJS({
74
73
  }
75
74
  },
76
75
  exports: {
77
- "./!tailwind.config": {
78
- types: "./dist/types/!tailwind.config.d.ts"
79
- },
80
76
  "./lib/utils": {
81
77
  types: "./dist/types/lib/utils.d.ts"
82
78
  }
83
79
  },
84
80
  typesVersions: {
85
81
  "*": {
86
- "!tailwind.config": [
87
- "./dist/types/!tailwind.config.d.ts"
88
- ],
89
82
  "lib/utils": [
90
83
  "./dist/types/lib/utils.d.ts"
91
84
  ]
@@ -101,14 +94,12 @@ async function getPackageJson(props) {
101
94
  precedence: 1,
102
95
  warnIfReplaced: true
103
96
  }).addDependencies([
104
- "postcss",
105
- "autoprefixer",
106
- "tailwindcss-animate",
107
97
  "class-variance-authority",
108
98
  "clsx",
109
99
  "tailwind-merge",
110
100
  "lucide-react",
111
- "@radix-ui/react-icons"
101
+ "@radix-ui/react-icons",
102
+ "tw-animate-css"
112
103
  ]);
113
104
  }
114
105
  export {
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  XHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  ZHs,
7
7
  ZXr
8
- } from "../../../../chunk-MQFIVUYP.js";
8
+ } from "../../../../chunk-KONP5AIO.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -1,103 +1,119 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- @layer base {
6
- :root {
7
- --background: 0 0% 100%;
8
- --foreground: 0 0% 3.9%;
9
-
10
- --muted: 0 0% 96.1%;
11
- --muted-foreground: 0 0% 45.1%;
12
-
13
- --popover: 0 0% 100%;
14
- --popover-foreground: 0 0% 3.9%;
15
-
16
- --border: 0 0% 89.8%;
17
- --input: 0 0% 89.8%;
18
-
19
- --card: 0 0% 100%;
20
- --card-foreground: 0 0% 3.9%;
21
-
22
- --primary: 0 0% 9%;
23
- --primary-foreground: 0 0% 98%;
24
-
25
- --secondary: 0 0% 96.1%;
26
- --secondary-foreground: 0 0% 9%;
27
-
28
- --accent: 0 0% 96.1%;
29
- --accent-foreground: 0 0% 9%;
30
-
31
- --destructive: 0 84.2% 60.2%;
32
- --destructive-foreground: 0 0% 98%;
33
-
34
- --ring: 0 0% 3.9%;
35
-
36
- --radius: 0.5rem;
37
-
38
- --chart-1: 12 76% 61%;
39
-
40
- --chart-2: 173 58% 39%;
41
-
42
- --chart-3: 197 37% 24%;
43
-
44
- --chart-4: 43 74% 66%;
45
-
46
- --chart-5: 27 87% 67%;
47
- }
48
-
49
- .dark {
50
- --background: 0 0% 3.9%;
51
- --foreground: 0 0% 98%;
52
-
53
- --muted: 0 0% 14.9%;
54
- --muted-foreground: 0 0% 63.9%;
55
-
56
- --accent: 0 0% 14.9%;
57
- --accent-foreground: 0 0% 98%;
58
-
59
- --popover: 0 0% 3.9%;
60
- --popover-foreground: 0 0% 98%;
61
-
62
- --border: 0 0% 14.9%;
63
- --input: 0 0% 14.9%;
64
-
65
- --card: 0 0% 3.9%;
66
- --card-foreground: 0 0% 98%;
67
-
68
- --primary: 0 0% 98%;
69
- --primary-foreground: 0 0% 9%;
70
-
71
- --secondary: 0 0% 14.9%;
72
- --secondary-foreground: 0 0% 98%;
73
-
74
- --destructive: 0 62.8% 30.6%;
75
- --destructive-foreground: 0 0% 98%;
76
-
77
- --ring: 0 0% 83.1%;
78
-
79
- --radius: 0.5rem;
80
-
81
- --chart-1: 220 70% 50%;
82
-
83
- --chart-2: 160 60% 45%;
84
-
85
- --chart-3: 30 80% 55%;
1
+ @import "tailwindcss";
2
+ @import "tw-animate-css";
3
+ @custom-variant dark (&:is(.dark *));
4
+
5
+ :root {
6
+ --radius: 0.625rem;
7
+ --background: oklch(1 0 0);
8
+ --foreground: oklch(0.145 0 0);
9
+ --card: oklch(1 0 0);
10
+ --card-foreground: oklch(0.145 0 0);
11
+ --popover: oklch(1 0 0);
12
+ --popover-foreground: oklch(0.145 0 0);
13
+ --primary: oklch(0.205 0 0);
14
+ --primary-foreground: oklch(0.985 0 0);
15
+ --secondary: oklch(0.97 0 0);
16
+ --secondary-foreground: oklch(0.205 0 0);
17
+ --muted: oklch(0.97 0 0);
18
+ --muted-foreground: oklch(0.556 0 0);
19
+ --accent: oklch(0.97 0 0);
20
+ --accent-foreground: oklch(0.205 0 0);
21
+ --destructive: oklch(0.577 0.245 27.325);
22
+ --border: oklch(0.922 0 0);
23
+ --input: oklch(0.922 0 0);
24
+ --ring: oklch(0.708 0 0);
25
+ --chart-1: oklch(0.646 0.222 41.116);
26
+ --chart-2: oklch(0.6 0.118 184.704);
27
+ --chart-3: oklch(0.398 0.07 227.392);
28
+ --chart-4: oklch(0.828 0.189 84.429);
29
+ --chart-5: oklch(0.769 0.188 70.08);
30
+ --sidebar: oklch(0.985 0 0);
31
+ --sidebar-foreground: oklch(0.145 0 0);
32
+ --sidebar-primary: oklch(0.205 0 0);
33
+ --sidebar-primary-foreground: oklch(0.985 0 0);
34
+ --sidebar-accent: oklch(0.97 0 0);
35
+ --sidebar-accent-foreground: oklch(0.205 0 0);
36
+ --sidebar-border: oklch(0.922 0 0);
37
+ --sidebar-ring: oklch(0.708 0 0);
38
+ }
86
39
 
87
- --chart-4: 280 65% 60%;
40
+ .dark {
41
+ --background: oklch(0.145 0 0);
42
+ --foreground: oklch(0.985 0 0);
43
+ --card: oklch(0.205 0 0);
44
+ --card-foreground: oklch(0.985 0 0);
45
+ --popover: oklch(0.269 0 0);
46
+ --popover-foreground: oklch(0.985 0 0);
47
+ --primary: oklch(0.922 0 0);
48
+ --primary-foreground: oklch(0.205 0 0);
49
+ --secondary: oklch(0.269 0 0);
50
+ --secondary-foreground: oklch(0.985 0 0);
51
+ --muted: oklch(0.269 0 0);
52
+ --muted-foreground: oklch(0.708 0 0);
53
+ --accent: oklch(0.371 0 0);
54
+ --accent-foreground: oklch(0.985 0 0);
55
+ --destructive: oklch(0.704 0.191 22.216);
56
+ --border: oklch(1 0 0 / 10%);
57
+ --input: oklch(1 0 0 / 15%);
58
+ --ring: oklch(0.556 0 0);
59
+ --chart-1: oklch(0.488 0.243 264.376);
60
+ --chart-2: oklch(0.696 0.17 162.48);
61
+ --chart-3: oklch(0.769 0.188 70.08);
62
+ --chart-4: oklch(0.627 0.265 303.9);
63
+ --chart-5: oklch(0.645 0.246 16.439);
64
+ --sidebar: oklch(0.205 0 0);
65
+ --sidebar-foreground: oklch(0.985 0 0);
66
+ --sidebar-primary: oklch(0.488 0.243 264.376);
67
+ --sidebar-primary-foreground: oklch(0.985 0 0);
68
+ --sidebar-accent: oklch(0.269 0 0);
69
+ --sidebar-accent-foreground: oklch(0.985 0 0);
70
+ --sidebar-border: oklch(1 0 0 / 10%);
71
+ --sidebar-ring: oklch(0.439 0 0);
72
+ }
88
73
 
89
- --chart-5: 340 75% 55%;
90
- }
74
+ @theme inline {
75
+ --radius-sm: calc(var(--radius) - 4px);
76
+ --radius-md: calc(var(--radius) - 2px);
77
+ --radius-lg: var(--radius);
78
+ --radius-xl: calc(var(--radius) + 4px);
79
+ --color-background: var(--background);
80
+ --color-foreground: var(--foreground);
81
+ --color-card: var(--card);
82
+ --color-card-foreground: var(--card-foreground);
83
+ --color-popover: var(--popover);
84
+ --color-popover-foreground: var(--popover-foreground);
85
+ --color-primary: var(--primary);
86
+ --color-primary-foreground: var(--primary-foreground);
87
+ --color-secondary: var(--secondary);
88
+ --color-secondary-foreground: var(--secondary-foreground);
89
+ --color-muted: var(--muted);
90
+ --color-muted-foreground: var(--muted-foreground);
91
+ --color-accent: var(--accent);
92
+ --color-accent-foreground: var(--accent-foreground);
93
+ --color-destructive: var(--destructive);
94
+ --color-border: var(--border);
95
+ --color-input: var(--input);
96
+ --color-ring: var(--ring);
97
+ --color-chart-1: var(--chart-1);
98
+ --color-chart-2: var(--chart-2);
99
+ --color-chart-3: var(--chart-3);
100
+ --color-chart-4: var(--chart-4);
101
+ --color-chart-5: var(--chart-5);
102
+ --color-sidebar: var(--sidebar);
103
+ --color-sidebar-foreground: var(--sidebar-foreground);
104
+ --color-sidebar-primary: var(--sidebar-primary);
105
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
106
+ --color-sidebar-accent: var(--sidebar-accent);
107
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
108
+ --color-sidebar-border: var(--sidebar-border);
109
+ --color-sidebar-ring: var(--sidebar-ring);
91
110
  }
92
111
 
93
112
  @layer base {
94
113
  * {
95
- @apply border-border;
114
+ @apply border-border outline-ring/50;
96
115
  }
97
116
  body {
98
117
  @apply bg-background text-foreground;
99
- font-feature-settings:
100
- "rlig" 1,
101
- "calt" 1;
102
118
  }
103
119
  }
@@ -7,7 +7,7 @@ import {
7
7
  HHs,
8
8
  Kqs,
9
9
  xXs
10
- } from "../../../../chunk-MQFIVUYP.js";
10
+ } from "../../../../chunk-KONP5AIO.js";
11
11
  import "../../../../chunk-QY4H25CP.js";
12
12
  import "../../../../chunk-DHZ7AZKP.js";
13
13
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -1,5 +1,5 @@
1
1
  /*# BATI include-if-imported #*/
2
- // TODO: stop using universal-middleware and directly integrate server middlewares instead. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
2
+ // TODO: stop using universal-middleware and directly integrate server middlewares instead and/or use vike-server https://vike.dev/server. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
3
3
  import type { Get, UniversalHandler } from "@universal-middleware/core";
4
4
  import * as drizzleQueries from "@batijs/drizzle/database/drizzle/queries/todos";
5
5
  import * as sqliteQueries from "@batijs/sqlite/database/sqlite/queries/todos";
@@ -1,7 +1,7 @@
1
1
  /*# BATI include-if-imported #*/
2
2
  /// <reference lib="webworker" />
3
3
  import { renderPage } from "vike/server";
4
- // TODO: stop using universal-middleware and directly integrate server middlewares instead. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
4
+ // TODO: stop using universal-middleware and directly integrate server middlewares instead and/or use vike-server https://vike.dev/server. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
5
5
  import type { Get, UniversalHandler } from "@universal-middleware/core";
6
6
 
7
7
  export const vikeHandler: Get<[], UniversalHandler> = () => async (request, context, runtime) => {
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  HHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  XHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  Ibs,
7
7
  ZHs
8
- } from "../../../../chunk-MQFIVUYP.js";
8
+ } from "../../../../chunk-KONP5AIO.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  uXs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  HHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -75,11 +75,8 @@ var require_package = __commonJS({
75
75
  });
76
76
  async function getPackageJson(props) {
77
77
  const pkgjson = await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default);
78
- if (props.meta.BATI.has("shadcn-ui")) {
79
- pkgjson.devDependencies.tailwindcss = "^3.4.17";
80
- }
81
78
  const packageJson = await QHs(props, pkgjson);
82
- return packageJson.addDevDependencies(["tailwindcss"]).addDevDependencies(["@tailwindcss/vite"], !props.meta.BATI.has("shadcn-ui")).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
79
+ return packageJson.addDevDependencies(["tailwindcss", "@tailwindcss/vite"]).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
83
80
  }
84
81
  export {
85
82
  getPackageJson as default
@@ -5,15 +5,12 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  Ibs,
7
7
  ZHs
8
- } from "../../../../chunk-MQFIVUYP.js";
8
+ } from "../../../../chunk-KONP5AIO.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/tailwindcss/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- if (props.meta.BATI.has("shadcn-ui")) {
15
- return;
16
- }
17
14
  const mod = await ZHs(props);
18
15
  Ibs(mod, {
19
16
  from: "@tailwindcss/vite",
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  Ibs,
7
7
  ZHs
8
- } from "../../../../chunk-MQFIVUYP.js";
8
+ } from "../../../../chunk-KONP5AIO.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -1,5 +1,5 @@
1
1
  import { telefunc } from "telefunc";
2
- // TODO: stop using universal-middleware and directly integrate server middlewares instead. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
2
+ // TODO: stop using universal-middleware and directly integrate server middlewares instead and/or use vike-server https://vike.dev/server. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
3
3
  import type { Get, UniversalHandler } from "@universal-middleware/core";
4
4
  import type { dbD1, dbSqlite } from "@batijs/drizzle/database/drizzle/db";
5
5
  import type { db as sqliteDb } from "@batijs/sqlite/database/sqlite/db";
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -1,6 +1,6 @@
1
1
  /*# BATI include-if-imported #*/
2
2
  import { appRouter } from "../trpc/server";
3
- // TODO: stop using universal-middleware and directly integrate server middlewares instead. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
3
+ // TODO: stop using universal-middleware and directly integrate server middlewares instead and/or use vike-server https://vike.dev/server. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
4
4
  import type { Get, UniversalHandler } from "@universal-middleware/core";
5
5
  import type { D1Database } from "@cloudflare/workers-types";
6
6
  import { fetchRequestHandler } from "@trpc/server/adapters/fetch";
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -1,6 +1,6 @@
1
1
  import { fetchRequestHandler, tsr } from "@ts-rest/serverless/fetch";
2
2
  import { contract } from "../ts-rest/contract";
3
- // TODO: stop using universal-middleware and directly integrate server middlewares instead. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
3
+ // TODO: stop using universal-middleware and directly integrate server middlewares instead and/or use vike-server https://vike.dev/server. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
4
4
  import { Get, UniversalHandler } from "@universal-middleware/core";
5
5
  import * as drizzleQueries from "@batijs/drizzle/database/drizzle/queries/todos";
6
6
  import { dbD1, dbSqlite } from "@batijs/drizzle/database/drizzle/db";
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  XHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  Ibs,
7
7
  ZHs
8
- } from "../../../../chunk-MQFIVUYP.js";
8
+ } from "../../../../chunk-KONP5AIO.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  HHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  XHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  Ibs,
7
7
  ZHs
8
- } from "../../../../chunk-MQFIVUYP.js";
8
+ } from "../../../../chunk-KONP5AIO.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  QHs
7
- } from "../../../../chunk-MQFIVUYP.js";
7
+ } from "../../../../chunk-KONP5AIO.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -209446,7 +209446,7 @@ function Lbs(t5) {
209446
209446
  return e;
209447
209447
  }
209448
209448
  var eTs = q(DQr(), 1);
209449
- var Yxt = { name: "@batijs/core", version: "0.0.414", 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.7", "@types/node": "^18.19.83", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.28.0", "@typescript-eslint/utils": "^8.28.0", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.25.1", eslint: "^9.23.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.5.3", squirrelly: "^9.1.0", tsup: "^8.4.0", tsx: "^4.19.3", typescript: "^5.8.2", "unplugin-purge-polyfills": "^0.0.7", vitest: "^3.0.9", "vue-eslint-parser": "^10.1.1", which: "^5.0.0", yaml: "^2.7.0" }, exports: { ".": "./dist/index.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { types: ["./global.d.ts"] } }, files: ["dist/"] };
209449
+ var Yxt = { name: "@batijs/core", version: "0.0.416", 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.7", "@types/node": "^18.19.83", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.28.0", "@typescript-eslint/utils": "^8.28.0", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.25.1", eslint: "^9.23.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.5.3", squirrelly: "^9.1.0", tsup: "^8.4.0", tsx: "^4.19.3", typescript: "^5.8.2", "unplugin-purge-polyfills": "^0.0.7", vitest: "^3.0.9", "vue-eslint-parser": "^10.1.1", which: "^5.0.0", yaml: "^2.7.0" }, exports: { ".": "./dist/index.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { types: ["./global.d.ts"] } }, files: ["dist/"] };
209450
209450
  function rTs() {
209451
209451
  if (process.env.npm_config_user_agent) return nTs(process.env.npm_config_user_agent);
209452
209452
  }
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  export_which,
10
10
  j5e,
11
11
  rTs
12
- } from "./chunk-MQFIVUYP.js";
12
+ } from "./chunk-KONP5AIO.js";
13
13
  import "./chunk-QY4H25CP.js";
14
14
  import {
15
15
  __commonJS,
@@ -16947,7 +16947,7 @@ var createDefaultQueryTester = function(query, options) {
16947
16947
  // package.json
16948
16948
  var package_default = {
16949
16949
  name: "@batijs/cli",
16950
- version: "0.0.414",
16950
+ version: "0.0.416",
16951
16951
  type: "module",
16952
16952
  scripts: {
16953
16953
  "check-types": "tsc --noEmit",