@batijs/cli 0.0.484 → 0.0.486

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 (75) 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 +5 -5
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +7 -7
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/biome/files/$biome.json.js +7 -1
  8. package/dist/boilerplates/@batijs/biome/files/$package.json.js +5 -4
  9. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +4 -4
  10. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +3 -3
  11. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  12. package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
  13. package/dist/boilerplates/@batijs/d1/files/$package.json.js +5 -5
  14. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  15. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +4 -4
  16. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  17. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
  18. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +4 -4
  19. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +6 -6
  20. package/dist/boilerplates/@batijs/express/files/$package.json.js +6 -6
  21. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +6 -6
  22. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  23. package/dist/boilerplates/@batijs/h3/files/$package.json.js +8 -8
  24. package/dist/boilerplates/@batijs/hono/files/$package.json.js +8 -8
  25. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  26. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +5 -5
  27. package/dist/boilerplates/@batijs/photon/files/$README.md.js +3 -3
  28. package/dist/boilerplates/@batijs/photon/files/$package.json.js +4 -4
  29. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
  30. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  31. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  32. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  33. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
  34. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  35. package/dist/boilerplates/@batijs/react/files/$package.json.js +5 -5
  36. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  37. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  38. package/dist/boilerplates/@batijs/react/types/pages/+config.d.ts +3 -2
  39. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +3 -3
  40. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  41. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  42. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +4 -4
  43. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  44. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  45. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  46. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +4 -4
  47. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  48. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  49. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  50. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +4 -4
  51. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  52. package/dist/boilerplates/@batijs/solid/files/$package.json.js +5 -5
  53. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  54. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  55. package/dist/boilerplates/@batijs/solid/types/pages/+config.d.ts +3 -2
  56. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +4 -4
  57. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  58. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  59. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  60. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +4 -4
  61. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  62. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +4 -4
  63. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  64. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +6 -6
  65. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
  66. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +3 -3
  67. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
  68. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  69. package/dist/boilerplates/@batijs/vue/files/$package.json.js +5 -5
  70. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  71. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  72. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +3 -3
  73. package/dist/{chunk-Z5EGY3XR.js → chunk-GMQ5NLEE.js} +94041 -94003
  74. package/dist/index.js +19 -19
  75. 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
- VUs
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ LBs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -15,9 +15,9 @@ async function getEnv(props) {
15
15
  const auth0ClientSecret = process.env.TEST_AUTH0_CLIENT_SECRET;
16
16
  const auth0BaseUrl = process.env.TEST_AUTH0_ISSUER_BASE_URL;
17
17
  let envContent = await props.readfile?.();
18
- envContent = VUs(envContent, "AUTH0_CLIENT_ID", auth0ClientId ?? "", "Auth0 Client ID");
19
- envContent = VUs(envContent, "AUTH0_CLIENT_SECRET", auth0ClientSecret ?? "", "Auth0 Client Secret");
20
- envContent = VUs(envContent, "AUTH0_ISSUER_BASE_URL", auth0BaseUrl ?? "", "Auth0 base URL");
18
+ envContent = LBs(envContent, "AUTH0_CLIENT_ID", auth0ClientId ?? "", "Auth0 Client ID");
19
+ envContent = LBs(envContent, "AUTH0_CLIENT_SECRET", auth0ClientSecret ?? "", "Auth0 Client Secret");
20
+ envContent = LBs(envContent, "AUTH0_ISSUER_BASE_URL", auth0BaseUrl ?? "", "Auth0 base URL");
21
21
  return envContent;
22
22
  }
23
23
  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
- n2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ QEs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.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 n2s(props);
13
+ const content = await QEs(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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -50,11 +50,11 @@ var require_package = __commonJS({
50
50
  author: "",
51
51
  license: "MIT",
52
52
  devDependencies: {
53
- "@auth/core": "^0.41.0",
53
+ "@auth/core": "^0.41.1",
54
54
  "@batijs/compile": "workspace:*",
55
55
  "@cloudflare/workers-types": "^4.20251014.0",
56
56
  "@types/node": "^20.19.21",
57
- "@universal-middleware/core": "^0.4.12"
57
+ "@universal-middleware/core": "^0.4.13"
58
58
  },
59
59
  dependencies: {
60
60
  "@batijs/core": "workspace:*"
@@ -88,7 +88,7 @@ var require_package = __commonJS({
88
88
  }
89
89
  });
90
90
  async function getPackageJson(props) {
91
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ const packageJson = await exs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
92
  return packageJson.addDependencies(["@auth/core", "@universal-middleware/core"]);
93
93
  }
94
94
  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
- n2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ QEs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.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 n2s(props);
13
+ const content = await QEs(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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -53,11 +53,11 @@ var require_package = __commonJS({
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@types/node": "^20.19.21",
55
55
  "@types/which": "^3.0.4",
56
- "aws-cdk": "^2.1031.0",
57
- "aws-cdk-lib": "^2.220.0",
58
- cdk: "^2.1031.0",
56
+ "aws-cdk": "^2.1031.1",
57
+ "aws-cdk-lib": "^2.221.1",
58
+ cdk: "^2.1031.1",
59
59
  constructs: "^10.4.2",
60
- esbuild: "^0.25.11",
60
+ esbuild: "^0.25.12",
61
61
  "npm-run-all2": "^8.0.4",
62
62
  "source-map-support": "^0.5.21",
63
63
  tsx: "^4.20.6",
@@ -111,7 +111,7 @@ var require_package = __commonJS({
111
111
  }
112
112
  });
113
113
  async function getPackageJson(props) {
114
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
114
+ const packageJson = await exs(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
- i2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ ZEs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.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 i2s(props);
13
+ const tsConfig = await ZEs(props);
14
14
  tsConfig.compilerOptions.types = [
15
15
  ...tsConfig.compilerOptions.types ?? [],
16
16
  "@types/node",
@@ -33,6 +33,11 @@ async function getBiomeJson(props) {
33
33
  solid: "recommended"
34
34
  };
35
35
  }
36
+ if (props.meta.BATI.has("tailwindcss")) {
37
+ additionalConfig.css ??= {};
38
+ additionalConfig.css.parser ??= {};
39
+ additionalConfig.css.parser.tailwindDirectives = true;
40
+ }
36
41
  if (props.meta.BATI.has("tailwindcss") || props.meta.BATI.has("shadcn-ui")) {
37
42
  additionalConfig.overrides ??= [];
38
43
  additionalConfig.overrides.push({
@@ -55,7 +60,8 @@ async function getBiomeJson(props) {
55
60
  linter: {
56
61
  enabled: true,
57
62
  rules: {
58
- recommended: true
63
+ recommended: true,
64
+ ...additionalLinter.rules
59
65
  },
60
66
  ...additionalLinter
61
67
  },
@@ -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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,7 +51,8 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@biomejs/biome": "2.2.7",
54
+ "@biomejs/biome": "2.3.2",
55
+ "@biomejs/wasm-nodejs": "^2.3.2",
55
56
  "@types/node": "^20.19.21"
56
57
  },
57
58
  dependencies: {
@@ -69,7 +70,7 @@ var require_package = __commonJS({
69
70
  }
70
71
  });
71
72
  async function getPackageJson(props) {
72
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
73
+ const packageJson = await exs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
73
74
  return packageJson.setScript("lint", {
74
75
  value: "biome lint --write .",
75
76
  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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -54,7 +54,7 @@ var require_package = __commonJS({
54
54
  "@cloudflare/workers-types": "^4.20251014.0",
55
55
  "@photonjs/cloudflare": "^0.1.4",
56
56
  "@types/node": "^20.19.21",
57
- wrangler: "^4.45.0"
57
+ wrangler: "^4.45.3"
58
58
  },
59
59
  dependencies: {
60
60
  "@batijs/core": "workspace:*"
@@ -84,7 +84,7 @@ var require_package = __commonJS({
84
84
  }
85
85
  });
86
86
  async function getPackageJson(props) {
87
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
87
+ const packageJson = await exs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
88
88
  return packageJson.setScript("prod", {
89
89
  value: "vike build && wrangler dev ./dist/server/index.js -c ./dist/server/wrangler.json",
90
90
  precedence: 25,
@@ -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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -71,7 +71,7 @@ var require_package = __commonJS({
71
71
  }
72
72
  });
73
73
  async function getPackageJson(props) {
74
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
74
+ const packageJson = await exs(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
- Tni,
7
- a2s
8
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ lri,
7
+ txs
8
+ } from "../../../../chunk-GMQ5NLEE.js";
9
9
  import "../../../../chunk-IAWYWZSL.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 a2s(props);
15
- Tni(mod, {
14
+ const mod = await txs(props);
15
+ lri(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
- n2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ QEs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.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 n2s(props);
13
+ const content = await QEs(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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -53,9 +53,9 @@ var require_package = __commonJS({
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@cloudflare/workers-types": "^4.20251014.0",
55
55
  "@types/node": "^20.19.21",
56
- "@universal-middleware/core": "^0.4.12",
56
+ "@universal-middleware/core": "^0.4.13",
57
57
  vike: "^0.4.244",
58
- wrangler: "^4.45.0"
58
+ wrangler: "^4.45.3"
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 s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
+ const packageJson = await exs(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
- i2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ ZEs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.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 i2s(props);
13
+ const tsConfig = await ZEs(props);
14
14
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "@cloudflare/workers-types"];
15
15
  return tsConfig;
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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -53,7 +53,7 @@ var require_package = __commonJS({
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@cloudflare/workers-types": "^4.20251014.0",
55
55
  "@types/node": "^20.19.21",
56
- "@universal-middleware/core": "^0.4.12",
56
+ "@universal-middleware/core": "^0.4.13",
57
57
  vike: "^0.4.244"
58
58
  },
59
59
  dependencies: {
@@ -88,7 +88,7 @@ var require_package = __commonJS({
88
88
  }
89
89
  });
90
90
  async function getPackageJson(props) {
91
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ const packageJson = await exs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
92
  return packageJson.setScript("d1:migrate", {
93
93
  value: "wrangler d1 migrations apply YOUR_DATABASE_NAME --local",
94
94
  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
- VUs
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ LBs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.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 VUs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
15
+ return LBs(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
- n2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ QEs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.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 n2s(props);
13
+ const content = await QEs(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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -55,7 +55,7 @@ var require_package = __commonJS({
55
55
  "@types/node": "^20.19.21",
56
56
  "better-sqlite3": "^12.4.1",
57
57
  dotenv: "^17.2.3",
58
- "drizzle-kit": "^0.31.5",
58
+ "drizzle-kit": "^0.31.6",
59
59
  "drizzle-orm": "^0.44.7"
60
60
  },
61
61
  dependencies: {
@@ -103,7 +103,7 @@ var require_package = __commonJS({
103
103
  }
104
104
  });
105
105
  async function getPackageJson(props) {
106
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
106
+ const packageJson = await exs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
107
107
  return packageJson.setScript("drizzle:generate", {
108
108
  value: "drizzle-kit generate",
109
109
  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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,14 +51,14 @@ var require_package = __commonJS({
51
51
  },
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:^",
54
- "@eslint/js": "^9.38.0",
55
- eslint: "^9.38.0",
54
+ "@eslint/js": "^9.39.0",
55
+ eslint: "^9.39.0",
56
56
  "eslint-config-prettier": "^10.1.8",
57
57
  "eslint-plugin-prettier": "^5.5.4",
58
58
  "eslint-plugin-react": "^7.37.5",
59
59
  "eslint-plugin-solid": "^0.14.5",
60
60
  "eslint-plugin-vue": "^10.5.1",
61
- globals: "^16.4.0",
61
+ globals: "^16.5.0",
62
62
  "typescript-eslint": "^8.46.2",
63
63
  "vue-eslint-parser": "^10.2.0"
64
64
  },
@@ -89,7 +89,7 @@ var require_package = __commonJS({
89
89
  }
90
90
  });
91
91
  async function getPackageJson(props) {
92
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ const packageJson = await exs(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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -50,11 +50,11 @@ var require_package = __commonJS({
50
50
  author: "",
51
51
  license: "MIT",
52
52
  devDependencies: {
53
- "@auth/core": "^0.41.0",
53
+ "@auth/core": "^0.41.1",
54
54
  "@batijs/compile": "workspace:*",
55
55
  "@photonjs/express": "^0.1.4",
56
- "@trpc/server": "^11.6.0",
57
- "@types/express": "^5.0.4",
56
+ "@trpc/server": "^11.7.1",
57
+ "@types/express": "^5.0.5",
58
58
  "@types/node": "^20.19.21",
59
59
  dotenv: "^17.2.3",
60
60
  express: "^5.1.0",
@@ -89,7 +89,7 @@ var require_package = __commonJS({
89
89
  }
90
90
  });
91
91
  async function getPackageJson(props) {
92
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ const packageJson = await exs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
93
  return packageJson.addDevDependencies(["@types/express"]).addDependencies(["@photonjs/express", "express", "vite", "vike"]).addDependencies(["dotenv"], props.meta.BATI.has("auth0") || props.meta.BATI.hasDatabase);
94
94
  }
95
95
  export {
@@ -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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -50,11 +50,11 @@ var require_package = __commonJS({
50
50
  author: "",
51
51
  license: "MIT",
52
52
  devDependencies: {
53
- "@auth/core": "^0.41.0",
53
+ "@auth/core": "^0.41.1",
54
54
  "@batijs/compile": "workspace:*",
55
55
  "@photonjs/fastify": "^0.1.4",
56
- "@trpc/server": "^11.6.0",
57
- "@types/express": "^5.0.4",
56
+ "@trpc/server": "^11.7.1",
57
+ "@types/express": "^5.0.5",
58
58
  "@types/node": "^20.19.21",
59
59
  dotenv: "^17.2.3",
60
60
  fastify: "^5.6.1",
@@ -90,7 +90,7 @@ var require_package = __commonJS({
90
90
  }
91
91
  });
92
92
  async function getPackageJson(props) {
93
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
+ const packageJson = await exs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
94
  return packageJson.addDevDependencies(["@types/node"]).addDependencies(["@photonjs/fastify", "fastify", "fastify-raw-body", "vike", "vite"]).addDependencies(["dotenv"], props.meta.BATI.has("auth0") || props.meta.BATI.hasDatabase);
95
95
  }
96
96
  export {
@@ -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
- VUs
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ LBs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/google-analytics/dist/files/$.env.js
12
12
  async function getEnv(props) {
13
13
  const envContent = await props.readfile?.();
14
- return VUs(
14
+ return LBs(
15
15
  envContent,
16
16
  "PUBLIC_ENV__GOOGLE_ANALYTICS",
17
17
  "G-XXXXXXXXXX",
@@ -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
- s2s
7
- } from "../../../../chunk-Z5EGY3XR.js";
6
+ exs
7
+ } from "../../../../chunk-GMQ5NLEE.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -50,18 +50,18 @@ var require_package = __commonJS({
50
50
  author: "",
51
51
  license: "MIT",
52
52
  devDependencies: {
53
- "@auth/core": "^0.41.0",
53
+ "@auth/core": "^0.41.1",
54
54
  "@batijs/compile": "workspace:*",
55
55
  "@photonjs/h3": "^0.1.4",
56
- "@trpc/server": "^11.6.0",
57
- "@types/express": "^5.0.4",
56
+ "@trpc/server": "^11.7.1",
57
+ "@types/express": "^5.0.5",
58
58
  "@types/node": "^20.19.21",
59
- "@universal-middleware/core": "^0.4.12",
59
+ "@universal-middleware/core": "^0.4.13",
60
60
  dotenv: "^17.2.3",
61
61
  h3: "~1.15.4",
62
62
  telefunc: "^0.2.15",
63
63
  vike: "^0.4.244",
64
- "vike-photon": "^0.1.12",
64
+ "vike-photon": "^0.1.13",
65
65
  vite: "^7.1.12"
66
66
  },
67
67
  dependencies: {
@@ -91,7 +91,7 @@ var require_package = __commonJS({
91
91
  }
92
92
  });
93
93
  async function getPackageJson(props) {
94
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
+ const packageJson = await exs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
95
  return packageJson.addDependencies(["h3", "vike", "vite", "@photonjs/h3", "@universal-middleware/core"]).addDependencies(["@auth/core"], props.meta.BATI.has("authjs") || props.meta.BATI.has("auth0")).addDependencies(
96
96
  ["dotenv"],
97
97
  (props.meta.BATI.has("auth0") || props.meta.BATI.hasDatabase) && !props.meta.BATI.has("cloudflare")