@batijs/cli 0.0.539 → 0.0.541
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 +5 -5
- 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/auth0/files/$wrangler.jsonc.js +1 -1
- package/dist/boilerplates/@batijs/authjs/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/bati.config.js +11 -6
- 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 -1
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/biome/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/bati.config.js +10 -6
- package/dist/boilerplates/@batijs/cloudflare/files/$TODO.md.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/compiled/bati.config.js +10 -5
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/d1/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$wrangler.jsonc.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/bati.config.js +5 -5
- 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 -1
- package/dist/boilerplates/@batijs/eslint/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/express/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/fastify/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/google-analytics/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/h3/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hono/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/mantine/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/oxlint/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/oxlint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/photon/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/photon/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/photon/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/plausible.io/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/pnpm/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
- package/dist/boilerplates/@batijs/prettier/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/prisma/bati.config.js +8 -5
- 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 +1 -1
- package/dist/boilerplates/@batijs/react/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -1
- 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-sentry/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sentry/bati.config.js +5 -5
- 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 -1
- 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 +5 -5
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
- 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 +10 -6
- 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 +5 -5
- package/dist/boilerplates/@batijs/shared-server/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/shared-todo/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/solid/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
- 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-sentry/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/bati.config.js +5 -5
- 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 -1
- package/dist/boilerplates/@batijs/tailwindcss/bati.config.js +10 -5
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/trpc/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +2 -2
- package/dist/boilerplates/@batijs/ts-rest/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/bati.config.js +9 -5
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vue/bati.config.js +8 -5
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -1
- 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-sentry/bati.config.js +5 -5
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
- package/dist/{chunk-PDRYYONZ.js → chunk-QROV3BVS.js} +1 -1
- package/dist/index.js +93 -11
- package/package.json +5 -5
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.hasDatabase;
|
|
13
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.hasServer;
|
|
13
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
enforce: "pre"
|
|
12
12
|
});
|
|
13
13
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.has("solid");
|
|
13
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.has("solid") && meta.BATI.has("sentry");
|
|
13
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.has("sqlite") && !meta.BATI.has("cloudflare");
|
|
13
13
|
},
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.has("tailwindcss");
|
|
13
|
+
},
|
|
14
|
+
knip: {
|
|
15
|
+
// daisyui is included here because daisyui dependsOn tailwindcss,
|
|
16
|
+
// so this config is always active when daisyui is used
|
|
17
|
+
ignoreDependencies: ["tailwindcss", "daisyui"]
|
|
13
18
|
}
|
|
14
19
|
});
|
|
15
20
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.has("telefunc");
|
|
13
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.has("trpc");
|
|
13
13
|
}
|
|
@@ -2,9 +2,9 @@ export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/serve
|
|
|
2
2
|
ctx: object & {
|
|
3
3
|
db: ReturnType<any>;
|
|
4
4
|
} & {
|
|
5
|
-
db: ReturnType<
|
|
5
|
+
db: ReturnType<any>;
|
|
6
6
|
} & {
|
|
7
|
-
db: ReturnType<
|
|
7
|
+
db: ReturnType<any>;
|
|
8
8
|
} & {
|
|
9
9
|
db: D1Database;
|
|
10
10
|
};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.has("ts-rest");
|
|
13
|
+
},
|
|
14
|
+
knip: {
|
|
15
|
+
ignoreDependencies: ["zod"]
|
|
13
16
|
}
|
|
14
17
|
});
|
|
15
18
|
export {
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.has("vercel");
|
|
13
|
+
},
|
|
14
|
+
knip: {
|
|
15
|
+
ignore: [".vercel/**"],
|
|
16
|
+
ignoreDependencies: ["vite-plugin-vercel", "@photonjs/vercel", "h3"]
|
|
13
17
|
}
|
|
14
18
|
});
|
|
15
19
|
export {
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.has("vue");
|
|
13
|
+
},
|
|
14
|
+
knip: {
|
|
15
|
+
ignoreDependencies: ["@vue/.+"]
|
|
13
16
|
}
|
|
14
17
|
});
|
|
15
18
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// ../../packages/core/dist/config.js
|
|
2
|
-
function t(e,
|
|
3
|
-
if (!e) throw new Error(
|
|
2
|
+
function t(e, n) {
|
|
3
|
+
if (!e) throw new Error(n);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
|
|
5
|
+
function p(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"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), "knip" in e && (t(typeof e.knip == "object" && e.knip !== null, "'knip' must be an object"), "entry" in e.knip && t(Array.isArray(e.knip.entry), "'knip.entry' must be an array"), "ignoreDependencies" in e.knip && t(Array.isArray(e.knip.ignoreDependencies), "'knip.ignoreDependencies' must be an array"), "ignore" in e.knip && t(Array.isArray(e.knip.ignore), "'knip.ignore' must be an array"), "vite" in e.knip && t(typeof e.knip.vite == "boolean", "'knip.vite' must be a boolean")), e;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
// bati.config.ts
|
|
10
|
-
var bati_config_default =
|
|
10
|
+
var bati_config_default = p({
|
|
11
11
|
if(meta) {
|
|
12
12
|
return meta.BATI.has("vue") && meta.BATI.has("sentry");
|
|
13
13
|
}
|
|
@@ -209889,7 +209889,7 @@ async function Pus(t2, e, r2) {
|
|
|
209889
209889
|
}
|
|
209890
209890
|
return !e.BATI.has("eslint") && _Wr.test(l) && (l = l.replace(_Wr, ""), f = true), !e.BATI.has("biome") && dWr.test(l) && (l = l.replace(dWr, ""), f = true), { code: f ? await Qit(l, r2) : l, context: u };
|
|
209891
209891
|
}
|
|
209892
|
-
var FEt = { name: "@batijs/core", version: "0.0.
|
|
209892
|
+
var FEt = { name: "@batijs/core", version: "0.0.541", description: "", type: "module", types: "./dist/index.d.ts", scripts: { "check-types": "tsc --noEmit", vue: "tsx src/parse/linters/vue.ts", test: "vitest run", "test:ci": "vitest run", build: "tsup" }, keywords: [], author: "Jo\xEBl Charles <joel.charles91@gmail.com>", repository: "https://github.com/vikejs/bati", license: "MIT", devDependencies: { "@batijs/features": "workspace:*", "@types/eslint": "^9.6.1", "@types/estree": "^1.0.8", "@types/node": "^20.19.25", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.48.0", "@typescript-eslint/utils": "^8.48.0", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.27.0", eslint: "^9.39.1", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^11.0.0", magicast: "^0.5.1", "mdast-builder": "^1.1.1", "mdast-util-from-markdown": "^2.0.2", "mdast-util-to-markdown": "^2.1.2", "mdast-util-to-string": "^4.0.0", "mdast-util-toc": "^7.1.0", prettier: "^3.7.3", squirrelly: "^9.1.0", tsup: "^8.5.1", tsx: "^4.21.0", typescript: "^5.9.3", "unplugin-purge-polyfills": "^0.1.0", vitest: "^4.0.14", "vue-eslint-parser": "^10.2.0", which: "^6.0.0", yaml: "^2.8.2" }, exports: { ".": "./dist/index.js", "./config": "./dist/config.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { config: ["./dist/config.d.ts"], types: ["./global.d.ts"] } }, files: ["dist/"] };
|
|
209893
209893
|
function Nus() {
|
|
209894
209894
|
return process.env.npm_config_user_agent ? Ius(process.env.npm_config_user_agent) : { name: "npm", run: "npm run", exec: "npx" };
|
|
209895
209895
|
}
|