@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
  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,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("hono");
13
+ },
14
+ knip: {
15
+ entry: ["server/entry.ts"]
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,16 +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
  enforce: "post",
12
12
  if(meta) {
13
13
  return meta.BATI.has("mantine") && meta.BATI.has("react");
14
+ },
15
+ knip: {
16
+ ignoreDependencies: ["postcss"]
14
17
  }
15
18
  });
16
19
  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
 
@@ -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("oxlint");
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.hasPhoton;
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
 
@@ -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("plausible.io");
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
 
@@ -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: "post",
12
12
  if(_, pm) {
13
13
  return pm === "pnpm";
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  SSs
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("prettier");
13
+ },
14
+ knip: {
15
+ ignoreDependencies: ["prettier", "eslint-config-prettier"]
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,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("prisma");
13
13
  },
@@ -22,6 +22,9 @@ var bati_config_default = i({
22
22
  step: `Then follow instructions at https://www.prisma.io/docs/getting-started/prisma-orm/quickstart/prisma-postgres`
23
23
  }
24
24
  ];
25
+ },
26
+ knip: {
27
+ ignoreDependencies: ["@prisma/client", "prisma"]
25
28
  }
26
29
  });
27
30
  export {
@@ -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,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("react");
13
+ },
14
+ knip: {
15
+ ignoreDependencies: ["react-dom", "@types/react-dom"]
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("react") && 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("sentry");
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
  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
 
@@ -6,7 +6,7 @@ import {
6
6
  TSs,
7
7
  Unr,
8
8
  pri
9
- } from "../../../../chunk-ZGTQTIS7.js";
9
+ } from "../../../../chunk-QROV3BVS.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
11
  import "../../../../chunk-IHX3I5SM.js";
12
12
 
@@ -7,7 +7,7 @@ import {
7
7
  Z5,
8
8
  jme,
9
9
  yK
10
- } from "../../../../../chunk-ZGTQTIS7.js";
10
+ } from "../../../../../chunk-QROV3BVS.js";
11
11
  import "../../../../../chunk-IAWYWZSL.js";
12
12
  import "../../../../../chunk-IHX3I5SM.js";
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.has("shadcn-ui");
13
13
  }
@@ -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
 
@@ -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
  Mnr,
7
7
  TSs
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,14 +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({
11
- enforce: "pre"
10
+ var bati_config_default = p({
11
+ enforce: "pre",
12
+ knip: {
13
+ ignore: ["*.spec.ts"],
14
+ ignoreDependencies: ["@batijs/tests-utils", "turbo", "photon"]
15
+ }
12
16
  });
13
17
  export {
14
18
  bati_config_default as default
@@ -6,7 +6,7 @@ import {
6
6
  Z7s,
7
7
  e9s,
8
8
  gSs
9
- } from "../../../../chunk-ZGTQTIS7.js";
9
+ } from "../../../../chunk-QROV3BVS.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
11
  import "../../../../chunk-IHX3I5SM.js";
12
12