@batijs/cli 0.0.431 → 0.0.433

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 (88) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$README.md.js +3 -3
  3. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +3 -3
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +8 -8
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/biome/files/$package.json.js +3 -3
  8. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +6 -6
  9. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
  10. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +5 -5
  11. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
  12. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  13. package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
  14. package/dist/boilerplates/@batijs/d1/files/$package.json.js +5 -5
  15. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  16. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
  17. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +4 -4
  18. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  19. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
  20. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +4 -4
  21. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +3 -3
  22. package/dist/boilerplates/@batijs/express/files/$package.json.js +6 -6
  23. package/dist/boilerplates/@batijs/express/files/express-entry.ts +6 -4
  24. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +6 -6
  25. package/dist/boilerplates/@batijs/fastify/files/fastify-entry.ts +6 -4
  26. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
  27. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
  28. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +4 -4
  29. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  30. package/dist/boilerplates/@batijs/h3/files/$package.json.js +7 -7
  31. package/dist/boilerplates/@batijs/h3/files/h3-entry.ts +6 -4
  32. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +6 -6
  33. package/dist/boilerplates/@batijs/hono/files/$package.json.js +7 -7
  34. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  35. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
  36. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
  37. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +5 -5
  38. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  39. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +7 -7
  40. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +3 -3
  41. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  42. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  43. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  44. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +5 -5
  45. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  46. package/dist/boilerplates/@batijs/react/files/$package.json.js +10 -10
  47. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  48. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  49. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +6 -6
  50. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  51. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  52. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +5 -5
  53. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  54. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  55. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  56. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -6
  57. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  58. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  59. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  60. package/dist/boilerplates/@batijs/shared/files/package.json +1 -1
  61. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +5 -5
  62. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  63. package/dist/boilerplates/@batijs/solid/files/$package.json.js +6 -6
  64. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  65. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  66. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
  67. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  68. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  69. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +4 -4
  70. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +7 -7
  71. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  72. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +5 -5
  73. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  74. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +7 -7
  75. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +3 -3
  76. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +5 -5
  77. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +4 -4
  78. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  79. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  80. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
  81. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  82. package/dist/boilerplates/@batijs/vue/files/$package.json.js +5 -5
  83. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  84. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  85. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +5 -5
  86. package/dist/{chunk-CCOT7KWB.js → chunk-EECDILJA.js} +47820 -47695
  87. package/dist/index.js +18 -18
  88. package/package.json +6 -6
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- cZs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ aZs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -14,9 +14,9 @@ async function getEnv(props) {
14
14
  const auth0ClientSecret = process.env.TEST_AUTH0_CLIENT_SECRET;
15
15
  const auth0BaseUrl = process.env.TEST_AUTH0_ISSUER_BASE_URL;
16
16
  let envContent = await props.readfile?.();
17
- envContent = cZs(envContent, "AUTH0_CLIENT_ID", auth0ClientId ?? "", "Auth0 Client ID");
18
- envContent = cZs(envContent, "AUTH0_CLIENT_SECRET", auth0ClientSecret ?? "", "Auth0 Client Secret");
19
- envContent = cZs(envContent, "AUTH0_ISSUER_BASE_URL", auth0BaseUrl ?? "", "Auth0 base URL");
17
+ envContent = aZs(envContent, "AUTH0_CLIENT_ID", auth0ClientId ?? "", "Auth0 Client ID");
18
+ envContent = aZs(envContent, "AUTH0_CLIENT_SECRET", auth0ClientSecret ?? "", "Auth0 Client Secret");
19
+ envContent = aZs(envContent, "AUTH0_ISSUER_BASE_URL", auth0BaseUrl ?? "", "Auth0 base URL");
20
20
  return envContent;
21
21
  }
22
22
  export {
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- KQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ JQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/auth0/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await KQs(props);
13
+ const content = await JQs(props);
14
14
  const todo = `
15
15
  ## *Auth0*
16
16
  - Sign up or login to an Auth0 account, then go to [your Dashboard](https://manage.auth0.com/dashboard/)
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -87,7 +87,7 @@ var require_package = __commonJS({
87
87
  }
88
88
  });
89
89
  async function getPackageJson(props) {
90
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
90
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
91
  return packageJson.addDependencies(["@auth/core", "@universal-middleware/core"]);
92
92
  }
93
93
  export {
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- KQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ JQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/aws/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await KQs(props);
13
+ const content = await JQs(props);
14
14
  const todo = `
15
15
  ## *AWS CDK Deployment*
16
16
 
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -53,14 +53,14 @@ var require_package = __commonJS({
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@types/node": "^18.19.87",
55
55
  "@types/which": "^3.0.4",
56
- "aws-cdk": "^2.1012.0",
57
- "aws-cdk-lib": "^2.192.0",
58
- cdk: "^2.1012.0",
56
+ "aws-cdk": "^2.1013.0",
57
+ "aws-cdk-lib": "^2.194.0",
58
+ cdk: "^2.1013.0",
59
59
  constructs: "^10.4.2",
60
60
  esbuild: "^0.25.3",
61
- "npm-run-all2": "^7.0.2",
61
+ "npm-run-all2": "^8.0.1",
62
62
  "source-map-support": "^0.5.21",
63
- tsx: "^4.19.3",
63
+ tsx: "^4.19.4",
64
64
  typescript: "^5.8.3",
65
65
  vitest: "^3.1.2",
66
66
  which: "^5.0.0"
@@ -111,7 +111,7 @@ var require_package = __commonJS({
111
111
  }
112
112
  });
113
113
  async function getPackageJson(props) {
114
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
114
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
115
115
  return packageJson.setScript("test", {
116
116
  value: "vitest",
117
117
  precedence: 0
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- HQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ $Qs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/aws/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await HQs(props);
13
+ const tsConfig = await $Qs(props);
14
14
  tsConfig.compilerOptions.types = [
15
15
  ...tsConfig.compilerOptions.types ?? [],
16
16
  "@types/node",
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -69,7 +69,7 @@ var require_package = __commonJS({
69
69
  }
70
70
  });
71
71
  async function getPackageJson(props) {
72
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
72
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
73
73
  return packageJson.setScript("lint", {
74
74
  value: "biome lint --write .",
75
75
  precedence: 0
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,12 +51,12 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@cloudflare/workers-types": "^4.20250428.0",
54
+ "@cloudflare/workers-types": "^4.20250505.0",
55
55
  "@hattip/adapter-cloudflare-workers": "^0.0.49",
56
56
  "@types/node": "^18.19.87",
57
- "npm-run-all2": "^7.0.2",
57
+ "npm-run-all2": "^8.0.1",
58
58
  "vike-cloudflare": "^0.1.7",
59
- wrangler: "^4.13.2"
59
+ wrangler: "^4.14.1"
60
60
  },
61
61
  dependencies: {
62
62
  "@batijs/core": "workspace:*"
@@ -86,7 +86,7 @@ var require_package = __commonJS({
86
86
  }
87
87
  });
88
88
  async function getPackageJson(props) {
89
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
89
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
90
90
  return packageJson.setScript("preview:wrangler", {
91
91
  value: "wrangler pages dev",
92
92
  precedence: 40,
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- HQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ $Qs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/cloudflare/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await HQs(props);
13
+ const tsConfig = await $Qs(props);
14
14
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-cloudflare/types"];
15
15
  return tsConfig;
16
16
  }
@@ -3,15 +3,15 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- QQs,
7
- yvs
8
- } from "../../../../chunk-CCOT7KWB.js";
6
+ KQs,
7
+ mvs
8
+ } from "../../../../chunk-EECDILJA.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/cloudflare/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await QQs(props);
14
+ const mod = await KQs(props);
15
15
  let options = void 0;
16
16
  if (props.meta.BATI.has("hattip") || props.meta.BATI.has("hono")) {
17
17
  options = {
@@ -21,7 +21,7 @@ async function getViteConfig(props) {
21
21
  }
22
22
  };
23
23
  }
24
- yvs(mod, {
24
+ mvs(mod, {
25
25
  from: "vike-cloudflare",
26
26
  constructor: "pages",
27
27
  imported: "pages",
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,7 +52,7 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@types/node": "^18.19.87",
55
- vite: "^6.3.3",
55
+ vite: "^6.3.5",
56
56
  "vite-plugin-compiled-react": "^1.3.1"
57
57
  },
58
58
  dependencies: {
@@ -71,7 +71,7 @@ var require_package = __commonJS({
71
71
  }
72
72
  });
73
73
  async function getPackageJson(props) {
74
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
74
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
75
75
  return packageJson.addDevDependencies(["vite-plugin-compiled-react"]).addDependencies(["@compiled/react"]);
76
76
  }
77
77
  export {
@@ -3,16 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- QQs,
7
- yvs
8
- } from "../../../../chunk-CCOT7KWB.js";
6
+ KQs,
7
+ mvs
8
+ } from "../../../../chunk-EECDILJA.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/compiled/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await QQs(props);
15
- yvs(mod, {
14
+ const mod = await KQs(props);
15
+ mvs(mod, {
16
16
  from: "vite-plugin-compiled-react",
17
17
  constructor: "compiled",
18
18
  imported: "compiled",
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- KQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ JQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/d1/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await KQs(props);
13
+ const content = await JQs(props);
14
14
  const todo = `
15
15
  ## *Cloudflare D1*
16
16
 
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,11 +51,11 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@cloudflare/workers-types": "^4.20250428.0",
54
+ "@cloudflare/workers-types": "^4.20250505.0",
55
55
  "@types/node": "^18.19.87",
56
56
  "@universal-middleware/core": "^0.4.7",
57
57
  vike: "^0.4.229",
58
- wrangler: "^4.13.2"
58
+ wrangler: "^4.14.1"
59
59
  },
60
60
  dependencies: {
61
61
  "@batijs/core": "workspace:*"
@@ -92,7 +92,7 @@ var require_package = __commonJS({
92
92
  }
93
93
  });
94
94
  async function getPackageJson(props) {
95
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
96
  return packageJson.addDevDependencies(["@universal-middleware/core"]);
97
97
  }
98
98
  export {
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- HQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ $Qs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/d1/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await HQs(props);
13
+ const tsConfig = await $Qs(props);
14
14
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "@cloudflare/workers-types"];
15
15
  return tsConfig;
16
16
  }
@@ -2,7 +2,7 @@
2
2
  import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
- import "../../../../chunk-CCOT7KWB.js";
5
+ import "../../../../chunk-EECDILJA.js";
6
6
  import "../../../../chunk-QY4H25CP.js";
7
7
  import "../../../../chunk-DHZ7AZKP.js";
8
8
 
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,7 +51,7 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@cloudflare/workers-types": "^4.20250428.0",
54
+ "@cloudflare/workers-types": "^4.20250505.0",
55
55
  "@types/node": "^18.19.87",
56
56
  "@universal-middleware/core": "^0.4.7",
57
57
  vike: "^0.4.229"
@@ -94,7 +94,7 @@ var require_package = __commonJS({
94
94
  }
95
95
  });
96
96
  async function getPackageJson(props) {
97
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
98
98
  return packageJson.setScript("d1:migrate", {
99
99
  value: "wrangler d1 migrations apply YOUR_DATABASE_NAME --local",
100
100
  precedence: 0
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- cZs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ aZs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -12,7 +12,7 @@ import "../../../../chunk-DHZ7AZKP.js";
12
12
  async function getEnv(props) {
13
13
  if (props.meta.BATI.hasD1) return;
14
14
  const envContent = await props.readfile?.();
15
- return cZs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
15
+ return aZs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
16
16
  }
17
17
  export {
18
18
  getEnv as default
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- KQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ JQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/drizzle/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await KQs(props);
13
+ const content = await JQs(props);
14
14
  const todo = `
15
15
  ## *Drizzle*
16
16
 
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -55,7 +55,7 @@ var require_package = __commonJS({
55
55
  "@types/node": "^18.19.87",
56
56
  "better-sqlite3": "^11.9.1",
57
57
  dotenv: "^16.5.0",
58
- "drizzle-kit": "^0.31.0",
58
+ "drizzle-kit": "^0.31.1",
59
59
  "drizzle-orm": "^0.43.1"
60
60
  },
61
61
  dependencies: {
@@ -115,7 +115,7 @@ var require_package = __commonJS({
115
115
  }
116
116
  });
117
117
  async function getPackageJson(props) {
118
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
118
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
119
119
  return packageJson.setScript("drizzle:generate", {
120
120
  value: "drizzle-kit generate",
121
121
  precedence: 20
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -89,7 +89,7 @@ var require_package = __commonJS({
89
89
  }
90
90
  });
91
91
  async function getPackageJson(props) {
92
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
93
  return packageJson.setScript("lint", {
94
94
  value: "eslint .",
95
95
  precedence: 0
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,7 +52,7 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@auth/core": "^0.39.0",
54
54
  "@batijs/compile": "workspace:*",
55
- "@trpc/server": "^11.1.1",
55
+ "@trpc/server": "^11.1.2",
56
56
  "@types/express": "^4.17.21",
57
57
  "@types/node": "^18.19.87",
58
58
  "@universal-middleware/express": "^0.4.15",
@@ -60,9 +60,9 @@ var require_package = __commonJS({
60
60
  dotenv: "^16.5.0",
61
61
  express: "^4.21.2",
62
62
  telefunc: "^0.2.5",
63
- tsx: "^4.19.3",
63
+ tsx: "^4.19.4",
64
64
  vike: "^0.4.229",
65
- vite: "^6.3.3"
65
+ vite: "^6.3.5"
66
66
  },
67
67
  dependencies: {
68
68
  "@batijs/core": "workspace:*"
@@ -91,7 +91,7 @@ var require_package = __commonJS({
91
91
  }
92
92
  });
93
93
  async function getPackageJson(props) {
94
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
95
  return packageJson.setScript("dev", {
96
96
  value: "tsx ./express-entry.ts",
97
97
  precedence: 20,
@@ -27,6 +27,7 @@ import { createHandler, createMiddleware } from "@universal-middleware/express";
27
27
  import { dbMiddleware } from "@batijs/shared-db/server/db-middleware";
28
28
  import express from "express";
29
29
  import { trpcHandler } from "@batijs/trpc/server/trpc-handler";
30
+ import { createDevMiddleware } from "vike";
30
31
 
31
32
  const __filename = fileURLToPath(import.meta.url);
32
33
  const __dirname = dirname(__filename);
@@ -45,13 +46,14 @@ async function startServer() {
45
46
  // Instantiate Vite's development server and integrate its middleware to our server.
46
47
  // ⚠️ We should instantiate it *only* in development. (It isn't needed in production
47
48
  // and would unnecessarily bloat our server in production.)
48
- const vite = await import("vite");
49
49
  const viteDevMiddleware = (
50
- await vite.createServer({
50
+ await createDevMiddleware({
51
51
  root,
52
- server: { middlewareMode: true, hmr: { port: hmrPort } },
52
+ viteConfig: {
53
+ server: { hmr: { port: hmrPort } },
54
+ },
53
55
  })
54
- ).middlewares;
56
+ ).devMiddleware;
55
57
  app.use(viteDevMiddleware);
56
58
  }
57
59
 
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- XQs
7
- } from "../../../../chunk-CCOT7KWB.js";
6
+ GQs
7
+ } from "../../../../chunk-EECDILJA.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -54,7 +54,7 @@ var require_package = __commonJS({
54
54
  "@batijs/compile": "workspace:*",
55
55
  "@fastify/middie": "^9.0.3",
56
56
  "@fastify/static": "^8.1.1",
57
- "@trpc/server": "^11.1.1",
57
+ "@trpc/server": "^11.1.2",
58
58
  "@types/express": "^4.17.21",
59
59
  "@types/node": "^18.19.87",
60
60
  "@universal-middleware/fastify": "^0.5.17",
@@ -62,9 +62,9 @@ var require_package = __commonJS({
62
62
  dotenv: "^16.5.0",
63
63
  fastify: "^5.3.2",
64
64
  telefunc: "^0.2.5",
65
- tsx: "^4.19.3",
65
+ tsx: "^4.19.4",
66
66
  vike: "^0.4.229",
67
- vite: "^6.3.3"
67
+ vite: "^6.3.5"
68
68
  },
69
69
  dependencies: {
70
70
  "@batijs/core": "workspace:*"
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.setScript("dev", {
98
98
  value: "tsx ./fastify-entry.ts",
99
99
  precedence: 20,
@@ -27,6 +27,7 @@ import Fastify from "fastify";
27
27
  import { createHandler, createMiddleware } from "@universal-middleware/fastify";
28
28
  import { dbMiddleware } from "@batijs/shared-db/server/db-middleware";
29
29
  import { trpcHandler } from "@batijs/trpc/server/trpc-handler";
30
+ import { createDevMiddleware } from "vike";
30
31
 
31
32
  const __filename = fileURLToPath(import.meta.url);
32
33
  const __dirname = dirname(__filename);
@@ -55,13 +56,14 @@ async function startServer() {
55
56
  // Instantiate Vite's development server and integrate its middleware to our server.
56
57
  // ⚠️ We should instantiate it *only* in development. (It isn't needed in production
57
58
  // and would unnecessarily bloat our server in production.)
58
- const vite = await import("vite");
59
59
  const viteDevMiddleware = (
60
- await vite.createServer({
60
+ await createDevMiddleware({
61
61
  root,
62
- server: { middlewareMode: true, hmr: { port: hmrPort } },
62
+ viteConfig: {
63
+ server: { hmr: { port: hmrPort } },
64
+ },
63
65
  })
64
- ).middlewares;
66
+ ).devMiddleware;
65
67
  app.use(viteDevMiddleware);
66
68
  }
67
69