@batijs/cli 0.0.529 → 0.0.530

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 (105) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +1 -1
  2. package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -1
  3. package/dist/boilerplates/@batijs/auth0/files/$wrangler.jsonc.js +1 -1
  4. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -2
  5. package/dist/boilerplates/@batijs/authjs/files/server/authjs-handler.ts +2 -4
  6. package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -1
  7. package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +1 -1
  8. package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
  9. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
  10. package/dist/boilerplates/@batijs/biome/files/$biome.json.js +10 -3
  11. package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
  12. package/dist/boilerplates/@batijs/cloudflare/files/$TODO.md.js +1 -1
  13. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +4 -5
  14. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +1 -1
  15. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
  16. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
  17. package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +1 -1
  18. package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -2
  19. package/dist/boilerplates/@batijs/d1/files/$wrangler.jsonc.js +1 -1
  20. package/dist/boilerplates/@batijs/d1/files/database/d1/helpers.ts +0 -1
  21. package/dist/boilerplates/@batijs/d1/files/global.d.ts +3 -8
  22. package/dist/boilerplates/@batijs/d1/types/database/d1/helpers.d.ts +0 -1
  23. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -2
  24. package/dist/boilerplates/@batijs/d1-sqlite/files/database/d1/queries/todos.ts +0 -2
  25. package/dist/boilerplates/@batijs/d1-sqlite/types/database/d1/queries/todos.d.ts +1 -2
  26. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
  27. package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +1 -1
  28. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -1
  29. package/dist/boilerplates/@batijs/drizzle/files/database/drizzle/db.ts +0 -1
  30. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/db.d.ts +0 -1
  31. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
  32. package/dist/boilerplates/@batijs/eslint/files/eslint.config.ts +2 -0
  33. package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
  34. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
  35. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
  36. package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
  37. package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -2
  38. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
  39. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
  40. package/dist/boilerplates/@batijs/photon/files/$README.md.js +1 -1
  41. package/dist/boilerplates/@batijs/photon/files/$package.json.js +1 -1
  42. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -1
  43. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
  44. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
  45. package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
  46. package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +1 -1
  47. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
  48. package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
  49. package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -1
  50. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
  51. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
  52. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
  53. package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
  54. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -1
  55. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +1 -1
  56. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -1
  57. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
  58. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
  59. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
  60. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
  61. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
  62. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
  63. package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
  64. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +1 -1
  65. package/dist/boilerplates/@batijs/shared-db/files/server/db-middleware.ts +0 -1
  66. package/dist/boilerplates/@batijs/shared-db/types/server/db-middleware.d.ts +0 -1
  67. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -2
  68. package/dist/boilerplates/@batijs/shared-server/files/server/create-todo-handler.ts +0 -1
  69. package/dist/boilerplates/@batijs/shared-server/types/server/create-todo-handler.d.ts +0 -1
  70. package/dist/boilerplates/@batijs/shared-todo/files/global.d.ts +1 -2
  71. package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.ts +1 -3
  72. package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
  73. package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
  74. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
  75. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -1
  76. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
  77. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
  78. package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +1 -1
  79. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
  80. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
  81. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
  82. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -2
  83. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
  84. package/dist/boilerplates/@batijs/telefunc/files/global.d.ts +4 -1
  85. package/dist/boilerplates/@batijs/telefunc/files/server/telefunc-handler.ts +0 -1
  86. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -2
  87. package/dist/boilerplates/@batijs/trpc/files/server/trpc-handler.ts +0 -1
  88. package/dist/boilerplates/@batijs/trpc/files/trpc/server.ts +0 -1
  89. package/dist/boilerplates/@batijs/trpc/types/server/trpc-handler.d.ts +1 -1
  90. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +4 -4
  91. package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.ts +0 -1
  92. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -2
  93. package/dist/boilerplates/@batijs/ts-rest/files/server/ts-rest-handler.ts +0 -1
  94. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
  95. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
  96. package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
  97. package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -1
  98. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
  99. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
  100. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
  101. package/dist/{chunk-F525H6YP.js → chunk-L2AHUKWS.js} +3 -3
  102. package/dist/index.js +9 -2
  103. package/package.json +5 -5
  104. package/dist/boilerplates/@batijs/cloudflare/files/worker-configuration.d.ts +0 -1
  105. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +0 -19
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  UMs
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  t1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  r1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,7 +52,6 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@auth/core": "^0.41.1",
54
54
  "@batijs/compile": "workspace:*",
55
- "@cloudflare/workers-types": "^4.20251125.0",
56
55
  "@types/node": "^20.19.25",
57
56
  "@universal-middleware/core": "^0.4.13"
58
57
  },
@@ -1,5 +1,3 @@
1
- //# BATI.has("cloudflare")
2
- /// <reference types="@cloudflare/workers-types" />
3
1
  import { env as cloudflareEnv } from "cloudflare:workers";
4
2
  import { Auth, type AuthConfig, createActionURL, setEnvDefaults } from "@auth/core";
5
3
  import Auth0 from "@auth/core/providers/auth0";
@@ -8,8 +6,8 @@ import type { Session } from "@auth/core/types";
8
6
  import { enhance, type UniversalHandler, type UniversalMiddleware } from "@universal-middleware/core";
9
7
 
10
8
  //# BATI.has("auth0")
11
- const env: Record<string, string | undefined> = BATI.has("cloudflare")
12
- ? (cloudflareEnv as Record<string, string | undefined>)
9
+ const env: BATI.If<{ '!BATI.has("cloudflare")': Record<string, string | undefined> }> = BATI.has("cloudflare")
10
+ ? (cloudflareEnv as BATI.Any)
13
11
  : typeof process?.env !== "undefined"
14
12
  ? process.env
15
13
  : import.meta && "env" in import.meta
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  t1s,
7
7
  xas
8
- } from "../../../../chunk-F525H6YP.js";
8
+ } from "../../../../chunk-L2AHUKWS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  t1s,
7
7
  xas
8
- } from "../../../../chunk-F525H6YP.js";
8
+ } from "../../../../chunk-L2AHUKWS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  r1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,7 +51,13 @@ async function getBiomeJson(props) {
51
51
  }
52
52
  });
53
53
  }
54
+ additionalConfig.files ??= {};
55
+ additionalConfig.files.includes ??= [];
56
+ if (props.meta.BATI.has("cloudflare")) {
57
+ additionalConfig.files.includes.push("!worker-configuration.d.ts");
58
+ }
54
59
  return {
60
+ ...additionalConfig,
55
61
  $schema: "./node_modules/@biomejs/biome/configuration_schema.json",
56
62
  formatter: {
57
63
  indentStyle: "space"
@@ -65,6 +71,7 @@ async function getBiomeJson(props) {
65
71
  ...additionalLinter
66
72
  },
67
73
  files: {
74
+ ...additionalConfig.files,
68
75
  includes: [
69
76
  "**",
70
77
  "!*.cjs",
@@ -74,15 +81,15 @@ async function getBiomeJson(props) {
74
81
  "!**/*.ts.build-*.mjs",
75
82
  "!dist/*",
76
83
  "!node_modules/*",
77
- "!**/.DS_Store"
84
+ "!**/.DS_Store",
85
+ ...additionalConfig.files.includes
78
86
  ]
79
87
  },
80
88
  vcs: {
81
89
  enabled: true,
82
90
  clientKind: "git",
83
91
  useIgnoreFile: true
84
- },
85
- ...additionalConfig
92
+ }
86
93
  };
87
94
  }
88
95
  export {
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  t1s,
7
7
  xas
8
- } from "../../../../chunk-F525H6YP.js";
8
+ } from "../../../../chunk-L2AHUKWS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,7 +51,6 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@cloudflare/workers-types": "^4.20251125.0",
55
54
  "@photonjs/cloudflare": "^0.1.8",
56
55
  "@types/node": "^20.19.25",
57
56
  wrangler: "^4.50.0"
@@ -83,11 +82,11 @@ async function getPackageJson(props) {
83
82
  value: "vike build && wrangler deploy",
84
83
  precedence: 25,
85
84
  warnIfReplaced: true
86
- }).setScript("cf-typegen", {
85
+ }).setScript("generate-types", {
87
86
  value: "wrangler types",
88
- precedence: 25,
87
+ precedence: 0,
89
88
  warnIfReplaced: true
90
- }).addDevDependencies(["@cloudflare/workers-types", "wrangler"]).addDependencies(["@photonjs/cloudflare"]);
89
+ }).addDevDependencies(["wrangler"]).addDependencies(["@photonjs/cloudflare"]);
91
90
  }
92
91
  export {
93
92
  getPackageJson as default
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  r1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  i1s,
7
7
  iQn
8
- } from "../../../../chunk-F525H6YP.js";
8
+ } from "../../../../chunk-L2AHUKWS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  t1s,
7
7
  xas
8
- } from "../../../../chunk-F525H6YP.js";
8
+ } from "../../../../chunk-L2AHUKWS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,7 +51,6 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@cloudflare/workers-types": "^4.20251125.0",
55
54
  "@types/node": "^20.19.25",
56
55
  "@universal-middleware/core": "^0.4.13",
57
56
  vike: "^0.4.247",
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  r1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -1,4 +1,3 @@
1
- import type { D1Database } from "@cloudflare/workers-types";
2
1
  import type { RuntimeAdapter } from "@universal-middleware/core";
3
2
 
4
3
  /**
@@ -1,14 +1,9 @@
1
- import type { D1Database } from "@cloudflare/workers-types";
2
-
3
- // Cloudflare typings
4
- interface Env {
5
- DB: D1Database;
6
- }
7
-
8
1
  declare global {
9
2
  namespace Vike {
10
- interface PageContext {
3
+ interface PageContextServer {
11
4
  env: Env;
12
5
  }
13
6
  }
14
7
  }
8
+
9
+ export {};
@@ -1,4 +1,3 @@
1
- import type { D1Database } from "@cloudflare/workers-types";
2
1
  import type { RuntimeAdapter } from "@universal-middleware/core";
3
2
  /**
4
3
  * Retrieve Cloudflare `env.DB` from `universal-middleware` runtime
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,7 +51,6 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@cloudflare/workers-types": "^4.20251125.0",
55
54
  "@types/node": "^20.19.25",
56
55
  "@universal-middleware/core": "^0.4.13",
57
56
  vike: "^0.4.247"
@@ -1,5 +1,3 @@
1
- import type { D1Database } from "@cloudflare/workers-types";
2
-
3
1
  export function insertTodo(db: D1Database, text: string) {
4
2
  return db.prepare("INSERT INTO todos (text) VALUES (?)").bind(text).run();
5
3
  }
@@ -1,5 +1,4 @@
1
- import type { D1Database } from "@cloudflare/workers-types";
2
- export declare function insertTodo(db: D1Database, text: string): Promise<import("@cloudflare/workers-types").D1Result<Record<string, unknown>>>;
1
+ export declare function insertTodo(db: D1Database, text: string): Promise<D1Result<Record<string, unknown>>>;
3
2
  export declare function getAllTodos(db: D1Database): Promise<{
4
3
  id: number;
5
4
  text: string;
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  UMs
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  t1s,
7
7
  xas
8
- } from "../../../../chunk-F525H6YP.js";
8
+ } from "../../../../chunk-L2AHUKWS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -1,4 +1,3 @@
1
- import type { D1Database } from "@cloudflare/workers-types";
2
1
  import Database from "better-sqlite3";
3
2
  import { drizzle as drizzleSqlite } from "drizzle-orm/better-sqlite3";
4
3
  import { drizzle as drizzleD1 } from "drizzle-orm/d1";
@@ -1,4 +1,3 @@
1
- import type { D1Database } from "@cloudflare/workers-types";
2
1
  import Database from "better-sqlite3";
3
2
  export declare function dbSqlite(): import("drizzle-orm/better-sqlite3").BetterSQLite3Database<Record<string, never>> & {
4
3
  $client: Database.Database;
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -17,6 +17,8 @@ export default tseslint.config(
17
17
  ".vercel/*",
18
18
  //# BATI.has("aws")
19
19
  "cdk.out/*",
20
+ //# BATI.has("cloudflare")
21
+ "worker-configuration.d.ts",
20
22
  // JS files at the root of the project
21
23
  "*.js",
22
24
  "*.cjs",
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  UMs
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,7 +52,6 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@auth/core": "^0.41.1",
54
54
  "@batijs/compile": "workspace:*",
55
- "@cloudflare/workers-types": "^4.20251125.0",
56
55
  "@photonjs/hono": "^0.1.7",
57
56
  "@trpc/server": "^11.7.2",
58
57
  "@types/aws-lambda": "^8.10.159",
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  t1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  t1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  t1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  a1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  UMs
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  t1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  t1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  r1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  i1s,
7
7
  iQn
8
- } from "../../../../chunk-F525H6YP.js";
8
+ } from "../../../../chunk-L2AHUKWS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  n1s
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  UMs
7
- } from "../../../../chunk-F525H6YP.js";
7
+ } from "../../../../chunk-L2AHUKWS.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  t1s,
7
7
  xas
8
- } from "../../../../chunk-F525H6YP.js";
8
+ } from "../../../../chunk-L2AHUKWS.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11