@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
@@ -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("auth0");
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
 
@@ -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
  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
 
@@ -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("authjs") || meta.BATI.has("auth0");
13
+ },
14
+ knip: {
15
+ entry: ["server/authjs-handler.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,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("aws");
13
13
  },
@@ -19,7 +19,12 @@ var bati_config_default = i({
19
19
  }
20
20
  ];
21
21
  },
22
- enforce: "post"
22
+ enforce: "post",
23
+ knip: {
24
+ entry: ["entry_aws_lambda.ts", "cdk/lib/vike-stack.ts", "tests/aws_handler.spec.ts"],
25
+ ignore: ["cdk.out/**"],
26
+ ignoreDependencies: ["aws-cdk", "cdk", "esbuild", "npm-run-all2"]
27
+ }
23
28
  });
24
29
  export {
25
30
  bati_config_default as default
@@ -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
 
@@ -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
 
@@ -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("biome");
13
+ },
14
+ knip: {
15
+ ignoreDependencies: ["@biomejs/biome"]
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("cloudflare");
13
13
  },
@@ -19,7 +19,11 @@ var bati_config_default = i({
19
19
  }
20
20
  ];
21
21
  },
22
- enforce: "post"
22
+ enforce: "post",
23
+ knip: {
24
+ entry: ["cloudflare-entry.ts"],
25
+ ignoreDependencies: ["wrangler", "cloudflare", "@photonjs/cloudflare"]
26
+ }
23
27
  });
24
28
  export {
25
29
  bati_config_default as default
@@ -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
 
@@ -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("compiled-css");
13
+ },
14
+ knip: {
15
+ ignore: ["vite.config.ts"],
16
+ ignoreDependencies: ["@compiled/react", "@vitejs/plugin-react", "vite-plugin-compiled-react"],
17
+ vite: false
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.hasD1;
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
 
@@ -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.hasD1 && meta.BATI.has("sqlite");
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("drizzle");
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,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("eslint");
13
+ },
14
+ knip: {
15
+ ignoreDependencies: ["eslint"]
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,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("express");
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,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("fastify");
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,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("google-analytics");
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
 
@@ -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("h3");
13
+ },
14
+ knip: {
15
+ entry: ["server/entry.ts"]
13
16
  }
14
17
  });
15
18
  export {