@batijs/cli 0.0.512 → 0.0.514

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 (122) hide show
  1. package/dist/boilerplates/@batijs/auth0/bati.config.js +17 -0
  2. package/dist/boilerplates/@batijs/auth0/files/$.env.js +1 -1
  3. package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -1
  4. package/dist/boilerplates/@batijs/authjs/bati.config.js +17 -0
  5. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -11
  6. package/dist/boilerplates/@batijs/aws/bati.config.js +18 -0
  7. package/dist/boilerplates/@batijs/aws/files/$README.md.js +7 -5
  8. package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +4 -2
  9. package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -7
  10. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
  11. package/dist/boilerplates/@batijs/biome/bati.config.js +17 -0
  12. package/dist/boilerplates/@batijs/biome/files/$package.json.js +2 -7
  13. package/dist/boilerplates/@batijs/cloudflare/bati.config.js +18 -0
  14. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -7
  15. package/dist/boilerplates/@batijs/compiled/bati.config.js +17 -0
  16. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +2 -7
  17. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
  18. package/dist/boilerplates/@batijs/d1/bati.config.js +17 -0
  19. package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +5 -3
  20. package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -14
  21. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
  22. package/dist/boilerplates/@batijs/d1-sqlite/bati.config.js +17 -0
  23. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -11
  24. package/dist/boilerplates/@batijs/drizzle/bati.config.js +17 -0
  25. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
  26. package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +5 -3
  27. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -6
  28. package/dist/boilerplates/@batijs/eslint/bati.config.js +17 -0
  29. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -6
  30. package/dist/boilerplates/@batijs/express/bati.config.js +17 -0
  31. package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -6
  32. package/dist/boilerplates/@batijs/fastify/bati.config.js +17 -0
  33. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -6
  34. package/dist/boilerplates/@batijs/google-analytics/bati.config.js +17 -0
  35. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
  36. package/dist/boilerplates/@batijs/h3/bati.config.js +17 -0
  37. package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -6
  38. package/dist/boilerplates/@batijs/hono/bati.config.js +17 -0
  39. package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -6
  40. package/dist/boilerplates/@batijs/hono/files/entry_aws_lambda.ts +2 -2
  41. package/dist/boilerplates/@batijs/mantine/bati.config.js +18 -0
  42. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
  43. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -12
  44. package/dist/boilerplates/@batijs/photon/bati.config.js +17 -0
  45. package/dist/boilerplates/@batijs/photon/files/$README.md.js +1 -1
  46. package/dist/boilerplates/@batijs/photon/files/$package.json.js +1 -15
  47. package/dist/boilerplates/@batijs/plausible.io/bati.config.js +17 -0
  48. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -1
  49. package/dist/boilerplates/@batijs/pnpm/bati.config.js +18 -0
  50. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
  51. package/dist/boilerplates/@batijs/prettier/bati.config.js +17 -0
  52. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +2 -7
  53. package/dist/boilerplates/@batijs/prisma/bati.config.js +17 -0
  54. package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
  55. package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +1 -1
  56. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +2 -7
  57. package/dist/boilerplates/@batijs/react/bati.config.js +17 -0
  58. package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
  59. package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -6
  60. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
  61. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
  62. package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +1 -1
  63. package/dist/boilerplates/@batijs/react-sentry/bati.config.js +17 -0
  64. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -11
  65. package/dist/boilerplates/@batijs/sentry/bati.config.js +17 -0
  66. package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
  67. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +4 -2
  68. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +1 -1
  69. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -6
  70. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
  71. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
  72. package/dist/boilerplates/@batijs/shadcn-ui/bati.config.js +17 -0
  73. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +4 -2
  74. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -6
  75. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
  76. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
  77. package/dist/boilerplates/@batijs/shared/bati.config.js +15 -0
  78. package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
  79. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +1 -1
  80. package/dist/boilerplates/@batijs/shared-db/bati.config.js +17 -0
  81. package/dist/boilerplates/@batijs/shared-server/bati.config.js +17 -0
  82. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -13
  83. package/dist/boilerplates/@batijs/shared-todo/bati.config.js +15 -0
  84. package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.ts +1 -3
  85. package/dist/boilerplates/@batijs/solid/bati.config.js +17 -0
  86. package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
  87. package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -6
  88. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
  89. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -1
  90. package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +1 -1
  91. package/dist/boilerplates/@batijs/solid-sentry/bati.config.js +17 -0
  92. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -11
  93. package/dist/boilerplates/@batijs/sqlite/bati.config.js +17 -0
  94. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
  95. package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +1 -1
  96. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -15
  97. package/dist/boilerplates/@batijs/tailwindcss/bati.config.js +17 -0
  98. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +2 -7
  99. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
  100. package/dist/boilerplates/@batijs/telefunc/bati.config.js +17 -0
  101. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -6
  102. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
  103. package/dist/boilerplates/@batijs/trpc/bati.config.js +17 -0
  104. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -6
  105. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +3 -3
  106. package/dist/boilerplates/@batijs/ts-rest/bati.config.js +17 -0
  107. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -6
  108. package/dist/boilerplates/@batijs/vercel/bati.config.js +17 -0
  109. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +2 -7
  110. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
  111. package/dist/boilerplates/@batijs/vue/bati.config.js +17 -0
  112. package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
  113. package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -6
  114. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
  115. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
  116. package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +2 -2
  117. package/dist/boilerplates/@batijs/vue-sentry/bati.config.js +17 -0
  118. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -11
  119. package/dist/boilerplates/boilerplates.json +0 -264
  120. package/dist/{chunk-6D3FLEBD.js → chunk-5P3K3DOP.js} +4 -4
  121. package/dist/index.js +25 -798
  122. package/package.json +5 -6
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-6D3FLEBD.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -61,12 +61,7 @@ var require_package = __commonJS({
61
61
  },
62
62
  files: [
63
63
  "dist/"
64
- ],
65
- bati: {
66
- if: {
67
- flag: "vercel"
68
- }
69
- }
64
+ ]
70
65
  };
71
66
  }
72
67
  });
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  JEs
7
- } from "../../../../../chunk-6D3FLEBD.js";
7
+ } from "../../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -0,0 +1,17 @@
1
+ // ../../packages/core/dist/config.js
2
+ function t(e, r) {
3
+ if (!e) throw new Error(r);
4
+ }
5
+ function i(e) {
6
+ return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
7
+ }
8
+
9
+ // bati.config.ts
10
+ var bati_config_default = i({
11
+ if(meta) {
12
+ return meta.BATI.has("vue");
13
+ }
14
+ });
15
+ export {
16
+ bati_config_default as default
17
+ };
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-6D3FLEBD.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.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
  WEs
7
- } from "../../../../chunk-6D3FLEBD.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -69,11 +69,6 @@ var require_package = __commonJS({
69
69
  files: [
70
70
  "dist/"
71
71
  ],
72
- bati: {
73
- if: {
74
- flag: "vue"
75
- }
76
- },
77
72
  exports: {
78
73
  "./pages/+config": {
79
74
  types: "./dist/types/pages/+config.d.ts"
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  YEs
7
- } from "../../../../chunk-6D3FLEBD.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.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
  JEs,
7
7
  Zti
8
- } from "../../../../chunk-6D3FLEBD.js";
8
+ } from "../../../../chunk-5P3K3DOP.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -19,12 +19,12 @@
19
19
  </template>
20
20
 
21
21
  <script lang="ts" setup>
22
+ import type { Data } from "@batijs/shared-todo/pages/todo/+data";
22
23
  import { onNewTodo } from "@batijs/telefunc/pages/todo/TodoList.telefunc";
23
24
  import { trpc } from "@batijs/trpc/trpc/client";
24
25
  import { client } from "@batijs/ts-rest/ts-rest/client";
25
- import { ref } from "vue";
26
26
  import { useData } from "vike-vue/useData";
27
- import type { Data } from "@batijs/shared-todo/pages/todo/+data";
27
+ import { ref } from "vue";
28
28
 
29
29
  const { todoItemsInitial } = useData<Data>();
30
30
  const todoItems = ref<{ text: string }[]>(todoItemsInitial);
@@ -0,0 +1,17 @@
1
+ // ../../packages/core/dist/config.js
2
+ function t(e, r) {
3
+ if (!e) throw new Error(r);
4
+ }
5
+ function i(e) {
6
+ return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
7
+ }
8
+
9
+ // bati.config.ts
10
+ var bati_config_default = i({
11
+ if(meta) {
12
+ return meta.BATI.has("vue") && meta.BATI.has("sentry");
13
+ }
14
+ });
15
+ export {
16
+ bati_config_default as default
17
+ };
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-6D3FLEBD.js";
7
+ } from "../../../../chunk-5P3K3DOP.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -63,16 +63,6 @@ var require_package = __commonJS({
63
63
  files: [
64
64
  "dist/"
65
65
  ],
66
- bati: {
67
- if: {
68
- flag: {
69
- $all: [
70
- "vue",
71
- "sentry"
72
- ]
73
- }
74
- }
75
- },
76
66
  exports: {
77
67
  "./sentry.browser.config": {
78
68
  types: "./dist/types/sentry.browser.config.d.ts"
@@ -1,324 +1,155 @@
1
1
  [
2
2
  {
3
- "config": {
4
- "if": {
5
- "flag": "auth0"
6
- }
7
- },
8
3
  "folder": "@batijs/auth0",
9
4
  "subfolders": [
10
5
  "files"
11
6
  ]
12
7
  },
13
8
  {
14
- "config": {
15
- "if": {
16
- "flag": {
17
- "$in": [
18
- "authjs",
19
- "auth0"
20
- ]
21
- }
22
- }
23
- },
24
9
  "folder": "@batijs/authjs",
25
10
  "subfolders": [
26
11
  "files"
27
12
  ]
28
13
  },
29
14
  {
30
- "config": {
31
- "if": {
32
- "flag": "aws"
33
- },
34
- "enforce": "post"
35
- },
36
15
  "folder": "@batijs/aws",
37
16
  "subfolders": [
38
17
  "files"
39
18
  ]
40
19
  },
41
20
  {
42
- "config": {
43
- "if": {
44
- "flag": "biome"
45
- }
46
- },
47
21
  "folder": "@batijs/biome",
48
22
  "subfolders": [
49
23
  "files"
50
24
  ]
51
25
  },
52
26
  {
53
- "config": {
54
- "if": {
55
- "flag": "cloudflare"
56
- },
57
- "enforce": "post"
58
- },
59
27
  "folder": "@batijs/cloudflare",
60
28
  "subfolders": [
61
29
  "files"
62
30
  ]
63
31
  },
64
32
  {
65
- "config": {
66
- "if": {
67
- "flag": "compiled-css"
68
- }
69
- },
70
33
  "folder": "@batijs/compiled",
71
34
  "subfolders": [
72
35
  "files"
73
36
  ]
74
37
  },
75
38
  {
76
- "config": {
77
- "if": {
78
- "flag": {
79
- "$in": [
80
- "drizzle",
81
- "sqlite"
82
- ],
83
- "$all": [
84
- "cloudflare"
85
- ]
86
- }
87
- }
88
- },
89
39
  "folder": "@batijs/d1",
90
40
  "subfolders": [
91
41
  "files"
92
42
  ]
93
43
  },
94
44
  {
95
- "config": {
96
- "if": {
97
- "flag": {
98
- "$all": [
99
- "sqlite",
100
- "cloudflare"
101
- ]
102
- }
103
- }
104
- },
105
45
  "folder": "@batijs/d1-sqlite",
106
46
  "subfolders": [
107
47
  "files"
108
48
  ]
109
49
  },
110
50
  {
111
- "config": {
112
- "if": {
113
- "flag": "drizzle"
114
- }
115
- },
116
51
  "folder": "@batijs/drizzle",
117
52
  "subfolders": [
118
53
  "files"
119
54
  ]
120
55
  },
121
56
  {
122
- "config": {
123
- "if": {
124
- "flag": "eslint"
125
- }
126
- },
127
57
  "folder": "@batijs/eslint",
128
58
  "subfolders": [
129
59
  "files"
130
60
  ]
131
61
  },
132
62
  {
133
- "config": {
134
- "if": {
135
- "flag": "express"
136
- }
137
- },
138
63
  "folder": "@batijs/express",
139
64
  "subfolders": [
140
65
  "files"
141
66
  ]
142
67
  },
143
68
  {
144
- "config": {
145
- "if": {
146
- "flag": "fastify"
147
- }
148
- },
149
69
  "folder": "@batijs/fastify",
150
70
  "subfolders": [
151
71
  "files"
152
72
  ]
153
73
  },
154
74
  {
155
- "config": {
156
- "if": {
157
- "flag": "google-analytics"
158
- }
159
- },
160
75
  "folder": "@batijs/google-analytics",
161
76
  "subfolders": [
162
77
  "files"
163
78
  ]
164
79
  },
165
80
  {
166
- "config": {
167
- "if": {
168
- "flag": "h3"
169
- }
170
- },
171
81
  "folder": "@batijs/h3",
172
82
  "subfolders": [
173
83
  "files"
174
84
  ]
175
85
  },
176
86
  {
177
- "config": {
178
- "if": {
179
- "flag": "hono"
180
- }
181
- },
182
87
  "folder": "@batijs/hono",
183
88
  "subfolders": [
184
89
  "files"
185
90
  ]
186
91
  },
187
92
  {
188
- "config": {
189
- "enforce": "post",
190
- "if": {
191
- "flag": {
192
- "$all": [
193
- "mantine",
194
- "react"
195
- ]
196
- }
197
- }
198
- },
199
93
  "folder": "@batijs/mantine",
200
94
  "subfolders": [
201
95
  "files"
202
96
  ]
203
97
  },
204
98
  {
205
- "config": {
206
- "if": {
207
- "flag": {
208
- "$in": [
209
- "h3",
210
- "express",
211
- "hono",
212
- "fastify",
213
- "vercel",
214
- "cloudflare"
215
- ]
216
- }
217
- }
218
- },
219
99
  "folder": "@batijs/photon",
220
100
  "subfolders": [
221
101
  "files"
222
102
  ]
223
103
  },
224
104
  {
225
- "config": {
226
- "if": {
227
- "flag": "plausible.io"
228
- }
229
- },
230
105
  "folder": "@batijs/plausible.io",
231
106
  "subfolders": [
232
107
  "files"
233
108
  ]
234
109
  },
235
110
  {
236
- "config": {
237
- "if": {
238
- "packageManager": "pnpm"
239
- },
240
- "enforce": "post"
241
- },
242
111
  "folder": "@batijs/pnpm",
243
112
  "subfolders": [
244
113
  "files"
245
114
  ]
246
115
  },
247
116
  {
248
- "config": {
249
- "if": {
250
- "flag": "prettier"
251
- }
252
- },
253
117
  "folder": "@batijs/prettier",
254
118
  "subfolders": [
255
119
  "files"
256
120
  ]
257
121
  },
258
122
  {
259
- "config": {
260
- "if": {
261
- "flag": "prisma"
262
- }
263
- },
264
123
  "folder": "@batijs/prisma",
265
124
  "subfolders": [
266
125
  "files"
267
126
  ]
268
127
  },
269
128
  {
270
- "config": {
271
- "if": {
272
- "flag": "react"
273
- }
274
- },
275
129
  "folder": "@batijs/react",
276
130
  "subfolders": [
277
131
  "files"
278
132
  ]
279
133
  },
280
134
  {
281
- "config": {
282
- "if": {
283
- "flag": {
284
- "$all": [
285
- "react",
286
- "sentry"
287
- ]
288
- }
289
- }
290
- },
291
135
  "folder": "@batijs/react-sentry",
292
136
  "subfolders": [
293
137
  "files"
294
138
  ]
295
139
  },
296
140
  {
297
- "config": {
298
- "if": {
299
- "flag": "sentry"
300
- }
301
- },
302
141
  "folder": "@batijs/sentry",
303
142
  "subfolders": [
304
143
  "files"
305
144
  ]
306
145
  },
307
146
  {
308
- "config": {
309
- "if": {
310
- "flag": "shadcn-ui"
311
- }
312
- },
313
147
  "folder": "@batijs/shadcn-ui",
314
148
  "subfolders": [
315
149
  "files"
316
150
  ]
317
151
  },
318
152
  {
319
- "config": {
320
- "enforce": "pre"
321
- },
322
153
  "folder": "@batijs/shared",
323
154
  "subfolders": [
324
155
  "files",
@@ -326,173 +157,78 @@
326
157
  ]
327
158
  },
328
159
  {
329
- "config": {
330
- "if": {
331
- "flag": {
332
- "$in": [
333
- "drizzle",
334
- "sqlite",
335
- "prisma"
336
- ]
337
- }
338
- }
339
- },
340
160
  "folder": "@batijs/shared-db",
341
161
  "subfolders": [
342
162
  "files"
343
163
  ]
344
164
  },
345
165
  {
346
- "config": {
347
- "if": {
348
- "flag": {
349
- "$in": [
350
- "h3",
351
- "hono",
352
- "express",
353
- "fastify"
354
- ]
355
- }
356
- }
357
- },
358
166
  "folder": "@batijs/shared-server",
359
167
  "subfolders": [
360
168
  "files"
361
169
  ]
362
170
  },
363
171
  {
364
- "config": {
365
- "enforce": "pre"
366
- },
367
172
  "folder": "@batijs/shared-todo",
368
173
  "subfolders": [
369
174
  "files"
370
175
  ]
371
176
  },
372
177
  {
373
- "config": {
374
- "if": {
375
- "flag": "solid"
376
- }
377
- },
378
178
  "folder": "@batijs/solid",
379
179
  "subfolders": [
380
180
  "files"
381
181
  ]
382
182
  },
383
183
  {
384
- "config": {
385
- "if": {
386
- "flag": {
387
- "$all": [
388
- "solid",
389
- "sentry"
390
- ]
391
- }
392
- }
393
- },
394
184
  "folder": "@batijs/solid-sentry",
395
185
  "subfolders": [
396
186
  "files"
397
187
  ]
398
188
  },
399
189
  {
400
- "config": {
401
- "if": {
402
- "flag": {
403
- "$in": [
404
- "sqlite"
405
- ],
406
- "$not": {
407
- "$in": [
408
- "cloudflare"
409
- ]
410
- }
411
- }
412
- }
413
- },
414
190
  "folder": "@batijs/sqlite",
415
191
  "subfolders": [
416
192
  "files"
417
193
  ]
418
194
  },
419
195
  {
420
- "config": {
421
- "if": {
422
- "flag": "tailwindcss"
423
- }
424
- },
425
196
  "folder": "@batijs/tailwindcss",
426
197
  "subfolders": [
427
198
  "files"
428
199
  ]
429
200
  },
430
201
  {
431
- "config": {
432
- "if": {
433
- "flag": "telefunc"
434
- }
435
- },
436
202
  "folder": "@batijs/telefunc",
437
203
  "subfolders": [
438
204
  "files"
439
205
  ]
440
206
  },
441
207
  {
442
- "config": {
443
- "if": {
444
- "flag": "trpc"
445
- }
446
- },
447
208
  "folder": "@batijs/trpc",
448
209
  "subfolders": [
449
210
  "files"
450
211
  ]
451
212
  },
452
213
  {
453
- "config": {
454
- "if": {
455
- "flag": "ts-rest"
456
- }
457
- },
458
214
  "folder": "@batijs/ts-rest",
459
215
  "subfolders": [
460
216
  "files"
461
217
  ]
462
218
  },
463
219
  {
464
- "config": {
465
- "if": {
466
- "flag": "vercel"
467
- }
468
- },
469
220
  "folder": "@batijs/vercel",
470
221
  "subfolders": [
471
222
  "files"
472
223
  ]
473
224
  },
474
225
  {
475
- "config": {
476
- "if": {
477
- "flag": "vue"
478
- }
479
- },
480
226
  "folder": "@batijs/vue",
481
227
  "subfolders": [
482
228
  "files"
483
229
  ]
484
230
  },
485
231
  {
486
- "config": {
487
- "if": {
488
- "flag": {
489
- "$all": [
490
- "vue",
491
- "sentry"
492
- ]
493
- }
494
- }
495
- },
496
232
  "folder": "@batijs/vue-sentry",
497
233
  "subfolders": [
498
234
  "files"
@@ -210439,16 +210439,16 @@ async function ufs(t2, e, n2) {
210439
210439
  }
210440
210440
  return !e.BATI.has("eslint") && R$r.test(c) && (c = c.replace(R$r, ""), f = true), !e.BATI.has("biome") && j$r.test(c) && (c = c.replace(j$r, ""), f = true), { code: f ? await Pit(c, n2) : c, context: p2 };
210441
210441
  }
210442
- var wxt = { name: "@batijs/core", version: "0.0.512", 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.8", "@types/node": "^20.19.24", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.46.4", "@typescript-eslint/utils": "^8.46.4", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.27.0", eslint: "^9.39.1", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^10.4.0", magicast: "^0.5.1", "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.6.2", squirrelly: "^9.1.0", tsup: "^8.5.0", tsx: "^4.20.6", typescript: "^5.9.3", "unplugin-purge-polyfills": "^0.1.0", vitest: "^4.0.8", "vue-eslint-parser": "^10.2.0", which: "^6.0.0", yaml: "^2.8.1" }, exports: { ".": "./dist/index.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { types: ["./global.d.ts"] } }, files: ["dist/"] };
210442
+ var wxt = { name: "@batijs/core", version: "0.0.514", 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.8", "@types/node": "^20.19.24", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.46.4", "@typescript-eslint/utils": "^8.46.4", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.27.0", eslint: "^9.39.1", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^10.4.0", magicast: "^0.5.1", "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.6.2", squirrelly: "^9.1.0", tsup: "^8.5.0", tsx: "^4.20.6", typescript: "^5.9.3", "unplugin-purge-polyfills": "^0.1.0", vitest: "^4.0.8", "vue-eslint-parser": "^10.2.0", which: "^6.0.0", yaml: "^2.8.1" }, exports: { ".": "./dist/index.js", "./config": "./dist/config.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { config: ["./dist/config.d.ts"], types: ["./global.d.ts"] } }, files: ["dist/"] };
210443
210443
  function ffs() {
210444
- if (process.env.npm_config_user_agent) return _fs(process.env.npm_config_user_agent);
210444
+ return process.env.npm_config_user_agent ? _fs(process.env.npm_config_user_agent) : { name: "npm", run: "npm run" };
210445
210445
  }
210446
210446
  function _fs(t2) {
210447
210447
  let e = t2.split(" ")[0], n2 = e.lastIndexOf("/"), i = e.substring(0, n2);
210448
- return { name: i === "npminstall" ? "cnpm" : i, version: e.substring(n2 + 1) };
210448
+ return i = i === "npminstall" ? "cnpm" : i, { name: i, version: e.substring(n2 + 1), run: i === "npm" ? "npm run" : i };
210449
210449
  }
210450
210450
  function SBs() {
210451
- switch (ffs()?.name) {
210451
+ switch (ffs().name) {
210452
210452
  case "pnpm":
210453
210453
  return "pnpm create vike@latest";
210454
210454
  case "yarn":