@batijs/cli 0.0.311 → 0.0.313

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 +4 -4
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +5 -5
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
  8. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +4 -4
  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 +12 -8
  14. package/dist/boilerplates/@batijs/d1/files/$package.json.js +4 -4
  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/edgedb/files/$README.md.js +6 -4
  22. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +4 -4
  23. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +3 -3
  24. package/dist/boilerplates/@batijs/express/files/$package.json.js +4 -4
  25. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +4 -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 +4 -4
  31. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +4 -4
  32. package/dist/boilerplates/@batijs/hono/files/$package.json.js +4 -4
  33. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  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 +4 -4
  37. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  38. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +4 -4
  39. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +4 -4
  40. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +4 -4
  41. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  42. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +6 -4
  43. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +4 -4
  44. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  45. package/dist/boilerplates/@batijs/react/files/$package.json.js +4 -4
  46. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  47. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  48. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +4 -4
  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 +4 -4
  52. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  53. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  54. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  55. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +4 -4
  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 +9 -9
  59. package/dist/boilerplates/@batijs/shared/hooks/after.js +21 -0
  60. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +4 -4
  61. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  62. package/dist/boilerplates/@batijs/solid/files/$package.json.js +4 -4
  63. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  64. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  65. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +4 -4
  66. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  67. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  68. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +4 -4
  69. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +4 -4
  70. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +4 -4
  71. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  72. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +4 -4
  73. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
  74. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +4 -4
  75. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  76. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  77. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  78. package/dist/boilerplates/@batijs/vue/files/$package.json.js +4 -4
  79. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  80. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  81. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +4 -4
  82. package/dist/boilerplates/boilerplates.json +2 -1
  83. package/dist/{chunk-XBRZBI3K.js → chunk-BOFKQILG.js} +105869 -106391
  84. package/dist/index.js +21 -95
  85. package/dist/{jiti-GY3WFVF7-AVYYESPC.js → jiti-QYPC42DC-IKOSD6A6.js} +1106 -1102
  86. package/package.json +6 -6
  87. package/dist/boilerplates/@batijs/shared/files/.gitignore +0 -146
  88. /package/dist/boilerplates/@batijs/{prettier/files/.prettierignore → shared/files/gitignore} +0 -0
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- ZQs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ WHs
4
+ } from "../../../../chunk-BOFKQILG.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 ZQs(props);
9
+ const content = await WHs(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
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$package.json.js
@@ -48,7 +48,7 @@ var require_package = __commonJS({
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@radix-ui/react-icons": "^1.3.2",
51
- "@types/node": "^18.19.65",
51
+ "@types/node": "^18.19.67",
52
52
  "class-variance-authority": "^0.7.1",
53
53
  clsx: "^2.1.1",
54
54
  "lucide-react": "^0.462.0",
@@ -89,7 +89,7 @@ var require_package = __commonJS({
89
89
  }
90
90
  });
91
91
  async function getPackageJson(props) {
92
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ const packageJson = await $Hs(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
- eZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ JHs
4
+ } from "../../../../chunk-BOFKQILG.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 eZs(props);
9
+ const tsConfig = await JHs(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
- rZs,
4
- zQr
5
- } from "../../../../chunk-XBRZBI3K.js";
3
+ GHs,
4
+ gXr
5
+ } from "../../../../chunk-BOFKQILG.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 rZs(props);
10
+ const mod = await GHs(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 = `${zQr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
17
+ const warnMsg = `${gXr("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
- AZs,
4
- DZs,
5
- Kzs,
6
- ZQs
7
- } from "../../../../chunk-XBRZBI3K.js";
3
+ WHs,
4
+ bXs,
5
+ qqs,
6
+ yXs
7
+ } from "../../../../chunk-BOFKQILG.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 ZQs(props);
12
+ const content = await WHs(props);
13
13
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
14
- const v = DZs();
15
- const intro = `Generated with [Bati](https://batijs.dev) ${`(${Kzs.link("https://www.npmjs.com/package/create-bati/v/" + v.version, "version " + v.semver.at(-1))})`} using this command:
14
+ const v = bXs();
15
+ const intro = `Generated with [Bati](https://batijs.dev) ${`(${qqs.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
- ${AZs()} ${flags}
18
+ ${yXs()} ${flags}
19
19
  \`\`\`
20
20
  `;
21
21
  content.addMarkdown(intro, {
@@ -0,0 +1,21 @@
1
+ // hooks/after.ts
2
+ import { readFile, rename, writeFile } from "node:fs/promises";
3
+ import { join } from "node:path";
4
+ async function cleanupReadme(cwd) {
5
+ const content = await readFile(join(cwd, "README.md"), "utf8");
6
+ await writeFile(
7
+ join(cwd, "README.md"),
8
+ content.replaceAll(/<!--bati:.*-->/g, "").replaceAll(/\n\n+/g, "\n\n").trimStart(),
9
+ "utf-8"
10
+ );
11
+ }
12
+ async function renameGitIgnore(cwd) {
13
+ await rename(join(cwd, "gitignore"), join(cwd, ".gitignore"));
14
+ }
15
+ async function onafter(cwd, _meta) {
16
+ await cleanupReadme(cwd);
17
+ await renameGitIgnore(cwd);
18
+ }
19
+ export {
20
+ onafter as default
21
+ };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shared-server/dist/files/$package.json.js
@@ -49,7 +49,7 @@ var require_package = __commonJS({
49
49
  devDependencies: {
50
50
  "@batijs/compile": "workspace:*",
51
51
  "@cloudflare/workers-types": "^4.20241127.0",
52
- "@types/node": "^18.19.65",
52
+ "@types/node": "^18.19.67",
53
53
  "@universal-middleware/core": "^0.3.0",
54
54
  vike: "^0.4.206",
55
55
  vite: "^5.4.11"
@@ -92,7 +92,7 @@ var require_package = __commonJS({
92
92
  }
93
93
  });
94
94
  async function getPackageJson(props) {
95
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
+ const packageJson = await $Hs(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
- ZQs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ WHs
4
+ } from "../../../../chunk-BOFKQILG.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 ZQs(props);
9
+ const content = await WHs(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
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$package.json.js
@@ -49,7 +49,7 @@ var require_package = __commonJS({
49
49
  devDependencies: {
50
50
  "@batijs/compile": "workspace:*",
51
51
  "@pandacss/dev": "^0.48.0",
52
- "@types/node": "^18.19.65",
52
+ "@types/node": "^18.19.67",
53
53
  "solid-js": "^1.9.3",
54
54
  tailwindcss: "^3.4.15",
55
55
  typescript: "^5.7.2",
@@ -175,7 +175,7 @@ var require_package = __commonJS({
175
175
  }
176
176
  });
177
177
  async function getPackageJson(props) {
178
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
178
+ const packageJson = await $Hs(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
- eZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ JHs
4
+ } from "../../../../chunk-BOFKQILG.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 eZs(props);
9
+ const tsConfig = await JHs(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,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- BTs,
4
- rZs
5
- } from "../../../../chunk-XBRZBI3K.js";
3
+ GHs,
4
+ Ibs
5
+ } from "../../../../chunk-BOFKQILG.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 rZs(props);
11
- BTs(mod, {
10
+ const mod = await GHs(props);
11
+ Ibs(mod, {
12
12
  from: "vike-solid/vite",
13
13
  constructor: "vikeSolid"
14
14
  });
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid-sentry/dist/files/$package.json.js
@@ -48,7 +48,7 @@ var require_package = __commonJS({
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@sentry/solid": "^8.41.0",
51
- "@types/node": "^18.19.65",
51
+ "@types/node": "^18.19.67",
52
52
  "solid-js": "^1.9.3",
53
53
  "vike-solid": "^0.7.6",
54
54
  vite: "^5.4.11"
@@ -91,7 +91,7 @@ var require_package = __commonJS({
91
91
  }
92
92
  });
93
93
  async function getPackageJson(props) {
94
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
+ const packageJson = await $Hs(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
- _Zs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ sXs
4
+ } from "../../../../chunk-BOFKQILG.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 _Zs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
11
+ return sXs(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
- ZQs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ WHs
4
+ } from "../../../../chunk-BOFKQILG.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 ZQs(props);
9
+ const content = await WHs(props);
10
10
  const todo = `
11
11
  ## *Sqlite*
12
12
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$package.json.js
@@ -48,7 +48,7 @@ var require_package = __commonJS({
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@types/better-sqlite3": "^7.6.12",
51
- "@types/node": "^18.19.65",
51
+ "@types/node": "^18.19.67",
52
52
  "better-sqlite3": "^11.6.0",
53
53
  dotenv: "^16.4.5",
54
54
  tsx: "^4.19.2"
@@ -119,7 +119,7 @@ var require_package = __commonJS({
119
119
  }
120
120
  });
121
121
  async function getPackageJson(props) {
122
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
122
+ const packageJson = await $Hs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
123
123
  return packageJson.setScript("sqlite:migrate", {
124
124
  value: "tsx ./database/sqlite/schema/all.ts",
125
125
  precedence: 1
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/tailwindcss/dist/files/$package.json.js
@@ -47,7 +47,7 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@types/node": "^18.19.65",
50
+ "@types/node": "^18.19.67",
51
51
  autoprefixer: "^10.4.20",
52
52
  daisyui: "^4.12.14",
53
53
  postcss: "^8.4.49",
@@ -88,7 +88,7 @@ var require_package = __commonJS({
88
88
  }
89
89
  });
90
90
  async function getPackageJson(props) {
91
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ const packageJson = await $Hs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
92
  return packageJson.addDevDependencies(["tailwindcss", "postcss", "autoprefixer"]).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
93
93
  }
94
94
  export {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/telefunc/dist/files/$package.json.js
@@ -48,7 +48,7 @@ var require_package = __commonJS({
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@cloudflare/workers-types": "^4.20241127.0",
51
- "@types/node": "^18.19.65",
51
+ "@types/node": "^18.19.67",
52
52
  "@universal-middleware/core": "^0.3.0",
53
53
  telefunc: "^0.1.81",
54
54
  vike: "^0.4.206",
@@ -87,7 +87,7 @@ var require_package = __commonJS({
87
87
  }
88
88
  });
89
89
  async function getPackageJson(props) {
90
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
90
+ const packageJson = await $Hs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
91
  return packageJson.addDependencies(["telefunc", "@universal-middleware/core"]);
92
92
  }
93
93
  export {
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- BTs,
4
- rZs
5
- } from "../../../../chunk-XBRZBI3K.js";
3
+ GHs,
4
+ Ibs
5
+ } from "../../../../chunk-BOFKQILG.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/telefunc/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await rZs(props);
11
- BTs(mod, {
10
+ const mod = await GHs(props);
11
+ Ibs(mod, {
12
12
  from: "telefunc/vite",
13
13
  constructor: "telefunc",
14
14
  imported: "telefunc"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/trpc/dist/files/$package.json.js
@@ -50,7 +50,7 @@ var require_package = __commonJS({
50
50
  "@cloudflare/workers-types": "^4.20241127.0",
51
51
  "@trpc/client": "^10.45.2",
52
52
  "@trpc/server": "^10.45.2",
53
- "@types/node": "^18.19.65",
53
+ "@types/node": "^18.19.67",
54
54
  "@universal-middleware/core": "^0.3.0",
55
55
  vite: "^5.4.11"
56
56
  },
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await $Hs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.addDependencies(["@trpc/server", "@trpc/client"]);
98
98
  }
99
99
  export {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/ts-rest/dist/files/$package.json.js
@@ -50,7 +50,7 @@ var require_package = __commonJS({
50
50
  "@cloudflare/workers-types": "^4.20241127.0",
51
51
  "@ts-rest/core": "^3.51.0",
52
52
  "@ts-rest/serverless": "^3.51.0",
53
- "@types/node": "^18.19.65",
53
+ "@types/node": "^18.19.67",
54
54
  "@universal-middleware/core": "^0.3.0",
55
55
  zod: "^3.23.8"
56
56
  },
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await $Hs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.addDevDependencies(["zod"]).addDependencies(["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"]);
98
98
  }
99
99
  export {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vercel/dist/files/$package.json.js
@@ -47,7 +47,7 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@types/node": "^18.19.65",
50
+ "@types/node": "^18.19.67",
51
51
  "@vite-plugin-vercel/vike": "^9.0.2",
52
52
  vike: "^0.4.206",
53
53
  vite: "^5.4.11",
@@ -68,7 +68,7 @@ var require_package = __commonJS({
68
68
  }
69
69
  });
70
70
  async function getPackageJson(props) {
71
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
71
+ const packageJson = await $Hs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
72
72
  return packageJson.addDependencies(["vite-plugin-vercel", "@vite-plugin-vercel/vike"]);
73
73
  }
74
74
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ JHs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vercel/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await eZs(props);
9
+ const tsConfig = await JHs(props);
10
10
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vite-plugin-vercel/types"];
11
11
  return tsConfig;
12
12
  }
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- BTs,
4
- rZs
5
- } from "../../../../chunk-XBRZBI3K.js";
3
+ GHs,
4
+ Ibs
5
+ } from "../../../../chunk-BOFKQILG.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/vercel/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await rZs(props);
10
+ const mod = await GHs(props);
11
11
  const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
12
12
  source: "/.*"
13
13
  } : void 0;
14
- BTs(mod, {
14
+ Ibs(mod, {
15
15
  from: "vite-plugin-vercel",
16
16
  constructor: "vercel",
17
17
  options
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- ZQs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ WHs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await ZQs(props);
9
+ const content = await WHs(props);
10
10
  const about = `
11
11
 
12
12
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [Vue](https://vuejs.org/guide/quick-start.html).
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- tZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ $Hs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$package.json.js
@@ -49,7 +49,7 @@ var require_package = __commonJS({
49
49
  devDependencies: {
50
50
  "@batijs/compile": "workspace:*",
51
51
  "@pandacss/dev": "^0.48.0",
52
- "@types/node": "^18.19.65",
52
+ "@types/node": "^18.19.67",
53
53
  "@vitejs/plugin-vue": "^5.2.1",
54
54
  "@vue/compiler-sfc": "^3.5.13",
55
55
  "@vue/server-renderer": "^3.5.13",
@@ -125,7 +125,7 @@ var require_package = __commonJS({
125
125
  }
126
126
  });
127
127
  async function getPackageJson(props) {
128
- const packageJson = await tZs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
128
+ const packageJson = await $Hs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
129
129
  return packageJson.addDevDependencies(["vite"]).addDependencies([
130
130
  "@vitejs/plugin-vue",
131
131
  "@vue/compiler-sfc",
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eZs
4
- } from "../../../../chunk-XBRZBI3K.js";
3
+ JHs
4
+ } from "../../../../chunk-BOFKQILG.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await eZs(props);
9
+ const tsConfig = await JHs(props);
10
10
  tsConfig.compilerOptions.jsx = "preserve";
11
11
  tsConfig.compilerOptions.jsxImportSource = "vue";
12
12
  return tsConfig;
@@ -1,21 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- BTs,
4
- rZs
5
- } from "../../../../chunk-XBRZBI3K.js";
3
+ GHs,
4
+ Ibs
5
+ } from "../../../../chunk-BOFKQILG.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/vue/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await rZs(props);
11
- BTs(mod, {
10
+ const mod = await GHs(props);
11
+ Ibs(mod, {
12
12
  from: "@vitejs/plugin-vue",
13
13
  constructor: "vue",
14
14
  options: {
15
15
  include: [/\.vue$/, /\.md$/]
16
16
  }
17
17
  });
18
- BTs(mod, {
18
+ Ibs(mod, {
19
19
  from: "unplugin-vue-markdown/vite",
20
20
  constructor: "md",
21
21
  options: {}