@batijs/cli 0.0.499 → 0.0.501

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 (99) 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 +7 -13
  27. package/dist/boilerplates/@batijs/mantine/files/{layouts/Layout.tsx → pages/+Layout.tsx} +7 -2
  28. package/dist/boilerplates/@batijs/photon/files/$README.md.js +3 -3
  29. package/dist/boilerplates/@batijs/photon/files/$package.json.js +3 -3
  30. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +25 -0
  31. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
  32. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  33. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  34. package/dist/boilerplates/@batijs/prisma/files/{$README.md.js → $TODO.md.js} +8 -11
  35. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
  36. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  37. package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -9
  38. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  39. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  40. package/dist/boilerplates/@batijs/react/files/{layouts/Layout.tsx → pages/+Layout.tsx} +1 -1
  41. package/dist/boilerplates/@batijs/react/files/pages/+config.ts +0 -4
  42. package/dist/boilerplates/@batijs/react/types/pages/+config.d.ts +1 -3
  43. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +3 -3
  44. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  45. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -9
  46. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +30 -0
  47. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +3 -3
  48. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  49. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +4 -4
  50. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  51. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +3 -3
  52. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  53. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  54. package/dist/boilerplates/@batijs/shared/files/$README.md.js +8 -9
  55. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +32 -0
  56. package/dist/boilerplates/@batijs/shared/hooks/after.js +11 -9
  57. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +3 -3
  58. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  59. package/dist/boilerplates/@batijs/solid/files/$package.json.js +9 -9
  60. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  61. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  62. package/dist/boilerplates/@batijs/solid/files/{layouts/Layout.tsx → pages/+Layout.tsx} +1 -1
  63. package/dist/boilerplates/@batijs/solid/files/pages/+config.ts +0 -4
  64. package/dist/boilerplates/@batijs/solid/types/pages/+config.d.ts +0 -2
  65. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +3 -3
  66. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  67. package/dist/boilerplates/@batijs/sqlite/files/{$README.md.js → $TODO.md.js} +8 -8
  68. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  69. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +3 -3
  70. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  71. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +3 -3
  72. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  73. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +3 -3
  74. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +1 -1
  75. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +3 -3
  76. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +3 -3
  77. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
  78. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  79. package/dist/boilerplates/@batijs/vue/files/$package.json.js +3 -3
  80. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  81. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  82. package/dist/boilerplates/@batijs/vue/files/pages/+Head.vue +1 -1
  83. package/dist/boilerplates/@batijs/vue/files/pages/+config.ts +0 -4
  84. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +3 -3
  85. package/dist/boilerplates/boilerplates.json +11 -0
  86. package/dist/{chunk-EHN5UPTR.js → chunk-SXCPSC7N.js} +26951 -26979
  87. package/dist/index.js +25 -82
  88. package/package.json +5 -5
  89. package/dist/boilerplates/@batijs/mantine/files/layouts/theme.ts +0 -9
  90. package/dist/boilerplates/@batijs/mantine/types/layouts/theme.d.ts +0 -3
  91. /package/dist/boilerplates/@batijs/mantine/files/{layouts/style.css → pages/Layout.css} +0 -0
  92. /package/dist/boilerplates/@batijs/mantine/types/{layouts/Layout.d.ts → pages/+Layout.d.ts} +0 -0
  93. /package/dist/boilerplates/@batijs/react/files/{layouts → pages}/Layout.css +0 -0
  94. /package/dist/boilerplates/@batijs/react/types/{layouts/Layout.d.ts → pages/+Layout.d.ts} +0 -0
  95. /package/dist/boilerplates/@batijs/shadcn-ui/files/{layouts → pages}/!tailwind.css +0 -0
  96. /package/dist/boilerplates/@batijs/solid/files/{layouts → pages}/Layout.css +0 -0
  97. /package/dist/boilerplates/@batijs/solid/types/{layouts/Layout.d.ts → pages/+Layout.d.ts} +0 -0
  98. /package/dist/boilerplates/@batijs/tailwindcss/files/{layouts → pages}/tailwind.css +0 -0
  99. /package/dist/boilerplates/@batijs/vue/files/{layouts/Layout.vue → pages/+Layout.vue} +0 -0
@@ -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-SXCPSC7N.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-SXCPSC7N.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -86,11 +86,8 @@ var require_package = __commonJS({
86
86
  "./components/Link": {
87
87
  types: "./dist/types/components/Link.d.ts"
88
88
  },
89
- "./layouts/theme": {
90
- types: "./dist/types/layouts/theme.d.ts"
91
- },
92
- "./layouts/Layout": {
93
- types: "./dist/types/layouts/Layout.d.ts"
89
+ "./pages/+Layout": {
90
+ types: "./dist/types/pages/+Layout.d.ts"
94
91
  }
95
92
  },
96
93
  typesVersions: {
@@ -98,11 +95,8 @@ var require_package = __commonJS({
98
95
  "components/Link": [
99
96
  "./dist/types/components/Link.d.ts"
100
97
  ],
101
- "layouts/theme": [
102
- "./dist/types/layouts/theme.d.ts"
103
- ],
104
- "layouts/Layout": [
105
- "./dist/types/layouts/Layout.d.ts"
98
+ "pages/+Layout": [
99
+ "./dist/types/pages/+Layout.d.ts"
106
100
  ]
107
101
  }
108
102
  }
@@ -110,7 +104,7 @@ var require_package = __commonJS({
110
104
  }
111
105
  });
112
106
  async function getPackageJson(props) {
113
- const packageJson = await axs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
107
+ const packageJson = await WEs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
114
108
  return packageJson.addDevDependencies(["postcss", "postcss-preset-mantine", "postcss-simple-vars"]).addDependencies(["@mantine/core", "@mantine/hooks"]);
115
109
  }
116
110
  export {
@@ -1,10 +1,15 @@
1
1
  import "@mantine/core/styles.css";
2
2
 
3
3
  import logoUrl from "@batijs/react/assets/logo.svg";
4
- import { AppShell, Burger, Group, Image, MantineProvider } from "@mantine/core";
4
+ import type { MantineThemeOverride } from "@mantine/core";
5
+ import { AppShell, Burger, createTheme, Group, Image, MantineProvider } from "@mantine/core";
5
6
  import { useDisclosure } from "@mantine/hooks";
6
7
  import { Link } from "../components/Link";
7
- import theme from "./theme.js";
8
+
9
+ const theme: MantineThemeOverride = createTheme({
10
+ /** Put your mantine theme override here */
11
+ primaryColor: "violet",
12
+ });
8
13
 
9
14
  export default function Layout({ children }: { children: React.ReactNode }) {
10
15
  const [opened, { toggle }] = useDisclosure();
@@ -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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -84,12 +84,12 @@ var require_package = __commonJS({
84
84
  "./components/Link": {
85
85
  types: "./dist/types/components/Link.d.ts"
86
86
  },
87
- "./layouts/Layout": {
88
- types: "./dist/types/layouts/Layout.d.ts"
89
- },
90
87
  "./pages/+Head": {
91
88
  types: "./dist/types/pages/+Head.d.ts"
92
89
  },
90
+ "./pages/+Layout": {
91
+ types: "./dist/types/pages/+Layout.d.ts"
92
+ },
93
93
  "./pages/+config": {
94
94
  types: "./dist/types/pages/+config.d.ts"
95
95
  },
@@ -135,12 +135,12 @@ var require_package = __commonJS({
135
135
  "components/Link": [
136
136
  "./dist/types/components/Link.d.ts"
137
137
  ],
138
- "layouts/Layout": [
139
- "./dist/types/layouts/Layout.d.ts"
140
- ],
141
138
  "pages/+Head": [
142
139
  "./dist/types/pages/+Head.d.ts"
143
140
  ],
141
+ "pages/+Layout": [
142
+ "./dist/types/pages/+Layout.d.ts"
143
+ ],
144
144
  "pages/+config": [
145
145
  "./dist/types/pages/+config.d.ts"
146
146
  ],
@@ -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-SXCPSC7N.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-SXCPSC7N.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
  });
@@ -2,7 +2,7 @@ import "./Layout.css";
2
2
  //# BATI.has("tailwindcss")
3
3
  import "./tailwind.css";
4
4
  import logoUrl from "../assets/logo.svg";
5
- import { Link } from "../components/Link.js";
5
+ import { Link } from "../components/Link";
6
6
 
7
7
  export default function Layout({ children }: { children: React.ReactNode }) {
8
8
  return (
@@ -1,15 +1,11 @@
1
1
  import type { Config } from "vike/types";
2
2
  import vikePhoton from "vike-photon/config";
3
3
  import vikeReact from "vike-react/config";
4
- import Layout from "../layouts/Layout.js";
5
4
 
6
5
  // Default config (can be overridden by pages)
7
6
  // https://vike.dev/config
8
7
 
9
8
  export default {
10
- // https://vike.dev/Layout
11
- Layout,
12
-
13
9
  // https://vike.dev/head-tags
14
10
  title: "My Vike App",
15
11
  description: "Demo showcasing Vike",
@@ -1,6 +1,4 @@
1
- import Layout from "../layouts/Layout.js";
2
1
  declare const _default: {
3
- Layout: typeof Layout;
4
2
  title: string;
5
3
  description: string;
6
4
  passToClient: string[];
@@ -108,7 +106,7 @@ declare const _default: {
108
106
  env: {
109
107
  config: true;
110
108
  };
111
- effect: typeof import("node_modules/vike-react/dist/integration/ssrEffect.js").ssrEffect;
109
+ effect: typeof import("node_modules/vike-react/dist/integration/ssrEffect").ssrEffect;
112
110
  };
113
111
  stream: {
114
112
  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
- axs
7
- } from "../../../../chunk-EHN5UPTR.js";
6
+ WEs
7
+ } from "../../../../chunk-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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-SXCPSC7N.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