@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
|
@@ -9,33 +9,12 @@
|
|
|
9
9
|
>
|
|
10
10
|
Counter {{ state.count }}
|
|
11
11
|
</button>
|
|
12
|
-
<!-- BATI.has("
|
|
13
|
-
<button
|
|
14
|
-
type="button"
|
|
15
|
-
:class="
|
|
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
|
-
"
|
|
28
|
-
@click="state.count++"
|
|
29
|
-
>
|
|
30
|
-
Counter {{ state.count }}
|
|
31
|
-
</button>
|
|
32
|
-
<!-- !BATI.has("tailwindcss") && !BATI.has("panda-css") -->
|
|
12
|
+
<!-- !BATI.has("tailwindcss") -->
|
|
33
13
|
<button type="button" @click="state.count++">Counter {{ state.count }}</button>
|
|
34
14
|
</template>
|
|
35
15
|
|
|
36
16
|
<script setup lang="ts">
|
|
37
17
|
import { reactive } from "vue";
|
|
38
|
-
import { css } from "../styled-system/css";
|
|
39
18
|
|
|
40
19
|
const state = reactive({ count: 0 });
|
|
41
20
|
</script>
|
|
@@ -5,19 +5,10 @@
|
|
|
5
5
|
<img src="../assets/logo.svg" height="64" width="64" />
|
|
6
6
|
</a>
|
|
7
7
|
</div>
|
|
8
|
-
<!-- BATI.has("
|
|
9
|
-
<div :class="css({ p: '20px', mb: '10px' })">
|
|
10
|
-
<a href="/">
|
|
11
|
-
<img src="../assets/logo.svg" height="64" width="64" />
|
|
12
|
-
</a>
|
|
13
|
-
</div>
|
|
14
|
-
<!-- !BATI.has("tailwindcss") && !BATI.has("panda-css") -->
|
|
8
|
+
<!-- !BATI.has("tailwindcss") -->
|
|
15
9
|
<div style="margin-top: 20px; margin-bottom: 10px">
|
|
16
10
|
<a href="/">
|
|
17
11
|
<img src="../assets/logo.svg" height="64" width="64" />
|
|
18
12
|
</a>
|
|
19
13
|
</div>
|
|
20
14
|
</template>
|
|
21
|
-
<script setup lang="ts">
|
|
22
|
-
import { css } from "../styled-system/css";
|
|
23
|
-
</script>
|
|
@@ -3,23 +3,7 @@
|
|
|
3
3
|
<div id="sidebar" class="p-5 flex flex-col shrink-0 border-r-2 border-r-gray-200">
|
|
4
4
|
<slot />
|
|
5
5
|
</div>
|
|
6
|
-
<!-- BATI.has("
|
|
7
|
-
<div
|
|
8
|
-
id="sidebar"
|
|
9
|
-
:class="
|
|
10
|
-
css({
|
|
11
|
-
p: '20px',
|
|
12
|
-
display: 'flex',
|
|
13
|
-
flexShrink: 0,
|
|
14
|
-
flexDir: 'column',
|
|
15
|
-
lineHeight: '1.8em',
|
|
16
|
-
borderRight: '2px solid #eee',
|
|
17
|
-
})
|
|
18
|
-
"
|
|
19
|
-
>
|
|
20
|
-
<slot />
|
|
21
|
-
</div>
|
|
22
|
-
<!-- !BATI.has("tailwindcss") && !BATI.has("panda-css") -->
|
|
6
|
+
<!-- !BATI.has("tailwindcss") -->
|
|
23
7
|
<div
|
|
24
8
|
id="sidebar"
|
|
25
9
|
style="
|
|
@@ -34,6 +18,3 @@
|
|
|
34
18
|
<slot />
|
|
35
19
|
</div>
|
|
36
20
|
</template>
|
|
37
|
-
<script setup lang="ts">
|
|
38
|
-
import { css } from "../styled-system/css";
|
|
39
|
-
</script>
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<!-- BATI.has("tailwindcss") -->
|
|
3
3
|
<h1 class="font-bold text-3xl pb-4">My Vike app</h1>
|
|
4
|
-
<!-- BATI.has("
|
|
5
|
-
<h1 :class="css({ font: 'bold 2em sans-serif', marginBlock: '0.67em' })">My Vike app</h1>
|
|
6
|
-
<!-- !BATI.has("tailwindcss") && !BATI.has("panda-css") -->
|
|
4
|
+
<!-- !BATI.has("tailwindcss") -->
|
|
7
5
|
<h1>My Vike app</h1>
|
|
8
6
|
This page is:
|
|
9
7
|
<ul>
|
|
@@ -14,5 +12,4 @@
|
|
|
14
12
|
|
|
15
13
|
<script setup lang="ts">
|
|
16
14
|
import Counter from "../../components/Counter.vue";
|
|
17
|
-
import { css } from "../../styled-system/css";
|
|
18
15
|
</script>
|
|
@@ -17,48 +17,16 @@ import { onNewTodo } from "@batijs/telefunc/pages/todo/TodoList.telefunc";
|
|
|
17
17
|
import { trpc } from "@batijs/trpc/trpc/client";
|
|
18
18
|
import { client } from "@batijs/ts-rest/ts-rest/client";
|
|
19
19
|
import { ref } from "vue";
|
|
20
|
-
import { css } from "../../styled-system/css";
|
|
21
20
|
|
|
22
21
|
const inputClass = ref(
|
|
23
22
|
BATI.has("tailwindcss")
|
|
24
23
|
? "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"
|
|
25
|
-
:
|
|
26
|
-
? css({
|
|
27
|
-
p: 2,
|
|
28
|
-
bg: "gray.50",
|
|
29
|
-
borderWidth: 1,
|
|
30
|
-
borderColor: "gray.300",
|
|
31
|
-
color: "gray.900",
|
|
32
|
-
fontSize: "sm",
|
|
33
|
-
rounded: "md",
|
|
34
|
-
width: { base: "full", sm: "auto" },
|
|
35
|
-
_focus: { ringColor: "teal.500", borderColor: "teal.500" },
|
|
36
|
-
mr: 1,
|
|
37
|
-
mb: 1,
|
|
38
|
-
})
|
|
39
|
-
: "",
|
|
24
|
+
: "",
|
|
40
25
|
);
|
|
41
26
|
const buttonClass = ref(
|
|
42
27
|
BATI.has("tailwindcss")
|
|
43
28
|
? "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"
|
|
44
|
-
:
|
|
45
|
-
? css({
|
|
46
|
-
color: "white",
|
|
47
|
-
bg: { base: "teal.700", _hover: "teal.800" },
|
|
48
|
-
_focus: {
|
|
49
|
-
ringWidth: 2,
|
|
50
|
-
ringColor: "teal.300",
|
|
51
|
-
outline: "1px solid transparent",
|
|
52
|
-
outlineOffset: "1px",
|
|
53
|
-
},
|
|
54
|
-
cursor: "pointer",
|
|
55
|
-
fontSize: "sm",
|
|
56
|
-
fontWeight: 500,
|
|
57
|
-
rounded: "md",
|
|
58
|
-
width: { base: "full", sm: "auto" },
|
|
59
|
-
p: 2,
|
|
60
|
-
})
|
|
61
|
-
: "",
|
|
29
|
+
: "",
|
|
62
30
|
);
|
|
63
31
|
|
|
64
32
|
const props = defineProps<{ initialTodoItems: { text: string }[] }>();
|