@batijs/cli 0.0.287 → 0.0.289

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 (84) 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 +4 -7
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +7 -6
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +19 -46
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/aws/files/tests/aws_handler.spec.ts +1 -1
  8. package/dist/boilerplates/@batijs/biome/files/$package.json.js +10 -18
  9. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +21 -42
  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 +4 -8
  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 +5 -8
  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 +91 -5
  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 +14 -19
  22. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +5 -5
  23. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +11 -11
  24. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +10 -37
  25. package/dist/boilerplates/@batijs/express/files/$package.json.js +15 -33
  26. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +15 -33
  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 +4 -8
  30. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  31. package/dist/boilerplates/@batijs/h3/files/$package.json.js +15 -36
  32. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +12 -49
  33. package/dist/boilerplates/@batijs/hono/files/$package.json.js +16 -39
  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 +4 -22
  38. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +5 -5
  39. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +5 -9
  40. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +4 -7
  41. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  42. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +5 -5
  43. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +12 -12
  44. package/dist/boilerplates/@batijs/react/files/$README.md.js +6 -5
  45. package/dist/boilerplates/@batijs/react/files/$package.json.js +6 -10
  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 +5 -8
  49. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  50. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +5 -5
  51. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +4 -7
  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 +5 -5
  55. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +16 -24
  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 +33 -11
  59. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +4 -7
  60. package/dist/boilerplates/@batijs/solid/files/$README.md.js +5 -5
  61. package/dist/boilerplates/@batijs/solid/files/$package.json.js +6 -10
  62. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  63. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  64. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +5 -8
  65. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  66. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +5 -5
  67. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +7 -9
  68. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +5 -13
  69. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +4 -7
  70. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  71. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +4 -7
  72. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -9
  73. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +4 -7
  74. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  75. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  76. package/dist/boilerplates/@batijs/vue/files/$README.md.js +5 -5
  77. package/dist/boilerplates/@batijs/vue/files/$package.json.js +13 -22
  78. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  79. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  80. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +4 -7
  81. package/dist/{chunk-ZPMGCQ2D.js → chunk-TUL4TJRN.js} +118739 -115559
  82. package/dist/index.js +99 -20
  83. package/package.json +6 -6
  84. package/dist/boilerplates/@batijs/shared-no-db/files/$package.json.js +0 -94
@@ -1,9 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- b7s,
4
- g7s,
5
- mLs
6
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ lWs
4
+ } from "../../../../chunk-TUL4TJRN.js";
7
5
  import "../../../../chunk-LU7IBQI7.js";
8
6
 
9
7
  // ../../boilerplates/shadcn-ui/dist/files/$package.json.js
@@ -55,7 +53,7 @@ var require_package = __commonJS({
55
53
  clsx: "^2.1.1",
56
54
  "lucide-react": "^0.445.0",
57
55
  "tailwind-merge": "^2.5.2",
58
- tailwindcss: "^3.4.12",
56
+ tailwindcss: "^3.4.13",
59
57
  "tailwindcss-animate": "^1.0.7"
60
58
  },
61
59
  dependencies: {
@@ -91,25 +89,19 @@ var require_package = __commonJS({
91
89
  }
92
90
  });
93
91
  async function getPackageJson(props) {
94
- const packageJson = await mLs(props);
95
- b7s(packageJson, {
96
- // @ts-ignore
97
- shadcn: {
98
- value: "pnpm dlx shadcn@latest",
99
- precedence: 20,
100
- warnIfReplaced: true
101
- }
102
- });
103
- return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
104
- dependencies: [
105
- "tailwindcss-animate",
106
- "class-variance-authority",
107
- "clsx",
108
- "tailwind-merge",
109
- "lucide-react",
110
- "@radix-ui/react-icons"
111
- ]
112
- });
92
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
+ return packageJson.setScript("shadcn", {
94
+ value: "npx shadcn@latest",
95
+ precedence: 1,
96
+ warnIfReplaced: true
97
+ }).addDependencies([
98
+ "tailwindcss-animate",
99
+ "class-variance-authority",
100
+ "clsx",
101
+ "tailwind-merge",
102
+ "lucide-react",
103
+ "@radix-ui/react-icons"
104
+ ]);
113
105
  }
114
106
  export {
115
107
  getPackageJson as default
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- mLs
4
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ cWs
4
+ } from "../../../../chunk-TUL4TJRN.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 mLs(props);
9
+ const tsConfig = await cWs(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
- FWr,
4
- hLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ uWs,
4
+ zGr
5
+ } from "../../../../chunk-TUL4TJRN.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 hLs(props);
10
+ const mod = await uWs(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 = `${FWr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
17
+ const warnMsg = `${zGr("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,25 +1,47 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- $Os,
4
- L7s,
5
- O7s,
6
- dLs
7
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ FWs,
4
+ LWs,
5
+ d7s,
6
+ oWs
7
+ } from "../../../../chunk-TUL4TJRN.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 dLs(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 = L7s();
15
- const intro = `Generated with [Bati](https://batijs.dev) ${`(${$Os.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
- ${O7s()} ${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
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g7s,
4
- mLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ lWs
4
+ } from "../../../../chunk-TUL4TJRN.js";
6
5
  import "../../../../chunk-LU7IBQI7.js";
7
6
 
8
7
  // ../../boilerplates/shared-server/dist/files/$package.json.js
@@ -93,10 +92,8 @@ var require_package = __commonJS({
93
92
  }
94
93
  });
95
94
  async function getPackageJson(props) {
96
- const packageJson = await mLs(props);
97
- return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
98
- dependencies: ["@universal-middleware/core"]
99
- });
95
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ return packageJson.addDependencies(["@universal-middleware/core"]);
100
97
  }
101
98
  export {
102
99
  getPackageJson as default
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- dLs
4
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ oWs
4
+ } from "../../../../chunk-TUL4TJRN.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 dLs(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,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g7s,
4
- mLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ lWs
4
+ } from "../../../../chunk-TUL4TJRN.js";
6
5
  import "../../../../chunk-LU7IBQI7.js";
7
6
 
8
7
  // ../../boilerplates/solid/dist/files/$package.json.js
@@ -49,8 +48,8 @@ var require_package = __commonJS({
49
48
  devDependencies: {
50
49
  "@batijs/compile": "workspace:*",
51
50
  "@types/node": "^18.19.14",
52
- "solid-js": "^1.8.22",
53
- tailwindcss: "^3.4.12",
51
+ "solid-js": "^1.8.23",
52
+ tailwindcss: "^3.4.13",
54
53
  typescript: "^5.6.2",
55
54
  vike: "^0.4.196",
56
55
  "vike-solid": "^0.7.5",
@@ -174,11 +173,8 @@ var require_package = __commonJS({
174
173
  }
175
174
  });
176
175
  async function getPackageJson(props) {
177
- const packageJson = await mLs(props);
178
- return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
179
- devDependencies: ["vite"],
180
- dependencies: ["solid-js", "vike-solid", "vike"]
181
- });
176
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
177
+ return packageJson.addDevDependencies(["vite"]).addDependencies(["solid-js", "vike-solid", "vike"]);
182
178
  }
183
179
  export {
184
180
  getPackageJson as default
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- mLs
4
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ cWs
4
+ } from "../../../../chunk-TUL4TJRN.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 mLs(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
- Uus,
4
- hLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ Mhs,
4
+ uWs
5
+ } from "../../../../chunk-TUL4TJRN.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 hLs(props);
11
- Uus(mod, {
10
+ const mod = await uWs(props);
11
+ Mhs(mod, {
12
12
  from: "vike-solid/vite",
13
13
  constructor: "vikeSolid"
14
14
  });
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g7s,
4
- mLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ lWs
4
+ } from "../../../../chunk-TUL4TJRN.js";
6
5
  import "../../../../chunk-LU7IBQI7.js";
7
6
 
8
7
  // ../../boilerplates/solid-sentry/dist/files/$package.json.js
@@ -50,7 +49,7 @@ var require_package = __commonJS({
50
49
  "@batijs/compile": "workspace:*",
51
50
  "@sentry/solid": "^8.31.0",
52
51
  "@types/node": "^18.19.14",
53
- "solid-js": "^1.8.22",
52
+ "solid-js": "^1.8.23",
54
53
  "vike-solid": "^0.7.5",
55
54
  vite: "^5.4.7"
56
55
  },
@@ -92,10 +91,8 @@ var require_package = __commonJS({
92
91
  }
93
92
  });
94
93
  async function getPackageJson(props) {
95
- const packageJson = await mLs(props);
96
- return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
97
- dependencies: ["@sentry/solid"]
98
- });
94
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
95
+ return packageJson.addDependencies(["@sentry/solid"]);
99
96
  }
100
97
  export {
101
98
  getPackageJson as default
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- T7s
4
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ vWs
4
+ } from "../../../../chunk-TUL4TJRN.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 T7s(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
- dLs
4
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ oWs
4
+ } from "../../../../chunk-TUL4TJRN.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 dLs(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,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g7s,
4
- mLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ lWs
4
+ } from "../../../../chunk-TUL4TJRN.js";
6
5
  import "../../../../chunk-LU7IBQI7.js";
7
6
 
8
7
  // ../../boilerplates/sqlite/dist/files/$package.json.js
@@ -120,12 +119,11 @@ var require_package = __commonJS({
120
119
  }
121
120
  });
122
121
  async function getPackageJson(props) {
123
- const packageJson = await mLs(props);
124
- packageJson.scripts["sqlite:migrate"] = "tsx ./database/sqlite/schema/all.ts";
125
- return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
126
- devDependencies: ["@types/better-sqlite3", "tsx"],
127
- dependencies: ["better-sqlite3", "dotenv"]
128
- });
122
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
123
+ return packageJson.setScript("sqlite:migrate", {
124
+ value: "tsx ./database/sqlite/schema/all.ts",
125
+ precedence: 1
126
+ }).addDevDependencies(["@types/better-sqlite3"]).addDevDependencies(["tsx"], ["sqlite:migrate"]).addDependencies(["better-sqlite3", "dotenv"]);
129
127
  }
130
128
  export {
131
129
  getPackageJson as default
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g7s,
4
- mLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ lWs
4
+ } from "../../../../chunk-TUL4TJRN.js";
6
5
  import "../../../../chunk-LU7IBQI7.js";
7
6
 
8
7
  // ../../boilerplates/tailwindcss/dist/files/$package.json.js
@@ -52,7 +51,7 @@ var require_package = __commonJS({
52
51
  autoprefixer: "^10.4.20",
53
52
  daisyui: "^4.12.10",
54
53
  postcss: "^8.4.47",
55
- tailwindcss: "^3.4.12",
54
+ tailwindcss: "^3.4.13",
56
55
  vike: "^0.4.196",
57
56
  vite: "^5.4.7"
58
57
  },
@@ -89,15 +88,8 @@ var require_package = __commonJS({
89
88
  }
90
89
  });
91
90
  async function getPackageJson(props) {
92
- const packageJson = await mLs(props);
93
- return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
94
- devDependencies: [
95
- "tailwindcss",
96
- "postcss",
97
- "autoprefixer",
98
- ...props.meta.BATI.has("daisyui") ? ["daisyui"] : []
99
- ]
100
- });
91
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ return packageJson.addDevDependencies(["tailwindcss", "postcss", "autoprefixer"]).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
101
93
  }
102
94
  export {
103
95
  getPackageJson as default
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g7s,
4
- mLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ lWs
4
+ } from "../../../../chunk-TUL4TJRN.js";
6
5
  import "../../../../chunk-LU7IBQI7.js";
7
6
 
8
7
  // ../../boilerplates/telefunc/dist/files/$package.json.js
@@ -88,10 +87,8 @@ var require_package = __commonJS({
88
87
  }
89
88
  });
90
89
  async function getPackageJson(props) {
91
- const packageJson = await mLs(props);
92
- return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
93
- dependencies: ["telefunc", "@universal-middleware/core"]
94
- });
90
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ return packageJson.addDependencies(["telefunc", "@universal-middleware/core"]);
95
92
  }
96
93
  export {
97
94
  getPackageJson as default
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- Uus,
4
- hLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ Mhs,
4
+ uWs
5
+ } from "../../../../chunk-TUL4TJRN.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 hLs(props);
11
- Uus(mod, {
10
+ const mod = await uWs(props);
11
+ Mhs(mod, {
12
12
  from: "telefunc/vite",
13
13
  constructor: "telefunc",
14
14
  imported: "telefunc"
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g7s,
4
- mLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ lWs
4
+ } from "../../../../chunk-TUL4TJRN.js";
6
5
  import "../../../../chunk-LU7IBQI7.js";
7
6
 
8
7
  // ../../boilerplates/trpc/dist/files/$package.json.js
@@ -94,10 +93,8 @@ var require_package = __commonJS({
94
93
  }
95
94
  });
96
95
  async function getPackageJson(props) {
97
- const packageJson = await mLs(props);
98
- return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
99
- dependencies: ["@trpc/server", "@trpc/client"]
100
- });
96
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
+ return packageJson.addDependencies(["@trpc/server", "@trpc/client"]);
101
98
  }
102
99
  export {
103
100
  getPackageJson as default
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g7s,
4
- mLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ lWs
4
+ } from "../../../../chunk-TUL4TJRN.js";
6
5
  import "../../../../chunk-LU7IBQI7.js";
7
6
 
8
7
  // ../../boilerplates/ts-rest/dist/files/$package.json.js
@@ -94,12 +93,8 @@ var require_package = __commonJS({
94
93
  }
95
94
  });
96
95
  async function getPackageJson(props) {
97
- const packageJson = await mLs(props);
98
- g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
99
- dependencies: ["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"],
100
- devDependencies: ["zod"]
101
- });
102
- return packageJson;
96
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
+ return packageJson.addDevDependencies(["zod"]).addDependencies(["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"]);
103
98
  }
104
99
  export {
105
100
  getPackageJson as default
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g7s,
4
- mLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ lWs
4
+ } from "../../../../chunk-TUL4TJRN.js";
6
5
  import "../../../../chunk-LU7IBQI7.js";
7
6
 
8
7
  // ../../boilerplates/vercel/dist/files/$package.json.js
@@ -69,10 +68,8 @@ var require_package = __commonJS({
69
68
  }
70
69
  });
71
70
  async function getPackageJson(props) {
72
- const packageJson = await mLs(props);
73
- return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
74
- dependencies: ["vite-plugin-vercel", "@vite-plugin-vercel/vike"]
75
- });
71
+ const packageJson = await lWs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
72
+ return packageJson.addDependencies(["vite-plugin-vercel", "@vite-plugin-vercel/vike"]);
76
73
  }
77
74
  export {
78
75
  getPackageJson as default
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- mLs
4
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ cWs
4
+ } from "../../../../chunk-TUL4TJRN.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 mLs(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
- Uus,
4
- hLs
5
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ Mhs,
4
+ uWs
5
+ } from "../../../../chunk-TUL4TJRN.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 hLs(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
- Uus(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
- dLs
4
- } from "../../../../chunk-ZPMGCQ2D.js";
3
+ oWs
4
+ } from "../../../../chunk-TUL4TJRN.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 dLs(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