@batijs/cli 0.0.446 → 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.
- package/dist/boilerplates/@batijs/auth0/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/auth0/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/eslint/files/eslint.config.ts +0 -2
- package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/prettier/files/.prettierignore +0 -4
- package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -3
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/react/files/layouts/LayoutDefault.tsx +12 -26
- package/dist/boilerplates/@batijs/react/files/pages/index/+Page.tsx +2 -7
- package/dist/boilerplates/@batijs/react/files/pages/index/Counter.tsx +2 -15
- package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +4 -36
- package/dist/boilerplates/@batijs/react/types/layouts/LayoutDefault.d.ts +0 -1
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/gitignore +0 -4
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -3
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/layouts/LayoutDefault.tsx +12 -26
- package/dist/boilerplates/@batijs/solid/files/pages/index/+Page.tsx +2 -7
- package/dist/boilerplates/@batijs/solid/files/pages/index/Counter.tsx +2 -15
- package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +4 -36
- package/dist/boilerplates/@batijs/solid/types/layouts/LayoutDefault.d.ts +0 -1
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +3 -3
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -3
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/components/Content.vue +1 -9
- package/dist/boilerplates/@batijs/vue/files/components/Counter.vue +1 -22
- package/dist/boilerplates/@batijs/vue/files/components/Logo.vue +1 -10
- package/dist/boilerplates/@batijs/vue/files/components/Sidebar.vue +1 -20
- package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +0 -2
- package/dist/boilerplates/@batijs/vue/files/pages/index/+Page.vue +1 -4
- package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +2 -34
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/boilerplates.json +0 -11
- package/dist/{chunk-ZDDQD2BO.js → chunk-RIWHL2V7.js} +2 -2
- package/dist/index.js +4 -18
- package/package.json +5 -5
- package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +0 -93
- package/dist/boilerplates/@batijs/panda-css/files/layouts/panda.css +0 -1
- package/dist/boilerplates/@batijs/panda-css/files/panda.config.ts +0 -32
- package/dist/boilerplates/@batijs/panda-css/files/postcss.config.js +0 -5
- package/dist/boilerplates/@batijs/panda-css/types/panda.config.d.ts +0 -4
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
|
-
import "../../../../chunk-
|
|
5
|
+
import "../../../../chunk-RIWHL2V7.js";
|
|
6
6
|
import "../../../../chunk-V7W2TXCE.js";
|
|
7
7
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
8
8
|
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
ata
|
|
7
|
-
} from "../../../../chunk-
|
|
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
|
},
|
|
@@ -56,7 +55,6 @@ var require_package = __commonJS({
|
|
|
56
55
|
"@babel/plugin-transform-react-jsx": "^7.27.1",
|
|
57
56
|
"@batijs/compile": "workspace:*",
|
|
58
57
|
"@mantine/core": "^8.1.0",
|
|
59
|
-
"@pandacss/dev": "^0.54.0",
|
|
60
58
|
"@types/node": "^18.19.111",
|
|
61
59
|
"@types/react": "^19.1.8",
|
|
62
60
|
"@types/react-dom": "^19.1.6",
|
|
@@ -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")
|
|
14
|
-
className={
|
|
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")
|
|
18
|
+
//# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
|
|
22
19
|
style={{
|
|
23
20
|
display: "flex",
|
|
24
21
|
maxWidth: 900,
|
|
@@ -40,19 +37,8 @@ function Sidebar({ children }: { children: React.ReactNode }) {
|
|
|
40
37
|
return (
|
|
41
38
|
<div
|
|
42
39
|
id="sidebar"
|
|
43
|
-
//# BATI.has("tailwindcss")
|
|
44
|
-
className={
|
|
45
|
-
BATI.has("tailwindcss")
|
|
46
|
-
? "p-5 flex flex-col shrink-0 border-r-2 border-r-gray-200"
|
|
47
|
-
: css({
|
|
48
|
-
p: "20px",
|
|
49
|
-
display: "flex",
|
|
50
|
-
flexShrink: 0,
|
|
51
|
-
flexDir: "column",
|
|
52
|
-
lineHeight: "1.8em",
|
|
53
|
-
borderRight: "2px solid #eee",
|
|
54
|
-
})
|
|
55
|
-
}
|
|
40
|
+
//# BATI.has("tailwindcss")
|
|
41
|
+
className={"p-5 flex flex-col shrink-0 border-r-2 border-r-gray-200"}
|
|
56
42
|
//# BATI.has("compiled-css")
|
|
57
43
|
css={{
|
|
58
44
|
padding: 20,
|
|
@@ -62,7 +48,7 @@ function Sidebar({ children }: { children: React.ReactNode }) {
|
|
|
62
48
|
lineHeight: "1.8em",
|
|
63
49
|
borderRight: "2px solid #eee",
|
|
64
50
|
}}
|
|
65
|
-
//# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
|
|
51
|
+
//# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
|
|
66
52
|
style={{
|
|
67
53
|
padding: 20,
|
|
68
54
|
flexShrink: 0,
|
|
@@ -82,15 +68,15 @@ function Content({ children }: { children: React.ReactNode }) {
|
|
|
82
68
|
<div id="page-container">
|
|
83
69
|
<div
|
|
84
70
|
id="page-content"
|
|
85
|
-
//# BATI.has("tailwindcss")
|
|
86
|
-
className={
|
|
71
|
+
//# BATI.has("tailwindcss")
|
|
72
|
+
className={"p-5 pb-12 min-h-screen"}
|
|
87
73
|
//# BATI.has("compiled-css")
|
|
88
74
|
css={{
|
|
89
75
|
padding: 20,
|
|
90
76
|
paddingBottom: 48,
|
|
91
77
|
minHeight: "100vh",
|
|
92
78
|
}}
|
|
93
|
-
//# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
|
|
79
|
+
//# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
|
|
94
80
|
style={{
|
|
95
81
|
padding: 20,
|
|
96
82
|
paddingBottom: 50,
|
|
@@ -106,14 +92,14 @@ function Content({ children }: { children: React.ReactNode }) {
|
|
|
106
92
|
function Logo() {
|
|
107
93
|
return (
|
|
108
94
|
<div
|
|
109
|
-
//# BATI.has("tailwindcss")
|
|
110
|
-
className={
|
|
95
|
+
//# BATI.has("tailwindcss")
|
|
96
|
+
className={"p-5 mb-2"}
|
|
111
97
|
//# BATI.has("compiled-css")
|
|
112
98
|
css={{
|
|
113
99
|
padding: 20,
|
|
114
100
|
marginBottom: 8,
|
|
115
101
|
}}
|
|
116
|
-
//# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
|
|
102
|
+
//# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
|
|
117
103
|
style={{
|
|
118
104
|
marginTop: 20,
|
|
119
105
|
marginBottom: 10,
|
|
@@ -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")
|
|
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")
|
|
9
|
+
//# BATI.has("tailwindcss")
|
|
11
10
|
className={
|
|
12
11
|
BATI.has("daisyui")
|
|
13
12
|
? "btn"
|
|
14
|
-
:
|
|
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")
|
|
55
|
+
//# BATI.has("tailwindcss")
|
|
57
56
|
className={
|
|
58
|
-
|
|
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")
|
|
62
|
+
//# BATI.has("tailwindcss")
|
|
78
63
|
className={
|
|
79
|
-
|
|
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
|