@batijs/cli 0.0.512 → 0.0.513
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/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/auth0/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/authjs/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -11
- package/dist/boilerplates/@batijs/aws/bati.config.js +18 -0
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -7
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/biome/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/cloudflare/bati.config.js +18 -0
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -7
- package/dist/boilerplates/@batijs/compiled/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/d1/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -14
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -11
- package/dist/boilerplates/@batijs/drizzle/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/eslint/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/express/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/fastify/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/google-analytics/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/h3/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/hono/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/hono/files/entry_aws_lambda.ts +2 -2
- package/dist/boilerplates/@batijs/mantine/bati.config.js +18 -0
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -12
- package/dist/boilerplates/@batijs/photon/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/photon/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/photon/files/$package.json.js +1 -15
- package/dist/boilerplates/@batijs/plausible.io/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/pnpm/bati.config.js +18 -0
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
- package/dist/boilerplates/@batijs/prettier/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/prisma/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/react/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +1 -1
- package/dist/boilerplates/@batijs/react-sentry/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -11
- package/dist/boilerplates/@batijs/sentry/bati.config.js +17 -0
- 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/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/shared/bati.config.js +15 -0
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/shared-db/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/shared-server/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -13
- package/dist/boilerplates/@batijs/shared-todo/bati.config.js +15 -0
- package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.ts +1 -3
- package/dist/boilerplates/@batijs/solid/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +1 -1
- package/dist/boilerplates/@batijs/solid-sentry/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -11
- package/dist/boilerplates/@batijs/sqlite/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -15
- package/dist/boilerplates/@batijs/tailwindcss/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/trpc/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +1 -1
- package/dist/boilerplates/@batijs/ts-rest/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/vercel/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vue/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +2 -2
- package/dist/boilerplates/@batijs/vue-sentry/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -11
- package/dist/boilerplates/boilerplates.json +0 -264
- package/dist/{chunk-6D3FLEBD.js → chunk-7Z4ESLVZ.js} +1 -1
- package/dist/index.js +23 -795
- package/package.json +5 -6
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("hono");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -70,11 +70,6 @@ var require_package = __commonJS({
|
|
|
70
70
|
files: [
|
|
71
71
|
"dist/"
|
|
72
72
|
],
|
|
73
|
-
bati: {
|
|
74
|
-
if: {
|
|
75
|
-
flag: "hono"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
73
|
exports: {
|
|
79
74
|
"./entry_aws_lambda": {
|
|
80
75
|
types: "./dist/types/entry_aws_lambda.d.ts"
|
|
@@ -9,12 +9,12 @@ Notes:
|
|
|
9
9
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
// @ts-expect-error loading file compiled by Vite
|
|
13
|
-
import app from "./dist/server/index.mjs";
|
|
14
12
|
import type { APIGatewayProxyResult, Handler } from "aws-lambda";
|
|
15
13
|
import { Hono } from "hono";
|
|
16
14
|
import type { LambdaContext, LambdaEvent } from "hono/aws-lambda";
|
|
17
15
|
import { handle } from "hono/aws-lambda";
|
|
16
|
+
// @ts-expect-error loading file compiled by Vite
|
|
17
|
+
import app from "./dist/server/index.mjs";
|
|
18
18
|
|
|
19
19
|
type Bindings = {
|
|
20
20
|
event: LambdaEvent;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
enforce: "post",
|
|
12
|
+
if(meta) {
|
|
13
|
+
return meta.BATI.has("mantine") && meta.BATI.has("react");
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
bati_config_default as default
|
|
18
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -71,17 +71,6 @@ var require_package = __commonJS({
|
|
|
71
71
|
files: [
|
|
72
72
|
"dist/"
|
|
73
73
|
],
|
|
74
|
-
bati: {
|
|
75
|
-
enforce: "post",
|
|
76
|
-
if: {
|
|
77
|
-
flag: {
|
|
78
|
-
$all: [
|
|
79
|
-
"mantine",
|
|
80
|
-
"react"
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
74
|
exports: {
|
|
86
75
|
"./components/Link": {
|
|
87
76
|
types: "./dist/types/components/Link.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.hasPhoton;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -60,20 +60,6 @@ var require_package = __commonJS({
|
|
|
60
60
|
files: [
|
|
61
61
|
"dist/"
|
|
62
62
|
],
|
|
63
|
-
bati: {
|
|
64
|
-
if: {
|
|
65
|
-
flag: {
|
|
66
|
-
$in: [
|
|
67
|
-
"h3",
|
|
68
|
-
"express",
|
|
69
|
-
"hono",
|
|
70
|
-
"fastify",
|
|
71
|
-
"vercel",
|
|
72
|
-
"cloudflare"
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
63
|
exports: {
|
|
78
64
|
"./+photon": {
|
|
79
65
|
types: "./dist/types/+photon.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("plausible.io");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
enforce: "post",
|
|
12
|
+
if(_, pm) {
|
|
13
|
+
return pm === "pnpm";
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
bati_config_default as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("prettier");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -59,12 +59,7 @@ var require_package = __commonJS({
|
|
|
59
59
|
},
|
|
60
60
|
files: [
|
|
61
61
|
"dist/"
|
|
62
|
-
]
|
|
63
|
-
bati: {
|
|
64
|
-
if: {
|
|
65
|
-
flag: "prettier"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
62
|
+
]
|
|
68
63
|
};
|
|
69
64
|
}
|
|
70
65
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("prisma");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -61,12 +61,7 @@ var require_package = __commonJS({
|
|
|
61
61
|
},
|
|
62
62
|
files: [
|
|
63
63
|
"dist/"
|
|
64
|
-
]
|
|
65
|
-
bati: {
|
|
66
|
-
if: {
|
|
67
|
-
flag: "prisma"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
64
|
+
]
|
|
70
65
|
};
|
|
71
66
|
}
|
|
72
67
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("react");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -75,11 +75,6 @@ var require_package = __commonJS({
|
|
|
75
75
|
files: [
|
|
76
76
|
"dist/"
|
|
77
77
|
],
|
|
78
|
-
bati: {
|
|
79
|
-
if: {
|
|
80
|
-
flag: "react"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
78
|
exports: {
|
|
84
79
|
"./components/Link": {
|
|
85
80
|
types: "./dist/types/components/Link.d.ts"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import type { Data } from "@batijs/shared-todo/pages/todo/+data";
|
|
1
2
|
import { onNewTodo } from "@batijs/telefunc/pages/todo/TodoList.telefunc";
|
|
2
3
|
import { trpc } from "@batijs/trpc/trpc/client";
|
|
3
4
|
import { client } from "@batijs/ts-rest/ts-rest/client";
|
|
4
5
|
import { useState } from "react";
|
|
5
6
|
import { useData } from "vike-react/useData";
|
|
6
|
-
import type { Data } from "@batijs/shared-todo/pages/todo/+data";
|
|
7
7
|
|
|
8
8
|
export function TodoList() {
|
|
9
9
|
const { todoItemsInitial } = useData<Data>();
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("react") && meta.BATI.has("sentry");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -65,16 +65,6 @@ var require_package = __commonJS({
|
|
|
65
65
|
files: [
|
|
66
66
|
"dist/"
|
|
67
67
|
],
|
|
68
|
-
bati: {
|
|
69
|
-
if: {
|
|
70
|
-
flag: {
|
|
71
|
-
$all: [
|
|
72
|
-
"react",
|
|
73
|
-
"sentry"
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
68
|
exports: {
|
|
79
69
|
"./sentry.browser.config": {
|
|
80
70
|
types: "./dist/types/sentry.browser.config.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("sentry");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -61,11 +61,6 @@ var require_package = __commonJS({
|
|
|
61
61
|
files: [
|
|
62
62
|
"dist/"
|
|
63
63
|
],
|
|
64
|
-
bati: {
|
|
65
|
-
if: {
|
|
66
|
-
flag: "sentry"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
64
|
exports: {
|
|
70
65
|
"./sentry.browser.config copy": {
|
|
71
66
|
types: "./dist/types/sentry.browser.config copy.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("shadcn-ui");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -67,11 +67,6 @@ var require_package = __commonJS({
|
|
|
67
67
|
files: [
|
|
68
68
|
"dist/"
|
|
69
69
|
],
|
|
70
|
-
bati: {
|
|
71
|
-
if: {
|
|
72
|
-
flag: "shadcn-ui"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
70
|
exports: {
|
|
76
71
|
"./lib/utils": {
|
|
77
72
|
types: "./dist/types/lib/utils.d.ts"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
enforce: "pre"
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
bati_config_default as default
|
|
15
|
+
};
|