@batijs/cli 0.0.413 → 0.0.415
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 +8 -8
- 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 -6
- 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 +6 -6
- package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/express/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +8 -8
- 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 +7 -7
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +10 -10
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +12 -12
- 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 +9 -9
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +5 -5
- 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-sentry/files/$package.json.js +7 -7
- 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 +5 -5
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +4 -4
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +10 -19
- 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/shadcn-ui/files/layouts/!tailwind.css +113 -97
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
- package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +8 -8
- 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-sentry/files/$package.json.js +6 -6
- 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 -5
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +10 -13
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -8
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +8 -8
- 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 +24 -67
- package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.ts +26 -99
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +6 -6
- 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 +10 -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-sentry/files/$package.json.js +7 -7
- package/dist/{chunk-F5HJD3KW.js → chunk-4GILJGJV.js} +37291 -37235
- package/dist/index.js +47 -47
- package/package.json +7 -7
- package/dist/boilerplates/@batijs/shadcn-ui/files/!tailwind.config.ts +0 -68
- package/dist/boilerplates/@batijs/shadcn-ui/files/postcss.config.js +0 -6
- package/dist/boilerplates/@batijs/shadcn-ui/types/!tailwind.config.d.ts +0 -72
|
@@ -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
|
+
QHs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -52,11 +52,11 @@ var require_package = __commonJS({
|
|
|
52
52
|
license: "MIT",
|
|
53
53
|
devDependencies: {
|
|
54
54
|
"@batijs/compile": "workspace:*",
|
|
55
|
-
"@cloudflare/workers-types": "^4.
|
|
56
|
-
"@types/node": "^18.19.
|
|
55
|
+
"@cloudflare/workers-types": "^4.20250321.0",
|
|
56
|
+
"@types/node": "^18.19.83",
|
|
57
57
|
"@universal-middleware/core": "^0.4.4",
|
|
58
|
-
vike: "^0.4.
|
|
59
|
-
vite: "^6.2.
|
|
58
|
+
vike: "^0.4.227",
|
|
59
|
+
vite: "^6.2.3"
|
|
60
60
|
},
|
|
61
61
|
files: [
|
|
62
62
|
"dist/"
|
|
@@ -96,7 +96,7 @@ var require_package = __commonJS({
|
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
async function getPackageJson(props) {
|
|
99
|
-
const packageJson = await
|
|
99
|
+
const packageJson = await QHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
100
100
|
return packageJson.addDependencies(["@universal-middleware/core"]);
|
|
101
101
|
}
|
|
102
102
|
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
|
+
HHs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/solid/dist/files/$README.md.js
|
|
12
12
|
async function getReadme(props) {
|
|
13
|
-
const content = await
|
|
13
|
+
const content = await HHs(props);
|
|
14
14
|
const about = `
|
|
15
15
|
|
|
16
16
|
This app is ready to start. It's powered by [Vike](https://vike.dev) and [SolidJS](https://www.solidjs.com/guides/getting-started).
|
|
@@ -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
|
+
QHs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -52,14 +52,14 @@ var require_package = __commonJS({
|
|
|
52
52
|
license: "MIT",
|
|
53
53
|
devDependencies: {
|
|
54
54
|
"@batijs/compile": "workspace:*",
|
|
55
|
-
"@pandacss/dev": "^0.53.
|
|
56
|
-
"@types/node": "^18.19.
|
|
55
|
+
"@pandacss/dev": "^0.53.3",
|
|
56
|
+
"@types/node": "^18.19.83",
|
|
57
57
|
"solid-js": "^1.9.5",
|
|
58
|
-
tailwindcss: "^4.0.
|
|
58
|
+
tailwindcss: "^4.0.15",
|
|
59
59
|
typescript: "^5.8.2",
|
|
60
|
-
vike: "^0.4.
|
|
60
|
+
vike: "^0.4.227",
|
|
61
61
|
"vike-solid": "^0.7.9",
|
|
62
|
-
vite: "^6.2.
|
|
62
|
+
vite: "^6.2.3",
|
|
63
63
|
"vite-plugin-solid": "^2.11.6"
|
|
64
64
|
},
|
|
65
65
|
dependencies: {
|
|
@@ -179,7 +179,7 @@ var require_package = __commonJS({
|
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
181
|
async function getPackageJson(props) {
|
|
182
|
-
const packageJson = await
|
|
182
|
+
const packageJson = await QHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
183
183
|
return packageJson.addDevDependencies(["vite"]).addDependencies(["solid-js", "vike-solid", "vike"]);
|
|
184
184
|
}
|
|
185
185
|
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
|
+
XHs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/solid/dist/files/$tsconfig.json.js
|
|
12
12
|
async function getTsConfig(props) {
|
|
13
|
-
const tsConfig = await
|
|
13
|
+
const tsConfig = await XHs(props);
|
|
14
14
|
tsConfig.compilerOptions.jsx = "preserve";
|
|
15
15
|
tsConfig.compilerOptions.jsxImportSource = "solid-js";
|
|
16
16
|
tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-solid/client"];
|
|
@@ -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
|
+
Ibs,
|
|
7
|
+
ZHs
|
|
8
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
9
9
|
import "../../../../chunk-QY4H25CP.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 ZHs(props);
|
|
15
|
+
Ibs(mod, {
|
|
16
16
|
from: "vike-solid/vite",
|
|
17
17
|
constructor: "vikeSolid"
|
|
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
|
+
QHs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.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
|
-
"@sentry/solid": "^9.
|
|
55
|
-
"@types/node": "^18.19.
|
|
54
|
+
"@sentry/solid": "^9.9.0",
|
|
55
|
+
"@types/node": "^18.19.83",
|
|
56
56
|
"solid-js": "^1.9.5",
|
|
57
57
|
"vike-solid": "^0.7.9",
|
|
58
|
-
vite: "^6.2.
|
|
58
|
+
vite: "^6.2.3"
|
|
59
59
|
},
|
|
60
60
|
dependencies: {
|
|
61
61
|
"@batijs/core": "workspace:*"
|
|
@@ -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 QHs(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
|
+
uXs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.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 uXs(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
|
+
HHs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.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 HHs(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
|
+
QHs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -52,8 +52,8 @@ var require_package = __commonJS({
|
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
54
|
"@types/better-sqlite3": "^7.6.12",
|
|
55
|
-
"@types/node": "^18.19.
|
|
56
|
-
"better-sqlite3": "^11.9.
|
|
55
|
+
"@types/node": "^18.19.83",
|
|
56
|
+
"better-sqlite3": "^11.9.1",
|
|
57
57
|
dotenv: "^16.4.7",
|
|
58
58
|
tsx: "^4.19.3"
|
|
59
59
|
},
|
|
@@ -123,7 +123,7 @@ var require_package = __commonJS({
|
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
async function getPackageJson(props) {
|
|
126
|
-
const packageJson = await
|
|
126
|
+
const packageJson = await QHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
127
127
|
return packageJson.setScript("sqlite:migrate", {
|
|
128
128
|
value: "tsx ./database/sqlite/schema/all.ts",
|
|
129
129
|
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
|
+
QHs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,13 +51,13 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@tailwindcss/vite": "^4.0.
|
|
55
|
-
"@types/node": "^18.19.
|
|
54
|
+
"@tailwindcss/vite": "^4.0.15",
|
|
55
|
+
"@types/node": "^18.19.83",
|
|
56
56
|
autoprefixer: "^10.4.21",
|
|
57
|
-
daisyui: "^5.0.
|
|
58
|
-
tailwindcss: "^4.0.
|
|
59
|
-
vike: "^0.4.
|
|
60
|
-
vite: "^6.2.
|
|
57
|
+
daisyui: "^5.0.9",
|
|
58
|
+
tailwindcss: "^4.0.15",
|
|
59
|
+
vike: "^0.4.227",
|
|
60
|
+
vite: "^6.2.3"
|
|
61
61
|
},
|
|
62
62
|
dependencies: {
|
|
63
63
|
"@batijs/core": "workspace:*"
|
|
@@ -75,11 +75,8 @@ 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
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
const packageJson = await VHs(props, pkgjson);
|
|
82
|
-
return packageJson.addDevDependencies(["tailwindcss"]).addDevDependencies(["@tailwindcss/vite"], !props.meta.BATI.has("shadcn-ui")).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
|
|
78
|
+
const packageJson = await QHs(props, pkgjson);
|
|
79
|
+
return packageJson.addDevDependencies(["tailwindcss", "@tailwindcss/vite"]).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
|
|
83
80
|
}
|
|
84
81
|
export {
|
|
85
82
|
getPackageJson as default
|
|
@@ -3,19 +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
|
+
Ibs,
|
|
7
|
+
ZHs
|
|
8
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
9
9
|
import "../../../../chunk-QY4H25CP.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
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
const mod = await zHs(props);
|
|
18
|
-
Sbs(mod, {
|
|
14
|
+
const mod = await ZHs(props);
|
|
15
|
+
Ibs(mod, {
|
|
19
16
|
from: "@tailwindcss/vite",
|
|
20
17
|
constructor: "tailwindcss"
|
|
21
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
|
+
QHs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.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.
|
|
55
|
-
"@types/node": "^18.19.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20250321.0",
|
|
55
|
+
"@types/node": "^18.19.83",
|
|
56
56
|
"@universal-middleware/core": "^0.4.4",
|
|
57
|
-
telefunc: "^0.2.
|
|
58
|
-
vike: "^0.4.
|
|
59
|
-
vite: "^6.2.
|
|
57
|
+
telefunc: "^0.2.2",
|
|
58
|
+
vike: "^0.4.227",
|
|
59
|
+
vite: "^6.2.3"
|
|
60
60
|
},
|
|
61
61
|
dependencies: {
|
|
62
62
|
"@batijs/core": "workspace:*"
|
|
@@ -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 QHs(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
|
+
Ibs,
|
|
7
|
+
ZHs
|
|
8
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
9
9
|
import "../../../../chunk-QY4H25CP.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 ZHs(props);
|
|
15
|
+
Ibs(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
|
+
QHs
|
|
7
|
+
} from "../../../../chunk-4GILJGJV.js";
|
|
8
8
|
import "../../../../chunk-QY4H25CP.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.
|
|
55
|
-
"@trpc/client": "^
|
|
56
|
-
"@trpc/server": "^
|
|
57
|
-
"@types/node": "^18.19.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20250321.0",
|
|
55
|
+
"@trpc/client": "^11.0.0",
|
|
56
|
+
"@trpc/server": "^11.0.0",
|
|
57
|
+
"@types/node": "^18.19.83",
|
|
58
58
|
"@universal-middleware/core": "^0.4.4",
|
|
59
|
-
vite: "^6.2.
|
|
59
|
+
vite: "^6.2.3"
|
|
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 QHs(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,68 +1,25 @@
|
|
|
1
|
-
export declare const trpc: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
|
|
11
|
-
} & {
|
|
12
|
-
db: import("@cloudflare/workers-types").D1Database;
|
|
13
|
-
};
|
|
14
|
-
meta: object;
|
|
15
|
-
errorShape: import("@trpc/server").DefaultErrorShape;
|
|
16
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
17
|
-
}>;
|
|
18
|
-
_ctx_out: object & {
|
|
19
|
-
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
|
|
20
|
-
} & {
|
|
21
|
-
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
|
|
22
|
-
} & {
|
|
23
|
-
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
|
|
24
|
-
} & {
|
|
25
|
-
db: import("@cloudflare/workers-types").D1Database;
|
|
26
|
-
};
|
|
27
|
-
_input_in: typeof import("@trpc/server").unsetMarker;
|
|
28
|
-
_input_out: typeof import("@trpc/server").unsetMarker;
|
|
29
|
-
_output_in: typeof import("@trpc/server").unsetMarker;
|
|
30
|
-
_output_out: typeof import("@trpc/server").unsetMarker;
|
|
31
|
-
_meta: object;
|
|
32
|
-
}, {
|
|
33
|
-
demo: boolean;
|
|
34
|
-
}>>;
|
|
35
|
-
};
|
|
36
|
-
onNewTodo: {
|
|
37
|
-
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
38
|
-
_config: import("@trpc/server").RootConfig<{
|
|
39
|
-
ctx: object & {
|
|
40
|
-
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
|
|
41
|
-
} & {
|
|
42
|
-
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
|
|
43
|
-
} & {
|
|
44
|
-
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
|
|
45
|
-
} & {
|
|
46
|
-
db: import("@cloudflare/workers-types").D1Database;
|
|
47
|
-
};
|
|
48
|
-
meta: object;
|
|
49
|
-
errorShape: import("@trpc/server").DefaultErrorShape;
|
|
50
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
51
|
-
}>;
|
|
52
|
-
_meta: object;
|
|
53
|
-
_ctx_out: object & {
|
|
54
|
-
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
|
|
55
|
-
} & {
|
|
56
|
-
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
|
|
57
|
-
} & {
|
|
58
|
-
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
|
|
59
|
-
} & {
|
|
60
|
-
db: import("@cloudflare/workers-types").D1Database;
|
|
61
|
-
};
|
|
62
|
-
_input_in: string;
|
|
63
|
-
_input_out: string;
|
|
64
|
-
_output_in: typeof import("@trpc/server").unsetMarker;
|
|
65
|
-
_output_out: typeof import("@trpc/server").unsetMarker;
|
|
66
|
-
}, void>>;
|
|
1
|
+
export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
2
|
+
ctx: object & {
|
|
3
|
+
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
|
|
4
|
+
} & {
|
|
5
|
+
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
|
|
6
|
+
} & {
|
|
7
|
+
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
|
|
8
|
+
} & {
|
|
9
|
+
db: import("@cloudflare/workers-types").D1Database;
|
|
67
10
|
};
|
|
68
|
-
|
|
11
|
+
meta: object;
|
|
12
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
13
|
+
transformer: false;
|
|
14
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
15
|
+
demo: import("@trpc/server").TRPCQueryProcedure<{
|
|
16
|
+
input: void;
|
|
17
|
+
output: {
|
|
18
|
+
demo: boolean;
|
|
19
|
+
};
|
|
20
|
+
}>;
|
|
21
|
+
onNewTodo: import("@trpc/server").TRPCMutationProcedure<{
|
|
22
|
+
input: string;
|
|
23
|
+
output: void;
|
|
24
|
+
}>;
|
|
25
|
+
}>>>;
|