@batijs/cli 0.0.432 → 0.0.434

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 (86) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$README.md.js +3 -3
  3. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +3 -3
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +8 -8
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/biome/files/$package.json.js +3 -3
  8. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +6 -6
  9. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
  10. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +5 -5
  11. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
  12. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  13. package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
  14. package/dist/boilerplates/@batijs/d1/files/$package.json.js +5 -5
  15. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  16. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
  17. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +4 -4
  18. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  19. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
  20. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +4 -4
  21. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +3 -3
  22. package/dist/boilerplates/@batijs/express/files/$package.json.js +6 -6
  23. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +6 -6
  24. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
  25. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
  26. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +4 -4
  27. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  28. package/dist/boilerplates/@batijs/h3/files/$package.json.js +7 -7
  29. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +6 -6
  30. package/dist/boilerplates/@batijs/hono/files/$package.json.js +7 -7
  31. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  32. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
  33. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
  34. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +5 -5
  35. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  36. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +7 -7
  37. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +3 -3
  38. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  39. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  40. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  41. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +5 -5
  42. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  43. package/dist/boilerplates/@batijs/react/files/$package.json.js +10 -10
  44. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  45. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  46. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +6 -6
  47. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  48. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  49. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +5 -5
  50. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  51. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  52. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  53. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -6
  54. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  55. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  56. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  57. package/dist/boilerplates/@batijs/shared/files/package.json +1 -1
  58. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +5 -5
  59. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  60. package/dist/boilerplates/@batijs/solid/files/$package.json.js +6 -6
  61. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  62. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  63. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
  64. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  65. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  66. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +4 -4
  67. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +7 -7
  68. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  69. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +5 -5
  70. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  71. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +7 -7
  72. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +1 -1
  73. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +5 -5
  74. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +4 -4
  75. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  76. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  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 +6 -6
  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/+onCreateApp.ts +5 -6
  83. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +5 -5
  84. package/dist/{chunk-NE3FRGGX.js → chunk-EK6TWE46.js} +47820 -47695
  85. package/dist/index.js +20 -20
  86. package/package.json +6 -6
@@ -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
- XQs
7
- } from "../../../../chunk-NE3FRGGX.js";
6
+ GQs
7
+ } from "../../../../chunk-EK6TWE46.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,12 +51,12 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@cloudflare/workers-types": "^4.20250428.0",
55
- "@trpc/client": "^11.1.1",
56
- "@trpc/server": "^11.1.1",
54
+ "@cloudflare/workers-types": "^4.20250505.0",
55
+ "@trpc/client": "^11.1.2",
56
+ "@trpc/server": "^11.1.2",
57
57
  "@types/node": "^18.19.87",
58
58
  "@universal-middleware/core": "^0.4.7",
59
- vite: "^6.3.3"
59
+ vite: "^6.3.5"
60
60
  },
61
61
  dependencies: {
62
62
  "@batijs/core": "workspace:*"
@@ -97,7 +97,7 @@ var require_package = __commonJS({
97
97
  }
98
98
  });
99
99
  async function getPackageJson(props) {
100
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
100
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
101
101
  return packageJson.addDependencies(["@trpc/server", "@trpc/client"]);
102
102
  }
103
103
  export {
@@ -1,6 +1,6 @@
1
1
  export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2
2
  ctx: object & {
3
- db: ReturnType<any>;
3
+ db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
4
4
  } & {
5
5
  db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
6
6
  } & {
@@ -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
- XQs
7
- } from "../../../../chunk-NE3FRGGX.js";
6
+ GQs
7
+ } from "../../../../chunk-EK6TWE46.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,12 +51,12 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@cloudflare/workers-types": "^4.20250428.0",
54
+ "@cloudflare/workers-types": "^4.20250505.0",
55
55
  "@ts-rest/core": "^3.52.1",
56
56
  "@ts-rest/serverless": "^3.52.1",
57
57
  "@types/node": "^18.19.87",
58
58
  "@universal-middleware/core": "^0.4.7",
59
- zod: "^3.24.3"
59
+ zod: "^3.24.4"
60
60
  },
61
61
  dependencies: {
62
62
  "@batijs/core": "workspace:*"
@@ -97,7 +97,7 @@ var require_package = __commonJS({
97
97
  }
98
98
  });
99
99
  async function getPackageJson(props) {
100
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
100
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
101
101
  return packageJson.addDevDependencies(["zod"]).addDependencies(["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"]);
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
- XQs
7
- } from "../../../../chunk-NE3FRGGX.js";
6
+ GQs
7
+ } from "../../../../chunk-EK6TWE46.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -54,7 +54,7 @@ var require_package = __commonJS({
54
54
  "@types/node": "^18.19.87",
55
55
  "@vite-plugin-vercel/vike": "^9.0.4",
56
56
  vike: "^0.4.229",
57
- vite: "^6.3.3",
57
+ vite: "^6.3.5",
58
58
  "vite-plugin-vercel": "^9.0.5"
59
59
  },
60
60
  dependencies: {
@@ -72,7 +72,7 @@ var require_package = __commonJS({
72
72
  }
73
73
  });
74
74
  async function getPackageJson(props) {
75
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
75
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
76
76
  return packageJson.addDependencies(["vite-plugin-vercel", "@vite-plugin-vercel/vike"]);
77
77
  }
78
78
  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
- HQs
7
- } from "../../../../chunk-NE3FRGGX.js";
6
+ $Qs
7
+ } from "../../../../chunk-EK6TWE46.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/vercel/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await HQs(props);
13
+ const tsConfig = await $Qs(props);
14
14
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vite-plugin-vercel/types"];
15
15
  return tsConfig;
16
16
  }
@@ -3,19 +3,19 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- QQs,
7
- yvs
8
- } from "../../../../chunk-NE3FRGGX.js";
6
+ KQs,
7
+ mvs
8
+ } from "../../../../chunk-EK6TWE46.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/vercel/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await QQs(props);
14
+ const mod = await KQs(props);
15
15
  const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
16
16
  source: "/.*"
17
17
  } : void 0;
18
- yvs(mod, {
18
+ mvs(mod, {
19
19
  from: "vite-plugin-vercel",
20
20
  constructor: "vercel",
21
21
  options
@@ -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
- QQs
7
- } from "../../../../../chunk-NE3FRGGX.js";
6
+ KQs
7
+ } from "../../../../../chunk-EK6TWE46.js";
8
8
  import "../../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/vercel/dist/files/pages/$+config.ts.js
12
12
  async function getViteConfig(props) {
13
- const mod = await QQs(props);
13
+ const mod = await KQs(props);
14
14
  mod.exports.default.prerender = true;
15
15
  return mod.generate().code;
16
16
  }
@@ -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
- KQs
7
- } from "../../../../chunk-NE3FRGGX.js";
6
+ JQs
7
+ } from "../../../../chunk-EK6TWE46.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/vue/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await KQs(props);
13
+ const content = await JQs(props);
14
14
  const about = `
15
15
 
16
16
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [Vue](https://vuejs.org/guide/quick-start.html).
@@ -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
- XQs
7
- } from "../../../../chunk-NE3FRGGX.js";
6
+ GQs
7
+ } from "../../../../chunk-EK6TWE46.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -58,14 +58,14 @@ var require_package = __commonJS({
58
58
  "@vitejs/plugin-vue": "^5.2.3",
59
59
  "@vue/compiler-sfc": "^3.5.13",
60
60
  "@vue/server-renderer": "^3.5.13",
61
- tailwindcss: "^4.1.4",
61
+ tailwindcss: "^4.1.5",
62
62
  typescript: "^5.8.3",
63
63
  "unplugin-vue-markdown": "^28.3.1",
64
64
  vike: "^0.4.229",
65
65
  "vike-vue": "^0.9.0",
66
- vite: "^6.3.3",
66
+ vite: "^6.3.5",
67
67
  vue: "^3.5.13",
68
- "vue-gtag": "2.0.1"
68
+ "vue-gtag": "^3.5.0"
69
69
  },
70
70
  dependencies: {
71
71
  "@batijs/core": "workspace:*"
@@ -130,7 +130,7 @@ var require_package = __commonJS({
130
130
  }
131
131
  });
132
132
  async function getPackageJson(props) {
133
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
133
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
134
134
  return packageJson.addDevDependencies(["vite"]).addDependencies([
135
135
  "@vitejs/plugin-vue",
136
136
  "@vue/compiler-sfc",
@@ -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
- HQs
7
- } from "../../../../chunk-NE3FRGGX.js";
6
+ $Qs
7
+ } from "../../../../chunk-EK6TWE46.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/vue/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await HQs(props);
13
+ const tsConfig = await $Qs(props);
14
14
  tsConfig.compilerOptions.jsx = "react-jsx";
15
15
  tsConfig.compilerOptions.jsxImportSource = "vue";
16
16
  return tsConfig;
@@ -3,23 +3,23 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- QQs,
7
- yvs
8
- } from "../../../../chunk-NE3FRGGX.js";
6
+ KQs,
7
+ mvs
8
+ } from "../../../../chunk-EK6TWE46.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/vue/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await QQs(props);
15
- yvs(mod, {
14
+ const mod = await KQs(props);
15
+ mvs(mod, {
16
16
  from: "@vitejs/plugin-vue",
17
17
  constructor: "vue",
18
18
  options: {
19
19
  include: [/\.vue$/, /\.md$/]
20
20
  }
21
21
  });
22
- yvs(mod, {
22
+ mvs(mod, {
23
23
  from: "unplugin-vue-markdown/vite",
24
24
  constructor: "md",
25
25
  options: {}
@@ -1,15 +1,14 @@
1
1
  import type { OnCreateAppSync } from "vike-vue/types";
2
- import VueGtag from "vue-gtag";
2
+ import { createGtag } from "vue-gtag";
3
3
 
4
4
  // BATI.has("google-analytics")
5
5
  export const onCreateApp: OnCreateAppSync = (pageContext): ReturnType<OnCreateAppSync> => {
6
6
  const { app } = pageContext;
7
7
 
8
8
  // See https://matteo-gabriele.gitbook.io/vue-gtag/
9
- app.use(VueGtag, {
10
- customResourceURL: "https://www.googletagmanager.com/gtag/js",
11
- config: {
12
- id: import.meta.env.PUBLIC_ENV__GOOGLE_ANALYTICS,
13
- },
9
+ const gtag = createGtag({
10
+ tagId: import.meta.env.PUBLIC_ENV__GOOGLE_ANALYTICS,
14
11
  });
12
+
13
+ app.use(gtag);
15
14
  };
@@ -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
- XQs
7
- } from "../../../../chunk-NE3FRGGX.js";
6
+ GQs
7
+ } from "../../../../chunk-EK6TWE46.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,10 +51,10 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@sentry/vue": "^9.14.0",
54
+ "@sentry/vue": "^9.15.0",
55
55
  "@types/node": "^18.19.87",
56
56
  "vike-vue": "^0.9.0",
57
- vite: "^6.3.3",
57
+ vite: "^6.3.5",
58
58
  vue: "^3.5.13"
59
59
  },
60
60
  dependencies: {
@@ -89,7 +89,7 @@ var require_package = __commonJS({
89
89
  }
90
90
  });
91
91
  async function getPackageJson(props) {
92
- const packageJson = await XQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ const packageJson = await GQs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
93
  return packageJson.addDependencies(["@sentry/vue"]);
94
94
  }
95
95
  export {