@batijs/cli 0.0.530 → 0.0.532

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 (125) hide show
  1. package/dist/boilerplates/@batijs/auth0/bati.config.js +9 -1
  2. package/dist/boilerplates/@batijs/auth0/files/$.env.js +6 -6
  3. package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +4 -4
  4. package/dist/boilerplates/@batijs/auth0/files/$wrangler.jsonc.js +4 -4
  5. package/dist/boilerplates/@batijs/authjs/bati.config.js +1 -1
  6. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +4 -4
  7. package/dist/boilerplates/@batijs/aws/bati.config.js +9 -1
  8. package/dist/boilerplates/@batijs/aws/files/$README.md.js +6 -6
  9. package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +6 -6
  10. package/dist/boilerplates/@batijs/aws/files/$package.json.js +7 -7
  11. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +4 -4
  12. package/dist/boilerplates/@batijs/aws/files/$vite.config.ts.js +1 -1
  13. package/dist/boilerplates/@batijs/aws/files/cdk/$stack-name-suffix.json.js +1 -1
  14. package/dist/boilerplates/@batijs/biome/bati.config.js +1 -1
  15. package/dist/boilerplates/@batijs/biome/files/$biome.json.js +1 -1
  16. package/dist/boilerplates/@batijs/biome/files/$package.json.js +5 -5
  17. package/dist/boilerplates/@batijs/cloudflare/bati.config.js +9 -1
  18. package/dist/boilerplates/@batijs/cloudflare/files/$TODO.md.js +6 -6
  19. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +6 -6
  20. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +4 -4
  21. package/dist/boilerplates/@batijs/compiled/bati.config.js +1 -1
  22. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
  23. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +6 -6
  24. package/dist/boilerplates/@batijs/d1/bati.config.js +17 -1
  25. package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +6 -6
  26. package/dist/boilerplates/@batijs/d1/files/$package.json.js +5 -5
  27. package/dist/boilerplates/@batijs/d1/files/$wrangler.jsonc.js +4 -4
  28. package/dist/boilerplates/@batijs/d1-sqlite/bati.config.js +1 -1
  29. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +4 -4
  30. package/dist/boilerplates/@batijs/drizzle/bati.config.js +17 -1
  31. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +4 -4
  32. package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +6 -6
  33. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +5 -5
  34. package/dist/boilerplates/@batijs/eslint/bati.config.js +1 -1
  35. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +5 -5
  36. package/dist/boilerplates/@batijs/express/bati.config.js +1 -1
  37. package/dist/boilerplates/@batijs/express/files/$package.json.js +5 -5
  38. package/dist/boilerplates/@batijs/fastify/bati.config.js +1 -1
  39. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +5 -5
  40. package/dist/boilerplates/@batijs/google-analytics/bati.config.js +1 -1
  41. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +4 -4
  42. package/dist/boilerplates/@batijs/h3/bati.config.js +1 -1
  43. package/dist/boilerplates/@batijs/h3/files/$package.json.js +5 -5
  44. package/dist/boilerplates/@batijs/hono/bati.config.js +1 -1
  45. package/dist/boilerplates/@batijs/hono/files/$package.json.js +6 -6
  46. package/dist/boilerplates/@batijs/mantine/bati.config.js +1 -1
  47. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +4 -4
  48. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +4 -4
  49. package/dist/boilerplates/@batijs/photon/bati.config.js +1 -1
  50. package/dist/boilerplates/@batijs/photon/files/$README.md.js +4 -4
  51. package/dist/boilerplates/@batijs/photon/files/$package.json.js +4 -4
  52. package/dist/boilerplates/@batijs/plausible.io/bati.config.js +1 -1
  53. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +4 -4
  54. package/dist/boilerplates/@batijs/pnpm/bati.config.js +1 -1
  55. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +4 -4
  56. package/dist/boilerplates/@batijs/prettier/bati.config.js +1 -1
  57. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +5 -5
  58. package/dist/boilerplates/@batijs/prisma/bati.config.js +13 -1
  59. package/dist/boilerplates/@batijs/prisma/files/$.env.js +4 -4
  60. package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +8 -6
  61. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +6 -6
  62. package/dist/boilerplates/@batijs/react/bati.config.js +1 -1
  63. package/dist/boilerplates/@batijs/react/files/$README.md.js +4 -4
  64. package/dist/boilerplates/@batijs/react/files/$package.json.js +4 -4
  65. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +4 -4
  66. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +6 -6
  67. package/dist/boilerplates/@batijs/react-sentry/bati.config.js +1 -1
  68. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +4 -4
  69. package/dist/boilerplates/@batijs/sentry/bati.config.js +9 -1
  70. package/dist/boilerplates/@batijs/sentry/files/$.env.js +5 -5
  71. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +6 -6
  72. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +4 -4
  73. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +4 -4
  74. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +8 -8
  75. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +10 -10
  76. package/dist/boilerplates/@batijs/shadcn-ui/bati.config.js +1 -1
  77. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +6 -6
  78. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +5 -5
  79. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +4 -4
  80. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +6 -6
  81. package/dist/boilerplates/@batijs/shared/bati.config.js +1 -1
  82. package/dist/boilerplates/@batijs/shared/files/$README.md.js +8 -8
  83. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +4 -4
  84. package/dist/boilerplates/@batijs/shared-db/bati.config.js +1 -1
  85. package/dist/boilerplates/@batijs/shared-server/bati.config.js +1 -1
  86. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +4 -4
  87. package/dist/boilerplates/@batijs/shared-todo/bati.config.js +1 -1
  88. package/dist/boilerplates/@batijs/solid/bati.config.js +1 -1
  89. package/dist/boilerplates/@batijs/solid/files/$README.md.js +4 -4
  90. package/dist/boilerplates/@batijs/solid/files/$package.json.js +4 -4
  91. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +4 -4
  92. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +6 -6
  93. package/dist/boilerplates/@batijs/solid-sentry/bati.config.js +1 -1
  94. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +4 -4
  95. package/dist/boilerplates/@batijs/sqlite/bati.config.js +9 -1
  96. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +4 -4
  97. package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +8 -6
  98. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +6 -6
  99. package/dist/boilerplates/@batijs/tailwindcss/bati.config.js +1 -1
  100. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +4 -4
  101. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +6 -6
  102. package/dist/boilerplates/@batijs/telefunc/bati.config.js +1 -1
  103. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +4 -4
  104. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +6 -6
  105. package/dist/boilerplates/@batijs/trpc/bati.config.js +1 -1
  106. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +4 -4
  107. package/dist/boilerplates/@batijs/ts-rest/bati.config.js +1 -1
  108. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
  109. package/dist/boilerplates/@batijs/vercel/bati.config.js +1 -1
  110. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +5 -5
  111. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +4 -4
  112. package/dist/boilerplates/@batijs/vue/bati.config.js +1 -1
  113. package/dist/boilerplates/@batijs/vue/files/$README.md.js +4 -4
  114. package/dist/boilerplates/@batijs/vue/files/$package.json.js +4 -4
  115. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +4 -4
  116. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  117. package/dist/boilerplates/@batijs/vue-sentry/bati.config.js +1 -1
  118. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +4 -4
  119. package/dist/{chunk-DHZ7AZKP.js → chunk-IHX3I5SM.js} +5 -0
  120. package/dist/{chunk-L2AHUKWS.js → chunk-IT2OMBYW.js} +126963 -126394
  121. package/dist/index.js +88 -39
  122. package/dist/{jiti-ZW3ADF2F-7XIEJQMO.js → jiti-ZW3ADF2F-2SLKRUEN.js} +1 -1
  123. package/dist/{prompt-HBAIF7ML.js → prompt-YBELZKBA.js} +1 -1
  124. package/dist/{src-5HGZFBZ3-KQZBBJSW.js → src-5HGZFBZ3-CGUDMVWF.js} +1 -1
  125. package/package.json +6 -6
@@ -3,23 +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
- t1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ Nus,
7
+ gSs
8
+ } from "../../../../chunk-IT2OMBYW.js";
8
9
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
10
+ import "../../../../chunk-IHX3I5SM.js";
10
11
 
11
12
  // ../../boilerplates/prisma/dist/files/$TODO.md.js
12
13
  async function getTodo(props) {
13
- const content = await t1s(props);
14
+ const content = await gSs(props);
15
+ const pmCmd = Nus().run;
14
16
  const todo = `
15
17
  ## Prisma
16
18
 
17
19
  Run the following command once:
18
20
  \`\`\`sh
19
- pnpx prisma init
21
+ ${pmCmd} prisma init --db
20
22
  \`\`\`
21
23
 
22
- then follow instructions at <https://www.prisma.io/docs/getting-started/quickstart#2-model-your-data-in-the-prisma-schema>`;
24
+ then follow instructions at <https://www.prisma.io/docs/getting-started/prisma-orm/quickstart/prisma-postgres#4-initialize-prisma-orm-and-create-a-prisma-postgres-database>`;
23
25
  content.addMarkdownFeature(todo, "prisma");
24
26
  return content;
25
27
  }
@@ -3,10 +3,10 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ bSs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/prisma/dist/files/$package.json.js
12
12
  var __create = Object.create;
@@ -51,10 +51,10 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@prisma/client": "^6.19.0",
54
+ "@prisma/client": "^7.0.1",
55
55
  "@types/node": "^20.19.25",
56
56
  colorette: "^2.0.20",
57
- prisma: "^6.19.0"
57
+ prisma: "^7.0.1"
58
58
  },
59
59
  dependencies: {
60
60
  "@batijs/core": "workspace:*"
@@ -66,7 +66,7 @@ var require_package = __commonJS({
66
66
  }
67
67
  });
68
68
  async function getPackageJson(props) {
69
- const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
69
+ const packageJson = await bSs(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,7 +3,7 @@ function t(e, r) {
3
3
  if (!e) throw new Error(r);
4
4
  }
5
5
  function i(e) {
6
- return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
6
+ return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
7
7
  }
8
8
 
9
9
  // bati.config.ts
@@ -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
- t1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ gSs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/react/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await t1s(props);
13
+ const content = await gSs(props);
14
14
  const about = `
15
15
  ## Vike
16
16
 
@@ -3,10 +3,10 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ bSs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/react/dist/files/$package.json.js
12
12
  var __create = Object.create;
@@ -181,7 +181,7 @@ var require_package = __commonJS({
181
181
  }
182
182
  });
183
183
  async function getPackageJson(props) {
184
- const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
184
+ const packageJson = await bSs(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
- r1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ ySs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/react/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await r1s(props);
13
+ const tsConfig = await ySs(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
- i1s,
7
- iQn
8
- } from "../../../../chunk-L2AHUKWS.js";
6
+ TSs,
7
+ pri
8
+ } from "../../../../chunk-IT2OMBYW.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
- import "../../../../chunk-DHZ7AZKP.js";
10
+ import "../../../../chunk-IHX3I5SM.js";
11
11
 
12
12
  // ../../boilerplates/react/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await i1s(props);
15
- iQn(mod, {
14
+ const mod = await TSs(props);
15
+ pri(mod, {
16
16
  from: "@vitejs/plugin-react",
17
17
  constructor: "react"
18
18
  });
@@ -3,7 +3,7 @@ function t(e, r) {
3
3
  if (!e) throw new Error(r);
4
4
  }
5
5
  function i(e) {
6
- return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
6
+ return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
7
7
  }
8
8
 
9
9
  // bati.config.ts
@@ -3,10 +3,10 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ bSs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/react-sentry/dist/files/$package.json.js
12
12
  var __create = Object.create;
@@ -87,7 +87,7 @@ var require_package = __commonJS({
87
87
  }
88
88
  });
89
89
  async function getPackageJson(props) {
90
- const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
90
+ const packageJson = await bSs(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,13 +3,21 @@ function t(e, r) {
3
3
  if (!e) throw new Error(r);
4
4
  }
5
5
  function i(e) {
6
- return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
6
+ return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
7
7
  }
8
8
 
9
9
  // bati.config.ts
10
10
  var bati_config_default = i({
11
11
  if(meta) {
12
12
  return meta.BATI.has("sentry");
13
+ },
14
+ nextSteps(_meta, _packageManager, { bold }) {
15
+ return [
16
+ {
17
+ type: "text",
18
+ step: `Add your Sentry DSN to the .env file. Check ${bold("TODO.md")} for details`
19
+ }
20
+ ];
13
21
  }
14
22
  });
15
23
  export {
@@ -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
- UMs
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ r9s
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/sentry/dist/files/$.env.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 = UMs(
15
+ envContent = r9s(
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 = UMs(
21
+ envContent = r9s(
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
- t1s,
7
- xas
8
- } from "../../../../chunk-L2AHUKWS.js";
6
+ Nus,
7
+ gSs
8
+ } from "../../../../chunk-IT2OMBYW.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
- import "../../../../chunk-DHZ7AZKP.js";
10
+ import "../../../../chunk-IHX3I5SM.js";
11
11
 
12
12
  // ../../boilerplates/sentry/dist/files/$README.md.js
13
13
  async function getReadme(props) {
14
- const content = await t1s(props);
15
- const pmCmd = xas().run;
14
+ const content = await gSs(props);
15
+ const pmCmd = Nus().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
- t1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ gSs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/sentry/dist/files/$TODO.md.js
12
12
  async function getTodo(props) {
13
- const content = await t1s(props);
13
+ const content = await gSs(props);
14
14
  const about = `
15
15
 
16
16
  ## Sentry Browser / Error Tracking & Performance Monitoring
@@ -3,10 +3,10 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ bSs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/sentry/dist/files/$package.json.js
12
12
  var __create = Object.create;
@@ -77,7 +77,7 @@ var require_package = __commonJS({
77
77
  }
78
78
  });
79
79
  async function getPackageJson(props) {
80
- const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
80
+ const packageJson = await bSs(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
- drr,
7
- i1s,
8
- iQn
9
- } from "../../../../chunk-L2AHUKWS.js";
6
+ TSs,
7
+ Unr,
8
+ pri
9
+ } from "../../../../chunk-IT2OMBYW.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
- import "../../../../chunk-DHZ7AZKP.js";
11
+ import "../../../../chunk-IHX3I5SM.js";
12
12
 
13
13
  // ../../boilerplates/sentry/dist/files/$vite.config.ts.js
14
14
  async function getViteConfig(props) {
15
- const mod = await i1s(props);
16
- iQn(mod, {
15
+ const mod = await TSs(props);
16
+ pri(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
- drr(mod.exports.default.$args[0], { build: { sourcemap: true } });
24
+ Unr(mod.exports.default.$args[0], { build: { sourcemap: true } });
25
25
  return mod.generate().code;
26
26
  }
27
27
  export {
@@ -3,29 +3,29 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Xde,
7
- i1s,
8
- mR,
9
- pK
10
- } from "../../../../../chunk-L2AHUKWS.js";
6
+ TSs,
7
+ Z5,
8
+ jme,
9
+ yK
10
+ } from "../../../../../chunk-IT2OMBYW.js";
11
11
  import "../../../../../chunk-IAWYWZSL.js";
12
- import "../../../../../chunk-DHZ7AZKP.js";
12
+ import "../../../../../chunk-IHX3I5SM.js";
13
13
 
14
14
  // ../../boilerplates/sentry/dist/files/pages/$+client.ts.js
15
15
  async function getViteConfig(props) {
16
16
  let mod;
17
17
  try {
18
- mod = await i1s(props);
18
+ mod = await TSs(props);
19
19
  } catch {
20
- mod = Xde("");
20
+ mod = jme("");
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 = pK.functionCall("sentryBrowserConfig");
28
- const c = mR(e).code;
27
+ const e = yK.functionCall("sentryBrowserConfig");
28
+ const c = Z5(e).code;
29
29
  mod.$ast.body.splice(mod.$ast.body.length - 1, 0, c);
30
30
  }
31
31
  return mod.generate().code;
@@ -3,7 +3,7 @@ function t(e, r) {
3
3
  if (!e) throw new Error(r);
4
4
  }
5
5
  function i(e) {
6
- return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
6
+ return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
7
7
  }
8
8
 
9
9
  // bati.config.ts
@@ -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
- t1s,
7
- xas
8
- } from "../../../../chunk-L2AHUKWS.js";
6
+ Nus,
7
+ gSs
8
+ } from "../../../../chunk-IT2OMBYW.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
- import "../../../../chunk-DHZ7AZKP.js";
10
+ import "../../../../chunk-IHX3I5SM.js";
11
11
 
12
12
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
13
13
  async function getReadme(props) {
14
- const content = await t1s(props);
15
- const pmCmd = xas().run;
14
+ const content = await gSs(props);
15
+ const pmCmd = Nus().run;
16
16
  const about = `
17
17
 
18
18
  ## shadcn/ui
@@ -3,10 +3,10 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ bSs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/shadcn-ui/dist/files/$package.json.js
12
12
  var __create = Object.create;
@@ -56,7 +56,7 @@ var require_package = __commonJS({
56
56
  autoprefixer: "^10.4.22",
57
57
  "class-variance-authority": "^0.7.1",
58
58
  clsx: "^2.1.1",
59
- "lucide-react": "^0.554.0",
59
+ "lucide-react": "^0.555.0",
60
60
  "tailwind-merge": "^3.4.0",
61
61
  tailwindcss: "^4.1.17",
62
62
  "tw-animate-css": "^1.4.0"
@@ -83,7 +83,7 @@ var require_package = __commonJS({
83
83
  }
84
84
  });
85
85
  async function getPackageJson(props) {
86
- const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
86
+ const packageJson = await bSs(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
- r1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ ySs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await r1s(props);
13
+ const tsConfig = await ySs(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
- i1s,
7
- urr
8
- } from "../../../../chunk-L2AHUKWS.js";
6
+ Mnr,
7
+ TSs
8
+ } from "../../../../chunk-IT2OMBYW.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
- import "../../../../chunk-DHZ7AZKP.js";
10
+ import "../../../../chunk-IHX3I5SM.js";
11
11
 
12
12
  // ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await i1s(props);
14
+ const mod = await TSs(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 = `${urr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
21
+ const warnMsg = `${Mnr("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,7 +3,7 @@ function t(e, r) {
3
3
  if (!e) throw new Error(r);
4
4
  }
5
5
  function i(e) {
6
- return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
6
+ return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
7
7
  }
8
8
 
9
9
  // bati.config.ts
@@ -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
- RMs,
7
- jMs,
8
- t1s
9
- } from "../../../../chunk-L2AHUKWS.js";
6
+ Z7s,
7
+ e9s,
8
+ gSs
9
+ } from "../../../../chunk-IT2OMBYW.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
- import "../../../../chunk-DHZ7AZKP.js";
11
+ import "../../../../chunk-IHX3I5SM.js";
12
12
 
13
13
  // ../../boilerplates/shared/dist/files/$README.md.js
14
14
  async function getReadme(props) {
15
- const content = await t1s(props);
15
+ const content = await gSs(props);
16
16
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
17
- const v = jMs();
17
+ const v = e9s();
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
- ${RMs()} ${flags}
21
+ ${Z7s()} ${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
- t1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ gSs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/shared/dist/files/$TODO.md.js
12
12
  var todoIntro = "Follow the steps below to finish setting up your application.";
13
13
  async function getTodo(props) {
14
- const content = await t1s(props);
14
+ const content = await gSs(props);
15
15
  content.addMarkdown(todoIntro, {
16
16
  wrapper: {
17
17
  section: "intro"
@@ -3,7 +3,7 @@ function t(e, r) {
3
3
  if (!e) throw new Error(r);
4
4
  }
5
5
  function i(e) {
6
- return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
6
+ return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
7
7
  }
8
8
 
9
9
  // bati.config.ts
@@ -3,7 +3,7 @@ function t(e, r) {
3
3
  if (!e) throw new Error(r);
4
4
  }
5
5
  function i(e) {
6
- return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
6
+ return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
7
7
  }
8
8
 
9
9
  // bati.config.ts
@@ -3,10 +3,10 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- n1s
7
- } from "../../../../chunk-L2AHUKWS.js";
6
+ bSs
7
+ } from "../../../../chunk-IT2OMBYW.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
- import "../../../../chunk-DHZ7AZKP.js";
9
+ import "../../../../chunk-IHX3I5SM.js";
10
10
 
11
11
  // ../../boilerplates/shared-server/dist/files/$package.json.js
12
12
  var __create = Object.create;
@@ -76,7 +76,7 @@ var require_package = __commonJS({
76
76
  }
77
77
  });
78
78
  async function getPackageJson(props) {
79
- const packageJson = await n1s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
79
+ const packageJson = await bSs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
80
80
  return packageJson.addDependencies(["@universal-middleware/core"]);
81
81
  }
82
82
  export {
@@ -3,7 +3,7 @@ function t(e, r) {
3
3
  if (!e) throw new Error(r);
4
4
  }
5
5
  function i(e) {
6
- return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
6
+ return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), "nextSteps" in e && t(typeof e.nextSteps == "function", "'nextSteps' must be a function"), e;
7
7
  }
8
8
 
9
9
  // bati.config.ts