@batijs/cli 0.0.518 → 0.0.520

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 (82) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +3 -3
  3. package/dist/boilerplates/@batijs/auth0/files/$wrangler.jsonc.js +3 -3
  4. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +4 -4
  5. package/dist/boilerplates/@batijs/aws/files/$README.md.js +5 -5
  6. package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +5 -5
  7. package/dist/boilerplates/@batijs/aws/files/$package.json.js +3 -3
  8. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  9. package/dist/boilerplates/@batijs/biome/files/$package.json.js +3 -3
  10. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +4 -4
  11. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +3 -3
  12. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  13. package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +5 -5
  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.jsonc.js +3 -3
  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/$TODO.md.js +5 -5
  20. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +3 -3
  21. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +3 -3
  22. package/dist/boilerplates/@batijs/express/files/$package.json.js +3 -3
  23. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +3 -3
  24. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  25. package/dist/boilerplates/@batijs/h3/files/$package.json.js +4 -4
  26. package/dist/boilerplates/@batijs/hono/files/$package.json.js +5 -5
  27. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  28. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +3 -3
  29. package/dist/boilerplates/@batijs/photon/files/$README.md.js +3 -3
  30. package/dist/boilerplates/@batijs/photon/files/$package.json.js +4 -4
  31. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +3 -3
  32. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
  33. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  34. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  35. package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +3 -3
  36. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
  37. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  38. package/dist/boilerplates/@batijs/react/files/$package.json.js +4 -4
  39. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  40. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  41. package/dist/boilerplates/@batijs/react/types/pages/+config.d.ts +5 -7
  42. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +3 -3
  43. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  44. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +5 -5
  45. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +3 -3
  46. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +3 -3
  47. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  48. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  49. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +5 -5
  50. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +3 -3
  51. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  52. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  53. package/dist/boilerplates/@batijs/shared/files/$README.md.js +7 -7
  54. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +3 -3
  55. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +4 -4
  56. package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.ts +3 -1
  57. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  58. package/dist/boilerplates/@batijs/solid/files/$package.json.js +4 -4
  59. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  60. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  61. package/dist/boilerplates/@batijs/solid/types/pages/+config.d.ts +5 -7
  62. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +3 -3
  63. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  64. package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +3 -3
  65. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  66. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +3 -3
  67. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  68. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +4 -4
  69. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  70. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +4 -4
  71. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
  72. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +3 -3
  73. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
  74. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  75. package/dist/boilerplates/@batijs/vue/files/$package.json.js +4 -4
  76. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  77. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +5 -5
  78. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +3 -3
  79. package/dist/{chunk-5DFJDTFL.js → chunk-N4TVKB3H.js} +82417 -83869
  80. package/dist/index.js +28 -30
  81. package/package.json +5 -5
  82. package/dist/boilerplates/@batijs/prettier/files/.prettierrc +0 -3
@@ -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
- xxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ n1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.addDevDependencies(["postcss", "postcss-preset-mantine", "postcss-simple-vars"]).addDependencies(["@mantine/core", "@mantine/hooks"]);
98
98
  }
99
99
  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
- Sxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ t1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/photon/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await Sxs(props);
13
+ const content = await t1s(props);
14
14
  const photon = `
15
15
  ## Photon
16
16
  [Photon](https://photonjs.dev) is a next-generation server and deployment toolkit.
@@ -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
- xxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ n1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,7 +52,7 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@types/node": "^20.19.25",
55
- "vike-photon": "^0.1.19"
55
+ "vike-photon": "^0.1.20"
56
56
  },
57
57
  dependencies: {
58
58
  "@batijs/core": "workspace:*"
@@ -76,7 +76,7 @@ var require_package = __commonJS({
76
76
  }
77
77
  });
78
78
  async function getPackageJson(props) {
79
- const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
79
+ const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
80
80
  return packageJson.setScript("dev", {
81
81
  value: "vike dev",
82
82
  precedence: 20,
@@ -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
- Sxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ t1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/plausible.io/dist/files/$TODO.md.js
12
12
  async function getTodo(props) {
13
- const content = await Sxs(props);
13
+ const content = await t1s(props);
14
14
  const headFileName = props.meta.BATI.has("vue") ? "+Head.vue" : "+Head.tsx";
15
15
  const todo = `
16
16
  ## plausible.io
@@ -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
- Dxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ a1s
7
+ } from "../../../../chunk-N4TVKB3H.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 Dxs(props, { fallbackEmpty: true });
31
+ const pnpmWorkspace = await a1s(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
- xxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ n1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -64,7 +64,7 @@ var require_package = __commonJS({
64
64
  }
65
65
  });
66
66
  async function getPackageJson(props) {
67
- const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
67
+ const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
68
68
  return packageJson.addDevDependencies(["prettier"]);
69
69
  }
70
70
  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
- lUs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ UMs
7
+ } from "../../../../chunk-N4TVKB3H.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 lUs(
14
+ return UMs(
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
- Sxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ t1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/prisma/dist/files/$TODO.md.js
12
12
  async function getTodo(props) {
13
- const content = await Sxs(props);
13
+ const content = await t1s(props);
14
14
  const todo = `
15
15
  ## Prisma
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
- xxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ n1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -66,7 +66,7 @@ var require_package = __commonJS({
66
66
  }
67
67
  });
68
68
  async function getPackageJson(props) {
69
- const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
69
+ const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
70
70
  return packageJson.setScript("prisma:studio", {
71
71
  value: "prisma studio",
72
72
  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
- Sxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ t1s
7
+ } from "../../../../chunk-N4TVKB3H.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 Sxs(props);
13
+ const content = await t1s(props);
14
14
  const about = `
15
15
  ## Vike
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
- xxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ n1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -64,7 +64,7 @@ var require_package = __commonJS({
64
64
  tailwindcss: "^4.1.17",
65
65
  typescript: "^5.9.3",
66
66
  vike: "^0.4.247",
67
- "vike-photon": "^0.1.19",
67
+ "vike-photon": "^0.1.20",
68
68
  "vike-react": "^0.6.13",
69
69
  vite: "^7.2.4",
70
70
  "vite-plugin-compiled-react": "^1.3.1"
@@ -181,7 +181,7 @@ var require_package = __commonJS({
181
181
  }
182
182
  });
183
183
  async function getPackageJson(props) {
184
- const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
184
+ const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
185
185
  return packageJson.addDevDependencies(["vite", "@vitejs/plugin-react", "@types/react", "@types/react-dom"]).addDependencies(["react", "react-dom", "vike", "vike-react"]);
186
186
  }
187
187
  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
- Exs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ r1s
7
+ } from "../../../../chunk-N4TVKB3H.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 Exs(props);
13
+ const tsConfig = await r1s(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
- Cxs,
7
- Tri
8
- } from "../../../../chunk-5DFJDTFL.js";
6
+ i1s,
7
+ iQn
8
+ } from "../../../../chunk-N4TVKB3H.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 Cxs(props);
15
- Tri(mod, {
14
+ const mod = await i1s(props);
15
+ iQn(mod, {
16
16
  from: "@vitejs/plugin-react",
17
17
  constructor: "react"
18
18
  });
@@ -185,13 +185,7 @@ declare const _default: {
185
185
  };
186
186
  };
187
187
  vite: {
188
- plugins: (((Record<string, unknown> & {
189
- name: string;
190
- }) | Promise<(Record<string, unknown> & {
191
- name: string;
192
- }) | (Record<string, unknown> & {
193
- name: string;
194
- })[]>)[] | import("vite").Plugin<any>[])[];
188
+ readonly plugins: (import("vite").Plugin<any>[] | (import("vike-photon/plugin").PluginInterop | Promise<import("vike-photon/plugin").PluginInterop | import("vike-photon/plugin").PluginInterop[]>)[] | Promise<import("vike-photon/plugin").PluginInterop[]>)[];
195
189
  };
196
190
  stream: {
197
191
  enable: null;
@@ -210,6 +204,10 @@ declare const _default: {
210
204
  config: true;
211
205
  };
212
206
  global: true;
207
+ effect({ configValue }: {
208
+ configValue: unknown;
209
+ configDefinedAt: `Config ${string} defined at ${string}`;
210
+ }): undefined;
213
211
  };
214
212
  isr: {
215
213
  env: {
@@ -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
- xxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ n1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -87,7 +87,7 @@ var require_package = __commonJS({
87
87
  }
88
88
  });
89
89
  async function getPackageJson(props) {
90
- const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
90
+ const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
91
  return packageJson.addDependencies(["@sentry/react"]);
92
92
  }
93
93
  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
- lUs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ UMs
7
+ } from "../../../../chunk-N4TVKB3H.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 = lUs(
15
+ envContent = UMs(
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 = lUs(
21
+ envContent = UMs(
22
22
  envContent,
23
23
  "PUBLIC_ENV__SENTRY_DSN",
24
24
  "",
@@ -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
- Sxs,
7
- Wfs
8
- } from "../../../../chunk-5DFJDTFL.js";
6
+ t1s,
7
+ xas
8
+ } from "../../../../chunk-N4TVKB3H.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/sentry/dist/files/$README.md.js
13
13
  async function getReadme(props) {
14
- const content = await Sxs(props);
15
- const pmCmd = Wfs().run;
14
+ const content = await t1s(props);
15
+ const pmCmd = xas().run;
16
16
  const about = `
17
17
 
18
18
  ## Sentry Browser / Error Tracking & Performance Monitoring
@@ -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
- Sxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ t1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/sentry/dist/files/$TODO.md.js
12
12
  async function getTodo(props) {
13
- const content = await Sxs(props);
13
+ const content = await t1s(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
- xxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ n1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -77,7 +77,7 @@ var require_package = __commonJS({
77
77
  }
78
78
  });
79
79
  async function getPackageJson(props) {
80
- const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
80
+ const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
81
81
  return packageJson.addDevDependencies(["@sentry/vite-plugin"]);
82
82
  }
83
83
  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
- Cxs,
7
- Lir,
8
- Tri
9
- } from "../../../../chunk-5DFJDTFL.js";
6
+ drr,
7
+ i1s,
8
+ iQn
9
+ } from "../../../../chunk-N4TVKB3H.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 Cxs(props);
16
- Tri(mod, {
15
+ const mod = await i1s(props);
16
+ iQn(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
- Lir(mod.exports.default.$args[0], { build: { sourcemap: true } });
24
+ drr(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
- Cme,
7
- Cxs,
8
- IK,
9
- NR
10
- } from "../../../../../chunk-5DFJDTFL.js";
6
+ Xde,
7
+ i1s,
8
+ mR,
9
+ pK
10
+ } from "../../../../../chunk-N4TVKB3H.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 Cxs(props);
18
+ mod = await i1s(props);
19
19
  } catch {
20
- mod = Cme("");
20
+ mod = Xde("");
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 = IK.functionCall("sentryBrowserConfig");
28
- const c = NR(e).code;
27
+ const e = pK.functionCall("sentryBrowserConfig");
28
+ const c = mR(e).code;
29
29
  mod.$ast.body.splice(mod.$ast.body.length - 1, 0, c);
30
30
  }
31
31
  return mod.generate().code;
@@ -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
- Sxs,
7
- Wfs
8
- } from "../../../../chunk-5DFJDTFL.js";
6
+ t1s,
7
+ xas
8
+ } from "../../../../chunk-N4TVKB3H.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
13
13
  async function getReadme(props) {
14
- const content = await Sxs(props);
15
- const pmCmd = Wfs().run;
14
+ const content = await t1s(props);
15
+ const pmCmd = xas().run;
16
16
  const about = `
17
17
 
18
18
  ## 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
- xxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ n1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -83,7 +83,7 @@ var require_package = __commonJS({
83
83
  }
84
84
  });
85
85
  async function getPackageJson(props) {
86
- const packageJson = await xxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
86
+ const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
87
87
  return packageJson.setScript("shadcn", {
88
88
  value: "npx shadcn@latest",
89
89
  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
- Exs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ r1s
7
+ } from "../../../../chunk-N4TVKB3H.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 Exs(props);
13
+ const tsConfig = await r1s(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
- Cxs,
7
- kir
8
- } from "../../../../chunk-5DFJDTFL.js";
6
+ i1s,
7
+ urr
8
+ } from "../../../../chunk-N4TVKB3H.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 Cxs(props);
14
+ const mod = await i1s(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 = `${kir("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
21
+ const warnMsg = `${urr("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,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
- Sxs,
7
- aUs,
8
- sUs
9
- } from "../../../../chunk-5DFJDTFL.js";
6
+ RMs,
7
+ jMs,
8
+ t1s
9
+ } from "../../../../chunk-N4TVKB3H.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
11
  import "../../../../chunk-DHZ7AZKP.js";
12
12
 
13
13
  // ../../boilerplates/shared/dist/files/$README.md.js
14
14
  async function getReadme(props) {
15
- const content = await Sxs(props);
15
+ const content = await t1s(props);
16
16
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
17
- const v = aUs();
17
+ const v = jMs();
18
18
  const intro = `Generated with [vike.dev/new](https://vike.dev/new) ([version ${v.semver.at(-1)}](https://www.npmjs.com/package/create-vike/v/${v.version})) using this command:
19
19
 
20
20
  \`\`\`sh
21
- ${sUs()} ${flags}
21
+ ${RMs()} ${flags}
22
22
  \`\`\`
23
23
  `;
24
24
  content.addMarkdown(intro, {
@@ -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
- Sxs
7
- } from "../../../../chunk-5DFJDTFL.js";
6
+ t1s
7
+ } from "../../../../chunk-N4TVKB3H.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/shared/dist/files/$TODO.md.js
12
12
  var todoIntro = "The following steps need to be performed before starting your application.";
13
13
  async function getTodo(props) {
14
- const content = await Sxs(props);
14
+ const content = await t1s(props);
15
15
  content.addMarkdown(todoIntro, {
16
16
  wrapper: {
17
17
  section: "intro"