@batijs/cli 0.0.443 → 0.0.445
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 +5 -5
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +6 -6
- 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 +5 -5
- 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 +7 -7
- 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 +6 -12
- 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 +4 -16
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/eslint/files/eslint.config.ts +5 -5
- package/dist/boilerplates/@batijs/express/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/express/files/express-entry.ts +0 -24
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/fastify/files/fastify-entry.ts +0 -24
- 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 +7 -7
- package/dist/boilerplates/@batijs/h3/files/h3-entry.ts +0 -24
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/hattip/files/hattip-entry.ts +0 -24
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/hono/files/hono-entry.ts +0 -24
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +4 -4
- 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 +4 -4
- package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -9
- 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 +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/+config.ts +1 -1
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +6 -6
- 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 +7 -7
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +7 -7
- 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-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 +6 -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 +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/+config.ts +1 -1
- 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 +5 -17
- package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/schema/all.ts +0 -2
- package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/schema/all.d.ts +0 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
- 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 +8 -8
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +3 -3
- package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.ts +8 -8
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +4 -4
- 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/vercel/files/pages/$+config.ts.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +6 -6
- 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/layouts/LayoutDefault.vue +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/+config.ts +1 -1
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +5 -5
- package/dist/boilerplates/boilerplates.json +0 -59
- package/dist/{chunk-4WNEELKU.js → chunk-YO6CY4MA.js} +53461 -53354
- package/dist/index.js +63 -92
- package/package.json +6 -6
- package/dist/boilerplates/@batijs/d1-sqlite/files/database/d1/queries/lucia-auth.ts +0 -29
- package/dist/boilerplates/@batijs/d1-sqlite/files/database/migrations/lucia-auth.sql +0 -20
- package/dist/boilerplates/@batijs/d1-sqlite/types/database/d1/queries/lucia-auth.d.ts +0 -5
- package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/queries/lucia-auth.ts +0 -56
- package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/schema/lucia-auth.ts +0 -41
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/lucia-auth.d.ts +0 -25
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/schema/lucia-auth.d.ts +0 -190
- package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +0 -32
- package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +0 -38
- package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +0 -113
- package/dist/boilerplates/@batijs/lucia-auth/files/global.d.ts +0 -11
- package/dist/boilerplates/@batijs/lucia-auth/files/lib/lucia-auth.ts +0 -136
- package/dist/boilerplates/@batijs/lucia-auth/files/pages/login/+guard.ts +0 -11
- package/dist/boilerplates/@batijs/lucia-auth/files/pages/login/style.css +0 -94
- package/dist/boilerplates/@batijs/lucia-auth/files/server/lucia-auth-handlers.ts +0 -401
- package/dist/boilerplates/@batijs/lucia-auth/types/lib/lucia-auth.d.ts +0 -63
- package/dist/boilerplates/@batijs/lucia-auth/types/pages/login/+guard.d.ts +0 -3
- package/dist/boilerplates/@batijs/lucia-auth/types/server/lucia-auth-handlers.d.ts +0 -65
- package/dist/boilerplates/@batijs/react-lucia-auth/files/pages/login/+Page.tsx +0 -97
- package/dist/boilerplates/@batijs/react-lucia-auth/types/pages/login/+Page.d.ts +0 -2
- package/dist/boilerplates/@batijs/solid-lucia-auth/files/pages/login/+Page.tsx +0 -97
- package/dist/boilerplates/@batijs/solid-lucia-auth/types/pages/login/+Page.d.ts +0 -2
- package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/queries/lucia-auth.ts +0 -27
- package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/schema/lucia-auth.ts +0 -32
- package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/queries/lucia-auth.d.ts +0 -5
- package/dist/boilerplates/@batijs/sqlite/types/database/sqlite/schema/lucia-auth.d.ts +0 -1
- package/dist/boilerplates/@batijs/vue-lucia-auth/files/pages/login/+Page.vue +0 -88
|
@@ -3,16 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "../../../../chunk-
|
|
6
|
+
hEs,
|
|
7
|
+
ota
|
|
8
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
9
9
|
import "../../../../chunk-V7W2TXCE.js";
|
|
10
10
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
11
11
|
|
|
12
12
|
// ../../boilerplates/solid/dist/files/$vite.config.ts.js
|
|
13
13
|
async function getViteConfig(props) {
|
|
14
|
-
const mod = await
|
|
15
|
-
|
|
14
|
+
const mod = await ota(props);
|
|
15
|
+
hEs(mod, {
|
|
16
16
|
from: "vike-solid/vite",
|
|
17
17
|
constructor: "vikeSolid"
|
|
18
18
|
});
|
|
@@ -25,7 +25,7 @@ export default function LayoutDefault(props: { children?: JSX.Element }) {
|
|
|
25
25
|
<Link href="/">Welcome</Link>
|
|
26
26
|
<Link href="/todo">Todo</Link>
|
|
27
27
|
<Link href="/star-wars">Data Fetching</Link>
|
|
28
|
-
{BATI.has("firebase-auth")
|
|
28
|
+
{BATI.has("firebase-auth") ? <Link href="/login">Login</Link> : ""}
|
|
29
29
|
</Sidebar>
|
|
30
30
|
<Content>{props.children}</Content>
|
|
31
31
|
</div>
|
|
@@ -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("firebase-auth") || BATI.has("authjs")
|
|
17
17
|
passToClient: ["user"],
|
|
18
18
|
extends: vikeSolid,
|
|
19
19
|
} satisfies Config;
|
|
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
ata
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,8 +51,8 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@sentry/solid": "^9.
|
|
55
|
-
"@types/node": "^18.19.
|
|
54
|
+
"@sentry/solid": "^9.29.0",
|
|
55
|
+
"@types/node": "^18.19.111",
|
|
56
56
|
"solid-js": "^1.9.7",
|
|
57
57
|
"vike-solid": "^0.7.11",
|
|
58
58
|
vite: "^6.3.5"
|
|
@@ -95,7 +95,7 @@ var require_package = __commonJS({
|
|
|
95
95
|
}
|
|
96
96
|
});
|
|
97
97
|
async function getPackageJson(props) {
|
|
98
|
-
const packageJson = await
|
|
98
|
+
const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
99
99
|
return packageJson.addDependencies(["@sentry/solid"]);
|
|
100
100
|
}
|
|
101
101
|
export {
|
|
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
bta
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ import "../../../../chunk-DHZ7AZKP.js";
|
|
|
12
12
|
async function getEnv(props) {
|
|
13
13
|
if (props.meta.BATI.hasD1) return;
|
|
14
14
|
const envContent = await props.readfile?.();
|
|
15
|
-
return
|
|
15
|
+
return bta(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
|
|
16
16
|
}
|
|
17
17
|
export {
|
|
18
18
|
getEnv as default
|
|
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
ita
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/sqlite/dist/files/$README.md.js
|
|
12
12
|
async function getReadme(props) {
|
|
13
|
-
const content = await
|
|
13
|
+
const content = await ita(props);
|
|
14
14
|
const todo = `
|
|
15
15
|
## *Sqlite*
|
|
16
16
|
|
|
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
ata
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -52,10 +52,10 @@ var require_package = __commonJS({
|
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
54
|
"@types/better-sqlite3": "^7.6.13",
|
|
55
|
-
"@types/node": "^18.19.
|
|
55
|
+
"@types/node": "^18.19.111",
|
|
56
56
|
"better-sqlite3": "^11.10.0",
|
|
57
57
|
dotenv: "^16.5.0",
|
|
58
|
-
tsx: "^4.
|
|
58
|
+
tsx: "^4.20.3"
|
|
59
59
|
},
|
|
60
60
|
dependencies: {
|
|
61
61
|
"@batijs/core": "workspace:*"
|
|
@@ -81,15 +81,9 @@ var require_package = __commonJS({
|
|
|
81
81
|
"./database/sqlite/db": {
|
|
82
82
|
types: "./dist/types/database/sqlite/db.d.ts"
|
|
83
83
|
},
|
|
84
|
-
"./database/sqlite/queries/lucia-auth": {
|
|
85
|
-
types: "./dist/types/database/sqlite/queries/lucia-auth.d.ts"
|
|
86
|
-
},
|
|
87
84
|
"./database/sqlite/queries/todos": {
|
|
88
85
|
types: "./dist/types/database/sqlite/queries/todos.d.ts"
|
|
89
86
|
},
|
|
90
|
-
"./database/sqlite/schema/lucia-auth": {
|
|
91
|
-
types: "./dist/types/database/sqlite/schema/lucia-auth.d.ts"
|
|
92
|
-
},
|
|
93
87
|
"./database/sqlite/schema/todos": {
|
|
94
88
|
types: "./dist/types/database/sqlite/schema/todos.d.ts"
|
|
95
89
|
},
|
|
@@ -102,15 +96,9 @@ var require_package = __commonJS({
|
|
|
102
96
|
"database/sqlite/db": [
|
|
103
97
|
"./dist/types/database/sqlite/db.d.ts"
|
|
104
98
|
],
|
|
105
|
-
"database/sqlite/queries/lucia-auth": [
|
|
106
|
-
"./dist/types/database/sqlite/queries/lucia-auth.d.ts"
|
|
107
|
-
],
|
|
108
99
|
"database/sqlite/queries/todos": [
|
|
109
100
|
"./dist/types/database/sqlite/queries/todos.d.ts"
|
|
110
101
|
],
|
|
111
|
-
"database/sqlite/schema/lucia-auth": [
|
|
112
|
-
"./dist/types/database/sqlite/schema/lucia-auth.d.ts"
|
|
113
|
-
],
|
|
114
102
|
"database/sqlite/schema/todos": [
|
|
115
103
|
"./dist/types/database/sqlite/schema/todos.d.ts"
|
|
116
104
|
],
|
|
@@ -123,7 +111,7 @@ var require_package = __commonJS({
|
|
|
123
111
|
}
|
|
124
112
|
});
|
|
125
113
|
async function getPackageJson(props) {
|
|
126
|
-
const packageJson = await
|
|
114
|
+
const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
127
115
|
return packageJson.setScript("sqlite:migrate", {
|
|
128
116
|
value: "tsx ./database/sqlite/schema/all.ts",
|
|
129
117
|
precedence: 1
|
|
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
ata
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,11 +51,11 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@tailwindcss/vite": "^4.1.
|
|
55
|
-
"@types/node": "^18.19.
|
|
54
|
+
"@tailwindcss/vite": "^4.1.10",
|
|
55
|
+
"@types/node": "^18.19.111",
|
|
56
56
|
autoprefixer: "^10.4.21",
|
|
57
57
|
daisyui: "^5.0.43",
|
|
58
|
-
tailwindcss: "^4.1.
|
|
58
|
+
tailwindcss: "^4.1.10",
|
|
59
59
|
vike: "^0.4.231",
|
|
60
60
|
vite: "^6.3.5"
|
|
61
61
|
},
|
|
@@ -75,7 +75,7 @@ var require_package = __commonJS({
|
|
|
75
75
|
});
|
|
76
76
|
async function getPackageJson(props) {
|
|
77
77
|
const pkgjson = await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default);
|
|
78
|
-
const packageJson = await
|
|
78
|
+
const packageJson = await ata(props, pkgjson);
|
|
79
79
|
return packageJson.addDevDependencies(["tailwindcss", "@tailwindcss/vite"]).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
|
|
80
80
|
}
|
|
81
81
|
export {
|
|
@@ -3,16 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "../../../../chunk-
|
|
6
|
+
hEs,
|
|
7
|
+
ota
|
|
8
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
9
9
|
import "../../../../chunk-V7W2TXCE.js";
|
|
10
10
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
11
11
|
|
|
12
12
|
// ../../boilerplates/tailwindcss/dist/files/$vite.config.ts.js
|
|
13
13
|
async function getViteConfig(props) {
|
|
14
|
-
const mod = await
|
|
15
|
-
|
|
14
|
+
const mod = await ota(props);
|
|
15
|
+
hEs(mod, {
|
|
16
16
|
from: "@tailwindcss/vite",
|
|
17
17
|
constructor: "tailwindcss"
|
|
18
18
|
});
|
|
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
ata
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,9 +51,9 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@cloudflare/workers-types": "^4.
|
|
55
|
-
"@types/node": "^18.19.
|
|
56
|
-
"@universal-middleware/core": "^0.4.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20250614.0",
|
|
55
|
+
"@types/node": "^18.19.111",
|
|
56
|
+
"@universal-middleware/core": "^0.4.8",
|
|
57
57
|
telefunc: "^0.2.7",
|
|
58
58
|
vike: "^0.4.231",
|
|
59
59
|
vite: "^6.3.5"
|
|
@@ -91,7 +91,7 @@ var require_package = __commonJS({
|
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
async function getPackageJson(props) {
|
|
94
|
-
const packageJson = await
|
|
94
|
+
const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
95
95
|
return packageJson.addDependencies(["telefunc", "@universal-middleware/core"]);
|
|
96
96
|
}
|
|
97
97
|
export {
|
|
@@ -3,16 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "../../../../chunk-
|
|
6
|
+
hEs,
|
|
7
|
+
ota
|
|
8
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
9
9
|
import "../../../../chunk-V7W2TXCE.js";
|
|
10
10
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
11
11
|
|
|
12
12
|
// ../../boilerplates/telefunc/dist/files/$vite.config.ts.js
|
|
13
13
|
async function getViteConfig(props) {
|
|
14
|
-
const mod = await
|
|
15
|
-
|
|
14
|
+
const mod = await ota(props);
|
|
15
|
+
hEs(mod, {
|
|
16
16
|
from: "telefunc/vite",
|
|
17
17
|
constructor: "telefunc",
|
|
18
18
|
imported: "telefunc"
|
|
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
ata
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,11 +51,11 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@cloudflare/workers-types": "^4.
|
|
55
|
-
"@trpc/client": "^11.
|
|
56
|
-
"@trpc/server": "^11.
|
|
57
|
-
"@types/node": "^18.19.
|
|
58
|
-
"@universal-middleware/core": "^0.4.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20250614.0",
|
|
55
|
+
"@trpc/client": "^11.4.1",
|
|
56
|
+
"@trpc/server": "^11.4.1",
|
|
57
|
+
"@types/node": "^18.19.111",
|
|
58
|
+
"@universal-middleware/core": "^0.4.8",
|
|
59
59
|
vite: "^6.3.5"
|
|
60
60
|
},
|
|
61
61
|
dependencies: {
|
|
@@ -97,7 +97,7 @@ var require_package = __commonJS({
|
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
99
|
async function getPackageJson(props) {
|
|
100
|
-
const packageJson = await
|
|
100
|
+
const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
101
101
|
return packageJson.addDependencies(["@trpc/server", "@trpc/client"]);
|
|
102
102
|
}
|
|
103
103
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/server
|
|
1
|
+
export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/server").TRPCBuiltRouter<{
|
|
2
2
|
ctx: object & {
|
|
3
3
|
db: ReturnType<any>;
|
|
4
4
|
} & {
|
|
@@ -9,9 +9,9 @@ export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/serve
|
|
|
9
9
|
db: import("@cloudflare/workers-types").D1Database;
|
|
10
10
|
};
|
|
11
11
|
meta: object;
|
|
12
|
-
errorShape: import("@trpc/server
|
|
12
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
13
13
|
transformer: false;
|
|
14
|
-
}, import("@trpc/server
|
|
14
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
15
15
|
demo: import("@trpc/server").TRPCQueryProcedure<{
|
|
16
16
|
input: void;
|
|
17
17
|
output: {
|
|
@@ -5,7 +5,7 @@ import { D1Database } from "@cloudflare/workers-types";
|
|
|
5
5
|
* Export reusable router and procedure helpers
|
|
6
6
|
* that can be used throughout the router
|
|
7
7
|
*/
|
|
8
|
-
export declare const router:
|
|
8
|
+
export declare const router: import("@trpc/server").TRPCRouterBuilder<{
|
|
9
9
|
ctx: object & {
|
|
10
10
|
db: ReturnType<typeof sqliteDb>;
|
|
11
11
|
} & {
|
|
@@ -16,10 +16,10 @@ export declare const router: <TInput extends import("@trpc/server/unstable-core-
|
|
|
16
16
|
db: D1Database;
|
|
17
17
|
};
|
|
18
18
|
meta: object;
|
|
19
|
-
errorShape: import("@trpc/server
|
|
19
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
20
20
|
transformer: false;
|
|
21
|
-
}
|
|
22
|
-
export declare const publicProcedure: import("@trpc/server
|
|
21
|
+
}>;
|
|
22
|
+
export declare const publicProcedure: import("@trpc/server").TRPCProcedureBuilder<object & {
|
|
23
23
|
db: ReturnType<typeof sqliteDb>;
|
|
24
24
|
} & {
|
|
25
25
|
db: ReturnType<typeof dbSqlite>;
|
|
@@ -27,8 +27,8 @@ export declare const publicProcedure: import("@trpc/server/unstable-core-do-not-
|
|
|
27
27
|
db: ReturnType<typeof dbD1>;
|
|
28
28
|
} & {
|
|
29
29
|
db: D1Database;
|
|
30
|
-
}, object, object,
|
|
31
|
-
export declare const appRouter: import("@trpc/server
|
|
30
|
+
}, object, object, import("@trpc/server").TRPCUnsetMarker, import("@trpc/server").TRPCUnsetMarker, import("@trpc/server").TRPCUnsetMarker, import("@trpc/server").TRPCUnsetMarker, false>;
|
|
31
|
+
export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
32
32
|
ctx: object & {
|
|
33
33
|
db: ReturnType<typeof sqliteDb>;
|
|
34
34
|
} & {
|
|
@@ -39,9 +39,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
|
39
39
|
db: D1Database;
|
|
40
40
|
};
|
|
41
41
|
meta: object;
|
|
42
|
-
errorShape: import("@trpc/server
|
|
42
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
43
43
|
transformer: false;
|
|
44
|
-
}, import("@trpc/server
|
|
44
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
45
45
|
demo: import("@trpc/server").TRPCQueryProcedure<{
|
|
46
46
|
input: void;
|
|
47
47
|
output: {
|
|
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
ata
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,12 +51,12 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@cloudflare/workers-types": "^4.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20250614.0",
|
|
55
55
|
"@ts-rest/core": "^3.52.1",
|
|
56
56
|
"@ts-rest/serverless": "^3.52.1",
|
|
57
|
-
"@types/node": "^18.19.
|
|
58
|
-
"@universal-middleware/core": "^0.4.
|
|
59
|
-
zod: "^3.25.
|
|
57
|
+
"@types/node": "^18.19.111",
|
|
58
|
+
"@universal-middleware/core": "^0.4.8",
|
|
59
|
+
zod: "^3.25.64"
|
|
60
60
|
},
|
|
61
61
|
dependencies: {
|
|
62
62
|
"@batijs/core": "workspace:*"
|
|
@@ -97,7 +97,7 @@ var require_package = __commonJS({
|
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
99
|
async function getPackageJson(props) {
|
|
100
|
-
const packageJson = await
|
|
100
|
+
const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
101
101
|
return packageJson.addDevDependencies(["zod"]).addDependencies(["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"]);
|
|
102
102
|
}
|
|
103
103
|
export {
|
|
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
ata
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@types/node": "^18.19.
|
|
54
|
+
"@types/node": "^18.19.111",
|
|
55
55
|
"@vite-plugin-vercel/vike": "^9.0.6",
|
|
56
56
|
vike: "^0.4.231",
|
|
57
57
|
vite: "^6.3.5",
|
|
@@ -72,7 +72,7 @@ var require_package = __commonJS({
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
async function getPackageJson(props) {
|
|
75
|
-
const packageJson = await
|
|
75
|
+
const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
76
76
|
return packageJson.addDependencies(["vite-plugin-vercel", "@vite-plugin-vercel/vike"]);
|
|
77
77
|
}
|
|
78
78
|
export {
|
|
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
sta
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/vercel/dist/files/$tsconfig.json.js
|
|
12
12
|
async function getTsConfig(props) {
|
|
13
|
-
const tsConfig = await
|
|
13
|
+
const tsConfig = await sta(props);
|
|
14
14
|
tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vite-plugin-vercel/types"];
|
|
15
15
|
return tsConfig;
|
|
16
16
|
}
|
|
@@ -3,19 +3,19 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "../../../../chunk-
|
|
6
|
+
hEs,
|
|
7
|
+
ota
|
|
8
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
9
9
|
import "../../../../chunk-V7W2TXCE.js";
|
|
10
10
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
11
11
|
|
|
12
12
|
// ../../boilerplates/vercel/dist/files/$vite.config.ts.js
|
|
13
13
|
async function getViteConfig(props) {
|
|
14
|
-
const mod = await
|
|
14
|
+
const mod = await ota(props);
|
|
15
15
|
const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
|
|
16
16
|
source: "/.*"
|
|
17
17
|
} : void 0;
|
|
18
|
-
|
|
18
|
+
hEs(mod, {
|
|
19
19
|
from: "vite-plugin-vercel",
|
|
20
20
|
constructor: "vercel",
|
|
21
21
|
options
|
|
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../../chunk-
|
|
6
|
+
ota
|
|
7
|
+
} from "../../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/vercel/dist/files/pages/$+config.ts.js
|
|
12
12
|
async function getViteConfig(props) {
|
|
13
|
-
const mod = await
|
|
13
|
+
const mod = await ota(props);
|
|
14
14
|
mod.exports.default.prerender = true;
|
|
15
15
|
return mod.generate().code;
|
|
16
16
|
}
|
|
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
ita
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/vue/dist/files/$README.md.js
|
|
12
12
|
async function getReadme(props) {
|
|
13
|
-
const content = await
|
|
13
|
+
const content = await ita(props);
|
|
14
14
|
const about = `
|
|
15
15
|
|
|
16
16
|
This app is ready to start. It's powered by [Vike](https://vike.dev) and [Vue](https://vuejs.org/guide/quick-start.html).
|
|
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
ata
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -53,12 +53,12 @@ var require_package = __commonJS({
|
|
|
53
53
|
devDependencies: {
|
|
54
54
|
"@batijs/compile": "workspace:*",
|
|
55
55
|
"@batijs/tailwindcss": "workspace:*",
|
|
56
|
-
"@pandacss/dev": "^0.
|
|
57
|
-
"@types/node": "^18.19.
|
|
56
|
+
"@pandacss/dev": "^0.54.0",
|
|
57
|
+
"@types/node": "^18.19.111",
|
|
58
58
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
59
59
|
"@vue/compiler-sfc": "^3.5.16",
|
|
60
60
|
"@vue/server-renderer": "^3.5.16",
|
|
61
|
-
tailwindcss: "^4.1.
|
|
61
|
+
tailwindcss: "^4.1.10",
|
|
62
62
|
typescript: "^5.8.3",
|
|
63
63
|
"unplugin-vue-markdown": "^28.3.1",
|
|
64
64
|
vike: "^0.4.231",
|
|
@@ -130,7 +130,7 @@ var require_package = __commonJS({
|
|
|
130
130
|
}
|
|
131
131
|
});
|
|
132
132
|
async function getPackageJson(props) {
|
|
133
|
-
const packageJson = await
|
|
133
|
+
const packageJson = await ata(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
134
134
|
return packageJson.addDevDependencies(["vite"]).addDependencies([
|
|
135
135
|
"@vitejs/plugin-vue",
|
|
136
136
|
"@vue/compiler-sfc",
|
|
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
sta
|
|
7
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
8
8
|
import "../../../../chunk-V7W2TXCE.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/vue/dist/files/$tsconfig.json.js
|
|
12
12
|
async function getTsConfig(props) {
|
|
13
|
-
const tsConfig = await
|
|
13
|
+
const tsConfig = await sta(props);
|
|
14
14
|
tsConfig.compilerOptions.jsx = "react-jsx";
|
|
15
15
|
tsConfig.compilerOptions.jsxImportSource = "vue";
|
|
16
16
|
return tsConfig;
|
|
@@ -3,23 +3,23 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "../../../../chunk-
|
|
6
|
+
hEs,
|
|
7
|
+
ota
|
|
8
|
+
} from "../../../../chunk-YO6CY4MA.js";
|
|
9
9
|
import "../../../../chunk-V7W2TXCE.js";
|
|
10
10
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
11
11
|
|
|
12
12
|
// ../../boilerplates/vue/dist/files/$vite.config.ts.js
|
|
13
13
|
async function getViteConfig(props) {
|
|
14
|
-
const mod = await
|
|
15
|
-
|
|
14
|
+
const mod = await ota(props);
|
|
15
|
+
hEs(mod, {
|
|
16
16
|
from: "@vitejs/plugin-vue",
|
|
17
17
|
constructor: "vue",
|
|
18
18
|
options: {
|
|
19
19
|
include: [/\.vue$/, /\.md$/]
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
|
|
22
|
+
hEs(mod, {
|
|
23
23
|
from: "unplugin-vue-markdown/vite",
|
|
24
24
|
constructor: "md",
|
|
25
25
|
options: {}
|