@batijs/cli 0.0.462 → 0.0.465
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 +3 -3
- package/dist/boilerplates/@batijs/authjs/files/global.d.ts +0 -2
- 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/aws/files/cdk/bin/infrastructure.ts +3 -4
- package/dist/boilerplates/@batijs/aws/files/cdk/lib/vike-stack.ts +12 -12
- package/dist/boilerplates/@batijs/aws/files/tests/aws_handler.spec.ts +4 -3
- package/dist/boilerplates/@batijs/aws/types/cdk/lib/vike-stack.d.ts +1 -1
- package/dist/boilerplates/@batijs/biome/files/$biome.json.js +93 -0
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
- 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 +6 -6
- 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 +0 -2
- package/dist/boilerplates/@batijs/d1/files/database/d1/helpers.ts +1 -0
- package/dist/boilerplates/@batijs/d1/files/global.d.ts +1 -3
- 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 +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/db.ts +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/queries/todos.ts +2 -1
- package/dist/boilerplates/@batijs/drizzle/files/drizzle.config.ts +1 -0
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/db.d.ts +1 -1
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/todos.d.ts +1 -1
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/express/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/express/files/express-entry.ts +2 -2
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/fastify/files/fastify-entry.ts +4 -4
- 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/h3/files/h3-entry.ts +4 -3
- 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/hono/files/entry_aws_lambda.ts +5 -5
- package/dist/boilerplates/@batijs/hono/files/hono-entry.node.ts +1 -1
- package/dist/boilerplates/@batijs/hono/files/hono-entry.ts +3 -3
- package/dist/boilerplates/@batijs/hono/types/entry_aws_lambda.d.ts +1 -1
- 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/mantine/files/components/Link.tsx +1 -1
- package/dist/boilerplates/@batijs/mantine/files/layouts/LayoutDefault.tsx +3 -3
- package/dist/boilerplates/@batijs/mantine/files/layouts/theme.ts +1 -1
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
- 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 +5 -5
- 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/pages/+Head.tsx +12 -7
- package/dist/boilerplates/@batijs/react/files/pages/+config.ts +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/star-wars/@id/+data.ts +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/star-wars/index/+data.ts +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +1 -1
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/react-sentry/files/pages/sentry/+Page.tsx +3 -2
- 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 +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/shadcn-ui/files/lib/utils.ts +1 -1
- 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/files/vite.config.ts +2 -1
- package/dist/boilerplates/@batijs/shared-db/files/server/db-middleware.ts +4 -3
- package/dist/boilerplates/@batijs/shared-db/types/server/db-middleware.d.ts +2 -2
- package/dist/boilerplates/@batijs/shared-no-db/files/database/todoItems.ts +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/shared-server/files/server/create-todo-handler.ts +4 -3
- package/dist/boilerplates/@batijs/shared-server/files/server/vike-handler.ts +2 -1
- package/dist/boilerplates/@batijs/shared-server/types/server/create-todo-handler.d.ts +1 -1
- package/dist/boilerplates/@batijs/shared-todo/files/global.d.ts +3 -5
- package/dist/boilerplates/@batijs/shared-todo/files/pages/todo/+data.ts +3 -2
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +7 -7
- 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/pages/+Head.tsx +1 -5
- package/dist/boilerplates/@batijs/solid/files/pages/+config.ts +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/star-wars/@id/+data.ts +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/star-wars/index/+data.ts +1 -1
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/solid-sentry/files/pages/sentry/+Page.tsx +2 -3
- 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 +4 -4
- package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/db.ts +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +7 -7
- 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/telefunc/files/global.d.ts +3 -5
- package/dist/boilerplates/@batijs/telefunc/files/pages/todo/TodoList.telefunc.ts +2 -2
- package/dist/boilerplates/@batijs/telefunc/files/server/telefunc-handler.ts +3 -3
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/trpc/files/server/trpc-handler.ts +4 -3
- package/dist/boilerplates/@batijs/trpc/files/trpc/server.ts +4 -4
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +1 -1
- package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.ts +1 -1
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/ts-rest/files/server/ts-rest-handler.ts +8 -7
- package/dist/boilerplates/@batijs/ts-rest/types/server/ts-rest-handler.d.ts +1 -1
- 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/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 -0
- package/dist/boilerplates/@batijs/vue/files/pages/+Head.vue +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/+config.ts +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/star-wars/@id/+data.ts +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/star-wars/index/+data.ts +1 -1
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/vue-sentry/files/sentry.browser.config.ts +3 -4
- package/dist/{chunk-EFIXXE6N.js → chunk-4TGDHMDE.js} +159734 -159712
- package/dist/index.js +5089 -5185
- package/dist/{jiti-EM3N2G3P-5LY37YR5.js → jiti-W5Y5D52V-VBLACVBV.js} +417 -417
- package/package.json +8 -8
- package/dist/boilerplates/@batijs/biome/files/biome.json +0 -29
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { dbD1, dbSqlite } from "@batijs/drizzle/database/drizzle/db";
|
|
2
2
|
import type { db as sqliteDb } from "@batijs/sqlite/database/sqlite/db";
|
|
3
|
-
import { D1Database } from "@cloudflare/workers-types";
|
|
3
|
+
import type { D1Database } from "@cloudflare/workers-types";
|
|
4
4
|
/**
|
|
5
5
|
* Export reusable router and procedure helpers
|
|
6
6
|
* that can be used throughout the router
|
|
@@ -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
|
+
_Es
|
|
7
|
+
} from "../../../../chunk-4TGDHMDE.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.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
|
-
"@cloudflare/workers-types": "^4.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20250816.0",
|
|
55
55
|
"@ts-rest/core": "^3.52.1",
|
|
56
56
|
"@ts-rest/serverless": "^3.52.1",
|
|
57
57
|
"@types/node": "^20.19.9",
|
|
@@ -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 _Es(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 {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import { Get, UniversalHandler } from "@universal-middleware/core";
|
|
1
|
+
/** biome-ignore-all lint/suspicious/noExplicitAny: avoid platformContext type inference */
|
|
2
|
+
import * as d1Queries from "@batijs/d1-sqlite/database/d1/queries/todos";
|
|
3
|
+
import type { dbD1, dbSqlite } from "@batijs/drizzle/database/drizzle/db";
|
|
5
4
|
import * as drizzleQueries from "@batijs/drizzle/database/drizzle/queries/todos";
|
|
6
|
-
import {
|
|
5
|
+
import type { db as sqliteDb } from "@batijs/sqlite/database/sqlite/db";
|
|
7
6
|
import * as sqliteQueries from "@batijs/sqlite/database/sqlite/queries/todos";
|
|
8
|
-
import { db as sqliteDb } from "@batijs/sqlite/database/sqlite/db";
|
|
9
|
-
import * as d1Queries from "@batijs/d1-sqlite/database/d1/queries/todos";
|
|
10
7
|
import type { D1Database } from "@cloudflare/workers-types";
|
|
8
|
+
import { fetchRequestHandler, tsr } from "@ts-rest/serverless/fetch";
|
|
9
|
+
// TODO: stop using universal-middleware and directly integrate server middlewares instead and/or use vike-server https://vike.dev/server. (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.)
|
|
10
|
+
import type { Get, UniversalHandler } from "@universal-middleware/core";
|
|
11
|
+
import { contract } from "../ts-rest/contract";
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* ts-rest route
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Get, UniversalHandler } from "@universal-middleware/core";
|
|
1
|
+
import type { Get, UniversalHandler } from "@universal-middleware/core";
|
|
2
2
|
export declare const tsRestHandler: Get<[], UniversalHandler>;
|
|
@@ -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
|
+
_Es
|
|
7
|
+
} from "../../../../chunk-4TGDHMDE.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -53,8 +53,8 @@ var require_package = __commonJS({
|
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
54
|
"@types/node": "^20.19.9",
|
|
55
55
|
"@vite-plugin-vercel/vike": "^9.0.6",
|
|
56
|
-
vike: "^0.4.
|
|
57
|
-
vite: "^7.
|
|
56
|
+
vike: "^0.4.237",
|
|
57
|
+
vite: "^7.1.2",
|
|
58
58
|
"vite-plugin-vercel": "^9.0.7"
|
|
59
59
|
},
|
|
60
60
|
dependencies: {
|
|
@@ -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 _Es(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
|
+
fEs
|
|
7
|
+
} from "../../../../chunk-4TGDHMDE.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.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 fEs(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
|
+
Vri,
|
|
7
|
+
dEs
|
|
8
|
+
} from "../../../../chunk-4TGDHMDE.js";
|
|
9
9
|
import "../../../../chunk-IAWYWZSL.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 dEs(props);
|
|
15
15
|
const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
|
|
16
16
|
source: "/.*"
|
|
17
17
|
} : void 0;
|
|
18
|
-
|
|
18
|
+
Vri(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
|
+
dEs
|
|
7
|
+
} from "../../../../../chunk-4TGDHMDE.js";
|
|
8
8
|
import "../../../../../chunk-IAWYWZSL.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 dEs(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
|
+
pEs
|
|
7
|
+
} from "../../../../chunk-4TGDHMDE.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.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 pEs(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
|
+
_Es
|
|
7
|
+
} from "../../../../chunk-4TGDHMDE.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -56,12 +56,12 @@ var require_package = __commonJS({
|
|
|
56
56
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
57
57
|
"@vue/compiler-sfc": "^3.5.18",
|
|
58
58
|
"@vue/server-renderer": "^3.5.18",
|
|
59
|
-
tailwindcss: "^4.1.
|
|
59
|
+
tailwindcss: "^4.1.12",
|
|
60
60
|
typescript: "^5.9.2",
|
|
61
61
|
"unplugin-vue-markdown": "^29.1.0",
|
|
62
|
-
vike: "^0.4.
|
|
62
|
+
vike: "^0.4.237",
|
|
63
63
|
"vike-vue": "^0.9.2",
|
|
64
|
-
vite: "^7.
|
|
64
|
+
vite: "^7.1.2",
|
|
65
65
|
vue: "^3.5.18",
|
|
66
66
|
"vue-gtag": "^3.5.2"
|
|
67
67
|
},
|
|
@@ -128,7 +128,7 @@ var require_package = __commonJS({
|
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
async function getPackageJson(props) {
|
|
131
|
-
const packageJson = await
|
|
131
|
+
const packageJson = await _Es(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
132
132
|
return packageJson.addDevDependencies(["vite"]).addDependencies([
|
|
133
133
|
"@vitejs/plugin-vue",
|
|
134
134
|
"@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
|
+
fEs
|
|
7
|
+
} from "../../../../chunk-4TGDHMDE.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.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 fEs(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
|
+
Vri,
|
|
7
|
+
dEs
|
|
8
|
+
} from "../../../../chunk-4TGDHMDE.js";
|
|
9
9
|
import "../../../../chunk-IAWYWZSL.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 dEs(props);
|
|
15
|
+
Vri(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
|
+
Vri(mod, {
|
|
23
23
|
from: "unplugin-vue-markdown/vite",
|
|
24
24
|
constructor: "md",
|
|
25
25
|
options: {}
|
|
@@ -16,6 +16,7 @@ import Link from "../components/Link.vue";
|
|
|
16
16
|
import Logo from "../components/Logo.vue";
|
|
17
17
|
import Sidebar from "../components/Sidebar.vue";
|
|
18
18
|
import { sentryBrowserConfig } from "../sentry.browser.config";
|
|
19
|
+
|
|
19
20
|
//# BATI.has("sentry")
|
|
20
21
|
sentryBrowserConfig();
|
|
21
22
|
</script>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// https://vike.dev/data
|
|
2
2
|
|
|
3
3
|
import type { PageContextServer } from "vike/types";
|
|
4
|
-
import type { MovieDetails } from "../types.js";
|
|
5
4
|
import { useConfig } from "vike-vue/useConfig";
|
|
5
|
+
import type { MovieDetails } from "../types.js";
|
|
6
6
|
|
|
7
7
|
export type Data = Awaited<ReturnType<typeof data>>;
|
|
8
8
|
|
|
@@ -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
|
+
_Es
|
|
7
|
+
} from "../../../../chunk-4TGDHMDE.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,10 +51,10 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@sentry/vue": "^10.
|
|
54
|
+
"@sentry/vue": "^10.5.0",
|
|
55
55
|
"@types/node": "^20.19.9",
|
|
56
56
|
"vike-vue": "^0.9.2",
|
|
57
|
-
vite: "^7.
|
|
57
|
+
vite: "^7.1.2",
|
|
58
58
|
vue: "^3.5.18"
|
|
59
59
|
},
|
|
60
60
|
dependencies: {
|
|
@@ -89,7 +89,7 @@ var require_package = __commonJS({
|
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
async function getPackageJson(props) {
|
|
92
|
-
const packageJson = await
|
|
92
|
+
const packageJson = await _Es(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
93
93
|
return packageJson.addDependencies(["@sentry/vue"]);
|
|
94
94
|
}
|
|
95
95
|
export {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as Sentry from "@sentry/vue";
|
|
2
|
-
import {
|
|
2
|
+
import { getCurrentInstance } from "vue";
|
|
3
3
|
|
|
4
4
|
export const sentryBrowserConfig = () => {
|
|
5
5
|
// eslint-disable-next-line
|
|
6
6
|
import.meta.env.PROD === true &&
|
|
7
7
|
Sentry.init({
|
|
8
|
-
|
|
9
|
-
app: usePageContext().app,
|
|
8
|
+
app: getCurrentInstance()?.appContext.app,
|
|
10
9
|
dsn: import.meta.env.PUBLIC_ENV__SENTRY_DSN,
|
|
11
10
|
environment: "production-frontend",
|
|
12
|
-
//enabled: import.meta.env.DEV ? false : true,
|
|
11
|
+
// enabled: import.meta.env.DEV ? false : true,
|
|
13
12
|
integrations: [Sentry.replayIntegration()],
|
|
14
13
|
// Set tracesSampleRate to 1.0 to capture 100%
|
|
15
14
|
// of transactions for tracing.
|