@batijs/cli 0.0.282 → 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.
- 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 +12 -10
- package/dist/boilerplates/@batijs/authjs/files/global.d.ts +11 -0
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +14 -9
- 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/biome/files/$package.json.js +12 -8
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +29 -17
- 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 +10 -7
- 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 -7
- 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 +8 -3
- package/dist/boilerplates/@batijs/d1-sqlite/files/database/d1/queries/lucia-auth.ts +1 -0
- 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 +18 -9
- package/dist/boilerplates/@batijs/drizzle/files/drizzle.config.ts +1 -0
- package/dist/boilerplates/@batijs/drizzle/types/drizzle.config.d.ts +1 -0
- package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +10 -7
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +16 -12
- package/dist/boilerplates/@batijs/express/files/$package.json.js +14 -16
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +15 -12
- package/dist/boilerplates/@batijs/fastify/files/global.d.ts +0 -11
- 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 +12 -9
- 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 +15 -13
- package/dist/boilerplates/@batijs/h3/files/global.d.ts +0 -12
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +17 -11
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +13 -9
- 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 +20 -9
- package/dist/boilerplates/@batijs/lucia-auth/files/server/lucia-auth-handlers.ts +10 -7
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +10 -7
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +10 -7
- 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 +10 -7
- package/dist/boilerplates/@batijs/react/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/react/files/$package.json.js +10 -7
- 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 -7
- 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 +10 -7
- 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 +12 -8
- 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-no-db/files/$package.json.js +10 -7
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +10 -7
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +8 -3
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +10 -7
- 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 -7
- 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 -9
- package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/queries/lucia-auth.ts +1 -0
- package/dist/boilerplates/@batijs/sqlite/files/database/sqlite/schema/lucia-auth.ts +2 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +10 -7
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +10 -7
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +10 -4
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +10 -7
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +4 -4
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +10 -7
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +10 -7
- 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 +11 -8
- 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 +10 -7
- package/dist/boilerplates/boilerplates.json +4 -2
- package/dist/chunk-LU7IBQI7.js +39 -0
- package/dist/chunk-ZPMGCQ2D.js +202555 -0
- package/dist/index.js +851 -66
- package/dist/lib-NAFETZUN-TE4QDL3A.js +28258 -0
- package/package.json +5 -5
- package/dist/boilerplates/@batijs/auth0/files/global.d.ts +0 -11
|
@@ -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/shared-no-db/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 = {
|
|
@@ -77,12 +83,9 @@ var require_package = __commonJS({
|
|
|
77
83
|
};
|
|
78
84
|
}
|
|
79
85
|
});
|
|
80
|
-
|
|
81
|
-
// files/$package.json.ts
|
|
82
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
83
86
|
async function getPackageJson(props) {
|
|
84
|
-
const packageJson = await
|
|
85
|
-
return
|
|
87
|
+
const packageJson = await mLs(props);
|
|
88
|
+
return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
|
|
86
89
|
dependencies: []
|
|
87
90
|
});
|
|
88
91
|
}
|
|
@@ -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/shared-server/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 = {
|
|
@@ -86,12 +92,9 @@ var require_package = __commonJS({
|
|
|
86
92
|
};
|
|
87
93
|
}
|
|
88
94
|
});
|
|
89
|
-
|
|
90
|
-
// files/$package.json.ts
|
|
91
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
92
95
|
async function getPackageJson(props) {
|
|
93
|
-
const packageJson = await
|
|
94
|
-
return
|
|
96
|
+
const packageJson = await mLs(props);
|
|
97
|
+
return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
|
|
95
98
|
dependencies: ["@universal-middleware/core"]
|
|
96
99
|
});
|
|
97
100
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
dLs
|
|
4
|
+
} from "../../../../chunk-ZPMGCQ2D.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/solid/dist/files/$README.md.js
|
|
3
8
|
async function getReadme(props) {
|
|
4
|
-
const content = await
|
|
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 [SolidJS](https://www.solidjs.com/guides/getting-started).
|
|
@@ -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/solid/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 = {
|
|
@@ -167,12 +173,9 @@ var require_package = __commonJS({
|
|
|
167
173
|
};
|
|
168
174
|
}
|
|
169
175
|
});
|
|
170
|
-
|
|
171
|
-
// files/$package.json.ts
|
|
172
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
173
176
|
async function getPackageJson(props) {
|
|
174
|
-
const packageJson = await
|
|
175
|
-
return
|
|
177
|
+
const packageJson = await mLs(props);
|
|
178
|
+
return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
|
|
176
179
|
devDependencies: ["vite"],
|
|
177
180
|
dependencies: ["solid-js", "vike-solid", "vike"]
|
|
178
181
|
});
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
mLs
|
|
4
|
+
} from "../../../../chunk-ZPMGCQ2D.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/solid/dist/files/$tsconfig.json.js
|
|
3
8
|
async function getTsConfig(props) {
|
|
4
|
-
const tsConfig = await
|
|
9
|
+
const tsConfig = await mLs(props);
|
|
5
10
|
tsConfig.compilerOptions.jsx = "preserve";
|
|
6
11
|
tsConfig.compilerOptions.jsxImportSource = "solid-js";
|
|
7
12
|
tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-solid/client"];
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
Uus,
|
|
4
|
+
hLs
|
|
5
|
+
} from "../../../../chunk-ZPMGCQ2D.js";
|
|
6
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
7
|
+
|
|
8
|
+
// ../../boilerplates/solid/dist/files/$vite.config.ts.js
|
|
3
9
|
async function getViteConfig(props) {
|
|
4
|
-
const mod = await
|
|
5
|
-
|
|
10
|
+
const mod = await hLs(props);
|
|
11
|
+
Uus(mod, {
|
|
6
12
|
from: "vike-solid/vite",
|
|
7
13
|
constructor: "vikeSolid"
|
|
8
14
|
});
|
|
@@ -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/solid-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 = {
|
|
@@ -85,12 +91,9 @@ var require_package = __commonJS({
|
|
|
85
91
|
};
|
|
86
92
|
}
|
|
87
93
|
});
|
|
88
|
-
|
|
89
|
-
// files/$package.json.ts
|
|
90
|
-
import { addDependency, loadAsJson } from "@batijs/core";
|
|
91
94
|
async function getPackageJson(props) {
|
|
92
|
-
const packageJson = await
|
|
93
|
-
return
|
|
95
|
+
const packageJson = await mLs(props);
|
|
96
|
+
return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
|
|
94
97
|
dependencies: ["@sentry/solid"]
|
|
95
98
|
});
|
|
96
99
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
T7s
|
|
4
|
+
} from "../../../../chunk-ZPMGCQ2D.js";
|
|
5
|
+
import "../../../../chunk-LU7IBQI7.js";
|
|
6
|
+
|
|
7
|
+
// ../../boilerplates/sqlite/dist/files/$.env.js
|
|
3
8
|
async function getEnv(props) {
|
|
4
9
|
if (props.meta.BATI.hasD1) return;
|
|
5
10
|
const envContent = await props.readfile?.();
|
|
6
|
-
return
|
|
11
|
+
return T7s(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
|
|
7
12
|
}
|
|
8
13
|
export {
|
|
9
14
|
getEnv as default
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
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
|
|
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,15 +119,12 @@ 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
|
|
123
|
+
const packageJson = await mLs(props);
|
|
121
124
|
packageJson.scripts["sqlite:migrate"] = "tsx ./database/sqlite/schema/all.ts";
|
|
122
|
-
return
|
|
123
|
-
devDependencies: ["
|
|
124
|
-
dependencies: ["better-sqlite3"]
|
|
125
|
+
return g7s(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default), {
|
|
126
|
+
devDependencies: ["@types/better-sqlite3", "tsx"],
|
|
127
|
+
dependencies: ["better-sqlite3", "dotenv"]
|
|
125
128
|
});
|
|
126
129
|
}
|
|
127
130
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/*{ @if (it.BATI.has("lucia-auth")) }*/
|
|
2
2
|
import "dotenv/config";
|
|
3
3
|
import { db } from "../db";
|
|
4
4
|
|
|
@@ -29,3 +29,4 @@ client.exec(`CREATE TABLE IF NOT EXISTS sessions (
|
|
|
29
29
|
user_id TEXT NOT NULL,
|
|
30
30
|
FOREIGN KEY (user_id) REFERENCES users(id) ON UPDATE cascade ON DELETE cascade
|
|
31
31
|
)`);
|
|
32
|
+
/*{ /if }*/
|
|
@@ -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
|
|
90
|
-
return
|
|
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
|
|
89
|
-
return
|
|
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
|
-
|
|
2
|
-
import {
|
|
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
|
|
5
|
-
|
|
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
|
|
95
|
-
return
|
|
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
|
}
|
|
@@ -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<
|
|
6
|
+
db: ReturnType<any>;
|
|
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<
|
|
19
|
+
db: ReturnType<any>;
|
|
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<
|
|
40
|
+
db: ReturnType<any>;
|
|
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<
|
|
54
|
+
db: ReturnType<any>;
|
|
55
55
|
} & {
|
|
56
56
|
db: ReturnType<any>;
|
|
57
57
|
} & {
|
|
@@ -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
|
|
95
|
-
|
|
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
|
|
70
|
-
return
|
|
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
|
-
|
|
2
|
-
import {
|
|
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
|
|
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
|
-
|
|
2
|
-
import {
|
|
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
|
|
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
|
-
|
|
14
|
+
Uus(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
|
+
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
|
|
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
|
|
127
|
+
const packageJson = await mLs(props);
|
|
125
128
|
if (props.meta.BATI.has("google-analytics")) {
|
|
126
|
-
|
|
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
|
|
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
|
-
|
|
2
|
-
import {
|
|
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
|
|
9
|
+
const tsConfig = await mLs(props);
|
|
5
10
|
tsConfig.compilerOptions.jsx = "preserve";
|
|
6
11
|
tsConfig.compilerOptions.jsxImportSource = "vue";
|
|
7
12
|
return tsConfig;
|