@batijs/cli 0.0.334 → 0.0.336

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 (87) 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 +4 -4
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +9 -9
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
  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 +5 -5
  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 +6 -6
  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 +5 -5
  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 +5 -5
  21. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
  22. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +5 -5
  23. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +6 -6
  24. package/dist/boilerplates/@batijs/express/files/$package.json.js +5 -5
  25. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +5 -5
  26. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
  27. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
  28. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +6 -6
  29. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  30. package/dist/boilerplates/@batijs/h3/files/$package.json.js +6 -6
  31. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +6 -6
  32. package/dist/boilerplates/@batijs/hono/files/$package.json.js +7 -7
  33. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  34. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
  35. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
  36. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +8 -8
  37. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  38. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +7 -7
  39. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +5 -5
  40. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +5 -5
  41. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  42. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  43. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +6 -6
  44. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  45. package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -9
  46. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  47. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  48. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +6 -6
  49. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  50. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  51. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +6 -6
  52. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  53. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  54. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  55. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +5 -5
  56. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  57. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  58. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  59. package/dist/boilerplates/@batijs/shared/files/package.json +1 -1
  60. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
  61. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  62. package/dist/boilerplates/@batijs/solid/files/$package.json.js +8 -8
  63. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  64. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  65. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
  66. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  67. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  68. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +4 -4
  69. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +8 -8
  70. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
  71. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +6 -6
  72. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  73. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +6 -6
  74. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +4 -4
  75. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +7 -7
  76. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +5 -5
  77. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  78. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  79. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  80. package/dist/boilerplates/@batijs/vue/files/$package.json.js +8 -8
  81. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  82. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  83. package/dist/boilerplates/@batijs/vue/files/pages/+onCreateApp.ts +1 -0
  84. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +6 -6
  85. package/dist/{chunk-FBQNLYZP.js → chunk-7DZDJIDY.js} +82585 -82422
  86. package/dist/index.js +20 -20
  87. package/package.json +8 -8
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- VHs,
4
- xbs
5
- } from "../../../../chunk-FBQNLYZP.js";
3
+ Bbs,
4
+ sXs
5
+ } from "../../../../chunk-7DZDJIDY.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/telefunc/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await VHs(props);
11
- xbs(mod, {
10
+ const mod = await sXs(props);
11
+ Bbs(mod, {
12
12
  from: "telefunc/vite",
13
13
  constructor: "telefunc",
14
14
  imported: "telefunc"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- qHs
4
- } from "../../../../chunk-FBQNLYZP.js";
3
+ iXs
4
+ } from "../../../../chunk-7DZDJIDY.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/trpc/dist/files/$package.json.js
@@ -47,12 +47,12 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@cloudflare/workers-types": "^4.20250129.0",
50
+ "@cloudflare/workers-types": "^4.20250204.0",
51
51
  "@trpc/client": "^10.45.2",
52
52
  "@trpc/server": "^10.45.2",
53
- "@types/node": "^18.19.74",
53
+ "@types/node": "^18.19.75",
54
54
  "@universal-middleware/core": "^0.4.0",
55
- vite: "^6.0.11"
55
+ vite: "^6.1.0"
56
56
  },
57
57
  dependencies: {
58
58
  "@batijs/core": "workspace:*"
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await qHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.addDependencies(["@trpc/server", "@trpc/client"]);
98
98
  }
99
99
  export {
@@ -3,7 +3,7 @@ export declare const trpc: {
3
3
  query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
4
4
  _config: import("@trpc/server").RootConfig<{
5
5
  ctx: object & {
6
- db: ReturnType<any>;
6
+ db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
7
7
  } & {
8
8
  db: ReturnType<any>;
9
9
  } & {
@@ -16,7 +16,7 @@ export declare const trpc: {
16
16
  transformer: import("@trpc/server").DefaultDataTransformer;
17
17
  }>;
18
18
  _ctx_out: object & {
19
- db: ReturnType<any>;
19
+ db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
20
20
  } & {
21
21
  db: ReturnType<any>;
22
22
  } & {
@@ -37,7 +37,7 @@ export declare const trpc: {
37
37
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
38
38
  _config: import("@trpc/server").RootConfig<{
39
39
  ctx: object & {
40
- db: ReturnType<any>;
40
+ db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
41
41
  } & {
42
42
  db: ReturnType<any>;
43
43
  } & {
@@ -51,7 +51,7 @@ export declare const trpc: {
51
51
  }>;
52
52
  _meta: object;
53
53
  _ctx_out: object & {
54
- db: ReturnType<any>;
54
+ db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
55
55
  } & {
56
56
  db: ReturnType<any>;
57
57
  } & {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- qHs
4
- } from "../../../../chunk-FBQNLYZP.js";
3
+ iXs
4
+ } from "../../../../chunk-7DZDJIDY.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/ts-rest/dist/files/$package.json.js
@@ -47,10 +47,10 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@cloudflare/workers-types": "^4.20250129.0",
51
- "@ts-rest/core": "^3.51.0",
52
- "@ts-rest/serverless": "^3.51.0",
53
- "@types/node": "^18.19.74",
50
+ "@cloudflare/workers-types": "^4.20250204.0",
51
+ "@ts-rest/core": "^3.51.1",
52
+ "@ts-rest/serverless": "^3.51.1",
53
+ "@types/node": "^18.19.75",
54
54
  "@universal-middleware/core": "^0.4.0",
55
55
  zod: "^3.24.1"
56
56
  },
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await qHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.addDevDependencies(["zod"]).addDependencies(["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"]);
98
98
  }
99
99
  export {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- qHs
4
- } from "../../../../chunk-FBQNLYZP.js";
3
+ iXs
4
+ } from "../../../../chunk-7DZDJIDY.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vercel/dist/files/$package.json.js
@@ -47,10 +47,10 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@types/node": "^18.19.74",
50
+ "@types/node": "^18.19.75",
51
51
  "@vite-plugin-vercel/vike": "^9.0.3",
52
52
  vike: "^0.4.220",
53
- vite: "^6.0.11",
53
+ vite: "^6.1.0",
54
54
  "vite-plugin-vercel": "^9.0.4"
55
55
  },
56
56
  dependencies: {
@@ -68,7 +68,7 @@ var require_package = __commonJS({
68
68
  }
69
69
  });
70
70
  async function getPackageJson(props) {
71
- const packageJson = await qHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
71
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
72
72
  return packageJson.addDependencies(["vite-plugin-vercel", "@vite-plugin-vercel/vike"]);
73
73
  }
74
74
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- UHs
4
- } from "../../../../chunk-FBQNLYZP.js";
3
+ nXs
4
+ } from "../../../../chunk-7DZDJIDY.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vercel/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await UHs(props);
9
+ const tsConfig = await nXs(props);
10
10
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vite-plugin-vercel/types"];
11
11
  return tsConfig;
12
12
  }
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- VHs,
4
- xbs
5
- } from "../../../../chunk-FBQNLYZP.js";
3
+ Bbs,
4
+ sXs
5
+ } from "../../../../chunk-7DZDJIDY.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/vercel/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await VHs(props);
10
+ const mod = await sXs(props);
11
11
  const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
12
12
  source: "/.*"
13
13
  } : void 0;
14
- xbs(mod, {
14
+ Bbs(mod, {
15
15
  from: "vite-plugin-vercel",
16
16
  constructor: "vercel",
17
17
  options
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- BHs
4
- } from "../../../../chunk-FBQNLYZP.js";
3
+ rXs
4
+ } from "../../../../chunk-7DZDJIDY.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await BHs(props);
9
+ const content = await rXs(props);
10
10
  const about = `
11
11
 
12
12
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [Vue](https://vuejs.org/guide/quick-start.html).
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- qHs
4
- } from "../../../../chunk-FBQNLYZP.js";
3
+ iXs
4
+ } from "../../../../chunk-7DZDJIDY.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$package.json.js
@@ -48,19 +48,19 @@ var require_package = __commonJS({
48
48
  license: "MIT",
49
49
  devDependencies: {
50
50
  "@batijs/compile": "workspace:*",
51
- "@pandacss/dev": "^0.52.0",
52
- "@types/node": "^18.19.74",
51
+ "@pandacss/dev": "^0.53.0",
52
+ "@types/node": "^18.19.75",
53
53
  "@vitejs/plugin-vue": "^5.2.1",
54
54
  "@vue/compiler-sfc": "^3.5.13",
55
55
  "@vue/server-renderer": "^3.5.13",
56
- tailwindcss: "^4.0.3",
56
+ tailwindcss: "^4.0.5",
57
57
  typescript: "^5.7.3",
58
58
  "unplugin-vue-markdown": "^28.3.0",
59
59
  vike: "^0.4.220",
60
60
  "vike-vue": "^0.8.6",
61
- vite: "^6.0.11",
61
+ vite: "^6.1.0",
62
62
  vue: "^3.5.13",
63
- "vue-gtag": "^2.0.1"
63
+ "vue-gtag": "2.0.1"
64
64
  },
65
65
  dependencies: {
66
66
  "@batijs/core": "workspace:*"
@@ -125,7 +125,7 @@ var require_package = __commonJS({
125
125
  }
126
126
  });
127
127
  async function getPackageJson(props) {
128
- const packageJson = await qHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
128
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
129
129
  return packageJson.addDevDependencies(["vite"]).addDependencies([
130
130
  "@vitejs/plugin-vue",
131
131
  "@vue/compiler-sfc",
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- UHs
4
- } from "../../../../chunk-FBQNLYZP.js";
3
+ nXs
4
+ } from "../../../../chunk-7DZDJIDY.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await UHs(props);
9
+ const tsConfig = await nXs(props);
10
10
  tsConfig.compilerOptions.jsx = "preserve";
11
11
  tsConfig.compilerOptions.jsxImportSource = "vue";
12
12
  return tsConfig;
@@ -1,21 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- VHs,
4
- xbs
5
- } from "../../../../chunk-FBQNLYZP.js";
3
+ Bbs,
4
+ sXs
5
+ } from "../../../../chunk-7DZDJIDY.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/vue/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await VHs(props);
11
- xbs(mod, {
10
+ const mod = await sXs(props);
11
+ Bbs(mod, {
12
12
  from: "@vitejs/plugin-vue",
13
13
  constructor: "vue",
14
14
  options: {
15
15
  include: [/\.vue$/, /\.md$/]
16
16
  }
17
17
  });
18
- xbs(mod, {
18
+ Bbs(mod, {
19
19
  from: "unplugin-vue-markdown/vite",
20
20
  constructor: "md",
21
21
  options: {}
@@ -7,6 +7,7 @@ export const onCreateApp: OnCreateAppSync = (pageContext): ReturnType<OnCreateAp
7
7
 
8
8
  // See https://matteo-gabriele.gitbook.io/vue-gtag/
9
9
  app.use(VueGtag, {
10
+ customResourceURL: "https://www.googletagmanager.com/gtag/js",
10
11
  config: {
11
12
  id: import.meta.env.PUBLIC_ENV__GOOGLE_ANALYTICS,
12
13
  },
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- qHs
4
- } from "../../../../chunk-FBQNLYZP.js";
3
+ iXs
4
+ } from "../../../../chunk-7DZDJIDY.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/vue-sentry/dist/files/$package.json.js
@@ -47,10 +47,10 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@sentry/vue": "^8.53.0",
51
- "@types/node": "^18.19.74",
50
+ "@sentry/vue": "^8.54.0",
51
+ "@types/node": "^18.19.75",
52
52
  "vike-vue": "^0.8.6",
53
- vite: "^6.0.11",
53
+ vite: "^6.1.0",
54
54
  vue: "^3.5.13"
55
55
  },
56
56
  dependencies: {
@@ -85,7 +85,7 @@ var require_package = __commonJS({
85
85
  }
86
86
  });
87
87
  async function getPackageJson(props) {
88
- const packageJson = await qHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
88
+ const packageJson = await iXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
89
89
  return packageJson.addDependencies(["@sentry/vue"]);
90
90
  }
91
91
  export {