@batijs/cli 0.0.286 → 0.0.288
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.
- package/dist/boilerplates/@batijs/auth0/files/$.env.js +10 -5
- package/dist/boilerplates/@batijs/auth0/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +24 -47
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +8 -3
- package/dist/boilerplates/@batijs/aws/files/cdk/$stack-name-suffix.json.js +3 -1
- package/dist/boilerplates/@batijs/aws/files/tests/aws_handler.spec.ts +1 -1
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +15 -19
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +26 -42
- package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +8 -3
- package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +10 -4
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +9 -10
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +10 -4
- package/dist/boilerplates/@batijs/d1/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +10 -10
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +8 -3
- package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +5 -2
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +96 -5
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +8 -3
- package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +19 -21
- package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +16 -13
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +15 -38
- package/dist/boilerplates/@batijs/express/files/$package.json.js +20 -34
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +20 -34
- package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +8 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +9 -10
- package/dist/boilerplates/@batijs/firebase-auth/files/firebase/$service-account.json.js +3 -1
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +8 -3
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +20 -37
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +17 -49
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +21 -40
- package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +10 -4
- package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +9 -4
- package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +9 -17
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +10 -11
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/prisma/files/$.env.js +8 -3
- package/dist/boilerplates/@batijs/prisma/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +17 -14
- package/dist/boilerplates/@batijs/react/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/react/files/$package.json.js +11 -12
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +8 -3
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +10 -4
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +10 -10
- package/dist/boilerplates/@batijs/sentry/files/$.env.js +9 -4
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +12 -5
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +14 -6
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +21 -25
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +8 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +10 -4
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +14 -6
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +11 -12
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +8 -3
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +10 -4
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +10 -10
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +8 -3
- package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +12 -11
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +10 -15
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +10 -4
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +9 -11
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +8 -3
- package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +10 -4
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +18 -24
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +8 -3
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +11 -5
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +9 -9
- package/dist/chunk-BX6YHROU.js +202587 -0
- package/dist/chunk-LU7IBQI7.js +39 -0
- package/dist/index.js +776 -41
- package/dist/lib-NAFETZUN-TE4QDL3A.js +28258 -0
- package/package.json +6 -6
- package/dist/boilerplates/@batijs/shared-no-db/files/$package.json.js +0 -91
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
xLs
|
|
4
|
+
} from "../../../../chunk-BX6YHROU.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/tailwindcss/dist/files/$package.json.js
|
|
1
8
|
var __create = Object.create;
|
|
2
9
|
var __defProp = Object.defineProperty;
|
|
3
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -23,8 +30,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
30
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
31
|
mod
|
|
25
32
|
));
|
|
26
|
-
|
|
27
|
-
// package.json
|
|
28
33
|
var require_package = __commonJS({
|
|
29
34
|
"package.json"(exports, module) {
|
|
30
35
|
module.exports = {
|
|
@@ -46,7 +51,7 @@ var require_package = __commonJS({
|
|
|
46
51
|
autoprefixer: "^10.4.20",
|
|
47
52
|
daisyui: "^4.12.10",
|
|
48
53
|
postcss: "^8.4.47",
|
|
49
|
-
tailwindcss: "^3.4.
|
|
54
|
+
tailwindcss: "^3.4.13",
|
|
50
55
|
vike: "^0.4.196",
|
|
51
56
|
vite: "^5.4.7"
|
|
52
57
|
},
|
|
@@ -82,19 +87,9 @@ var require_package = __commonJS({
|
|
|
82
87
|
};
|
|
83
88
|
}
|
|
84
89
|
});
|
|
85
|
-
|
|
86
|
-
// files/$package.json.ts
|
|
87
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
88
90
|
async function getPackageJson(props) {
|
|
89
|
-
const packageJson = await
|
|
90
|
-
return
|
|
91
|
-
devDependencies: [
|
|
92
|
-
"tailwindcss",
|
|
93
|
-
"postcss",
|
|
94
|
-
"autoprefixer",
|
|
95
|
-
...props.meta.BATI.has("daisyui") ? ["daisyui"] : []
|
|
96
|
-
]
|
|
97
|
-
});
|
|
91
|
+
const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
92
|
+
return packageJson.addDevDependencies(["tailwindcss", "postcss", "autoprefixer"]).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
|
|
98
93
|
}
|
|
99
94
|
export {
|
|
100
95
|
getPackageJson as default
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
xLs
|
|
4
|
+
} from "../../../../chunk-BX6YHROU.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/telefunc/dist/files/$package.json.js
|
|
1
8
|
var __create = Object.create;
|
|
2
9
|
var __defProp = Object.defineProperty;
|
|
3
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -23,8 +30,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
30
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
31
|
mod
|
|
25
32
|
));
|
|
26
|
-
|
|
27
|
-
// package.json
|
|
28
33
|
var require_package = __commonJS({
|
|
29
34
|
"package.json"(exports, module) {
|
|
30
35
|
module.exports = {
|
|
@@ -81,14 +86,9 @@ var require_package = __commonJS({
|
|
|
81
86
|
};
|
|
82
87
|
}
|
|
83
88
|
});
|
|
84
|
-
|
|
85
|
-
// files/$package.json.ts
|
|
86
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
87
89
|
async function getPackageJson(props) {
|
|
88
|
-
const packageJson = await
|
|
89
|
-
return
|
|
90
|
-
dependencies: ["telefunc", "@universal-middleware/core"]
|
|
91
|
-
});
|
|
90
|
+
const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
91
|
+
return packageJson.addDependencies(["telefunc", "@universal-middleware/core"]);
|
|
92
92
|
}
|
|
93
93
|
export {
|
|
94
94
|
getPackageJson as default
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
ELs,
|
|
4
|
+
Pus
|
|
5
|
+
} from "../../../../chunk-BX6YHROU.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
|
|
5
|
-
|
|
10
|
+
const mod = await ELs(props);
|
|
11
|
+
Pus(mod, {
|
|
6
12
|
from: "telefunc/vite",
|
|
7
13
|
constructor: "telefunc",
|
|
8
14
|
imported: "telefunc"
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
xLs
|
|
4
|
+
} from "../../../../chunk-BX6YHROU.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/trpc/dist/files/$package.json.js
|
|
1
8
|
var __create = Object.create;
|
|
2
9
|
var __defProp = Object.defineProperty;
|
|
3
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -23,8 +30,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
30
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
31
|
mod
|
|
25
32
|
));
|
|
26
|
-
|
|
27
|
-
// package.json
|
|
28
33
|
var require_package = __commonJS({
|
|
29
34
|
"package.json"(exports, module) {
|
|
30
35
|
module.exports = {
|
|
@@ -87,14 +92,9 @@ var require_package = __commonJS({
|
|
|
87
92
|
};
|
|
88
93
|
}
|
|
89
94
|
});
|
|
90
|
-
|
|
91
|
-
// files/$package.json.ts
|
|
92
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
93
95
|
async function getPackageJson(props) {
|
|
94
|
-
const packageJson = await
|
|
95
|
-
return
|
|
96
|
-
dependencies: ["@trpc/server", "@trpc/client"]
|
|
97
|
-
});
|
|
96
|
+
const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
97
|
+
return packageJson.addDependencies(["@trpc/server", "@trpc/client"]);
|
|
98
98
|
}
|
|
99
99
|
export {
|
|
100
100
|
getPackageJson as default
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
xLs
|
|
4
|
+
} from "../../../../chunk-BX6YHROU.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/ts-rest/dist/files/$package.json.js
|
|
1
8
|
var __create = Object.create;
|
|
2
9
|
var __defProp = Object.defineProperty;
|
|
3
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -23,8 +30,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
30
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
31
|
mod
|
|
25
32
|
));
|
|
26
|
-
|
|
27
|
-
// package.json
|
|
28
33
|
var require_package = __commonJS({
|
|
29
34
|
"package.json"(exports, module) {
|
|
30
35
|
module.exports = {
|
|
@@ -87,16 +92,9 @@ var require_package = __commonJS({
|
|
|
87
92
|
};
|
|
88
93
|
}
|
|
89
94
|
});
|
|
90
|
-
|
|
91
|
-
// files/$package.json.ts
|
|
92
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
93
95
|
async function getPackageJson(props) {
|
|
94
|
-
const packageJson = await
|
|
95
|
-
|
|
96
|
-
dependencies: ["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"],
|
|
97
|
-
devDependencies: ["zod"]
|
|
98
|
-
});
|
|
99
|
-
return packageJson;
|
|
96
|
+
const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
97
|
+
return packageJson.addDevDependencies(["zod"]).addDependencies(["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"]);
|
|
100
98
|
}
|
|
101
99
|
export {
|
|
102
100
|
getPackageJson as default
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
xLs
|
|
4
|
+
} from "../../../../chunk-BX6YHROU.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/vercel/dist/files/$package.json.js
|
|
1
8
|
var __create = Object.create;
|
|
2
9
|
var __defProp = Object.defineProperty;
|
|
3
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -23,8 +30,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
30
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
31
|
mod
|
|
25
32
|
));
|
|
26
|
-
|
|
27
|
-
// package.json
|
|
28
33
|
var require_package = __commonJS({
|
|
29
34
|
"package.json"(exports, module) {
|
|
30
35
|
module.exports = {
|
|
@@ -62,14 +67,9 @@ var require_package = __commonJS({
|
|
|
62
67
|
};
|
|
63
68
|
}
|
|
64
69
|
});
|
|
65
|
-
|
|
66
|
-
// files/$package.json.ts
|
|
67
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
68
70
|
async function getPackageJson(props) {
|
|
69
|
-
const packageJson = await
|
|
70
|
-
return
|
|
71
|
-
dependencies: ["vite-plugin-vercel", "@vite-plugin-vercel/vike"]
|
|
72
|
-
});
|
|
71
|
+
const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
72
|
+
return packageJson.addDependencies(["vite-plugin-vercel", "@vite-plugin-vercel/vike"]);
|
|
73
73
|
}
|
|
74
74
|
export {
|
|
75
75
|
getPackageJson as default
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
SLs
|
|
4
|
+
} from "../../../../chunk-BX6YHROU.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
|
|
9
|
+
const tsConfig = await SLs(props);
|
|
5
10
|
tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vite-plugin-vercel/types"];
|
|
6
11
|
return tsConfig;
|
|
7
12
|
}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
ELs,
|
|
4
|
+
Pus
|
|
5
|
+
} from "../../../../chunk-BX6YHROU.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
|
|
10
|
+
const mod = await ELs(props);
|
|
5
11
|
const options = props.meta.BATI.has("express") || props.meta.BATI.has("fastify") ? {
|
|
6
12
|
source: "/.*"
|
|
7
13
|
} : void 0;
|
|
8
|
-
|
|
14
|
+
Pus(mod, {
|
|
9
15
|
from: "vite-plugin-vercel",
|
|
10
16
|
constructor: "vercel",
|
|
11
17
|
options
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
TLs
|
|
4
|
+
} from "../../../../chunk-BX6YHROU.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
|
|
9
|
+
const content = await TLs(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,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
xLs
|
|
4
|
+
} from "../../../../chunk-BX6YHROU.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/vue/dist/files/$package.json.js
|
|
1
8
|
var __create = Object.create;
|
|
2
9
|
var __defProp = Object.defineProperty;
|
|
3
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -23,8 +30,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
30
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
31
|
mod
|
|
25
32
|
));
|
|
26
|
-
|
|
27
|
-
// package.json
|
|
28
33
|
var require_package = __commonJS({
|
|
29
34
|
"package.json"(exports, module) {
|
|
30
35
|
module.exports = {
|
|
@@ -46,7 +51,7 @@ var require_package = __commonJS({
|
|
|
46
51
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
47
52
|
"@vue/compiler-sfc": "^3.5.8",
|
|
48
53
|
"@vue/server-renderer": "^3.5.8",
|
|
49
|
-
tailwindcss: "^3.4.
|
|
54
|
+
tailwindcss: "^3.4.13",
|
|
50
55
|
typescript: "^5.6.2",
|
|
51
56
|
"unplugin-vue-markdown": "^0.26.2",
|
|
52
57
|
vike: "^0.4.196",
|
|
@@ -117,28 +122,17 @@ var require_package = __commonJS({
|
|
|
117
122
|
};
|
|
118
123
|
}
|
|
119
124
|
});
|
|
120
|
-
|
|
121
|
-
// files/$package.json.ts
|
|
122
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
123
125
|
async function getPackageJson(props) {
|
|
124
|
-
const packageJson = await
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"@vue/compiler-sfc",
|
|
135
|
-
"@vue/server-renderer",
|
|
136
|
-
"unplugin-vue-markdown",
|
|
137
|
-
"vike-vue",
|
|
138
|
-
"vike",
|
|
139
|
-
"vue"
|
|
140
|
-
]
|
|
141
|
-
});
|
|
126
|
+
const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
127
|
+
return packageJson.addDevDependencies(["vite"]).addDependencies([
|
|
128
|
+
"@vitejs/plugin-vue",
|
|
129
|
+
"@vue/compiler-sfc",
|
|
130
|
+
"@vue/server-renderer",
|
|
131
|
+
"unplugin-vue-markdown",
|
|
132
|
+
"vike-vue",
|
|
133
|
+
"vike",
|
|
134
|
+
"vue"
|
|
135
|
+
]).addDependencies(["vue-gtag"], props.meta.BATI.has("google-analytics"));
|
|
142
136
|
}
|
|
143
137
|
export {
|
|
144
138
|
getPackageJson as default
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
SLs
|
|
4
|
+
} from "../../../../chunk-BX6YHROU.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
|
|
9
|
+
const tsConfig = await SLs(props);
|
|
5
10
|
tsConfig.compilerOptions.jsx = "preserve";
|
|
6
11
|
tsConfig.compilerOptions.jsxImportSource = "vue";
|
|
7
12
|
return tsConfig;
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
ELs,
|
|
4
|
+
Pus
|
|
5
|
+
} from "../../../../chunk-BX6YHROU.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
|
|
5
|
-
|
|
10
|
+
const mod = await ELs(props);
|
|
11
|
+
Pus(mod, {
|
|
6
12
|
from: "@vitejs/plugin-vue",
|
|
7
13
|
constructor: "vue",
|
|
8
14
|
options: {
|
|
9
15
|
include: [/\.vue$/, /\.md$/]
|
|
10
16
|
}
|
|
11
17
|
});
|
|
12
|
-
|
|
18
|
+
Pus(mod, {
|
|
13
19
|
from: "unplugin-vue-markdown/vite",
|
|
14
20
|
constructor: "md",
|
|
15
21
|
options: {}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
xLs
|
|
4
|
+
} from "../../../../chunk-BX6YHROU.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/vue-sentry/dist/files/$package.json.js
|
|
1
8
|
var __create = Object.create;
|
|
2
9
|
var __defProp = Object.defineProperty;
|
|
3
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -23,8 +30,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
30
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
31
|
mod
|
|
25
32
|
));
|
|
26
|
-
|
|
27
|
-
// package.json
|
|
28
33
|
var require_package = __commonJS({
|
|
29
34
|
"package.json"(exports, module) {
|
|
30
35
|
module.exports = {
|
|
@@ -79,14 +84,9 @@ var require_package = __commonJS({
|
|
|
79
84
|
};
|
|
80
85
|
}
|
|
81
86
|
});
|
|
82
|
-
|
|
83
|
-
// files/$package.json.ts
|
|
84
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
85
87
|
async function getPackageJson(props) {
|
|
86
|
-
const packageJson = await
|
|
87
|
-
return
|
|
88
|
-
dependencies: ["@sentry/vue"]
|
|
89
|
-
});
|
|
88
|
+
const packageJson = await xLs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
89
|
+
return packageJson.addDependencies(["@sentry/vue"]);
|
|
90
90
|
}
|
|
91
91
|
export {
|
|
92
92
|
getPackageJson as default
|