@batijs/cli 0.0.306 → 0.0.308

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 (111) 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 +4 -4
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +7 -7
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/biome/files/$package.json.js +3 -3
  8. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +5 -5
  9. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
  10. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +5 -5
  11. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
  12. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  13. package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
  14. package/dist/boilerplates/@batijs/d1/files/$package.json.js +6 -6
  15. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  16. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
  17. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +5 -5
  18. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  19. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
  20. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +5 -5
  21. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
  22. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +3 -3
  23. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +8 -8
  24. package/dist/boilerplates/@batijs/eslint/files/eslint.config.js +2 -0
  25. package/dist/boilerplates/@batijs/express/files/$package.json.js +6 -6
  26. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +6 -6
  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 +6 -6
  30. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  31. package/dist/boilerplates/@batijs/h3/files/$package.json.js +6 -6
  32. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +7 -7
  33. package/dist/boilerplates/@batijs/hono/files/$package.json.js +9 -9
  34. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  35. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
  36. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
  37. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +7 -7
  38. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  39. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +7 -7
  40. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +95 -0
  41. package/dist/boilerplates/@batijs/panda-css/files/layouts/panda.css +1 -0
  42. package/dist/boilerplates/@batijs/panda-css/files/panda.config.ts +32 -0
  43. package/dist/boilerplates/@batijs/panda-css/files/postcss.config.js +5 -0
  44. package/dist/boilerplates/@batijs/panda-css/types/panda.config.d.ts +4 -0
  45. package/dist/boilerplates/@batijs/panda-css/types/postcss.config.d.ts +6 -0
  46. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  47. package/dist/boilerplates/@batijs/prettier/files/.prettierignore +4 -0
  48. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  49. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  50. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
  51. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  52. package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -7
  53. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  54. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  55. package/dist/boilerplates/@batijs/react/files/layouts/LayoutDefault.tsx +26 -12
  56. package/dist/boilerplates/@batijs/react/files/pages/index/+Page.tsx +7 -2
  57. package/dist/boilerplates/@batijs/react/files/pages/index/Counter.tsx +17 -2
  58. package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +50 -2
  59. package/dist/boilerplates/@batijs/react/types/layouts/LayoutDefault.d.ts +1 -0
  60. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +5 -5
  61. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  62. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  63. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +4 -4
  64. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  65. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  66. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  67. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -6
  68. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  69. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  70. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  71. package/dist/boilerplates/@batijs/shared/files/.gitignore +4 -0
  72. package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
  73. package/dist/boilerplates/@batijs/shared/files/tsconfig.json +1 -1
  74. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
  75. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  76. package/dist/boilerplates/@batijs/solid/files/$package.json.js +8 -6
  77. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  78. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  79. package/dist/boilerplates/@batijs/solid/files/layouts/LayoutDefault.tsx +26 -12
  80. package/dist/boilerplates/@batijs/solid/files/pages/index/+Page.tsx +7 -2
  81. package/dist/boilerplates/@batijs/solid/files/pages/index/Counter.tsx +17 -2
  82. package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +50 -2
  83. package/dist/boilerplates/@batijs/solid/types/layouts/LayoutDefault.d.ts +1 -0
  84. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +5 -5
  85. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  86. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  87. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  88. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +7 -7
  89. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +6 -6
  90. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  91. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +5 -5
  92. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
  93. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +5 -5
  94. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  95. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  96. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  97. package/dist/boilerplates/@batijs/vue/files/$package.json.js +12 -10
  98. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  99. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  100. package/dist/boilerplates/@batijs/vue/files/components/Content.vue +8 -2
  101. package/dist/boilerplates/@batijs/vue/files/components/Counter.vue +24 -10
  102. package/dist/boilerplates/@batijs/vue/files/components/Logo.vue +10 -2
  103. package/dist/boilerplates/@batijs/vue/files/components/Sidebar.vue +20 -2
  104. package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +2 -0
  105. package/dist/boilerplates/@batijs/vue/files/pages/index/+Page.vue +5 -5
  106. package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +45 -2
  107. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +6 -6
  108. package/dist/boilerplates/boilerplates.json +11 -0
  109. package/dist/{chunk-R2K4MHLU.js → chunk-O2DQVJZQ.js} +90260 -89070
  110. package/dist/index.js +34 -19
  111. package/package.json +6 -6
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shared-server/dist/files/$package.json.js
@@ -48,11 +48,11 @@ var require_package = __commonJS({
48
48
  license: "MIT",
49
49
  devDependencies: {
50
50
  "@batijs/compile": "workspace:*",
51
- "@cloudflare/workers-types": "^4.20241106.0",
51
+ "@cloudflare/workers-types": "^4.20241112.0",
52
52
  "@types/node": "^18.19.64",
53
53
  "@universal-middleware/core": "^0.2.13",
54
- vike: "^0.4.201",
55
- vite: "^5.4.10"
54
+ vike: "^0.4.203",
55
+ vite: "^5.4.11"
56
56
  },
57
57
  files: [
58
58
  "dist/"
@@ -92,7 +92,7 @@ var require_package = __commonJS({
92
92
  }
93
93
  });
94
94
  async function getPackageJson(props) {
95
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
96
  return packageJson.addDependencies(["@universal-middleware/core"]);
97
97
  }
98
98
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- gGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ NXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await gGs(props);
9
+ const content = await NXs(props);
10
10
  const about = `
11
11
 
12
12
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [SolidJS](https://www.solidjs.com/guides/getting-started).
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$package.json.js
@@ -39,6 +39,7 @@ var require_package = __commonJS({
39
39
  description: "",
40
40
  type: "module",
41
41
  scripts: {
42
+ prepare: "panda codegen --silent",
42
43
  "check-types": "tsc --noEmit",
43
44
  build: "bati-compile-boilerplate"
44
45
  },
@@ -47,13 +48,14 @@ var require_package = __commonJS({
47
48
  license: "MIT",
48
49
  devDependencies: {
49
50
  "@batijs/compile": "workspace:*",
51
+ "@pandacss/dev": "^0.47.1",
50
52
  "@types/node": "^18.19.64",
51
53
  "solid-js": "^1.9.3",
52
- tailwindcss: "^3.4.14",
54
+ tailwindcss: "^3.4.15",
53
55
  typescript: "^5.6.3",
54
- vike: "^0.4.201",
56
+ vike: "^0.4.203",
55
57
  "vike-solid": "^0.7.6",
56
- vite: "^5.4.10",
58
+ vite: "^5.4.11",
57
59
  "vite-plugin-solid": "^2.10.2"
58
60
  },
59
61
  dependencies: {
@@ -173,7 +175,7 @@ var require_package = __commonJS({
173
175
  }
174
176
  });
175
177
  async function getPackageJson(props) {
176
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
178
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
177
179
  return packageJson.addDevDependencies(["vite"]).addDependencies(["solid-js", "vike-solid", "vike"]);
178
180
  }
179
181
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- yGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ IXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await yGs(props);
9
+ const tsConfig = await IXs(props);
10
10
  tsConfig.compilerOptions.jsx = "preserve";
11
11
  tsConfig.compilerOptions.jsxImportSource = "solid-js";
12
12
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-solid/client"];
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g0s,
4
- vGs
5
- } from "../../../../chunk-R2K4MHLU.js";
3
+ LXs,
4
+ vTs
5
+ } from "../../../../chunk-O2DQVJZQ.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/solid/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await vGs(props);
11
- g0s(mod, {
10
+ const mod = await LXs(props);
11
+ vTs(mod, {
12
12
  from: "vike-solid/vite",
13
13
  constructor: "vikeSolid"
14
14
  });
@@ -1,16 +1,19 @@
1
1
  import "./style.css";
2
2
  //# BATI.has("tailwindcss")
3
3
  import "./tailwind.css";
4
+ //# BATI.has("panda-css")
5
+ import "./panda.css";
4
6
  import type { JSX } from "solid-js";
5
7
  import logoUrl from "../assets/logo.svg";
6
8
  import { Link } from "../components/Link.js";
9
+ import { css } from "../styled-system/css";
7
10
 
8
11
  export default function LayoutDefault(props: { children?: JSX.Element }) {
9
12
  return (
10
13
  <div
11
- //# BATI.has("tailwindcss")
12
- class="flex max-w-5xl m-auto"
13
- //# !BATI.has("tailwindcss")
14
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
15
+ class={BATI.has("tailwindcss") ? "flex max-w-5xl m-auto" : css({ display: "flex", maxW: "900px", m: "auto" })}
16
+ //# !BATI.has("tailwindcss") && !BATI.has("panda-css")
14
17
  style={{
15
18
  display: "flex",
16
19
  "max-width": "900px",
@@ -33,9 +36,20 @@ function Sidebar(props: { children: JSX.Element }) {
33
36
  return (
34
37
  <div
35
38
  id="sidebar"
36
- //# BATI.has("tailwindcss")
37
- class="p-5 flex flex-col shrink-0 border-r-2 border-r-gray-200"
38
- //# !BATI.has("tailwindcss")
39
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
40
+ class={
41
+ BATI.has("tailwindcss")
42
+ ? "p-5 flex flex-col shrink-0 border-r-2 border-r-gray-200"
43
+ : css({
44
+ p: "20px",
45
+ display: "flex",
46
+ flexShrink: 0,
47
+ flexDir: "column",
48
+ lineHeight: "1.8em",
49
+ borderRight: "2px solid #eee",
50
+ })
51
+ }
52
+ //# !BATI.has("tailwindcss") && !BATI.has("panda-css")
39
53
  style={{
40
54
  padding: "20px",
41
55
  "flex-shrink": 0,
@@ -55,9 +69,9 @@ function Content(props: { children: JSX.Element }) {
55
69
  <div id="page-container">
56
70
  <div
57
71
  id="page-content"
58
- //# BATI.has("tailwindcss")
59
- class="p-5 pb-12 min-h-screen"
60
- //# !BATI.has("tailwindcss")
72
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
73
+ class={BATI.has("tailwindcss") ? "p-5 pb-12 min-h-screen" : css({ p: "20px", pb: "50px", minH: "100vh" })}
74
+ //# !BATI.has("tailwindcss") && !BATI.has("panda-css")
61
75
  style={{
62
76
  padding: "20px",
63
77
  "padding-bottom": "50px",
@@ -73,9 +87,9 @@ function Content(props: { children: JSX.Element }) {
73
87
  function Logo() {
74
88
  return (
75
89
  <div
76
- //# BATI.has("tailwindcss")
77
- class="p-5 mb-2"
78
- //# !BATI.has("tailwindcss")
90
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
91
+ class={BATI.has("tailwindcss") ? "p-5 mb-2" : css({ p: "20px", mb: "10px" })}
92
+ //# !BATI.has("tailwindcss") && !BATI.has("panda-css")
79
93
  style={{
80
94
  "margin-top": "20px",
81
95
  "margin-bottom": "10px",
@@ -1,11 +1,16 @@
1
1
  import { Counter } from "./Counter.js";
2
+ import { css } from "../../styled-system/css";
2
3
 
3
4
  export default function Page() {
4
5
  return (
5
6
  <>
6
7
  <h1
7
- //# BATI.has("tailwindcss")
8
- class="font-bold text-3xl pb-4"
8
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
9
+ class={
10
+ BATI.has("tailwindcss")
11
+ ? "font-bold text-3xl pb-4"
12
+ : css({ font: "bold 2em sans-serif", marginBlock: "0.67em" })
13
+ }
9
14
  >
10
15
  My Vike app
11
16
  </h1>
@@ -1,4 +1,5 @@
1
1
  import { createSignal } from "solid-js";
2
+ import { css } from "../../styled-system/css";
2
3
 
3
4
  export { Counter };
4
5
 
@@ -8,8 +9,22 @@ function Counter() {
8
9
  return (
9
10
  <button
10
11
  type="button"
11
- //# BATI.has("tailwindcss")
12
- class="inline-block border border-black rounded bg-gray-200 px-2 py-1 text-xs font-medium uppercase leading-normal"
12
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
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
+ })
27
+ }
13
28
  onClick={() => setCount((count) => count + 1)}
14
29
  >
15
30
  Counter {count()}
@@ -2,6 +2,7 @@ import { onNewTodo } from "@batijs/telefunc/pages/todo/TodoList.telefunc";
2
2
  import { trpc } from "@batijs/trpc/trpc/client";
3
3
  import { client } from "@batijs/ts-rest/ts-rest/client";
4
4
  import { createSignal, For, untrack } from "solid-js";
5
+ import { css } from "../../styled-system/css";
5
6
 
6
7
  export function TodoList(props: { initialTodoItems: { text: string }[] }) {
7
8
  const [todoItems, setTodoItems] = createSignal(props.initialTodoItems);
@@ -45,8 +46,55 @@ export function TodoList(props: { initialTodoItems: { text: string }[] }) {
45
46
  }
46
47
  }}
47
48
  >
48
- <input type="text" onChange={(ev) => setNewTodo(ev.target.value)} value={newTodo()} />{" "}
49
- <button type="submit">Add to-do</button>
49
+ <input
50
+ type="text"
51
+ onChange={(ev) => setNewTodo(ev.target.value)}
52
+ value={newTodo()}
53
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
54
+ class={
55
+ BATI.has("tailwindcss")
56
+ ? "bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 w-full sm:w-auto p-2 mr-1 mb-1"
57
+ : css({
58
+ p: 2,
59
+ bg: "gray.50",
60
+ borderWidth: 1,
61
+ borderColor: "gray.300",
62
+ color: "gray.900",
63
+ fontSize: "sm",
64
+ rounded: "md",
65
+ width: { base: "full", sm: "auto" },
66
+ _focus: { ringColor: "teal.500", borderColor: "teal.500" },
67
+ mr: 1,
68
+ mb: 1,
69
+ })
70
+ }
71
+ />
72
+ <button
73
+ type="submit"
74
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
75
+ class={
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"
78
+ : css({
79
+ color: "white",
80
+ bg: { base: "teal.700", _hover: "teal.800" },
81
+ _focus: {
82
+ ringWidth: 2,
83
+ ringColor: "teal.300",
84
+ outline: "1px solid transparent",
85
+ outlineOffset: "1px",
86
+ },
87
+ cursor: "pointer",
88
+ fontSize: "sm",
89
+ fontWeight: 500,
90
+ rounded: "md",
91
+ width: { base: "full", sm: "auto" },
92
+ p: 2,
93
+ })
94
+ }
95
+ >
96
+ Add to-do
97
+ </button>
50
98
  </form>
51
99
  </div>
52
100
  </>
@@ -1,5 +1,6 @@
1
1
  import "./style.css";
2
2
  import "./tailwind.css";
3
+ import "./panda.css";
3
4
  import type { JSX } from "solid-js";
4
5
  export default function LayoutDefault(props: {
5
6
  children?: JSX.Element;
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.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.37.1",
50
+ "@sentry/solid": "^8.38.0",
51
51
  "@types/node": "^18.19.64",
52
52
  "solid-js": "^1.9.3",
53
53
  "vike-solid": "^0.7.6",
54
- vite: "^5.4.10"
54
+ vite: "^5.4.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 bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
+ const packageJson = await OXs(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
- NGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ WXs
4
+ } from "../../../../chunk-O2DQVJZQ.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 NGs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
11
+ return WXs(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
- gGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ NXs
4
+ } from "../../../../chunk-O2DQVJZQ.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 gGs(props);
9
+ const content = await NXs(props);
10
10
  const todo = `
11
11
  ## *Sqlite*
12
12
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$package.json.js
@@ -119,7 +119,7 @@ var require_package = __commonJS({
119
119
  }
120
120
  });
121
121
  async function getPackageJson(props) {
122
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
122
+ const packageJson = await OXs(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
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/tailwindcss/dist/files/$package.json.js
@@ -50,10 +50,10 @@ var require_package = __commonJS({
50
50
  "@types/node": "^18.19.64",
51
51
  autoprefixer: "^10.4.20",
52
52
  daisyui: "^4.12.14",
53
- postcss: "^8.4.48",
54
- tailwindcss: "^3.4.14",
55
- vike: "^0.4.201",
56
- vite: "^5.4.10"
53
+ postcss: "^8.4.49",
54
+ tailwindcss: "^3.4.15",
55
+ vike: "^0.4.203",
56
+ vite: "^5.4.11"
57
57
  },
58
58
  dependencies: {
59
59
  "@batijs/core": "workspace:*"
@@ -88,7 +88,7 @@ var require_package = __commonJS({
88
88
  }
89
89
  });
90
90
  async function getPackageJson(props) {
91
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
92
  return packageJson.addDevDependencies(["tailwindcss", "postcss", "autoprefixer"]).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
93
93
  }
94
94
  export {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.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.20241106.0",
50
+ "@cloudflare/workers-types": "^4.20241112.0",
51
51
  "@types/node": "^18.19.64",
52
52
  "@universal-middleware/core": "^0.2.13",
53
53
  telefunc: "^0.1.81",
54
- vike: "^0.4.201",
55
- vite: "^5.4.10"
54
+ vike: "^0.4.203",
55
+ vite: "^5.4.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 bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
90
+ const packageJson = await OXs(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
- g0s,
4
- vGs
5
- } from "../../../../chunk-R2K4MHLU.js";
3
+ LXs,
4
+ vTs
5
+ } from "../../../../chunk-O2DQVJZQ.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 vGs(props);
11
- g0s(mod, {
10
+ const mod = await LXs(props);
11
+ vTs(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
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.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.20241106.0",
50
+ "@cloudflare/workers-types": "^4.20241112.0",
51
51
  "@trpc/client": "^10.45.2",
52
52
  "@trpc/server": "^10.45.2",
53
53
  "@types/node": "^18.19.64",
54
54
  "@universal-middleware/core": "^0.2.13",
55
- vite: "^5.4.10"
55
+ vite: "^5.4.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 bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await OXs(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 {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/ts-rest/dist/files/$package.json.js
@@ -47,7 +47,7 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@cloudflare/workers-types": "^4.20241106.0",
50
+ "@cloudflare/workers-types": "^4.20241112.0",
51
51
  "@ts-rest/core": "^3.51.0",
52
52
  "@ts-rest/serverless": "^3.51.0",
53
53
  "@types/node": "^18.19.64",
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await OXs(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
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vercel/dist/files/$package.json.js
@@ -49,8 +49,8 @@ var require_package = __commonJS({
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@types/node": "^18.19.64",
51
51
  "@vite-plugin-vercel/vike": "^9.0.2",
52
- vike: "^0.4.201",
53
- vite: "^5.4.10",
52
+ vike: "^0.4.203",
53
+ vite: "^5.4.11",
54
54
  "vite-plugin-vercel": "^9.0.3"
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 bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
71
+ const packageJson = await OXs(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
- yGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ IXs
4
+ } from "../../../../chunk-O2DQVJZQ.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 yGs(props);
9
+ const tsConfig = await IXs(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
- g0s,
4
- vGs
5
- } from "../../../../chunk-R2K4MHLU.js";
3
+ LXs,
4
+ vTs
5
+ } from "../../../../chunk-O2DQVJZQ.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 vGs(props);
10
+ const mod = await LXs(props);
11
11
  const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
12
12
  source: "/.*"
13
13
  } : void 0;
14
- g0s(mod, {
14
+ vTs(mod, {
15
15
  from: "vite-plugin-vercel",
16
16
  constructor: "vercel",
17
17
  options