@batijs/cli 0.0.286 → 0.0.287

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 (89) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +10 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$README.md.js +8 -3
  3. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +10 -7
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +8 -3
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +12 -8
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +8 -3
  7. package/dist/boilerplates/@batijs/aws/files/cdk/$stack-name-suffix.json.js +3 -1
  8. package/dist/boilerplates/@batijs/biome/files/$package.json.js +12 -8
  9. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +16 -11
  10. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +8 -3
  11. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +10 -4
  12. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +10 -7
  13. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +10 -4
  14. package/dist/boilerplates/@batijs/d1/files/$README.md.js +8 -3
  15. package/dist/boilerplates/@batijs/d1/files/$package.json.js +10 -7
  16. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +8 -3
  17. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +5 -2
  18. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +8 -3
  19. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +8 -3
  20. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +8 -3
  21. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +11 -8
  22. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +8 -3
  23. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +10 -7
  24. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +16 -12
  25. package/dist/boilerplates/@batijs/express/files/$package.json.js +12 -8
  26. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +12 -8
  27. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +8 -3
  28. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +8 -3
  29. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +10 -7
  30. package/dist/boilerplates/@batijs/firebase-auth/files/firebase/$service-account.json.js +3 -1
  31. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +8 -3
  32. package/dist/boilerplates/@batijs/h3/files/$package.json.js +12 -8
  33. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +16 -11
  34. package/dist/boilerplates/@batijs/hono/files/$package.json.js +12 -8
  35. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +10 -4
  36. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +9 -4
  37. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +8 -3
  38. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +19 -9
  39. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +8 -3
  40. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +10 -7
  41. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +10 -7
  42. package/dist/boilerplates/@batijs/prisma/files/$.env.js +8 -3
  43. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +8 -3
  44. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +10 -7
  45. package/dist/boilerplates/@batijs/react/files/$README.md.js +8 -3
  46. package/dist/boilerplates/@batijs/react/files/$package.json.js +10 -7
  47. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +8 -3
  48. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +10 -4
  49. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +10 -7
  50. package/dist/boilerplates/@batijs/sentry/files/$.env.js +9 -4
  51. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +8 -3
  52. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +10 -7
  53. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +12 -5
  54. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +14 -6
  55. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +8 -3
  56. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +12 -8
  57. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +8 -3
  58. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +10 -4
  59. package/dist/boilerplates/@batijs/shared/files/$README.md.js +14 -6
  60. package/dist/boilerplates/@batijs/shared-no-db/files/$package.json.js +10 -7
  61. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +10 -7
  62. package/dist/boilerplates/@batijs/solid/files/$README.md.js +8 -3
  63. package/dist/boilerplates/@batijs/solid/files/$package.json.js +10 -7
  64. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +8 -3
  65. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +10 -4
  66. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +10 -7
  67. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +8 -3
  68. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +8 -3
  69. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +10 -7
  70. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +10 -7
  71. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +10 -7
  72. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +10 -4
  73. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +10 -7
  74. package/dist/boilerplates/@batijs/trpc/types/server/trpc-handler.d.ts +1 -1
  75. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +12 -12
  76. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +10 -7
  77. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +10 -7
  78. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +8 -3
  79. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +10 -4
  80. package/dist/boilerplates/@batijs/vue/files/$README.md.js +8 -3
  81. package/dist/boilerplates/@batijs/vue/files/$package.json.js +11 -8
  82. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +8 -3
  83. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +11 -5
  84. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +10 -7
  85. package/dist/chunk-LU7IBQI7.js +39 -0
  86. package/dist/chunk-ZPMGCQ2D.js +202555 -0
  87. package/dist/index.js +768 -38
  88. package/dist/lib-NAFETZUN-TE4QDL3A.js +28258 -0
  89. package/package.json +5 -5
@@ -1,7 +1,12 @@
1
- // files/$README.md.ts
2
- import { loadReadme } from "@batijs/core";
1
+ #!/usr/bin/env node
2
+ import {
3
+ dLs
4
+ } from "../../../../chunk-ZPMGCQ2D.js";
5
+ import "../../../../chunk-LU7IBQI7.js";
6
+
7
+ // ../../boilerplates/sqlite/dist/files/$README.md.js
3
8
  async function getReadme(props) {
4
- const content = await loadReadme(props);
9
+ const content = await dLs(props);
5
10
  const todo = `
6
11
  ## *Sqlite*
7
12
 
@@ -1,3 +1,11 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ g7s,
4
+ mLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/sqlite/dist/files/$package.json.js
1
9
  var __create = Object.create;
2
10
  var __defProp = Object.defineProperty;
3
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -23,8 +31,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
32
  mod
25
33
  ));
26
-
27
- // package.json
28
34
  var require_package = __commonJS({
29
35
  "package.json"(exports, module) {
30
36
  module.exports = {
@@ -113,13 +119,10 @@ var require_package = __commonJS({
113
119
  };
114
120
  }
115
121
  });
116
-
117
- // files/$package.json.ts
118
- import { addDependency, loadAsJson } from "@batijs/core";
119
122
  async function getPackageJson(props) {
120
- const packageJson = await loadAsJson(props);
123
+ const packageJson = await mLs(props);
121
124
  packageJson.scripts["sqlite:migrate"] = "tsx ./database/sqlite/schema/all.ts";
122
- return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
125
+ return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
123
126
  devDependencies: ["@types/better-sqlite3", "tsx"],
124
127
  dependencies: ["better-sqlite3", "dotenv"]
125
128
  });
@@ -1,3 +1,11 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ g7s,
4
+ mLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/tailwindcss/dist/files/$package.json.js
1
9
  var __create = Object.create;
2
10
  var __defProp = Object.defineProperty;
3
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -23,8 +31,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
32
  mod
25
33
  ));
26
-
27
- // package.json
28
34
  var require_package = __commonJS({
29
35
  "package.json"(exports, module) {
30
36
  module.exports = {
@@ -82,12 +88,9 @@ var require_package = __commonJS({
82
88
  };
83
89
  }
84
90
  });
85
-
86
- // files/$package.json.ts
87
- import { addDependency, loadAsJson } from "@batijs/core";
88
91
  async function getPackageJson(props) {
89
- const packageJson = await loadAsJson(props);
90
- return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
92
+ const packageJson = await mLs(props);
93
+ return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
91
94
  devDependencies: [
92
95
  "tailwindcss",
93
96
  "postcss",
@@ -1,3 +1,11 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ g7s,
4
+ mLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/telefunc/dist/files/$package.json.js
1
9
  var __create = Object.create;
2
10
  var __defProp = Object.defineProperty;
3
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -23,8 +31,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
32
  mod
25
33
  ));
26
-
27
- // package.json
28
34
  var require_package = __commonJS({
29
35
  "package.json"(exports, module) {
30
36
  module.exports = {
@@ -81,12 +87,9 @@ var require_package = __commonJS({
81
87
  };
82
88
  }
83
89
  });
84
-
85
- // files/$package.json.ts
86
- import { addDependency, loadAsJson } from "@batijs/core";
87
90
  async function getPackageJson(props) {
88
- const packageJson = await loadAsJson(props);
89
- return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
91
+ const packageJson = await mLs(props);
92
+ return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
90
93
  dependencies: ["telefunc", "@universal-middleware/core"]
91
94
  });
92
95
  }
@@ -1,8 +1,14 @@
1
- // files/$vite.config.ts.ts
2
- import { addVitePlugin, loadAsMagicast } from "@batijs/core";
1
+ #!/usr/bin/env node
2
+ import {
3
+ Uus,
4
+ hLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/telefunc/dist/files/$vite.config.ts.js
3
9
  async function getViteConfig(props) {
4
- const mod = await loadAsMagicast(props);
5
- addVitePlugin(mod, {
10
+ const mod = await hLs(props);
11
+ Uus(mod, {
6
12
  from: "telefunc/vite",
7
13
  constructor: "telefunc",
8
14
  imported: "telefunc"
@@ -1,3 +1,11 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ g7s,
4
+ mLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/trpc/dist/files/$package.json.js
1
9
  var __create = Object.create;
2
10
  var __defProp = Object.defineProperty;
3
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -23,8 +31,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
32
  mod
25
33
  ));
26
-
27
- // package.json
28
34
  var require_package = __commonJS({
29
35
  "package.json"(exports, module) {
30
36
  module.exports = {
@@ -87,12 +93,9 @@ var require_package = __commonJS({
87
93
  };
88
94
  }
89
95
  });
90
-
91
- // files/$package.json.ts
92
- import { addDependency, loadAsJson } from "@batijs/core";
93
96
  async function getPackageJson(props) {
94
- const packageJson = await loadAsJson(props);
95
- return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
97
+ const packageJson = await mLs(props);
98
+ return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
96
99
  dependencies: ["@trpc/server", "@trpc/client"]
97
100
  });
98
101
  }
@@ -1 +1 @@
1
- export declare const trpcHandler: (endpoint: string) => (request: Request<unknown, CfProperties<unknown>>, context: Universal.Context, runtime: import("@universal-middleware/core").RuntimeAdapter) => Promise<Response>;
1
+ export declare const trpcHandler: (endpoint: string) => (request: Request, context: Universal.Context, runtime: import("@universal-middleware/core").RuntimeAdapter) => Promise<Response>;
@@ -3,11 +3,11 @@ 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<typeof import("@batijs/sqlite/database/sqlite/db").db>;
6
+ db: ReturnType<any>;
7
7
  } & {
8
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
8
+ db: ReturnType<any>;
9
9
  } & {
10
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
10
+ db: ReturnType<any>;
11
11
  } & {
12
12
  db: import("@cloudflare/workers-types").D1Database;
13
13
  };
@@ -16,11 +16,11 @@ export declare const trpc: {
16
16
  transformer: import("@trpc/server").DefaultDataTransformer;
17
17
  }>;
18
18
  _ctx_out: object & {
19
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
19
+ db: ReturnType<any>;
20
20
  } & {
21
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
21
+ db: ReturnType<any>;
22
22
  } & {
23
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
23
+ db: ReturnType<any>;
24
24
  } & {
25
25
  db: import("@cloudflare/workers-types").D1Database;
26
26
  };
@@ -37,11 +37,11 @@ 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<typeof import("@batijs/sqlite/database/sqlite/db").db>;
40
+ db: ReturnType<any>;
41
41
  } & {
42
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
42
+ db: ReturnType<any>;
43
43
  } & {
44
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
44
+ db: ReturnType<any>;
45
45
  } & {
46
46
  db: import("@cloudflare/workers-types").D1Database;
47
47
  };
@@ -51,11 +51,11 @@ export declare const trpc: {
51
51
  }>;
52
52
  _meta: object;
53
53
  _ctx_out: object & {
54
- db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
54
+ db: ReturnType<any>;
55
55
  } & {
56
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
56
+ db: ReturnType<any>;
57
57
  } & {
58
- db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
58
+ db: ReturnType<any>;
59
59
  } & {
60
60
  db: import("@cloudflare/workers-types").D1Database;
61
61
  };
@@ -1,3 +1,11 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ g7s,
4
+ mLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/ts-rest/dist/files/$package.json.js
1
9
  var __create = Object.create;
2
10
  var __defProp = Object.defineProperty;
3
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -23,8 +31,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
32
  mod
25
33
  ));
26
-
27
- // package.json
28
34
  var require_package = __commonJS({
29
35
  "package.json"(exports, module) {
30
36
  module.exports = {
@@ -87,12 +93,9 @@ var require_package = __commonJS({
87
93
  };
88
94
  }
89
95
  });
90
-
91
- // files/$package.json.ts
92
- import { addDependency, loadAsJson } from "@batijs/core";
93
96
  async function getPackageJson(props) {
94
- const packageJson = await loadAsJson(props);
95
- addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
97
+ const packageJson = await mLs(props);
98
+ g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
96
99
  dependencies: ["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"],
97
100
  devDependencies: ["zod"]
98
101
  });
@@ -1,3 +1,11 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ g7s,
4
+ mLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/vercel/dist/files/$package.json.js
1
9
  var __create = Object.create;
2
10
  var __defProp = Object.defineProperty;
3
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -23,8 +31,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
32
  mod
25
33
  ));
26
-
27
- // package.json
28
34
  var require_package = __commonJS({
29
35
  "package.json"(exports, module) {
30
36
  module.exports = {
@@ -62,12 +68,9 @@ var require_package = __commonJS({
62
68
  };
63
69
  }
64
70
  });
65
-
66
- // files/$package.json.ts
67
- import { addDependency, loadAsJson } from "@batijs/core";
68
71
  async function getPackageJson(props) {
69
- const packageJson = await loadAsJson(props);
70
- return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
72
+ const packageJson = await mLs(props);
73
+ return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
71
74
  dependencies: ["vite-plugin-vercel", "@vite-plugin-vercel/vike"]
72
75
  });
73
76
  }
@@ -1,7 +1,12 @@
1
- // files/$tsconfig.json.ts
2
- import { loadAsJson } from "@batijs/core";
1
+ #!/usr/bin/env node
2
+ import {
3
+ mLs
4
+ } from "../../../../chunk-ZPMGCQ2D.js";
5
+ import "../../../../chunk-LU7IBQI7.js";
6
+
7
+ // ../../boilerplates/vercel/dist/files/$tsconfig.json.js
3
8
  async function getTsConfig(props) {
4
- const tsConfig = await loadAsJson(props);
9
+ const tsConfig = await mLs(props);
5
10
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vite-plugin-vercel/types"];
6
11
  return tsConfig;
7
12
  }
@@ -1,11 +1,17 @@
1
- // files/$vite.config.ts.ts
2
- import { addVitePlugin, loadAsMagicast } from "@batijs/core";
1
+ #!/usr/bin/env node
2
+ import {
3
+ Uus,
4
+ hLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/vercel/dist/files/$vite.config.ts.js
3
9
  async function getViteConfig(props) {
4
- const mod = await loadAsMagicast(props);
10
+ const mod = await hLs(props);
5
11
  const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
6
12
  source: "/.*"
7
13
  } : void 0;
8
- addVitePlugin(mod, {
14
+ Uus(mod, {
9
15
  from: "vite-plugin-vercel",
10
16
  constructor: "vercel",
11
17
  options
@@ -1,7 +1,12 @@
1
- // files/$README.md.ts
2
- import { loadReadme } from "@batijs/core";
1
+ #!/usr/bin/env node
2
+ import {
3
+ dLs
4
+ } from "../../../../chunk-ZPMGCQ2D.js";
5
+ import "../../../../chunk-LU7IBQI7.js";
6
+
7
+ // ../../boilerplates/vue/dist/files/$README.md.js
3
8
  async function getReadme(props) {
4
- const content = await loadReadme(props);
9
+ const content = await dLs(props);
5
10
  const about = `
6
11
 
7
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,3 +1,11 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ g7s,
4
+ mLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/vue/dist/files/$package.json.js
1
9
  var __create = Object.create;
2
10
  var __defProp = Object.defineProperty;
3
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -23,8 +31,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
32
  mod
25
33
  ));
26
-
27
- // package.json
28
34
  var require_package = __commonJS({
29
35
  "package.json"(exports, module) {
30
36
  module.exports = {
@@ -117,17 +123,14 @@ var require_package = __commonJS({
117
123
  };
118
124
  }
119
125
  });
120
-
121
- // files/$package.json.ts
122
- import { addDependency, loadAsJson } from "@batijs/core";
123
126
  async function getPackageJson(props) {
124
- const packageJson = await loadAsJson(props);
127
+ const packageJson = await mLs(props);
125
128
  if (props.meta.BATI.has("google-analytics")) {
126
- addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
129
+ g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
127
130
  dependencies: ["vue-gtag"]
128
131
  });
129
132
  }
130
- return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
133
+ return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
131
134
  devDependencies: ["vite"],
132
135
  dependencies: [
133
136
  "@vitejs/plugin-vue",
@@ -1,7 +1,12 @@
1
- // files/$tsconfig.json.ts
2
- import { loadAsJson } from "@batijs/core";
1
+ #!/usr/bin/env node
2
+ import {
3
+ mLs
4
+ } from "../../../../chunk-ZPMGCQ2D.js";
5
+ import "../../../../chunk-LU7IBQI7.js";
6
+
7
+ // ../../boilerplates/vue/dist/files/$tsconfig.json.js
3
8
  async function getTsConfig(props) {
4
- const tsConfig = await loadAsJson(props);
9
+ const tsConfig = await mLs(props);
5
10
  tsConfig.compilerOptions.jsx = "preserve";
6
11
  tsConfig.compilerOptions.jsxImportSource = "vue";
7
12
  return tsConfig;
@@ -1,15 +1,21 @@
1
- // files/$vite.config.ts.ts
2
- import { addVitePlugin, loadAsMagicast } from "@batijs/core";
1
+ #!/usr/bin/env node
2
+ import {
3
+ Uus,
4
+ hLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/vue/dist/files/$vite.config.ts.js
3
9
  async function getViteConfig(props) {
4
- const mod = await loadAsMagicast(props);
5
- addVitePlugin(mod, {
10
+ const mod = await hLs(props);
11
+ Uus(mod, {
6
12
  from: "@vitejs/plugin-vue",
7
13
  constructor: "vue",
8
14
  options: {
9
15
  include: [/\.vue$/, /\.md$/]
10
16
  }
11
17
  });
12
- addVitePlugin(mod, {
18
+ Uus(mod, {
13
19
  from: "unplugin-vue-markdown/vite",
14
20
  constructor: "md",
15
21
  options: {}
@@ -1,3 +1,11 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ g7s,
4
+ mLs
5
+ } from "../../../../chunk-ZPMGCQ2D.js";
6
+ import "../../../../chunk-LU7IBQI7.js";
7
+
8
+ // ../../boilerplates/vue-sentry/dist/files/$package.json.js
1
9
  var __create = Object.create;
2
10
  var __defProp = Object.defineProperty;
3
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -23,8 +31,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
32
  mod
25
33
  ));
26
-
27
- // package.json
28
34
  var require_package = __commonJS({
29
35
  "package.json"(exports, module) {
30
36
  module.exports = {
@@ -79,12 +85,9 @@ var require_package = __commonJS({
79
85
  };
80
86
  }
81
87
  });
82
-
83
- // files/$package.json.ts
84
- import { addDependency, loadAsJson } from "@batijs/core";
85
88
  async function getPackageJson(props) {
86
- const packageJson = await loadAsJson(props);
87
- return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
89
+ const packageJson = await mLs(props);
90
+ return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
88
91
  dependencies: ["@sentry/vue"]
89
92
  });
90
93
  }
@@ -0,0 +1,39 @@
1
+ #!/usr/bin/env node
2
+
3
+ // ../core/dist/chunk-RBCZH3S6.js
4
+ import { createRequire } from "module";
5
+ import { fileURLToPath as BATI_fileURLToPath } from "node:url";
6
+ import { dirname as BATI_dirname } from "node:path";
7
+ var require2 = createRequire(import.meta.url);
8
+ var __filename = BATI_fileURLToPath(import.meta.url);
9
+ var __dirname = BATI_dirname(__filename);
10
+ var h = Object.create;
11
+ var e = Object.defineProperty;
12
+ var i = Object.getOwnPropertyDescriptor;
13
+ var j = Object.getOwnPropertyNames;
14
+ var k = Object.getPrototypeOf;
15
+ var l = Object.prototype.hasOwnProperty;
16
+ var m = ((a) => typeof require2 < "u" ? require2 : typeof Proxy < "u" ? new Proxy(a, { get: (b, c) => (typeof require2 < "u" ? require2 : b)[c] }) : a)(function(a) {
17
+ if (typeof require2 < "u") return require2.apply(this, arguments);
18
+ throw Error('Dynamic require of "' + a + '" is not supported');
19
+ });
20
+ var n = (a, b) => () => (a && (b = a(a = 0)), b);
21
+ var o = (a, b) => () => (b || a((b = { exports: {} }).exports, b), b.exports);
22
+ var p = (a, b) => {
23
+ for (var c in b) e(a, c, { get: b[c], enumerable: true });
24
+ };
25
+ var g = (a, b, c, f) => {
26
+ if (b && typeof b == "object" || typeof b == "function") for (let d of j(b)) !l.call(a, d) && d !== c && e(a, d, { get: () => b[d], enumerable: !(f = i(b, d)) || f.enumerable });
27
+ return a;
28
+ };
29
+ var q = (a, b, c) => (c = a != null ? h(k(a)) : {}, g(b || !a || !a.__esModule ? e(c, "default", { value: a, enumerable: true }) : c, a));
30
+ var r = (a) => g(e({}, "__esModule", { value: true }), a);
31
+
32
+ export {
33
+ m,
34
+ n,
35
+ o,
36
+ p,
37
+ q,
38
+ r
39
+ };