@batijs/cli 0.0.483 → 0.0.485

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 (74) 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 +4 -4
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/biome/files/$biome.json.js +7 -1
  8. package/dist/boilerplates/@batijs/biome/files/$package.json.js +5 -4
  9. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +3 -3
  10. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +3 -3
  11. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  12. package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
  13. package/dist/boilerplates/@batijs/d1/files/$package.json.js +3 -3
  14. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  15. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +3 -3
  16. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  17. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
  18. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +3 -3
  19. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +3 -3
  20. package/dist/boilerplates/@batijs/express/files/$package.json.js +5 -5
  21. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +5 -5
  22. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  23. package/dist/boilerplates/@batijs/h3/files/$package.json.js +5 -5
  24. package/dist/boilerplates/@batijs/hono/files/$package.json.js +6 -6
  25. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  26. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +3 -3
  27. package/dist/boilerplates/@batijs/photon/files/$README.md.js +3 -3
  28. package/dist/boilerplates/@batijs/photon/files/$package.json.js +3 -3
  29. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
  30. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  31. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  32. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  33. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
  34. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  35. package/dist/boilerplates/@batijs/react/files/$package.json.js +3 -3
  36. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  37. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  38. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +3 -3
  39. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  40. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  41. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +3 -3
  42. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  43. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  44. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  45. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +4 -4
  46. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  47. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  48. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  49. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +3 -3
  50. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  51. package/dist/boilerplates/@batijs/solid/files/$package.json.js +3 -3
  52. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  53. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  54. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +3 -3
  55. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  56. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  57. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  58. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +4 -4
  59. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  60. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +3 -3
  61. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  62. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +5 -5
  63. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +1 -1
  64. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +3 -3
  65. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +3 -3
  66. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
  67. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  68. package/dist/boilerplates/@batijs/vue/files/$package.json.js +3 -3
  69. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  70. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  71. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +3 -3
  72. package/dist/{chunk-FVKLDOYX.js → chunk-LQBVMUWU.js} +63453 -64029
  73. package/dist/index.js +18 -18
  74. package/package.json +5 -5
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- s2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ gEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -90,7 +90,7 @@ var require_package = __commonJS({
90
90
  }
91
91
  });
92
92
  async function getPackageJson(props) {
93
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
+ const packageJson = await gEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
94
  return packageJson.setScript("dev", {
95
95
  value: "vike dev",
96
96
  precedence: 20,
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- l2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ TEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -28,7 +28,7 @@ async function getPnpmWorkspace(props) {
28
28
  ];
29
29
  const intersection = intersect(dependenciesApproveBuild, deps);
30
30
  if (intersection.length === 0) return;
31
- const pnpmWorkspace = await l2s(props, { fallbackEmpty: true });
31
+ const pnpmWorkspace = await TEs(props, { fallbackEmpty: true });
32
32
  if (!pnpmWorkspace.has("onlyBuiltDependencies")) {
33
33
  pnpmWorkspace.set("onlyBuiltDependencies", []);
34
34
  }
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- s2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ gEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -69,7 +69,7 @@ var require_package = __commonJS({
69
69
  }
70
70
  });
71
71
  async function getPackageJson(props) {
72
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
72
+ const packageJson = await gEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
73
73
  return packageJson.addDevDependencies(["prettier"]);
74
74
  }
75
75
  export {
@@ -3,15 +3,15 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- VUs
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ zjs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/prisma/dist/files/$.env.js
12
12
  async function getEnv(props) {
13
13
  const envContent = await props.readfile?.();
14
- return VUs(
14
+ return zjs(
15
15
  envContent,
16
16
  "DATABASE_URL",
17
17
  "postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public",
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ mEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/prisma/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await n2s(props);
13
+ const content = await mEs(props);
14
14
  const todo = `
15
15
  ## *Prisma*
16
16
  ### Setup
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- s2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ gEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -71,7 +71,7 @@ var require_package = __commonJS({
71
71
  }
72
72
  });
73
73
  async function getPackageJson(props) {
74
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
74
+ const packageJson = await gEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
75
75
  return packageJson.setScript("prisma:studio", {
76
76
  value: "prisma studio",
77
77
  precedence: 1
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ mEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/react/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await n2s(props);
13
+ const content = await mEs(props);
14
14
  const about = `
15
15
  ## React
16
16
 
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- s2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ gEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -186,7 +186,7 @@ var require_package = __commonJS({
186
186
  }
187
187
  });
188
188
  async function getPackageJson(props) {
189
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
189
+ const packageJson = await gEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
190
190
  return packageJson.addDevDependencies(["vite", "@types/react", "@types/react-dom"]).addDependencies(["@vitejs/plugin-react", "react", "react-dom", "vike", "vike-react"]);
191
191
  }
192
192
  export {
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- i2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ hEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/react/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await i2s(props);
13
+ const tsConfig = await hEs(props);
14
14
  tsConfig.compilerOptions.jsx = "react-jsx";
15
15
  tsConfig.compilerOptions.jsxImportSource = "react";
16
16
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-react"];
@@ -3,16 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Tni,
7
- a2s
8
- } from "../../../../chunk-FVKLDOYX.js";
6
+ rri,
7
+ yEs
8
+ } from "../../../../chunk-LQBVMUWU.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/react/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await a2s(props);
15
- Tni(mod, {
14
+ const mod = await yEs(props);
15
+ rri(mod, {
16
16
  from: "@vitejs/plugin-react",
17
17
  constructor: "react"
18
18
  });
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- s2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ gEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -97,7 +97,7 @@ var require_package = __commonJS({
97
97
  }
98
98
  });
99
99
  async function getPackageJson(props) {
100
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
100
+ const packageJson = await gEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
101
101
  return packageJson.addDependencies(["@sentry/react"]);
102
102
  }
103
103
  export {
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- VUs
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ zjs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -12,13 +12,13 @@ import "../../../../chunk-DHZ7AZKP.js";
12
12
  async function getServerlessEnv(props) {
13
13
  const sentryDNS = process.env.TEST_SENTRY_DSN;
14
14
  let envContent = await props.readfile?.();
15
- envContent = VUs(
15
+ envContent = zjs(
16
16
  envContent,
17
17
  "SENTRY_DSN",
18
18
  sentryDNS ?? "",
19
19
  "Sentry DNS. Used for Error Reporting on the Server"
20
20
  );
21
- envContent = VUs(
21
+ envContent = zjs(
22
22
  envContent,
23
23
  "PUBLIC_ENV__SENTRY_DSN",
24
24
  "",
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ mEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/sentry/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await n2s(props);
13
+ const content = await mEs(props);
14
14
  const about = `
15
15
 
16
16
  ## Sentry Browser / Error Tracking & Performance Monitoring
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- s2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ gEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -82,7 +82,7 @@ var require_package = __commonJS({
82
82
  }
83
83
  });
84
84
  async function getPackageJson(props) {
85
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
85
+ const packageJson = await gEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
86
86
  return packageJson.addDevDependencies(["@sentry/vite-plugin"]);
87
87
  }
88
88
  export {
@@ -3,17 +3,17 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Tni,
7
- a2s,
8
- hsr
9
- } from "../../../../chunk-FVKLDOYX.js";
6
+ Oir,
7
+ rri,
8
+ yEs
9
+ } from "../../../../chunk-LQBVMUWU.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
11
  import "../../../../chunk-DHZ7AZKP.js";
12
12
 
13
13
  // ../../boilerplates/sentry/dist/files/$vite.config.ts.js
14
14
  async function getViteConfig(props) {
15
- const mod = await a2s(props);
16
- Tni(mod, {
15
+ const mod = await yEs(props);
16
+ rri(mod, {
17
17
  from: "@sentry/vite-plugin",
18
18
  constructor: "sentryVitePlugin",
19
19
  imported: "sentryVitePlugin",
@@ -21,7 +21,7 @@ async function getViteConfig(props) {
21
21
  sourcemaps: { disable: false }
22
22
  }
23
23
  });
24
- hsr(mod.exports.default.$args[0], { build: { sourcemap: true } });
24
+ Oir(mod.exports.default.$args[0], { build: { sourcemap: true } });
25
25
  return mod.generate().code;
26
26
  }
27
27
  export {
@@ -3,11 +3,11 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Ene,
7
- Gq,
8
- PNe,
9
- a2s
10
- } from "../../../../../chunk-FVKLDOYX.js";
6
+ Cme,
7
+ IK,
8
+ NR,
9
+ yEs
10
+ } from "../../../../../chunk-LQBVMUWU.js";
11
11
  import "../../../../../chunk-IAWYWZSL.js";
12
12
  import "../../../../../chunk-DHZ7AZKP.js";
13
13
 
@@ -15,17 +15,17 @@ import "../../../../../chunk-DHZ7AZKP.js";
15
15
  async function getViteConfig(props) {
16
16
  let mod;
17
17
  try {
18
- mod = await a2s(props);
18
+ mod = await yEs(props);
19
19
  } catch {
20
- mod = PNe("");
20
+ mod = Cme("");
21
21
  }
22
22
  if (!props.meta.BATI.has("vue")) {
23
23
  mod.imports.$prepend({
24
24
  from: "../sentry.browser.config",
25
25
  imported: "sentryBrowserConfig"
26
26
  });
27
- const e = Ene.functionCall("sentryBrowserConfig");
28
- const c = Gq(e).code;
27
+ const e = IK.functionCall("sentryBrowserConfig");
28
+ const c = NR(e).code;
29
29
  mod.$ast.body.splice(mod.$ast.body.length - 1, 0, c);
30
30
  }
31
31
  return mod.generate().code;
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ mEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await n2s(props);
13
+ const content = await mEs(props);
14
14
  const about = `
15
15
 
16
16
  ## shadcn/ui
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- s2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ gEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -56,7 +56,7 @@ var require_package = __commonJS({
56
56
  autoprefixer: "^10.4.21",
57
57
  "class-variance-authority": "^0.7.1",
58
58
  clsx: "^2.1.1",
59
- "lucide-react": "^0.547.0",
59
+ "lucide-react": "^0.548.0",
60
60
  "tailwind-merge": "^3.3.1",
61
61
  tailwindcss: "^4.1.16",
62
62
  "tw-animate-css": "^1.4.0"
@@ -88,7 +88,7 @@ var require_package = __commonJS({
88
88
  }
89
89
  });
90
90
  async function getPackageJson(props) {
91
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ const packageJson = await gEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
92
  return packageJson.setScript("shadcn", {
93
93
  value: "npx shadcn@latest",
94
94
  precedence: 1,
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- i2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ hEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await i2s(props);
13
+ const tsConfig = await hEs(props);
14
14
  tsConfig.compilerOptions.paths = {
15
15
  ...tsConfig.compilerOptions?.paths ?? {},
16
16
  "@/*": ["./*"]
@@ -3,22 +3,22 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- a2s,
7
- fsr
8
- } from "../../../../chunk-FVKLDOYX.js";
6
+ Pir,
7
+ yEs
8
+ } from "../../../../chunk-LQBVMUWU.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await a2s(props);
14
+ const mod = await yEs(props);
15
15
  const replacement = `new URL("./", import.meta.url).pathname`;
16
16
  addResolveAlias(mod, "@", replacement);
17
17
  return mod.generate().code.replace(`"{{PLACEHOLDER_ALIAS}}"`, replacement);
18
18
  }
19
19
  function addResolveAlias(mod, find, replacement) {
20
20
  const alias = mod.exports.default.$args[0]?.resolve?.alias ?? {};
21
- const warnMsg = `${fsr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
21
+ const warnMsg = `${Pir("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
22
22
  if (alias?.length === void 0) {
23
23
  if (alias[find]) {
24
24
  console.warn(warnMsg);
@@ -3,23 +3,23 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- BUs,
7
- UUs,
8
- n2s,
9
- rxs
10
- } from "../../../../chunk-FVKLDOYX.js";
6
+ Ujs,
7
+ dSs,
8
+ mEs,
9
+ qjs
10
+ } from "../../../../chunk-LQBVMUWU.js";
11
11
  import "../../../../chunk-IAWYWZSL.js";
12
12
  import "../../../../chunk-DHZ7AZKP.js";
13
13
 
14
14
  // ../../boilerplates/shared/dist/files/$README.md.js
15
15
  async function getReadme(props) {
16
- const content = await n2s(props);
16
+ const content = await mEs(props);
17
17
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
18
- const v = UUs();
19
- const intro = `Generated with [vike.dev/new](https://vike.dev/new) ${`(${rxs.link(`https://www.npmjs.com/package/create-vike/v/${v.version}`, `version ${v.semver.at(-1)}`)})`} using this command:
18
+ const v = qjs();
19
+ const intro = `Generated with [vike.dev/new](https://vike.dev/new) ${`(${dSs.link(`https://www.npmjs.com/package/create-vike/v/${v.version}`, `version ${v.semver.at(-1)}`)})`} using this command:
20
20
 
21
21
  \`\`\`sh
22
- ${BUs()} ${flags}
22
+ ${Ujs()} ${flags}
23
23
  \`\`\`
24
24
  `;
25
25
  content.addMarkdown(intro, {
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- s2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ gEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -89,7 +89,7 @@ var require_package = __commonJS({
89
89
  }
90
90
  });
91
91
  async function getPackageJson(props) {
92
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ const packageJson = await gEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
93
  return packageJson.addDependencies(["@universal-middleware/core"]);
94
94
  }
95
95
  export {
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ mEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/solid/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await n2s(props);
13
+ const content = await mEs(props);
14
14
  const about = `
15
15
 
16
16
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [SolidJS](https://www.solidjs.com/guides/getting-started).
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- s2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ gEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -178,7 +178,7 @@ var require_package = __commonJS({
178
178
  }
179
179
  });
180
180
  async function getPackageJson(props) {
181
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
181
+ const packageJson = await gEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
182
182
  return packageJson.addDevDependencies(["vite"]).addDependencies(["solid-js", "vike-solid", "vike"]);
183
183
  }
184
184
  export {
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- i2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ hEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/solid/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await i2s(props);
13
+ const tsConfig = await hEs(props);
14
14
  tsConfig.compilerOptions.jsx = "react-jsx";
15
15
  tsConfig.compilerOptions.jsxImportSource = "solid-js";
16
16
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-solid/client"];
@@ -3,16 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Tni,
7
- a2s
8
- } from "../../../../chunk-FVKLDOYX.js";
6
+ rri,
7
+ yEs
8
+ } from "../../../../chunk-LQBVMUWU.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/solid/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await a2s(props);
15
- Tni(mod, {
14
+ const mod = await yEs(props);
15
+ rri(mod, {
16
16
  from: "vike-solid/vite",
17
17
  constructor: "vikeSolid"
18
18
  });
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- s2s
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ gEs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -95,7 +95,7 @@ var require_package = __commonJS({
95
95
  }
96
96
  });
97
97
  async function getPackageJson(props) {
98
- const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
98
+ const packageJson = await gEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
99
99
  return packageJson.addDependencies(["@sentry/solid"]);
100
100
  }
101
101
  export {
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- VUs
7
- } from "../../../../chunk-FVKLDOYX.js";
6
+ zjs
7
+ } from "../../../../chunk-LQBVMUWU.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -12,7 +12,7 @@ import "../../../../chunk-DHZ7AZKP.js";
12
12
  async function getEnv(props) {
13
13
  if (props.meta.BATI.hasD1) return;
14
14
  const envContent = await props.readfile?.();
15
- return VUs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
15
+ return zjs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
16
16
  }
17
17
  export {
18
18
  getEnv as default