@batijs/cli 0.0.296 → 0.0.297
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 +3 -3
- 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 +3 -3
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +3 -3
- 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 +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/db.ts +1 -0
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/db.d.ts +1 -0
- package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/express/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +3 -3
- package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
- 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 +3 -3
- package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +3 -3
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +2 -2
- 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 +2 -2
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +8 -8
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +4 -4
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/package.json +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +3 -3
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +2 -2
- 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 +3 -3
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +3 -3
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/trpc/files/server/trpc-handler.ts +1 -0
- package/dist/boilerplates/@batijs/trpc/types/server/trpc-handler.d.ts +1 -1
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +4 -4
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +2 -2
- package/dist/{chunk-SHECMR3J.js → chunk-IZVHJULL.js} +49380 -49378
- package/dist/index.js +18 -18
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/react/dist/files/$package.json.js
|
|
@@ -57,11 +57,11 @@ var require_package = __commonJS({
|
|
|
57
57
|
"@vitejs/plugin-react": "^4.3.2",
|
|
58
58
|
react: "^18.3.1",
|
|
59
59
|
"react-dom": "^18.3.1",
|
|
60
|
-
tailwindcss: "^3.4.
|
|
60
|
+
tailwindcss: "^3.4.14",
|
|
61
61
|
typescript: "^5.6.3",
|
|
62
62
|
vike: "^0.4.199",
|
|
63
63
|
"vike-react": "^0.5.7",
|
|
64
|
-
vite: "^5.4.
|
|
64
|
+
vite: "^5.4.9",
|
|
65
65
|
"vite-plugin-compiled-react": "^1.1.3"
|
|
66
66
|
},
|
|
67
67
|
dependencies: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
$gs,
|
|
4
4
|
jJs
|
|
5
|
-
} from "../../../../chunk-
|
|
5
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
6
6
|
import "../../../../chunk-LU7IBQI7.js";
|
|
7
7
|
|
|
8
8
|
// ../../boilerplates/react/dist/files/$vite.config.ts.js
|
|
9
9
|
async function getViteConfig(props) {
|
|
10
10
|
const mod = await jJs(props);
|
|
11
11
|
const reactOptions = props.meta.BATI.has("vercel") && props.meta.BATI.has("hattip") ? { jsxRuntime: "classic" } : {};
|
|
12
|
-
|
|
12
|
+
$gs(mod, {
|
|
13
13
|
from: "@vitejs/plugin-react",
|
|
14
14
|
constructor: "react",
|
|
15
15
|
options: reactOptions
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/react-sentry/dist/files/$package.json.js
|
|
@@ -53,7 +53,7 @@ var require_package = __commonJS({
|
|
|
53
53
|
"@types/react-dom": "^18.3.1",
|
|
54
54
|
react: "^18.3.1",
|
|
55
55
|
"react-dom": "^18.3.1",
|
|
56
|
-
vite: "^5.4.
|
|
56
|
+
vite: "^5.4.9"
|
|
57
57
|
},
|
|
58
58
|
dependencies: {
|
|
59
59
|
"@batijs/core": "workspace:*"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/sentry/dist/files/$package.json.js
|
|
@@ -49,7 +49,7 @@ var require_package = __commonJS({
|
|
|
49
49
|
"@batijs/compile": "workspace:*",
|
|
50
50
|
"@sentry/vite-plugin": "^2.22.5",
|
|
51
51
|
"@types/node": "^18.19.55",
|
|
52
|
-
vite: "^5.4.
|
|
52
|
+
vite: "^5.4.9"
|
|
53
53
|
},
|
|
54
54
|
dependencies: {
|
|
55
55
|
"@batijs/core": "workspace:*"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
$
|
|
4
|
-
|
|
3
|
+
$gs,
|
|
4
|
+
JKr,
|
|
5
5
|
jJs
|
|
6
|
-
} from "../../../../chunk-
|
|
6
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
7
7
|
import "../../../../chunk-LU7IBQI7.js";
|
|
8
8
|
|
|
9
9
|
// ../../boilerplates/sentry/dist/files/$vite.config.ts.js
|
|
10
10
|
async function getViteConfig(props) {
|
|
11
11
|
const mod = await jJs(props);
|
|
12
|
-
|
|
12
|
+
$gs(mod, {
|
|
13
13
|
from: "@sentry/vite-plugin",
|
|
14
14
|
constructor: "sentryVitePlugin",
|
|
15
15
|
imported: "sentryVitePlugin",
|
|
@@ -17,7 +17,7 @@ async function getViteConfig(props) {
|
|
|
17
17
|
sourcemaps: { disable: false }
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
|
|
20
|
+
JKr(mod.exports.default.$args[0], { build: { sourcemap: true } });
|
|
21
21
|
return mod.generate().code;
|
|
22
22
|
}
|
|
23
23
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "../../../../../chunk-
|
|
3
|
+
B8e,
|
|
4
|
+
dse,
|
|
5
|
+
gV,
|
|
6
|
+
jJs
|
|
7
|
+
} from "../../../../../chunk-IZVHJULL.js";
|
|
8
8
|
import "../../../../../chunk-LU7IBQI7.js";
|
|
9
9
|
|
|
10
10
|
// ../../boilerplates/sentry/dist/files/pages/$+client.ts.js
|
|
@@ -13,15 +13,15 @@ async function getViteConfig(props) {
|
|
|
13
13
|
try {
|
|
14
14
|
mod = await jJs(props);
|
|
15
15
|
} catch {
|
|
16
|
-
mod =
|
|
16
|
+
mod = B8e("");
|
|
17
17
|
}
|
|
18
18
|
if (!props.meta.BATI.has("vue")) {
|
|
19
19
|
mod.imports.$prepend({
|
|
20
20
|
from: "../sentry.browser.config",
|
|
21
21
|
imported: "sentryBrowserConfig"
|
|
22
22
|
});
|
|
23
|
-
const e =
|
|
24
|
-
const c =
|
|
23
|
+
const e = dse.functionCall("sentryBrowserConfig");
|
|
24
|
+
const c = gV(e).code;
|
|
25
25
|
mod.$ast.body.splice(mod.$ast.body.length - 1, 0, c);
|
|
26
26
|
}
|
|
27
27
|
return mod.generate().code;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/shadcn-ui/dist/files/$package.json.js
|
|
@@ -51,9 +51,9 @@ var require_package = __commonJS({
|
|
|
51
51
|
"@types/node": "^18.19.55",
|
|
52
52
|
"class-variance-authority": "^0.7.0",
|
|
53
53
|
clsx: "^2.1.1",
|
|
54
|
-
"lucide-react": "^0.
|
|
55
|
-
"tailwind-merge": "^2.5.
|
|
56
|
-
tailwindcss: "^3.4.
|
|
54
|
+
"lucide-react": "^0.453.0",
|
|
55
|
+
"tailwind-merge": "^2.5.4",
|
|
56
|
+
tailwindcss: "^3.4.14",
|
|
57
57
|
"tailwindcss-animate": "^1.0.7"
|
|
58
58
|
},
|
|
59
59
|
dependencies: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "../../../../chunk-
|
|
3
|
+
VKr,
|
|
4
|
+
jJs
|
|
5
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
6
6
|
import "../../../../chunk-LU7IBQI7.js";
|
|
7
7
|
|
|
8
8
|
// ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.js
|
|
@@ -14,7 +14,7 @@ async function getViteConfig(props) {
|
|
|
14
14
|
}
|
|
15
15
|
function addResolveAlias(mod, find, replacement) {
|
|
16
16
|
const alias = mod.exports.default.$args[0]?.resolve?.alias ?? {};
|
|
17
|
-
const warnMsg = `${
|
|
17
|
+
const warnMsg = `${VKr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
|
|
18
18
|
if (alias?.length === void 0) {
|
|
19
19
|
if (alias[find]) {
|
|
20
20
|
console.warn(warnMsg);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/shared-server/dist/files/$package.json.js
|
|
@@ -52,7 +52,7 @@ var require_package = __commonJS({
|
|
|
52
52
|
"@types/node": "^18.19.55",
|
|
53
53
|
"@universal-middleware/core": "^0.2.13",
|
|
54
54
|
vike: "^0.4.199",
|
|
55
|
-
vite: "^5.4.
|
|
55
|
+
vite: "^5.4.9"
|
|
56
56
|
},
|
|
57
57
|
files: [
|
|
58
58
|
"dist/"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/solid/dist/files/$package.json.js
|
|
@@ -49,11 +49,11 @@ var require_package = __commonJS({
|
|
|
49
49
|
"@batijs/compile": "workspace:*",
|
|
50
50
|
"@types/node": "^18.19.55",
|
|
51
51
|
"solid-js": "^1.9.2",
|
|
52
|
-
tailwindcss: "^3.4.
|
|
52
|
+
tailwindcss: "^3.4.14",
|
|
53
53
|
typescript: "^5.6.3",
|
|
54
54
|
vike: "^0.4.199",
|
|
55
55
|
"vike-solid": "^0.7.6",
|
|
56
|
-
vite: "^5.4.
|
|
56
|
+
vite: "^5.4.9",
|
|
57
57
|
"vite-plugin-solid": "^2.10.2"
|
|
58
58
|
},
|
|
59
59
|
dependencies: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
$gs,
|
|
4
4
|
jJs
|
|
5
|
-
} from "../../../../chunk-
|
|
5
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
6
6
|
import "../../../../chunk-LU7IBQI7.js";
|
|
7
7
|
|
|
8
8
|
// ../../boilerplates/solid/dist/files/$vite.config.ts.js
|
|
9
9
|
async function getViteConfig(props) {
|
|
10
10
|
const mod = await jJs(props);
|
|
11
|
-
|
|
11
|
+
$gs(mod, {
|
|
12
12
|
from: "vike-solid/vite",
|
|
13
13
|
constructor: "vikeSolid"
|
|
14
14
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/solid-sentry/dist/files/$package.json.js
|
|
@@ -51,7 +51,7 @@ var require_package = __commonJS({
|
|
|
51
51
|
"@types/node": "^18.19.55",
|
|
52
52
|
"solid-js": "^1.9.2",
|
|
53
53
|
"vike-solid": "^0.7.6",
|
|
54
|
-
vite: "^5.4.
|
|
54
|
+
vite: "^5.4.9"
|
|
55
55
|
},
|
|
56
56
|
dependencies: {
|
|
57
57
|
"@batijs/core": "workspace:*"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/tailwindcss/dist/files/$package.json.js
|
|
@@ -51,9 +51,9 @@ var require_package = __commonJS({
|
|
|
51
51
|
autoprefixer: "^10.4.20",
|
|
52
52
|
daisyui: "^4.12.13",
|
|
53
53
|
postcss: "^8.4.47",
|
|
54
|
-
tailwindcss: "^3.4.
|
|
54
|
+
tailwindcss: "^3.4.14",
|
|
55
55
|
vike: "^0.4.199",
|
|
56
|
-
vite: "^5.4.
|
|
56
|
+
vite: "^5.4.9"
|
|
57
57
|
},
|
|
58
58
|
dependencies: {
|
|
59
59
|
"@batijs/core": "workspace:*"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/telefunc/dist/files/$package.json.js
|
|
@@ -52,7 +52,7 @@ var require_package = __commonJS({
|
|
|
52
52
|
"@universal-middleware/core": "^0.2.13",
|
|
53
53
|
telefunc: "^0.1.79",
|
|
54
54
|
vike: "^0.4.199",
|
|
55
|
-
vite: "^5.4.
|
|
55
|
+
vite: "^5.4.9"
|
|
56
56
|
},
|
|
57
57
|
dependencies: {
|
|
58
58
|
"@batijs/core": "workspace:*"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
$gs,
|
|
4
4
|
jJs
|
|
5
|
-
} from "../../../../chunk-
|
|
5
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
6
6
|
import "../../../../chunk-LU7IBQI7.js";
|
|
7
7
|
|
|
8
8
|
// ../../boilerplates/telefunc/dist/files/$vite.config.ts.js
|
|
9
9
|
async function getViteConfig(props) {
|
|
10
10
|
const mod = await jJs(props);
|
|
11
|
-
|
|
11
|
+
$gs(mod, {
|
|
12
12
|
from: "telefunc/vite",
|
|
13
13
|
constructor: "telefunc",
|
|
14
14
|
imported: "telefunc"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/trpc/dist/files/$package.json.js
|
|
@@ -52,7 +52,7 @@ var require_package = __commonJS({
|
|
|
52
52
|
"@trpc/server": "^10.45.2",
|
|
53
53
|
"@types/node": "^18.19.55",
|
|
54
54
|
"@universal-middleware/core": "^0.2.13",
|
|
55
|
-
vite: "^5.4.
|
|
55
|
+
vite: "^5.4.9"
|
|
56
56
|
},
|
|
57
57
|
dependencies: {
|
|
58
58
|
"@batijs/core": "workspace:*"
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { appRouter } from "../trpc/server";
|
|
3
3
|
// TODO: stop using universal-middleware and directly integrate server middlewares instead. (Bati generates boilerplates that use universal-middleware https://github.com/magne4000/universal-middleware to make Bati's internal logic easier. This is temporary and will be removed soon.)
|
|
4
4
|
import type { Get, UniversalHandler } from "@universal-middleware/core";
|
|
5
|
+
import type { D1Database } from "@cloudflare/workers-types";
|
|
5
6
|
import { fetchRequestHandler } from "@trpc/server/adapters/fetch";
|
|
6
7
|
|
|
7
8
|
export const trpcHandler = ((endpoint) => (request, context, runtime) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const trpcHandler: (endpoint: string) => (request: Request
|
|
1
|
+
export declare const trpcHandler: (endpoint: string) => (request: Request, context: Universal.Context, runtime: import("@universal-middleware/core").RuntimeAdapter) => Promise<Response>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/vercel/dist/files/$package.json.js
|
|
@@ -50,7 +50,7 @@ var require_package = __commonJS({
|
|
|
50
50
|
"@types/node": "^18.19.55",
|
|
51
51
|
"@vite-plugin-vercel/vike": "^9.0.2",
|
|
52
52
|
vike: "^0.4.199",
|
|
53
|
-
vite: "^5.4.
|
|
53
|
+
vite: "^5.4.9",
|
|
54
54
|
"vite-plugin-vercel": "^9.0.3"
|
|
55
55
|
},
|
|
56
56
|
dependencies: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
$gs,
|
|
4
4
|
jJs
|
|
5
|
-
} from "../../../../chunk-
|
|
5
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
6
6
|
import "../../../../chunk-LU7IBQI7.js";
|
|
7
7
|
|
|
8
8
|
// ../../boilerplates/vercel/dist/files/$vite.config.ts.js
|
|
@@ -11,7 +11,7 @@ async function getViteConfig(props) {
|
|
|
11
11
|
const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
|
|
12
12
|
source: "/.*"
|
|
13
13
|
} : void 0;
|
|
14
|
-
|
|
14
|
+
$gs(mod, {
|
|
15
15
|
from: "vite-plugin-vercel",
|
|
16
16
|
constructor: "vercel",
|
|
17
17
|
options
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/vue/dist/files/$package.json.js
|
|
@@ -51,12 +51,12 @@ var require_package = __commonJS({
|
|
|
51
51
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
52
52
|
"@vue/compiler-sfc": "^3.5.12",
|
|
53
53
|
"@vue/server-renderer": "^3.5.12",
|
|
54
|
-
tailwindcss: "^3.4.
|
|
54
|
+
tailwindcss: "^3.4.14",
|
|
55
55
|
typescript: "^5.6.3",
|
|
56
56
|
"unplugin-vue-markdown": "^0.26.2",
|
|
57
57
|
vike: "^0.4.199",
|
|
58
58
|
"vike-vue": "^0.8.5",
|
|
59
|
-
vite: "^5.4.
|
|
59
|
+
vite: "^5.4.9",
|
|
60
60
|
vue: "^3.5.12",
|
|
61
61
|
"vue-gtag": "^2.0.1"
|
|
62
62
|
},
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
$gs,
|
|
4
4
|
jJs
|
|
5
|
-
} from "../../../../chunk-
|
|
5
|
+
} from "../../../../chunk-IZVHJULL.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
10
|
const mod = await jJs(props);
|
|
11
|
-
|
|
11
|
+
$gs(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
|
+
$gs(mod, {
|
|
19
19
|
from: "unplugin-vue-markdown/vite",
|
|
20
20
|
constructor: "md",
|
|
21
21
|
options: {}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
RJs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-IZVHJULL.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/vue-sentry/dist/files/$package.json.js
|
|
@@ -50,7 +50,7 @@ var require_package = __commonJS({
|
|
|
50
50
|
"@sentry/vue": "^8.34.0",
|
|
51
51
|
"@types/node": "^18.19.55",
|
|
52
52
|
"vike-vue": "^0.8.5",
|
|
53
|
-
vite: "^5.4.
|
|
53
|
+
vite: "^5.4.9",
|
|
54
54
|
vue: "^3.5.12"
|
|
55
55
|
},
|
|
56
56
|
dependencies: {
|