@batijs/cli 0.0.540 → 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.
Files changed (121) hide show
  1. package/dist/boilerplates/@batijs/auth0/bati.config.js +5 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$.env.js +1 -1
  3. package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -1
  4. package/dist/boilerplates/@batijs/auth0/files/$wrangler.jsonc.js +1 -1
  5. package/dist/boilerplates/@batijs/authjs/bati.config.js +8 -5
  6. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -1
  7. package/dist/boilerplates/@batijs/aws/bati.config.js +11 -6
  8. package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -1
  9. package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +1 -1
  10. package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
  11. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
  12. package/dist/boilerplates/@batijs/biome/bati.config.js +8 -5
  13. package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
  14. package/dist/boilerplates/@batijs/cloudflare/bati.config.js +10 -6
  15. package/dist/boilerplates/@batijs/cloudflare/files/$TODO.md.js +1 -1
  16. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -1
  17. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +1 -1
  18. package/dist/boilerplates/@batijs/compiled/bati.config.js +10 -5
  19. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
  20. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
  21. package/dist/boilerplates/@batijs/d1/bati.config.js +5 -5
  22. package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +1 -1
  23. package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
  24. package/dist/boilerplates/@batijs/d1/files/$wrangler.jsonc.js +1 -1
  25. package/dist/boilerplates/@batijs/d1-sqlite/bati.config.js +5 -5
  26. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
  27. package/dist/boilerplates/@batijs/drizzle/bati.config.js +5 -5
  28. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
  29. package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +1 -1
  30. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -1
  31. package/dist/boilerplates/@batijs/eslint/bati.config.js +8 -5
  32. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
  33. package/dist/boilerplates/@batijs/express/bati.config.js +8 -5
  34. package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
  35. package/dist/boilerplates/@batijs/fastify/bati.config.js +8 -5
  36. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
  37. package/dist/boilerplates/@batijs/google-analytics/bati.config.js +5 -5
  38. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
  39. package/dist/boilerplates/@batijs/h3/bati.config.js +8 -5
  40. package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
  41. package/dist/boilerplates/@batijs/hono/bati.config.js +8 -5
  42. package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
  43. package/dist/boilerplates/@batijs/mantine/bati.config.js +8 -5
  44. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
  45. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
  46. package/dist/boilerplates/@batijs/oxlint/bati.config.js +5 -5
  47. package/dist/boilerplates/@batijs/oxlint/files/$package.json.js +1 -1
  48. package/dist/boilerplates/@batijs/photon/bati.config.js +5 -5
  49. package/dist/boilerplates/@batijs/photon/files/$README.md.js +1 -1
  50. package/dist/boilerplates/@batijs/photon/files/$package.json.js +1 -1
  51. package/dist/boilerplates/@batijs/plausible.io/bati.config.js +5 -5
  52. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -1
  53. package/dist/boilerplates/@batijs/pnpm/bati.config.js +5 -5
  54. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
  55. package/dist/boilerplates/@batijs/prettier/bati.config.js +8 -5
  56. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
  57. package/dist/boilerplates/@batijs/prisma/bati.config.js +8 -5
  58. package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
  59. package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +1 -1
  60. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
  61. package/dist/boilerplates/@batijs/react/bati.config.js +8 -5
  62. package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
  63. package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -1
  64. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
  65. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
  66. package/dist/boilerplates/@batijs/react-sentry/bati.config.js +5 -5
  67. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
  68. package/dist/boilerplates/@batijs/sentry/bati.config.js +5 -5
  69. package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
  70. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -1
  71. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +1 -1
  72. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -1
  73. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
  74. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
  75. package/dist/boilerplates/@batijs/shadcn-ui/bati.config.js +5 -5
  76. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
  77. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
  78. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
  79. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
  80. package/dist/boilerplates/@batijs/shared/bati.config.js +10 -6
  81. package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
  82. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +1 -1
  83. package/dist/boilerplates/@batijs/shared-db/bati.config.js +5 -5
  84. package/dist/boilerplates/@batijs/shared-server/bati.config.js +5 -5
  85. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
  86. package/dist/boilerplates/@batijs/shared-todo/bati.config.js +5 -5
  87. package/dist/boilerplates/@batijs/solid/bati.config.js +5 -5
  88. package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
  89. package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
  90. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
  91. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -1
  92. package/dist/boilerplates/@batijs/solid-sentry/bati.config.js +5 -5
  93. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
  94. package/dist/boilerplates/@batijs/sqlite/bati.config.js +5 -5
  95. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
  96. package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +1 -1
  97. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
  98. package/dist/boilerplates/@batijs/tailwindcss/bati.config.js +10 -5
  99. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
  100. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
  101. package/dist/boilerplates/@batijs/telefunc/bati.config.js +5 -5
  102. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
  103. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
  104. package/dist/boilerplates/@batijs/trpc/bati.config.js +5 -5
  105. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
  106. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +2 -2
  107. package/dist/boilerplates/@batijs/ts-rest/bati.config.js +8 -5
  108. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
  109. package/dist/boilerplates/@batijs/vercel/bati.config.js +9 -5
  110. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
  111. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
  112. package/dist/boilerplates/@batijs/vue/bati.config.js +8 -5
  113. package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
  114. package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -1
  115. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
  116. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
  117. package/dist/boilerplates/@batijs/vue-sentry/bati.config.js +5 -5
  118. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
  119. package/dist/{chunk-ZGTQTIS7.js → chunk-QROV3BVS.js} +1 -1
  120. package/dist/index.js +93 -11
  121. package/package.json +5 -5
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  gSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -1,13 +1,13 @@
1
1
  // ../../packages/core/dist/config.js
2
- function t(e, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
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, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
10
+ var bati_config_default = p({
11
11
  if(meta) {
12
12
  return meta.BATI.hasServer;
13
13
  }
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -1,13 +1,13 @@
1
1
  // ../../packages/core/dist/config.js
2
- function t(e, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
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, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
10
+ var bati_config_default = p({
11
11
  if(meta) {
12
12
  return meta.BATI.has("solid");
13
13
  }
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  gSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  ySs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  TSs,
7
7
  pri
8
- } from "../../../../chunk-ZGTQTIS7.js";
8
+ } from "../../../../chunk-QROV3BVS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-IHX3I5SM.js";
11
11
 
@@ -1,13 +1,13 @@
1
1
  // ../../packages/core/dist/config.js
2
- function t(e, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
10
+ var bati_config_default = p({
11
11
  if(meta) {
12
12
  return meta.BATI.has("solid") && meta.BATI.has("sentry");
13
13
  }
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -1,13 +1,13 @@
1
1
  // ../../packages/core/dist/config.js
2
- function t(e, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
10
+ var bati_config_default = p({
11
11
  if(meta) {
12
12
  return meta.BATI.has("sqlite") && !meta.BATI.has("cloudflare");
13
13
  },
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  r9s
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  Nus,
7
7
  gSs
8
- } from "../../../../chunk-ZGTQTIS7.js";
8
+ } from "../../../../chunk-QROV3BVS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-IHX3I5SM.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -1,15 +1,20 @@
1
1
  // ../../packages/core/dist/config.js
2
- function t(e, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
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 {
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  TSs,
7
7
  pri
8
- } from "../../../../chunk-ZGTQTIS7.js";
8
+ } from "../../../../chunk-QROV3BVS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-IHX3I5SM.js";
11
11
 
@@ -1,13 +1,13 @@
1
1
  // ../../packages/core/dist/config.js
2
- function t(e, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
10
+ var bati_config_default = p({
11
11
  if(meta) {
12
12
  return meta.BATI.has("telefunc");
13
13
  }
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  TSs,
7
7
  pri
8
- } from "../../../../chunk-ZGTQTIS7.js";
8
+ } from "../../../../chunk-QROV3BVS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-IHX3I5SM.js";
11
11
 
@@ -1,13 +1,13 @@
1
1
  // ../../packages/core/dist/config.js
2
- function t(e, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
10
+ var bati_config_default = p({
11
11
  if(meta) {
12
12
  return meta.BATI.has("trpc");
13
13
  }
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -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<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
5
+ db: ReturnType<any>;
6
6
  } & {
7
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
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, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
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 {
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -1,15 +1,19 @@
1
1
  // ../../packages/core/dist/config.js
2
- function t(e, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
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 {
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  TSs
7
- } from "../../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -1,15 +1,18 @@
1
1
  // ../../packages/core/dist/config.js
2
- function t(e, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
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 {
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  gSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  ySs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  TSs,
7
7
  pri
8
- } from "../../../../chunk-ZGTQTIS7.js";
8
+ } from "../../../../chunk-QROV3BVS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-IHX3I5SM.js";
11
11
 
@@ -1,13 +1,13 @@
1
1
  // ../../packages/core/dist/config.js
2
- function t(e, r) {
3
- if (!e) throw new Error(r);
2
+ function t(e, n) {
3
+ if (!e) throw new Error(n);
4
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"), "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 = i({
10
+ var bati_config_default = p({
11
11
  if(meta) {
12
12
  return meta.BATI.has("vue") && meta.BATI.has("sentry");
13
13
  }
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  bSs
7
- } from "../../../../chunk-ZGTQTIS7.js";
7
+ } from "../../../../chunk-QROV3BVS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-IHX3I5SM.js";
10
10
 
@@ -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.540", 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/"] };
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
  }