@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.
- package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
- package/dist/boilerplates/@batijs/auth0/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/eslint/files/eslint.config.js +2 -0
- package/dist/boilerplates/@batijs/express/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
- package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +95 -0
- package/dist/boilerplates/@batijs/panda-css/files/layouts/panda.css +1 -0
- package/dist/boilerplates/@batijs/panda-css/files/panda.config.ts +32 -0
- package/dist/boilerplates/@batijs/panda-css/files/postcss.config.js +5 -0
- package/dist/boilerplates/@batijs/panda-css/types/panda.config.d.ts +4 -0
- package/dist/boilerplates/@batijs/panda-css/types/postcss.config.d.ts +6 -0
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/prettier/files/.prettierignore +4 -0
- package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -7
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/react/files/layouts/LayoutDefault.tsx +26 -12
- package/dist/boilerplates/@batijs/react/files/pages/index/+Page.tsx +7 -2
- package/dist/boilerplates/@batijs/react/files/pages/index/Counter.tsx +17 -2
- package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +50 -2
- package/dist/boilerplates/@batijs/react/types/layouts/LayoutDefault.d.ts +1 -0
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
- package/dist/boilerplates/@batijs/shared/files/.gitignore +4 -0
- package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
- package/dist/boilerplates/@batijs/shared/files/tsconfig.json +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +8 -6
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/solid/files/layouts/LayoutDefault.tsx +26 -12
- package/dist/boilerplates/@batijs/solid/files/pages/index/+Page.tsx +7 -2
- package/dist/boilerplates/@batijs/solid/files/pages/index/Counter.tsx +17 -2
- package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +50 -2
- package/dist/boilerplates/@batijs/solid/types/layouts/LayoutDefault.d.ts +1 -0
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +12 -10
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
- package/dist/boilerplates/@batijs/vue/files/components/Content.vue +8 -2
- package/dist/boilerplates/@batijs/vue/files/components/Counter.vue +24 -10
- package/dist/boilerplates/@batijs/vue/files/components/Logo.vue +10 -2
- package/dist/boilerplates/@batijs/vue/files/components/Sidebar.vue +20 -2
- package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +2 -0
- package/dist/boilerplates/@batijs/vue/files/pages/index/+Page.vue +5 -5
- package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +45 -2
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +6 -6
- package/dist/boilerplates/boilerplates.json +11 -0
- package/dist/{chunk-R2K4MHLU.js → chunk-O2DQVJZQ.js} +90260 -89070
- package/dist/index.js +34 -19
- package/package.json +6 -6
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
NXs
|
|
4
|
+
} from "../../../../chunk-O2DQVJZQ.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/vue/dist/files/$README.md.js
|
|
8
8
|
async function getReadme(props) {
|
|
9
|
-
const content = await
|
|
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 [Vue](https://vuejs.org/guide/quick-start.html).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
OXs
|
|
4
|
+
} from "../../../../chunk-O2DQVJZQ.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/vue/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,17 +48,18 @@ 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
|
-
"@vitejs/plugin-vue": "^5.
|
|
52
|
-
"@vue/compiler-sfc": "^3.5.
|
|
53
|
-
"@vue/server-renderer": "^3.5.
|
|
54
|
-
tailwindcss: "^3.4.
|
|
53
|
+
"@vitejs/plugin-vue": "^5.2.0",
|
|
54
|
+
"@vue/compiler-sfc": "^3.5.13",
|
|
55
|
+
"@vue/server-renderer": "^3.5.13",
|
|
56
|
+
tailwindcss: "^3.4.15",
|
|
55
57
|
typescript: "^5.6.3",
|
|
56
58
|
"unplugin-vue-markdown": "^0.26.2",
|
|
57
|
-
vike: "^0.4.
|
|
59
|
+
vike: "^0.4.203",
|
|
58
60
|
"vike-vue": "^0.8.5",
|
|
59
|
-
vite: "^5.4.
|
|
60
|
-
vue: "^3.5.
|
|
61
|
+
vite: "^5.4.11",
|
|
62
|
+
vue: "^3.5.13",
|
|
61
63
|
"vue-gtag": "^2.0.1"
|
|
62
64
|
},
|
|
63
65
|
dependencies: {
|
|
@@ -123,7 +125,7 @@ var require_package = __commonJS({
|
|
|
123
125
|
}
|
|
124
126
|
});
|
|
125
127
|
async function getPackageJson(props) {
|
|
126
|
-
const packageJson = await
|
|
128
|
+
const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
127
129
|
return packageJson.addDevDependencies(["vite"]).addDependencies([
|
|
128
130
|
"@vitejs/plugin-vue",
|
|
129
131
|
"@vue/compiler-sfc",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IXs
|
|
4
|
+
} from "../../../../chunk-O2DQVJZQ.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/vue/dist/files/$tsconfig.json.js
|
|
8
8
|
async function getTsConfig(props) {
|
|
9
|
-
const tsConfig = await
|
|
9
|
+
const tsConfig = await IXs(props);
|
|
10
10
|
tsConfig.compilerOptions.jsx = "preserve";
|
|
11
11
|
tsConfig.compilerOptions.jsxImportSource = "vue";
|
|
12
12
|
return tsConfig;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "../../../../chunk-
|
|
3
|
+
LXs,
|
|
4
|
+
vTs
|
|
5
|
+
} from "../../../../chunk-O2DQVJZQ.js";
|
|
6
6
|
import "../../../../chunk-LU7IBQI7.js";
|
|
7
7
|
|
|
8
8
|
// ../../boilerplates/vue/dist/files/$vite.config.ts.js
|
|
9
9
|
async function getViteConfig(props) {
|
|
10
|
-
const mod = await
|
|
11
|
-
|
|
10
|
+
const mod = await LXs(props);
|
|
11
|
+
vTs(mod, {
|
|
12
12
|
from: "@vitejs/plugin-vue",
|
|
13
13
|
constructor: "vue",
|
|
14
14
|
options: {
|
|
15
15
|
include: [/\.vue$/, /\.md$/]
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
|
|
18
|
+
vTs(mod, {
|
|
19
19
|
from: "unplugin-vue-markdown/vite",
|
|
20
20
|
constructor: "md",
|
|
21
21
|
options: {}
|
|
@@ -4,14 +4,20 @@
|
|
|
4
4
|
<div id="page-content" class="p-5 pb-12 min-h-screen">
|
|
5
5
|
<slot />
|
|
6
6
|
</div>
|
|
7
|
-
<!--
|
|
7
|
+
<!-- BATI.has("panda-css") -->
|
|
8
|
+
<div id="page-content" :class="css({ p: '20px', pb: '50px', minH: '100vh' })">
|
|
9
|
+
<slot />
|
|
10
|
+
</div>
|
|
11
|
+
<!-- !BATI.has("tailwindcss") && !BATI.has("panda-css") -->
|
|
8
12
|
<div id="page-content" style="padding: 20px; padding-bottom: 50px; min-height: 100vh">
|
|
9
13
|
<slot />
|
|
10
14
|
</div>
|
|
11
15
|
</div>
|
|
12
16
|
</template>
|
|
13
17
|
|
|
14
|
-
<script setup lang="ts"
|
|
18
|
+
<script setup lang="ts">
|
|
19
|
+
import { css } from "../styled-system/css";
|
|
20
|
+
</script>
|
|
15
21
|
|
|
16
22
|
<style>
|
|
17
23
|
/* Page Transition Animation */
|
|
@@ -7,19 +7,33 @@
|
|
|
7
7
|
>
|
|
8
8
|
Counter {{ state.count }}
|
|
9
9
|
</button>
|
|
10
|
-
<!--
|
|
10
|
+
<!-- BATI.has("panda-css") -->
|
|
11
|
+
<button
|
|
12
|
+
type="button"
|
|
13
|
+
:class="
|
|
14
|
+
css({
|
|
15
|
+
display: 'inline-block',
|
|
16
|
+
border: '1px solid black',
|
|
17
|
+
rounded: 'sm',
|
|
18
|
+
bg: 'gray.200',
|
|
19
|
+
px: 1,
|
|
20
|
+
py: 0.5,
|
|
21
|
+
fontSize: 12,
|
|
22
|
+
fontWeight: 500,
|
|
23
|
+
lineHeight: '16px',
|
|
24
|
+
})
|
|
25
|
+
"
|
|
26
|
+
@click="state.count++"
|
|
27
|
+
>
|
|
28
|
+
Counter {{ state.count }}
|
|
29
|
+
</button>
|
|
30
|
+
<!-- !BATI.has("tailwindcss") && !BATI.has("panda-css") -->
|
|
11
31
|
<button type="button" @click="state.count++">Counter {{ state.count }}</button>
|
|
12
32
|
</template>
|
|
13
33
|
|
|
14
|
-
<script lang="ts">
|
|
34
|
+
<script setup lang="ts">
|
|
15
35
|
import { reactive } from "vue";
|
|
36
|
+
import { css } from "../styled-system/css";
|
|
16
37
|
|
|
17
|
-
|
|
18
|
-
setup() {
|
|
19
|
-
const state = reactive({ count: 0 });
|
|
20
|
-
return {
|
|
21
|
-
state,
|
|
22
|
-
};
|
|
23
|
-
},
|
|
24
|
-
};
|
|
38
|
+
const state = reactive({ count: 0 });
|
|
25
39
|
</script>
|
|
@@ -5,11 +5,19 @@
|
|
|
5
5
|
<img src="../assets/logo.svg" height="64" width="64" />
|
|
6
6
|
</a>
|
|
7
7
|
</div>
|
|
8
|
-
<!--
|
|
8
|
+
<!-- BATI.has("panda-css") -->
|
|
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") -->
|
|
9
15
|
<div style="margin-top: 20px; margin-bottom: 10px">
|
|
10
16
|
<a href="/">
|
|
11
17
|
<img src="../assets/logo.svg" height="64" width="64" />
|
|
12
18
|
</a>
|
|
13
19
|
</div>
|
|
14
20
|
</template>
|
|
15
|
-
<script setup lang="ts"
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
import { css } from "../styled-system/css";
|
|
23
|
+
</script>
|
|
@@ -3,7 +3,23 @@
|
|
|
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
|
-
<!--
|
|
6
|
+
<!-- BATI.has("panda-css") -->
|
|
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") -->
|
|
7
23
|
<div
|
|
8
24
|
id="sidebar"
|
|
9
25
|
style="
|
|
@@ -18,4 +34,6 @@
|
|
|
18
34
|
<slot />
|
|
19
35
|
</div>
|
|
20
36
|
</template>
|
|
21
|
-
<script setup lang="ts"
|
|
37
|
+
<script setup lang="ts">
|
|
38
|
+
import { css } from "../styled-system/css";
|
|
39
|
+
</script>
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<!-- BATI.has("tailwindcss") -->
|
|
3
3
|
<h1 class="font-bold text-3xl pb-4">My Vike app</h1>
|
|
4
|
-
<!--
|
|
4
|
+
<!-- BATI.has("panda-css") -->
|
|
5
|
+
<h1 :class="css({ font: 'bold 2em sans-serif', marginBlock: '0.67em' })">My Vike app</h1>
|
|
6
|
+
<!-- !BATI.has("tailwindcss") && !BATI.has("panda-css") -->
|
|
5
7
|
<h1>My Vike app</h1>
|
|
6
8
|
This page is:
|
|
7
9
|
<ul>
|
|
@@ -10,9 +12,7 @@
|
|
|
10
12
|
</ul>
|
|
11
13
|
</template>
|
|
12
14
|
|
|
13
|
-
<script lang="ts">
|
|
15
|
+
<script setup lang="ts">
|
|
14
16
|
import Counter from "../../components/Counter.vue";
|
|
15
|
-
|
|
16
|
-
const components = { Counter };
|
|
17
|
-
export default { components };
|
|
17
|
+
import { css } from "../../styled-system/css";
|
|
18
18
|
</script>
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
</li>
|
|
6
6
|
<li>
|
|
7
7
|
<form @submit.prevent="submitNewTodo()">
|
|
8
|
-
<input v-model="newTodo" type="text"
|
|
9
|
-
<button type="submit">Add to-do</button>
|
|
8
|
+
<input v-model="newTodo" type="text" :class="[inputClass]" />
|
|
9
|
+
<button type="submit" :class="[buttonClass]">Add to-do</button>
|
|
10
10
|
</form>
|
|
11
11
|
</li>
|
|
12
12
|
</ul>
|
|
@@ -17,6 +17,49 @@ 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
|
+
|
|
22
|
+
const inputClass = ref(
|
|
23
|
+
BATI.has("tailwindcss")
|
|
24
|
+
? "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
|
+
: BATI.has("panda-css")
|
|
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
|
+
: "",
|
|
40
|
+
);
|
|
41
|
+
const buttonClass = ref(
|
|
42
|
+
BATI.has("tailwindcss")
|
|
43
|
+
? "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"
|
|
44
|
+
: BATI.has("panda-css")
|
|
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
|
+
: "",
|
|
62
|
+
);
|
|
20
63
|
|
|
21
64
|
const props = defineProps<{ initialTodoItems: { text: string }[] }>();
|
|
22
65
|
const todoItems = ref(props.initialTodoItems);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
OXs
|
|
4
|
+
} from "../../../../chunk-O2DQVJZQ.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/vue-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/vue": "^8.
|
|
50
|
+
"@sentry/vue": "^8.38.0",
|
|
51
51
|
"@types/node": "^18.19.64",
|
|
52
52
|
"vike-vue": "^0.8.5",
|
|
53
|
-
vite: "^5.4.
|
|
54
|
-
vue: "^3.5.
|
|
53
|
+
vite: "^5.4.11",
|
|
54
|
+
vue: "^3.5.13"
|
|
55
55
|
},
|
|
56
56
|
dependencies: {
|
|
57
57
|
"@batijs/core": "workspace:*"
|
|
@@ -85,7 +85,7 @@ var require_package = __commonJS({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
async function getPackageJson(props) {
|
|
88
|
-
const packageJson = await
|
|
88
|
+
const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
89
89
|
return packageJson.addDependencies(["@sentry/vue"]);
|
|
90
90
|
}
|
|
91
91
|
export {
|