@batijs/cli 0.0.321 → 0.0.324

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 +3 -3
  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 +3 -3
  9. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
  10. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +3 -3
  11. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +3 -3
  12. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +3 -3
  13. package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
  14. package/dist/boilerplates/@batijs/d1/files/$package.json.js +3 -3
  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 +3 -3
  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 +3 -3
  21. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
  22. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +3 -3
  23. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +3 -3
  24. package/dist/boilerplates/@batijs/express/files/$package.json.js +3 -3
  25. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +3 -3
  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 +3 -3
  29. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  30. package/dist/boilerplates/@batijs/h3/files/$package.json.js +3 -3
  31. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +3 -3
  32. package/dist/boilerplates/@batijs/hono/files/$package.json.js +3 -3
  33. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +3 -3
  34. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
  35. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
  36. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +3 -3
  37. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  38. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +3 -3
  39. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +3 -3
  40. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  41. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  42. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  43. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
  44. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  45. package/dist/boilerplates/@batijs/react/files/$package.json.js +3 -3
  46. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  47. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +3 -3
  48. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +3 -3
  49. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  50. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  51. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +3 -3
  52. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +5 -5
  53. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +5 -5
  54. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  55. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +3 -3
  56. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  57. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  58. package/dist/boilerplates/@batijs/shared/files/$README.md.js +7 -7
  59. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +3 -3
  60. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  61. package/dist/boilerplates/@batijs/solid/files/$package.json.js +3 -3
  62. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  63. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +3 -3
  64. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +3 -3
  65. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  66. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  67. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  68. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +3 -3
  69. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +3 -3
  70. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +3 -3
  71. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +3 -3
  72. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +12 -12
  73. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +3 -3
  74. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +5 -5
  75. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  76. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +3 -3
  77. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  78. package/dist/boilerplates/@batijs/vue/files/$package.json.js +3 -3
  79. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  80. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +3 -3
  81. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +3 -3
  82. package/dist/chunk-7ZHD2YFR.js +1100 -0
  83. package/dist/{chunk-6MKJ33CI.js → chunk-JICD3X3F.js} +29641 -29634
  84. package/dist/index.js +16 -16
  85. package/dist/{jiti-QYPC42DC-IKOSD6A6.js → jiti-4VHEHEJ6-H5HUC6HV.js} +11507 -11485
  86. package/dist/{prompt-EYFUFJSI.js → prompt-TICE27HC.js} +392 -293
  87. package/package.json +5 -5
  88. package/dist/chunk-FWD3UPBV.js +0 -1064
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- sXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ rXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/lucia-auth/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await sXs(props);
9
+ const content = await rXs(props);
10
10
  const todo = `
11
11
  ## *Example: Lucia Auth with GitHub OAuth*
12
12
  - Create a [GitHub OAuth app](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app). Set the Authorization callback URL to \`http://localhost:3000/api/login/github/callback\`.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/lucia-auth/dist/files/$package.json.js
@@ -101,7 +101,7 @@ var require_package = __commonJS({
101
101
  }
102
102
  });
103
103
  async function getPackageJson(props) {
104
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
104
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
105
105
  return packageJson.addDependencies(["arctic", "cookie", "lucia", "@universal-middleware/core", "dotenv"]).addDependencies(["@lucia-auth/adapter-drizzle"], props.meta.BATI.has("drizzle")).addDependencies(["@lucia-auth/adapter-sqlite"], !props.meta.BATI.has("drizzle")).addDevDependencies(["@types/better-sqlite3"], !props.meta.BATI.hasD1).addDependencies(["better-sqlite3"], !props.meta.BATI.hasD1);
106
106
  }
107
107
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- sXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ rXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/mantine/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await sXs(props);
9
+ const content = await rXs(props);
10
10
  const todo = `
11
11
  ## Mantine
12
12
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/mantine/dist/files/$package.json.js
@@ -112,7 +112,7 @@ var require_package = __commonJS({
112
112
  }
113
113
  });
114
114
  async function getPackageJson(props) {
115
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
115
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
116
116
  return packageJson.addDevDependencies(["postcss", "postcss-preset-mantine", "postcss-simple-vars"]).addDependencies(["@mantine/core", "@mantine/hooks"]);
117
117
  }
118
118
  export {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/panda-css/dist/files/$package.json.js
@@ -84,7 +84,7 @@ var require_package = __commonJS({
84
84
  }
85
85
  });
86
86
  async function getPackageJson(props) {
87
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
87
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
88
88
  return packageJson.setScript("prepare", {
89
89
  value: "panda codegen",
90
90
  precedence: 20
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/prettier/dist/files/$package.json.js
@@ -65,7 +65,7 @@ var require_package = __commonJS({
65
65
  }
66
66
  });
67
67
  async function getPackageJson(props) {
68
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
68
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
69
69
  return packageJson.addDevDependencies(["prettier"]);
70
70
  }
71
71
  export {
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ hXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/prisma/dist/files/$.env.js
8
8
  async function getEnv(props) {
9
9
  const envContent = await props.readfile?.();
10
- return bXs(
10
+ return hXs(
11
11
  envContent,
12
12
  "DATABASE_URL",
13
13
  "postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public",
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- sXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ rXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/prisma/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await sXs(props);
9
+ const content = await rXs(props);
10
10
  const todo = `
11
11
  ## *Prisma*
12
12
  ### Setup
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/prisma/dist/files/$package.json.js
@@ -67,7 +67,7 @@ var require_package = __commonJS({
67
67
  }
68
68
  });
69
69
  async function getPackageJson(props) {
70
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
70
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
71
71
  return packageJson.setScript("prisma:studio", {
72
72
  value: "prisma studio",
73
73
  precedence: 1
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- sXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ rXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/react/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await sXs(props);
9
+ const content = await rXs(props);
10
10
  const about = `
11
11
  ## React
12
12
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/react/dist/files/$package.json.js
@@ -183,7 +183,7 @@ var require_package = __commonJS({
183
183
  }
184
184
  });
185
185
  async function getPackageJson(props) {
186
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
186
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
187
187
  return packageJson.addDevDependencies(["vite", "@types/react", "@types/react-dom"]).addDependencies(["@vitejs/plugin-react", "react", "react-dom", "vike", "vike-react"]);
188
188
  }
189
189
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- aXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ nXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/react/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await aXs(props);
9
+ const tsConfig = await nXs(props);
10
10
  tsConfig.compilerOptions.jsx = "preserve";
11
11
  tsConfig.compilerOptions.jsxImportSource = "react";
12
12
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-react"];
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  Wbs,
4
- cXs
5
- } from "../../../../chunk-6MKJ33CI.js";
4
+ sXs
5
+ } from "../../../../chunk-JICD3X3F.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/react/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await cXs(props);
10
+ const mod = await sXs(props);
11
11
  const reactOptions = props.meta.BATI.has("vercel") && props.meta.BATI.has("hattip") ? { jsxRuntime: "classic" } : {};
12
12
  Wbs(mod, {
13
13
  from: "@vitejs/plugin-react",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/react-sentry/dist/files/$package.json.js
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.addDependencies(["@sentry/react"]);
98
98
  }
99
99
  export {
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ hXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sentry/dist/files/$.env.js
8
8
  async function getServerlessEnv(props) {
9
9
  const sentryDNS = process.env.TEST_SENTRY_DSN;
10
10
  let envContent = await props.readfile?.();
11
- envContent = bXs(
11
+ envContent = hXs(
12
12
  envContent,
13
13
  "SENTRY_DSN",
14
14
  sentryDNS ?? "",
15
15
  "Sentry DNS. Used for Error Reporting on the Server"
16
16
  );
17
- envContent = bXs(
17
+ envContent = hXs(
18
18
  envContent,
19
19
  "PUBLIC_ENV__SENTRY_DSN",
20
20
  "",
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- sXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ rXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sentry/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await sXs(props);
9
+ const content = await rXs(props);
10
10
  const about = `
11
11
 
12
12
  ## Sentry Browser / Error Tracking & Performance Monitoring
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sentry/dist/files/$package.json.js
@@ -78,7 +78,7 @@ var require_package = __commonJS({
78
78
  }
79
79
  });
80
80
  async function getPackageJson(props) {
81
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
81
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
82
82
  return packageJson.addDevDependencies(["@sentry/vite-plugin"]);
83
83
  }
84
84
  export {
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- DXr,
3
+ EXr,
4
4
  Wbs,
5
- cXs
6
- } from "../../../../chunk-6MKJ33CI.js";
5
+ sXs
6
+ } from "../../../../chunk-JICD3X3F.js";
7
7
  import "../../../../chunk-LU7IBQI7.js";
8
8
 
9
9
  // ../../boilerplates/sentry/dist/files/$vite.config.ts.js
10
10
  async function getViteConfig(props) {
11
- const mod = await cXs(props);
11
+ const mod = await sXs(props);
12
12
  Wbs(mod, {
13
13
  from: "@sentry/vite-plugin",
14
14
  constructor: "sentryVitePlugin",
@@ -17,7 +17,7 @@ async function getViteConfig(props) {
17
17
  sourcemaps: { disable: false }
18
18
  }
19
19
  });
20
- DXr(mod.exports.default.$args[0], { build: { sourcemap: true } });
20
+ EXr(mod.exports.default.$args[0], { build: { sourcemap: true } });
21
21
  return mod.generate().code;
22
22
  }
23
23
  export {
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  OV,
4
4
  Sse,
5
- cXs,
6
- x5e
7
- } from "../../../../../chunk-6MKJ33CI.js";
5
+ T5e,
6
+ sXs
7
+ } from "../../../../../chunk-JICD3X3F.js";
8
8
  import "../../../../../chunk-LU7IBQI7.js";
9
9
 
10
10
  // ../../boilerplates/sentry/dist/files/pages/$+client.ts.js
11
11
  async function getViteConfig(props) {
12
12
  let mod;
13
13
  try {
14
- mod = await cXs(props);
14
+ mod = await sXs(props);
15
15
  } catch {
16
- mod = x5e("");
16
+ mod = T5e("");
17
17
  }
18
18
  if (!props.meta.BATI.has("vue")) {
19
19
  mod.imports.$prepend({
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- sXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ rXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await sXs(props);
9
+ const content = await rXs(props);
10
10
  const about = `
11
11
 
12
12
  ## shadcn/ui
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$package.json.js
@@ -89,7 +89,7 @@ var require_package = __commonJS({
89
89
  }
90
90
  });
91
91
  async function getPackageJson(props) {
92
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
93
  return packageJson.setScript("shadcn", {
94
94
  value: "npx shadcn@latest",
95
95
  precedence: 1,
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- aXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ nXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await aXs(props);
9
+ const tsConfig = await nXs(props);
10
10
  tsConfig.compilerOptions.paths = {
11
11
  ...tsConfig.compilerOptions?.paths ?? {},
12
12
  "@/*": ["./*"]
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- cXs,
4
- xXr
5
- } from "../../../../chunk-6MKJ33CI.js";
3
+ TXr,
4
+ sXs
5
+ } from "../../../../chunk-JICD3X3F.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await cXs(props);
10
+ const mod = await sXs(props);
11
11
  const replacement = `new URL("./", import.meta.url).pathname`;
12
12
  addResolveAlias(mod, "@", replacement);
13
13
  return mod.generate().code.replace(`"{{PLACEHOLDER_ALIAS}}"`, replacement);
14
14
  }
15
15
  function addResolveAlias(mod, find, replacement) {
16
16
  const alias = mod.exports.default.$args[0]?.resolve?.alias ?? {};
17
- const warnMsg = `${xXr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
17
+ const warnMsg = `${TXr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
18
18
  if (alias?.length === void 0) {
19
19
  if (alias[find]) {
20
20
  console.warn(warnMsg);
@@ -1,21 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- IXs,
4
- OXs,
5
- sXs,
3
+ PXs,
4
+ kXs,
5
+ rXs,
6
6
  tVs
7
- } from "../../../../chunk-6MKJ33CI.js";
7
+ } from "../../../../chunk-JICD3X3F.js";
8
8
  import "../../../../chunk-LU7IBQI7.js";
9
9
 
10
10
  // ../../boilerplates/shared/dist/files/$README.md.js
11
11
  async function getReadme(props) {
12
- const content = await sXs(props);
12
+ const content = await rXs(props);
13
13
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
14
- const v = OXs();
14
+ const v = kXs();
15
15
  const intro = `Generated with [Bati](https://batijs.dev) ${`(${tVs.link("https://www.npmjs.com/package/create-bati/v/" + v.version, "version " + v.semver.at(-1))})`} using this command:
16
16
 
17
17
  \`\`\`sh
18
- ${IXs()} ${flags}
18
+ ${PXs()} ${flags}
19
19
  \`\`\`
20
20
  `;
21
21
  content.addMarkdown(intro, {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shared-server/dist/files/$package.json.js
@@ -92,7 +92,7 @@ var require_package = __commonJS({
92
92
  }
93
93
  });
94
94
  async function getPackageJson(props) {
95
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
96
  return packageJson.addDependencies(["@universal-middleware/core"]);
97
97
  }
98
98
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- sXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ rXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await sXs(props);
9
+ const content = await rXs(props);
10
10
  const about = `
11
11
 
12
12
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [SolidJS](https://www.solidjs.com/guides/getting-started).
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$package.json.js
@@ -175,7 +175,7 @@ var require_package = __commonJS({
175
175
  }
176
176
  });
177
177
  async function getPackageJson(props) {
178
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
178
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
179
179
  return packageJson.addDevDependencies(["vite"]).addDependencies(["solid-js", "vike-solid", "vike"]);
180
180
  }
181
181
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- aXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ nXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await aXs(props);
9
+ const tsConfig = await nXs(props);
10
10
  tsConfig.compilerOptions.jsx = "preserve";
11
11
  tsConfig.compilerOptions.jsxImportSource = "solid-js";
12
12
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-solid/client"];
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  Wbs,
4
- cXs
5
- } from "../../../../chunk-6MKJ33CI.js";
4
+ sXs
5
+ } from "../../../../chunk-JICD3X3F.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/solid/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await cXs(props);
10
+ const mod = await sXs(props);
11
11
  Wbs(mod, {
12
12
  from: "vike-solid/vite",
13
13
  constructor: "vikeSolid"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- oXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ iXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid-sentry/dist/files/$package.json.js
@@ -91,7 +91,7 @@ var require_package = __commonJS({
91
91
  }
92
92
  });
93
93
  async function getPackageJson(props) {
94
- const packageJson = await oXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
95
  return packageJson.addDependencies(["@sentry/solid"]);
96
96
  }
97
97
  export {
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ hXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$.env.js
8
8
  async function getEnv(props) {
9
9
  if (props.meta.BATI.hasD1) return;
10
10
  const envContent = await props.readfile?.();
11
- return bXs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
11
+ return hXs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
12
12
  }
13
13
  export {
14
14
  getEnv as default
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- sXs
4
- } from "../../../../chunk-6MKJ33CI.js";
3
+ rXs
4
+ } from "../../../../chunk-JICD3X3F.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await sXs(props);
9
+ const content = await rXs(props);
10
10
  const todo = `
11
11
  ## *Sqlite*
12
12