@batijs/cli 0.0.288 → 0.0.290

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 (87) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$README.md.js +5 -5
  3. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +3 -3
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +7 -6
  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/aws/files/cdk/lib/vike-stack.ts +1 -1
  8. package/dist/boilerplates/@batijs/biome/files/$package.json.js +3 -3
  9. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +3 -3
  10. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
  11. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +5 -5
  12. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +3 -3
  13. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  14. package/dist/boilerplates/@batijs/d1/files/$README.md.js +5 -5
  15. package/dist/boilerplates/@batijs/d1/files/$package.json.js +3 -3
  16. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  17. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
  18. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +3 -3
  19. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  20. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +5 -5
  21. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +3 -3
  22. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +5 -5
  23. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +3 -3
  24. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +3 -3
  25. package/dist/boilerplates/@batijs/express/files/$package.json.js +3 -3
  26. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +3 -3
  27. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
  28. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +5 -5
  29. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +3 -3
  30. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  31. package/dist/boilerplates/@batijs/h3/files/$package.json.js +3 -3
  32. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +3 -3
  33. package/dist/boilerplates/@batijs/hono/files/$package.json.js +3 -3
  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 +5 -5
  37. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +3 -3
  38. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +5 -5
  39. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +3 -3
  40. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  41. package/dist/boilerplates/@batijs/prettier/files/.prettierignore +4 -0
  42. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  43. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +5 -5
  44. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
  45. package/dist/boilerplates/@batijs/react/files/$README.md.js +6 -5
  46. package/dist/boilerplates/@batijs/react/files/$package.json.js +3 -3
  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 +3 -3
  50. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  51. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +5 -5
  52. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +3 -3
  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 +5 -5
  56. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +3 -3
  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 +33 -11
  60. package/dist/boilerplates/@batijs/shared/files/.gitignore +4 -0
  61. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +3 -3
  62. package/dist/boilerplates/@batijs/solid/files/$README.md.js +5 -5
  63. package/dist/boilerplates/@batijs/solid/files/$package.json.js +3 -3
  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 +3 -3
  67. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  68. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +5 -5
  69. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  70. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +3 -3
  71. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +3 -3
  72. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  73. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +3 -3
  74. package/dist/boilerplates/@batijs/trpc/types/server/trpc-handler.d.ts +1 -1
  75. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +12 -12
  76. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +3 -3
  77. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +3 -3
  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/vue/files/$README.md.js +5 -5
  81. package/dist/boilerplates/@batijs/vue/files/$package.json.js +3 -3
  82. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  83. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  84. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +3 -3
  85. package/dist/{chunk-BX6YHROU.js → chunk-A2ICK2V5.js} +115424 -112276
  86. package/dist/index.js +91 -17
  87. package/package.json +5 -5
@@ -1,25 +1,47 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- GLs,
4
- KLs,
5
- TLs,
6
- sOs
7
- } from "../../../../chunk-BX6YHROU.js";
3
+ FWs,
4
+ LWs,
5
+ d7s,
6
+ oWs
7
+ } from "../../../../chunk-A2ICK2V5.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 TLs(props);
12
+ const content = await oWs(props);
13
13
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
14
- const v = GLs();
15
- const intro = `Generated with [Bati](https://batijs.dev) ${`(${sOs.link("https://www.npmjs.com/package/create-bati/v/" + v.version, "version " + v.semver.at(-1))})`} using this command:
14
+ const v = FWs();
15
+ const intro = `Generated with [Bati](https://batijs.dev) ${`(${d7s.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
- ${KLs()} ${flags}
18
+ ${LWs()} ${flags}
19
19
  \`\`\`
20
20
  `;
21
- content.addIntro(intro);
22
- return content.finalize();
21
+ content.addMarkdown(intro, {
22
+ wrapper: {
23
+ section: "intro"
24
+ }
25
+ });
26
+ content.addMarkdown("", {
27
+ position: "after",
28
+ filter: {
29
+ section: "intro"
30
+ },
31
+ wrapper: {
32
+ section: "TOC"
33
+ }
34
+ });
35
+ content.addMarkdown("", {
36
+ position: "after",
37
+ filter: {
38
+ section: "document"
39
+ },
40
+ wrapper: {
41
+ section: "features"
42
+ }
43
+ });
44
+ return content;
23
45
  }
24
46
  export {
25
47
  getReadme as default
@@ -136,3 +136,7 @@ dist
136
136
 
137
137
  # Sentry Vite Plugin
138
138
  .env.sentry-build-plugin
139
+
140
+ # aws-cdk
141
+ .cdk.staging
142
+ cdk.out
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.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 xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
+ const packageJson = await lWs(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
- TLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ oWs
4
+ } from "../../../../chunk-A2ICK2V5.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 TLs(props);
9
+ const content = await oWs(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).
@@ -40,8 +40,8 @@ SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all yo
40
40
  ### HTML Streaming
41
41
 
42
42
  You can enable/disable [HTML streaming](https://vike.dev/stream) for all your pages, or only for some pages while still using it for others.`;
43
- content.addAbout(about);
44
- return content.finalize();
43
+ content.addMarkdownFeature(about, "solid");
44
+ return content;
45
45
  }
46
46
  export {
47
47
  getReadme as default
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/solid/dist/files/$package.json.js
@@ -173,7 +173,7 @@ var require_package = __commonJS({
173
173
  }
174
174
  });
175
175
  async function getPackageJson(props) {
176
- const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
176
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
177
177
  return packageJson.addDevDependencies(["vite"]).addDependencies(["solid-js", "vike-solid", "vike"]);
178
178
  }
179
179
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- SLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ cWs
4
+ } from "../../../../chunk-A2ICK2V5.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 SLs(props);
9
+ const tsConfig = await cWs(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
- ELs,
4
- Pus
5
- } from "../../../../chunk-BX6YHROU.js";
3
+ Mhs,
4
+ uWs
5
+ } from "../../../../chunk-A2ICK2V5.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 ELs(props);
11
- Pus(mod, {
10
+ const mod = await uWs(props);
11
+ Mhs(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
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.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 xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
+ const packageJson = await lWs(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
- LLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ vWs
4
+ } from "../../../../chunk-A2ICK2V5.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 LLs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
11
+ return vWs(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
- TLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ oWs
4
+ } from "../../../../chunk-A2ICK2V5.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 TLs(props);
9
+ const content = await oWs(props);
10
10
  const todo = `
11
11
  ## *Sqlite*
12
12
 
@@ -15,8 +15,8 @@ First, ensure that \`DATABASE_URL\` is configured in \`.env\` file, then create
15
15
  pnpm sqlite:migrate # creates sqlite tables
16
16
  \`\`\`
17
17
  `;
18
- content.addTodo(todo);
19
- return content.finalize();
18
+ content.addMarkdownFeature(todo, "sqlite");
19
+ return content;
20
20
  }
21
21
  export {
22
22
  getReadme as default
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sqlite/dist/files/$package.json.js
@@ -119,7 +119,7 @@ var require_package = __commonJS({
119
119
  }
120
120
  });
121
121
  async function getPackageJson(props) {
122
- const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
122
+ const packageJson = await lWs(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
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/tailwindcss/dist/files/$package.json.js
@@ -88,7 +88,7 @@ var require_package = __commonJS({
88
88
  }
89
89
  });
90
90
  async function getPackageJson(props) {
91
- const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ const packageJson = await lWs(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
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/telefunc/dist/files/$package.json.js
@@ -87,7 +87,7 @@ var require_package = __commonJS({
87
87
  }
88
88
  });
89
89
  async function getPackageJson(props) {
90
- const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
90
+ const packageJson = await lWs(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
- ELs,
4
- Pus
5
- } from "../../../../chunk-BX6YHROU.js";
3
+ Mhs,
4
+ uWs
5
+ } from "../../../../chunk-A2ICK2V5.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 ELs(props);
11
- Pus(mod, {
10
+ const mod = await uWs(props);
11
+ Mhs(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
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/trpc/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 xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await lWs(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 +1 @@
1
- export declare const trpcHandler: (endpoint: string) => (request: Request<unknown, CfProperties<unknown>>, context: Universal.Context, runtime: import("@universal-middleware/core").RuntimeAdapter) => Promise<Response>;
1
+ export declare const trpcHandler: (endpoint: string) => (request: Request, context: Universal.Context, runtime: import("@universal-middleware/core").RuntimeAdapter) => Promise<Response>;
@@ -3,11 +3,11 @@ export declare const trpc: {
3
3
  query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
4
4
  _config: import("@trpc/server").RootConfig<{
5
5
  ctx: object & {
6
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
6
+ db: ReturnType<any>;
7
7
  } & {
8
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
8
+ db: ReturnType<any>;
9
9
  } & {
10
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
10
+ db: ReturnType<any>;
11
11
  } & {
12
12
  db: import("@cloudflare/workers-types").D1Database;
13
13
  };
@@ -16,11 +16,11 @@ export declare const trpc: {
16
16
  transformer: import("@trpc/server").DefaultDataTransformer;
17
17
  }>;
18
18
  _ctx_out: object & {
19
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
19
+ db: ReturnType<any>;
20
20
  } & {
21
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
21
+ db: ReturnType<any>;
22
22
  } & {
23
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
23
+ db: ReturnType<any>;
24
24
  } & {
25
25
  db: import("@cloudflare/workers-types").D1Database;
26
26
  };
@@ -37,11 +37,11 @@ export declare const trpc: {
37
37
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
38
38
  _config: import("@trpc/server").RootConfig<{
39
39
  ctx: object & {
40
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
40
+ db: ReturnType<any>;
41
41
  } & {
42
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
42
+ db: ReturnType<any>;
43
43
  } & {
44
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
44
+ db: ReturnType<any>;
45
45
  } & {
46
46
  db: import("@cloudflare/workers-types").D1Database;
47
47
  };
@@ -51,11 +51,11 @@ export declare const trpc: {
51
51
  }>;
52
52
  _meta: object;
53
53
  _ctx_out: object & {
54
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
54
+ db: ReturnType<any>;
55
55
  } & {
56
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
56
+ db: ReturnType<any>;
57
57
  } & {
58
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
58
+ db: ReturnType<any>;
59
59
  } & {
60
60
  db: import("@cloudflare/workers-types").D1Database;
61
61
  };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/ts-rest/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 xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await lWs(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
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vercel/dist/files/$package.json.js
@@ -68,7 +68,7 @@ var require_package = __commonJS({
68
68
  }
69
69
  });
70
70
  async function getPackageJson(props) {
71
- const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
71
+ const packageJson = await lWs(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
- SLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ cWs
4
+ } from "../../../../chunk-A2ICK2V5.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 SLs(props);
9
+ const tsConfig = await cWs(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
- ELs,
4
- Pus
5
- } from "../../../../chunk-BX6YHROU.js";
3
+ Mhs,
4
+ uWs
5
+ } from "../../../../chunk-A2ICK2V5.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 ELs(props);
10
+ const mod = await uWs(props);
11
11
  const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
12
12
  source: "/.*"
13
13
  } : void 0;
14
- Pus(mod, {
14
+ Mhs(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
- TLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ oWs
4
+ } from "../../../../chunk-A2ICK2V5.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 TLs(props);
9
+ const content = await oWs(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).
@@ -40,8 +40,8 @@ SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all yo
40
40
  ### HTML Streaming
41
41
 
42
42
  You can enable/disable [HTML streaming](https://vike.dev/stream) for all your pages, or only for some pages while still using it for others.`;
43
- content.addAbout(about);
44
- return content.finalize();
43
+ content.addMarkdownFeature(about, "vue");
44
+ return content;
45
45
  }
46
46
  export {
47
47
  getReadme as default
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$package.json.js
@@ -123,7 +123,7 @@ var require_package = __commonJS({
123
123
  }
124
124
  });
125
125
  async function getPackageJson(props) {
126
- const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
126
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
127
127
  return packageJson.addDevDependencies(["vite"]).addDependencies([
128
128
  "@vitejs/plugin-vue",
129
129
  "@vue/compiler-sfc",
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- SLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ cWs
4
+ } from "../../../../chunk-A2ICK2V5.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 SLs(props);
9
+ const tsConfig = await cWs(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
- ELs,
4
- Pus
5
- } from "../../../../chunk-BX6YHROU.js";
3
+ Mhs,
4
+ uWs
5
+ } from "../../../../chunk-A2ICK2V5.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 ELs(props);
11
- Pus(mod, {
10
+ const mod = await uWs(props);
11
+ Mhs(mod, {
12
12
  from: "@vitejs/plugin-vue",
13
13
  constructor: "vue",
14
14
  options: {
15
15
  include: [/\.vue$/, /\.md$/]
16
16
  }
17
17
  });
18
- Pus(mod, {
18
+ Mhs(mod, {
19
19
  from: "unplugin-vue-markdown/vite",
20
20
  constructor: "md",
21
21
  options: {}
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- xLs
4
- } from "../../../../chunk-BX6YHROU.js";
3
+ lWs
4
+ } from "../../../../chunk-A2ICK2V5.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue-sentry/dist/files/$package.json.js
@@ -85,7 +85,7 @@ var require_package = __commonJS({
85
85
  }
86
86
  });
87
87
  async function getPackageJson(props) {
88
- const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
88
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
89
89
  return packageJson.addDependencies(["@sentry/vue"]);
90
90
  }
91
91
  export {