@batijs/cli 0.0.445 → 0.0.447

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 (137) 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 +1 -1
  21. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
  22. package/dist/boilerplates/@batijs/eslint/files/eslint.config.ts +0 -2
  23. package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
  24. package/dist/boilerplates/@batijs/express/files/express-entry.ts +0 -11
  25. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
  26. package/dist/boilerplates/@batijs/fastify/files/fastify-entry.ts +0 -11
  27. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
  28. package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
  29. package/dist/boilerplates/@batijs/h3/files/h3-entry.ts +0 -11
  30. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +1 -1
  31. package/dist/boilerplates/@batijs/hattip/files/hattip-entry.ts +0 -11
  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/hono/files/hono-entry.ts +0 -11
  35. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
  36. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
  37. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
  38. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
  39. package/dist/boilerplates/@batijs/prettier/files/.prettierignore +0 -7
  40. package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
  41. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +1 -1
  42. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
  43. package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
  44. package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -3
  45. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
  46. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
  47. package/dist/boilerplates/@batijs/react/files/layouts/LayoutDefault.tsx +12 -27
  48. package/dist/boilerplates/@batijs/react/files/pages/+config.ts +1 -1
  49. package/dist/boilerplates/@batijs/react/files/pages/index/+Page.tsx +2 -7
  50. package/dist/boilerplates/@batijs/react/files/pages/index/Counter.tsx +2 -15
  51. package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +4 -36
  52. package/dist/boilerplates/@batijs/react/types/layouts/LayoutDefault.d.ts +0 -1
  53. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
  54. package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
  55. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -1
  56. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -1
  57. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
  58. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
  59. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
  60. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
  61. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
  62. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
  63. package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
  64. package/dist/boilerplates/@batijs/shared/files/gitignore +0 -7
  65. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +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 -3
  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/files/layouts/LayoutDefault.tsx +12 -27
  71. package/dist/boilerplates/@batijs/solid/files/pages/+config.ts +1 -1
  72. package/dist/boilerplates/@batijs/solid/files/pages/index/+Page.tsx +2 -7
  73. package/dist/boilerplates/@batijs/solid/files/pages/index/Counter.tsx +2 -15
  74. package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +4 -36
  75. package/dist/boilerplates/@batijs/solid/types/layouts/LayoutDefault.d.ts +0 -1
  76. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
  77. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
  78. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +1 -1
  79. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
  80. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
  81. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
  82. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
  83. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
  84. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
  85. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
  86. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
  87. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +1 -1
  88. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +1 -1
  89. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
  90. package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
  91. package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -3
  92. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
  93. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
  94. package/dist/boilerplates/@batijs/vue/files/components/Content.vue +1 -9
  95. package/dist/boilerplates/@batijs/vue/files/components/Counter.vue +1 -22
  96. package/dist/boilerplates/@batijs/vue/files/components/Logo.vue +1 -10
  97. package/dist/boilerplates/@batijs/vue/files/components/Sidebar.vue +1 -20
  98. package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +0 -4
  99. package/dist/boilerplates/@batijs/vue/files/pages/+config.ts +1 -1
  100. package/dist/boilerplates/@batijs/vue/files/pages/index/+Page.vue +1 -4
  101. package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +2 -34
  102. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
  103. package/dist/boilerplates/boilerplates.json +0 -70
  104. package/dist/{chunk-YO6CY4MA.js → chunk-RIWHL2V7.js} +9848 -9848
  105. package/dist/index.js +4 -36
  106. package/package.json +5 -5
  107. package/dist/boilerplates/@batijs/express/files/global.d.ts +0 -10
  108. package/dist/boilerplates/@batijs/fastify/files/global.d.ts +0 -10
  109. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +0 -24
  110. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +0 -39
  111. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +0 -133
  112. package/dist/boilerplates/@batijs/firebase-auth/files/firebase/$service-account.json.js +0 -26
  113. package/dist/boilerplates/@batijs/firebase-auth/files/global.d.ts +0 -11
  114. package/dist/boilerplates/@batijs/firebase-auth/files/libs/firebaseAdmin.ts +0 -15
  115. package/dist/boilerplates/@batijs/firebase-auth/files/libs/firebaseUI.ts +0 -31
  116. package/dist/boilerplates/@batijs/firebase-auth/files/pages/+client.ts +0 -30
  117. package/dist/boilerplates/@batijs/firebase-auth/files/pages/login/+config.ts +0 -6
  118. package/dist/boilerplates/@batijs/firebase-auth/files/pages/login/+guard.ts +0 -11
  119. package/dist/boilerplates/@batijs/firebase-auth/files/server/firebase-auth-middleware.ts +0 -71
  120. package/dist/boilerplates/@batijs/firebase-auth/types/libs/firebaseAdmin.d.ts +0 -5
  121. package/dist/boilerplates/@batijs/firebase-auth/types/libs/firebaseUI.d.ts +0 -5
  122. package/dist/boilerplates/@batijs/firebase-auth/types/pages/+client.d.ts +0 -1
  123. package/dist/boilerplates/@batijs/firebase-auth/types/pages/login/+config.d.ts +0 -4
  124. package/dist/boilerplates/@batijs/firebase-auth/types/pages/login/+guard.d.ts +0 -3
  125. package/dist/boilerplates/@batijs/firebase-auth/types/server/firebase-auth-middleware.d.ts +0 -4
  126. package/dist/boilerplates/@batijs/h3/files/global.d.ts +0 -10
  127. package/dist/boilerplates/@batijs/hono/files/global.d.ts +0 -10
  128. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +0 -93
  129. package/dist/boilerplates/@batijs/panda-css/files/layouts/panda.css +0 -1
  130. package/dist/boilerplates/@batijs/panda-css/files/panda.config.ts +0 -32
  131. package/dist/boilerplates/@batijs/panda-css/files/postcss.config.js +0 -5
  132. package/dist/boilerplates/@batijs/panda-css/types/panda.config.d.ts +0 -4
  133. package/dist/boilerplates/@batijs/react-firebase-auth/files/pages/login/+Page.tsx +0 -52
  134. package/dist/boilerplates/@batijs/react-firebase-auth/types/pages/login/+Page.d.ts +0 -3
  135. package/dist/boilerplates/@batijs/solid-firebase-auth/files/pages/login/+Page.tsx +0 -52
  136. package/dist/boilerplates/@batijs/solid-firebase-auth/types/pages/login/+Page.d.ts +0 -3
  137. package/dist/boilerplates/@batijs/vue-firebase-auth/files/pages/login/+Page.vue +0 -51
@@ -1,24 +1,21 @@
1
1
  import "./style.css";
2
2
  //# BATI.has("tailwindcss")
3
3
  import "./tailwind.css";
4
- //# BATI.has("panda-css")
5
- import "./panda.css";
6
4
  import logoUrl from "../assets/logo.svg";
7
5
  import { Link } from "../components/Link.js";
8
- import { css } from "../styled-system/css";
9
6
 
10
7
  export default function LayoutDefault({ children }: { children: React.ReactNode }) {
11
8
  return (
12
9
  <div
13
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
14
- className={BATI.has("tailwindcss") ? "flex max-w-5xl m-auto" : css({ display: "flex", maxW: "900px", m: "auto" })}
10
+ //# BATI.has("tailwindcss")
11
+ className={"flex max-w-5xl m-auto"}
15
12
  //# BATI.has("compiled-css")
16
13
  css={{
17
14
  display: "flex",
18
15
  maxWidth: 1024,
19
16
  margin: "auto",
20
17
  }}
21
- //# !BATI.has("tailwindcss") && !BATI.has("compiled-css") && !BATI.has("panda-css")
18
+ //# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
22
19
  style={{
23
20
  display: "flex",
24
21
  maxWidth: 900,
@@ -30,7 +27,6 @@ export default function LayoutDefault({ children }: { children: React.ReactNode
30
27
  <Link href="/">Welcome</Link>
31
28
  <Link href="/todo">Todo</Link>
32
29
  <Link href="/star-wars">Data Fetching</Link>
33
- {BATI.has("firebase-auth") ? <Link href="/login">Login</Link> : ""}
34
30
  </Sidebar>
35
31
  <Content>{children}</Content>
36
32
  </div>
@@ -41,19 +37,8 @@ function Sidebar({ children }: { children: React.ReactNode }) {
41
37
  return (
42
38
  <div
43
39
  id="sidebar"
44
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
45
- className={
46
- BATI.has("tailwindcss")
47
- ? "p-5 flex flex-col shrink-0 border-r-2 border-r-gray-200"
48
- : css({
49
- p: "20px",
50
- display: "flex",
51
- flexShrink: 0,
52
- flexDir: "column",
53
- lineHeight: "1.8em",
54
- borderRight: "2px solid #eee",
55
- })
56
- }
40
+ //# BATI.has("tailwindcss")
41
+ className={"p-5 flex flex-col shrink-0 border-r-2 border-r-gray-200"}
57
42
  //# BATI.has("compiled-css")
58
43
  css={{
59
44
  padding: 20,
@@ -63,7 +48,7 @@ function Sidebar({ children }: { children: React.ReactNode }) {
63
48
  lineHeight: "1.8em",
64
49
  borderRight: "2px solid #eee",
65
50
  }}
66
- //# !BATI.has("tailwindcss") && !BATI.has("compiled-css") && !BATI.has("panda-css")
51
+ //# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
67
52
  style={{
68
53
  padding: 20,
69
54
  flexShrink: 0,
@@ -83,15 +68,15 @@ function Content({ children }: { children: React.ReactNode }) {
83
68
  <div id="page-container">
84
69
  <div
85
70
  id="page-content"
86
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
87
- className={BATI.has("tailwindcss") ? "p-5 pb-12 min-h-screen" : css({ p: "20px", pb: "50px", minH: "100vh" })}
71
+ //# BATI.has("tailwindcss")
72
+ className={"p-5 pb-12 min-h-screen"}
88
73
  //# BATI.has("compiled-css")
89
74
  css={{
90
75
  padding: 20,
91
76
  paddingBottom: 48,
92
77
  minHeight: "100vh",
93
78
  }}
94
- //# !BATI.has("tailwindcss") && !BATI.has("compiled-css") && !BATI.has("panda-css")
79
+ //# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
95
80
  style={{
96
81
  padding: 20,
97
82
  paddingBottom: 50,
@@ -107,14 +92,14 @@ function Content({ children }: { children: React.ReactNode }) {
107
92
  function Logo() {
108
93
  return (
109
94
  <div
110
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
111
- className={BATI.has("tailwindcss") ? "p-5 mb-2" : css({ p: "20px", mb: "10px" })}
95
+ //# BATI.has("tailwindcss")
96
+ className={"p-5 mb-2"}
112
97
  //# BATI.has("compiled-css")
113
98
  css={{
114
99
  padding: 20,
115
100
  marginBottom: 8,
116
101
  }}
117
- //# !BATI.has("tailwindcss") && !BATI.has("compiled-css") && !BATI.has("panda-css")
102
+ //# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
118
103
  style={{
119
104
  marginTop: 20,
120
105
  marginBottom: 10,
@@ -13,7 +13,7 @@ export default {
13
13
  title: "My Vike App",
14
14
  description: "Demo showcasing Vike",
15
15
 
16
- //# BATI.has("auth0") || BATI.has("firebase-auth") || BATI.has("authjs")
16
+ //# BATI.has("auth0") || BATI.has("authjs")
17
17
  passToClient: ["user"],
18
18
  extends: vikeReact,
19
19
  } satisfies Config;
@@ -1,16 +1,11 @@
1
1
  import { Counter } from "./Counter.js";
2
- import { css } from "../../styled-system/css";
3
2
 
4
3
  export default function Page() {
5
4
  return (
6
5
  <>
7
6
  <h1
8
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
9
- className={
10
- BATI.has("tailwindcss")
11
- ? "font-bold text-3xl pb-4"
12
- : css({ font: "bold 2em sans-serif", marginBlock: "0.67em" })
13
- }
7
+ //# BATI.has("tailwindcss")
8
+ className={"font-bold text-3xl pb-4"}
14
9
  //# BATI.has("compiled-css")
15
10
  css={{ fontWeight: "700", fontSize: "1.875rem", paddingBottom: "1rem" }}
16
11
  >
@@ -1,5 +1,4 @@
1
1
  import { useState } from "react";
2
- import { css } from "../../styled-system/css";
3
2
 
4
3
  export function Counter() {
5
4
  const [count, setCount] = useState(0);
@@ -7,23 +6,11 @@ export function Counter() {
7
6
  return (
8
7
  <button
9
8
  type="button"
10
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
9
+ //# BATI.has("tailwindcss")
11
10
  className={
12
11
  BATI.has("daisyui")
13
12
  ? "btn"
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
- })
13
+ : "inline-block border border-black rounded bg-gray-200 px-2 py-1 text-xs font-medium uppercase leading-normal"
27
14
  }
28
15
  //# BATI.has("compiled-css")
29
16
  css={{
@@ -1,7 +1,6 @@
1
1
  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
- import { css } from "../../styled-system/css";
5
4
  import { useState } from "react";
6
5
 
7
6
  export function TodoList({ initialTodoItems }: { initialTodoItems: { text: string }[] }) {
@@ -53,47 +52,16 @@ export function TodoList({ initialTodoItems }: { initialTodoItems: { text: strin
53
52
  type="text"
54
53
  onChange={(ev) => setNewTodo(ev.target.value)}
55
54
  value={newTodo}
56
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
55
+ //# BATI.has("tailwindcss")
57
56
  className={
58
- BATI.has("tailwindcss")
59
- ? "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"
60
- : css({
61
- p: 2,
62
- bg: "gray.50",
63
- borderWidth: 1,
64
- borderColor: "gray.300",
65
- color: "gray.900",
66
- fontSize: "sm",
67
- rounded: "md",
68
- width: { base: "full", sm: "auto" },
69
- _focus: { ringColor: "teal.500", borderColor: "teal.500" },
70
- mr: 1,
71
- mb: 1,
72
- })
57
+ "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"
73
58
  }
74
59
  />
75
60
  <button
76
61
  type="submit"
77
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
62
+ //# BATI.has("tailwindcss")
78
63
  className={
79
- BATI.has("tailwindcss")
80
- ? "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"
81
- : css({
82
- color: "white",
83
- bg: { base: "teal.700", _hover: "teal.800" },
84
- _focus: {
85
- ringWidth: 2,
86
- ringColor: "teal.300",
87
- outline: "1px solid transparent",
88
- outlineOffset: "1px",
89
- },
90
- cursor: "pointer",
91
- fontSize: "sm",
92
- fontWeight: 500,
93
- rounded: "md",
94
- width: { base: "full", sm: "auto" },
95
- p: 2,
96
- })
64
+ "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"
97
65
  }
98
66
  >
99
67
  Add to-do
@@ -1,6 +1,5 @@
1
1
  import "./style.css";
2
2
  import "./tailwind.css";
3
- import "./panda.css";
4
3
  export default function LayoutDefault({ children }: {
5
4
  children: React.ReactNode;
6
5
  }): import("react/jsx-runtime").JSX.Element;
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  ata
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.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
  bta
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.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
  ita
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.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
  ata
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -6,7 +6,7 @@ import {
6
6
  hEs,
7
7
  ota,
8
8
  ren
9
- } from "../../../../chunk-YO6CY4MA.js";
9
+ } from "../../../../chunk-RIWHL2V7.js";
10
10
  import "../../../../chunk-V7W2TXCE.js";
11
11
  import "../../../../chunk-DHZ7AZKP.js";
12
12
 
@@ -7,7 +7,7 @@ import {
7
7
  bz,
8
8
  ota,
9
9
  sae
10
- } from "../../../../../chunk-YO6CY4MA.js";
10
+ } from "../../../../../chunk-RIWHL2V7.js";
11
11
  import "../../../../../chunk-V7W2TXCE.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
  ita
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.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
  ata
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.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
  sta
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.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
  QZr,
7
7
  ota
8
- } from "../../../../chunk-YO6CY4MA.js";
8
+ } from "../../../../chunk-RIWHL2V7.js";
9
9
  import "../../../../chunk-V7W2TXCE.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -7,7 +7,7 @@ import {
7
7
  Ota,
8
8
  ita,
9
9
  nJs
10
- } from "../../../../chunk-YO6CY4MA.js";
10
+ } from "../../../../chunk-RIWHL2V7.js";
11
11
  import "../../../../chunk-V7W2TXCE.js";
12
12
  import "../../../../chunk-DHZ7AZKP.js";
13
13
 
@@ -83,9 +83,6 @@ web_modules/
83
83
  .cache
84
84
  .parcel-cache
85
85
 
86
- # firebase-admin service-account
87
- firebase
88
-
89
86
  # Next.js build output
90
87
  .next
91
88
  out
@@ -143,7 +140,3 @@ dist
143
140
  # aws-cdk
144
141
  .cdk.staging
145
142
  cdk.out
146
-
147
- ## Panda
148
- styled-system
149
- styled-system-studio
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  ata
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.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
  ita
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.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
  ata
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -43,7 +43,6 @@ var require_package = __commonJS({
43
43
  description: "",
44
44
  type: "module",
45
45
  scripts: {
46
- prepare: "panda codegen --silent",
47
46
  "check-types": "tsc --noEmit",
48
47
  build: "bati-compile-boilerplate"
49
48
  },
@@ -52,7 +51,6 @@ var require_package = __commonJS({
52
51
  license: "MIT",
53
52
  devDependencies: {
54
53
  "@batijs/compile": "workspace:*",
55
- "@pandacss/dev": "^0.54.0",
56
54
  "@types/node": "^18.19.111",
57
55
  "solid-js": "^1.9.7",
58
56
  tailwindcss: "^4.1.10",
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  sta
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.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
  hEs,
7
7
  ota
8
- } from "../../../../chunk-YO6CY4MA.js";
8
+ } from "../../../../chunk-RIWHL2V7.js";
9
9
  import "../../../../chunk-V7W2TXCE.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -1,19 +1,16 @@
1
1
  import "./style.css";
2
2
  //# BATI.has("tailwindcss")
3
3
  import "./tailwind.css";
4
- //# BATI.has("panda-css")
5
- import "./panda.css";
6
4
  import type { JSX } from "solid-js";
7
5
  import logoUrl from "../assets/logo.svg";
8
6
  import { Link } from "../components/Link.js";
9
- import { css } from "../styled-system/css";
10
7
 
11
8
  export default function LayoutDefault(props: { children?: JSX.Element }) {
12
9
  return (
13
10
  <div
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")
11
+ //# BATI.has("tailwindcss")
12
+ class={"flex max-w-5xl m-auto"}
13
+ //# !BATI.has("tailwindcss")
17
14
  style={{
18
15
  display: "flex",
19
16
  "max-width": "900px",
@@ -25,7 +22,6 @@ export default function LayoutDefault(props: { children?: JSX.Element }) {
25
22
  <Link href="/">Welcome</Link>
26
23
  <Link href="/todo">Todo</Link>
27
24
  <Link href="/star-wars">Data Fetching</Link>
28
- {BATI.has("firebase-auth") ? <Link href="/login">Login</Link> : ""}
29
25
  </Sidebar>
30
26
  <Content>{props.children}</Content>
31
27
  </div>
@@ -36,20 +32,9 @@ function Sidebar(props: { children: JSX.Element }) {
36
32
  return (
37
33
  <div
38
34
  id="sidebar"
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")
35
+ //# BATI.has("tailwindcss")
36
+ class={"p-5 flex flex-col shrink-0 border-r-2 border-r-gray-200"}
37
+ //# !BATI.has("tailwindcss")
53
38
  style={{
54
39
  padding: "20px",
55
40
  "flex-shrink": 0,
@@ -69,9 +54,9 @@ function Content(props: { children: JSX.Element }) {
69
54
  <div id="page-container">
70
55
  <div
71
56
  id="page-content"
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")
57
+ //# BATI.has("tailwindcss")
58
+ class={"p-5 pb-12 min-h-screen"}
59
+ //# !BATI.has("tailwindcss")
75
60
  style={{
76
61
  padding: "20px",
77
62
  "padding-bottom": "50px",
@@ -87,9 +72,9 @@ function Content(props: { children: JSX.Element }) {
87
72
  function Logo() {
88
73
  return (
89
74
  <div
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")
75
+ //# BATI.has("tailwindcss")
76
+ class={"p-5 mb-2"}
77
+ //# !BATI.has("tailwindcss")
93
78
  style={{
94
79
  "margin-top": "20px",
95
80
  "margin-bottom": "10px",
@@ -13,7 +13,7 @@ export default {
13
13
  title: "My Vike App",
14
14
  description: "Demo showcasing Vike",
15
15
 
16
- //# BATI.has("auth0") || BATI.has("firebase-auth") || BATI.has("authjs")
16
+ //# BATI.has("auth0") || BATI.has("authjs")
17
17
  passToClient: ["user"],
18
18
  extends: vikeSolid,
19
19
  } satisfies Config;
@@ -1,16 +1,11 @@
1
1
  import { Counter } from "./Counter.js";
2
- import { css } from "../../styled-system/css";
3
2
 
4
3
  export default function Page() {
5
4
  return (
6
5
  <>
7
6
  <h1
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
- }
7
+ //# BATI.has("tailwindcss")
8
+ class={"font-bold text-3xl pb-4"}
14
9
  >
15
10
  My Vike app
16
11
  </h1>
@@ -1,5 +1,4 @@
1
1
  import { createSignal } from "solid-js";
2
- import { css } from "../../styled-system/css";
3
2
 
4
3
  export { Counter };
5
4
 
@@ -9,23 +8,11 @@ function Counter() {
9
8
  return (
10
9
  <button
11
10
  type="button"
12
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
11
+ //# BATI.has("tailwindcss")
13
12
  class={
14
13
  BATI.has("daisyui")
15
14
  ? "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
- })
15
+ : "inline-block border border-black rounded bg-gray-200 px-2 py-1 text-xs font-medium uppercase leading-normal"
29
16
  }
30
17
  onClick={() => setCount((count) => count + 1)}
31
18
  >
@@ -2,7 +2,6 @@ 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";
6
5
 
7
6
  export function TodoList(props: { initialTodoItems: { text: string }[] }) {
8
7
  const [todoItems, setTodoItems] = createSignal(props.initialTodoItems);
@@ -50,47 +49,16 @@ export function TodoList(props: { initialTodoItems: { text: string }[] }) {
50
49
  type="text"
51
50
  onChange={(ev) => setNewTodo(ev.target.value)}
52
51
  value={newTodo()}
53
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
52
+ //# BATI.has("tailwindcss")
54
53
  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
- })
54
+ "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"
70
55
  }
71
56
  />
72
57
  <button
73
58
  type="submit"
74
- //# BATI.has("tailwindcss") || BATI.has("panda-css")
59
+ //# BATI.has("tailwindcss")
75
60
  class={
76
- BATI.has("tailwindcss")
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
- : 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
- })
61
+ "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"
94
62
  }
95
63
  >
96
64
  Add to-do
@@ -1,6 +1,5 @@
1
1
  import "./style.css";
2
2
  import "./tailwind.css";
3
- import "./panda.css";
4
3
  import type { JSX } from "solid-js";
5
4
  export default function LayoutDefault(props: {
6
5
  children?: JSX.Element;
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  ata
7
- } from "../../../../chunk-YO6CY4MA.js";
7
+ } from "../../../../chunk-RIWHL2V7.js";
8
8
  import "../../../../chunk-V7W2TXCE.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10