@batijs/cli 0.0.499 → 0.0.500

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 (80) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
  2. package/dist/boilerplates/@batijs/auth0/files/{$README.md.js → $TODO.md.js} +7 -7
  3. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +3 -3
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +6 -46
  5. package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +59 -0
  6. package/dist/boilerplates/@batijs/aws/files/$package.json.js +3 -3
  7. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  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/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 → $TODO.md.js} +8 -10
  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 → $TODO.md.js} +7 -7
  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 +3 -3
  21. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +3 -3
  22. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  23. package/dist/boilerplates/@batijs/h3/files/$package.json.js +3 -3
  24. package/dist/boilerplates/@batijs/hono/files/$package.json.js +3 -3
  25. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +5 -5
  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/plausible.io/files/$TODO.md.js +25 -0
  30. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
  31. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  32. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  33. package/dist/boilerplates/@batijs/prisma/files/{$README.md.js → $TODO.md.js} +8 -11
  34. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
  35. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  36. package/dist/boilerplates/@batijs/react/files/$package.json.js +3 -3
  37. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  38. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  39. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +3 -3
  40. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  41. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -9
  42. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +30 -0
  43. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +3 -3
  44. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  45. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +4 -4
  46. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  47. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +3 -3
  48. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  49. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  50. package/dist/boilerplates/@batijs/shared/files/$README.md.js +8 -9
  51. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +32 -0
  52. package/dist/boilerplates/@batijs/shared/hooks/after.js +11 -9
  53. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +3 -3
  54. package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.ts +8 -1
  55. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  56. package/dist/boilerplates/@batijs/solid/files/$package.json.js +3 -3
  57. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  58. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  59. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +3 -3
  60. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  61. package/dist/boilerplates/@batijs/sqlite/files/{$README.md.js → $TODO.md.js} +8 -8
  62. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  63. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +3 -3
  64. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  65. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +3 -3
  66. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  67. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +3 -3
  68. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +2 -2
  69. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +3 -3
  70. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +3 -3
  71. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
  72. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  73. package/dist/boilerplates/@batijs/vue/files/$package.json.js +3 -3
  74. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  75. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  76. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +3 -3
  77. package/dist/boilerplates/boilerplates.json +11 -0
  78. package/dist/{chunk-EHN5UPTR.js → chunk-GYUZ66B7.js} +26951 -26979
  79. package/dist/index.js +25 -82
  80. package/package.json +5 -5
@@ -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
- ixs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ zEs
7
+ } from "../../../../chunk-GYUZ66B7.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/mantine/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await ixs(props);
14
- const todo = `
13
+ const content = await zEs(props);
14
+ const about = `
15
15
  ## Mantine
16
16
 
17
17
  This is a boilerplate for Mantine based on the [Getting Started](https://mantine.dev/docs/getting-started/) guide.
@@ -24,7 +24,7 @@ If you add more packages, make sure to update the \`layouts/Layout.tsx\` file to
24
24
 
25
25
  The theme is defined in \`layouts/theme.ts\`.
26
26
  `;
27
- content.addMarkdownFeature(todo, "mantine");
27
+ content.addMarkdownFeature(about, "mantine");
28
28
  return content;
29
29
  }
30
30
  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
- axs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ WEs
7
+ } from "../../../../chunk-GYUZ66B7.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -110,7 +110,7 @@ var require_package = __commonJS({
110
110
  }
111
111
  });
112
112
  async function getPackageJson(props) {
113
- const packageJson = await axs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
113
+ const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
114
114
  return packageJson.addDevDependencies(["postcss", "postcss-preset-mantine", "postcss-simple-vars"]).addDependencies(["@mantine/core", "@mantine/hooks"]);
115
115
  }
116
116
  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
- ixs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ zEs
7
+ } from "../../../../chunk-GYUZ66B7.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 ixs(props);
13
+ const content = await zEs(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
- axs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ WEs
7
+ } from "../../../../chunk-GYUZ66B7.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 axs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
+ const packageJson = await WEs(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,
@@ -0,0 +1,25 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as createRequire_BATI_CLI } from 'module';
3
+ const require = createRequire_BATI_CLI(import.meta.url);
4
+
5
+ import {
6
+ zEs
7
+ } from "../../../../chunk-GYUZ66B7.js";
8
+ import "../../../../chunk-IAWYWZSL.js";
9
+ import "../../../../chunk-DHZ7AZKP.js";
10
+
11
+ // ../../boilerplates/plausible.io/dist/files/$TODO.md.js
12
+ async function getTodo(props) {
13
+ const content = await zEs(props);
14
+ const headFileName = props.meta.BATI.has("vue") ? "+Head.vue" : "+Head.tsx";
15
+ const todo = `
16
+ ## plausible.io
17
+ Update \`pages/${headFileName}\` to properly set \`data-domain\` or replace the script with the one from your Plausible account.
18
+
19
+ `;
20
+ content.addMarkdownFeature(todo, "plausible.io");
21
+ return content;
22
+ }
23
+ export {
24
+ getTodo as default
25
+ };
@@ -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
- cxs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ KEs
7
+ } from "../../../../chunk-GYUZ66B7.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 cxs(props, { fallbackEmpty: true });
31
+ const pnpmWorkspace = await KEs(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
- axs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ WEs
7
+ } from "../../../../chunk-GYUZ66B7.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 axs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
72
+ const packageJson = await WEs(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
- UBs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ CBs
7
+ } from "../../../../chunk-GYUZ66B7.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 UBs(
14
+ return CBs(
15
15
  envContent,
16
16
  "DATABASE_URL",
17
17
  "postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public",
@@ -3,28 +3,25 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- ixs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ zEs
7
+ } from "../../../../chunk-GYUZ66B7.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
- // ../../boilerplates/prisma/dist/files/$README.md.js
12
- async function getReadme(props) {
13
- const content = await ixs(props);
11
+ // ../../boilerplates/prisma/dist/files/$TODO.md.js
12
+ async function getTodo(props) {
13
+ const content = await zEs(props);
14
14
  const todo = `
15
- ## *Prisma*
16
- ### Setup
15
+ ## Prisma
17
16
  Run the following command once:
18
17
  \`\`\`sh
19
18
  pnpx prisma init
20
19
  \`\`\`
21
20
 
22
21
  then follow instructions at <https://www.prisma.io/docs/getting-started/quickstart#2-model-your-data-in-the-prisma-schema>`;
23
- content.addMarkdownFeature(todo, "prisma", {
24
- position: "before"
25
- });
22
+ content.addMarkdownFeature(todo, "prisma");
26
23
  return content;
27
24
  }
28
25
  export {
29
- getReadme as default
26
+ getTodo as default
30
27
  };
@@ -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
- axs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ WEs
7
+ } from "../../../../chunk-GYUZ66B7.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 axs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
74
+ const packageJson = await WEs(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
- ixs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ zEs
7
+ } from "../../../../chunk-GYUZ66B7.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 ixs(props);
13
+ const content = await zEs(props);
14
14
  const about = `
15
15
 
16
16
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [React](https://react.dev/learn).
@@ -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
- axs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ WEs
7
+ } from "../../../../chunk-GYUZ66B7.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 axs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
189
+ const packageJson = await WEs(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
- sxs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ YEs
7
+ } from "../../../../chunk-GYUZ66B7.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 sxs(props);
13
+ const tsConfig = await YEs(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
- oxs,
7
- uri
8
- } from "../../../../chunk-EHN5UPTR.js";
6
+ JEs,
7
+ Zti
8
+ } from "../../../../chunk-GYUZ66B7.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 oxs(props);
15
- uri(mod, {
14
+ const mod = await JEs(props);
15
+ Zti(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
- axs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ WEs
7
+ } from "../../../../chunk-GYUZ66B7.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 axs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
100
+ const packageJson = await WEs(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
- UBs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ CBs
7
+ } from "../../../../chunk-GYUZ66B7.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 = UBs(
15
+ envContent = CBs(
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 = UBs(
21
+ envContent = CBs(
22
22
  envContent,
23
23
  "PUBLIC_ENV__SENTRY_DSN",
24
24
  "",
@@ -3,26 +3,20 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- ixs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ zEs
7
+ } from "../../../../chunk-GYUZ66B7.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 ixs(props);
13
+ const content = await zEs(props);
14
14
  const about = `
15
15
 
16
16
  ## Sentry Browser / Error Tracking & Performance Monitoring
17
17
 
18
18
  This app is integrated with [Sentry](https://sentry.io) for error tracking.
19
19
 
20
- Add your Sentry DSN to \`.env\` file.
21
- You can configure [Sentry for the browser](` + (props.meta.BATI.has("react") ? "https://docs.sentry.io/platforms/javascript/guides/react/" : props.meta.BATI.has("solid") ? "https://docs.sentry.io/platforms/javascript/guides/solid/" : props.meta.BATI.has("vue") ? "https://docs.sentry.io/platforms/javascript/guides/vue/" : "https://docs.sentry.io/platforms/javascript/") + `) in \`sentry.browser.config.ts\`.
22
-
23
- Upload of source maps to Sentry is handled by the [\`sentryVitePlugin\`](https://docs.sentry.io/platforms/javascript/sourcemaps/uploading/vite/) in \`vite.config.ts\`.
24
- You have to configure \`SENTRY_ORG\`, \`SENTRY_PROJECT\` and \`SENTRY_AUTH_TOKEN\` in the \`.env.sentry-build-plugin\` file with the values from your Sentry account.
25
-
26
20
  > [!NOTE]
27
21
  > Sentry Error Tracking is **only activated in production** (\`import.meta.env.PROD === true\`)!
28
22
 
@@ -0,0 +1,30 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as createRequire_BATI_CLI } from 'module';
3
+ const require = createRequire_BATI_CLI(import.meta.url);
4
+
5
+ import {
6
+ zEs
7
+ } from "../../../../chunk-GYUZ66B7.js";
8
+ import "../../../../chunk-IAWYWZSL.js";
9
+ import "../../../../chunk-DHZ7AZKP.js";
10
+
11
+ // ../../boilerplates/sentry/dist/files/$TODO.md.js
12
+ async function getTodo(props) {
13
+ const content = await zEs(props);
14
+ const about = `
15
+
16
+ ## Sentry Browser / Error Tracking & Performance Monitoring
17
+
18
+ Add your Sentry DSN to \`.env\` file.
19
+ You can configure [Sentry for the browser](` + (props.meta.BATI.has("react") ? "https://docs.sentry.io/platforms/javascript/guides/react/" : props.meta.BATI.has("solid") ? "https://docs.sentry.io/platforms/javascript/guides/solid/" : props.meta.BATI.has("vue") ? "https://docs.sentry.io/platforms/javascript/guides/vue/" : "https://docs.sentry.io/platforms/javascript/") + `) in \`sentry.browser.config.ts\`.
20
+
21
+ Upload of source maps to Sentry is handled by the [\`sentryVitePlugin\`](https://docs.sentry.io/platforms/javascript/sourcemaps/uploading/vite/) in \`vite.config.ts\`.
22
+ You have to configure \`SENTRY_ORG\`, \`SENTRY_PROJECT\` and \`SENTRY_AUTH_TOKEN\` in the \`.env.sentry-build-plugin\` file with the values from your Sentry account.
23
+
24
+ `;
25
+ content.addMarkdownFeature(about, "sentry");
26
+ return content;
27
+ }
28
+ export {
29
+ getTodo as default
30
+ };
@@ -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
- axs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ WEs
7
+ } from "../../../../chunk-GYUZ66B7.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 axs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
85
+ const packageJson = await WEs(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
- Eir,
7
- oxs,
8
- uri
9
- } from "../../../../chunk-EHN5UPTR.js";
6
+ JEs,
7
+ Tir,
8
+ Zti
9
+ } from "../../../../chunk-GYUZ66B7.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 oxs(props);
16
- uri(mod, {
15
+ const mod = await JEs(props);
16
+ Zti(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
- Eir(mod.exports.default.$args[0], { build: { sourcemap: true } });
24
+ Tir(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
+ JEs,
6
7
  PK,
7
8
  PR,
8
- Sme,
9
- oxs
10
- } from "../../../../../chunk-EHN5UPTR.js";
9
+ Sme
10
+ } from "../../../../../chunk-GYUZ66B7.js";
11
11
  import "../../../../../chunk-IAWYWZSL.js";
12
12
  import "../../../../../chunk-DHZ7AZKP.js";
13
13
 
@@ -15,7 +15,7 @@ import "../../../../../chunk-DHZ7AZKP.js";
15
15
  async function getViteConfig(props) {
16
16
  let mod;
17
17
  try {
18
- mod = await oxs(props);
18
+ mod = await JEs(props);
19
19
  } catch {
20
20
  mod = Sme("");
21
21
  }
@@ -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
- ixs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ zEs
7
+ } from "../../../../chunk-GYUZ66B7.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 ixs(props);
13
+ const content = await zEs(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
- axs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ WEs
7
+ } from "../../../../chunk-GYUZ66B7.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -88,7 +88,7 @@ var require_package = __commonJS({
88
88
  }
89
89
  });
90
90
  async function getPackageJson(props) {
91
- const packageJson = await axs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ const packageJson = await WEs(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
- sxs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ YEs
7
+ } from "../../../../chunk-GYUZ66B7.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 sxs(props);
13
+ const tsConfig = await YEs(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
- bir,
7
- oxs
8
- } from "../../../../chunk-EHN5UPTR.js";
6
+ JEs,
7
+ hir
8
+ } from "../../../../chunk-GYUZ66B7.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 oxs(props);
14
+ const mod = await JEs(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 = `${bir("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
21
+ const warnMsg = `${hir("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,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
- RBs,
7
- ixs,
8
- jBs,
9
- nEs
10
- } from "../../../../chunk-EHN5UPTR.js";
6
+ EBs,
7
+ SBs,
8
+ zEs
9
+ } from "../../../../chunk-GYUZ66B7.js";
11
10
  import "../../../../chunk-IAWYWZSL.js";
12
11
  import "../../../../chunk-DHZ7AZKP.js";
13
12
 
14
13
  // ../../boilerplates/shared/dist/files/$README.md.js
15
14
  async function getReadme(props) {
16
- const content = await ixs(props);
15
+ const content = await zEs(props);
17
16
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
18
- const v = jBs();
19
- const intro = `Generated with [vike.dev/new](https://vike.dev/new) ${`(${nEs.link(`https://www.npmjs.com/package/create-vike/v/${v.version}`, `version ${v.semver.at(-1)}`)})`} using this command:
17
+ const v = EBs();
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:
20
19
 
21
20
  \`\`\`sh
22
- ${RBs()} ${flags}
21
+ ${SBs()} ${flags}
23
22
  \`\`\`
24
23
  `;
25
24
  content.addMarkdown(intro, {