@batijs/cli 0.0.511 → 0.0.513
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/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/auth0/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/authjs/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -11
- package/dist/boilerplates/@batijs/aws/bati.config.js +18 -0
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -5
- package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +7 -1
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -7
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/biome/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/cloudflare/bati.config.js +18 -0
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -7
- package/dist/boilerplates/@batijs/compiled/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/d1/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -14
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -11
- package/dist/boilerplates/@batijs/drizzle/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/eslint/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/express/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/fastify/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/google-analytics/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/h3/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/hono/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/hono/files/entry_aws_lambda.ts +2 -2
- package/dist/boilerplates/@batijs/mantine/bati.config.js +18 -0
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -12
- package/dist/boilerplates/@batijs/photon/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/photon/files/$README.md.js +4 -1
- package/dist/boilerplates/@batijs/photon/files/$package.json.js +1 -15
- package/dist/boilerplates/@batijs/plausible.io/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/pnpm/bati.config.js +18 -0
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
- package/dist/boilerplates/@batijs/prettier/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/prisma/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/react/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/react/files/$README.md.js +5 -2
- package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +1 -1
- package/dist/boilerplates/@batijs/react-sentry/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -11
- package/dist/boilerplates/@batijs/sentry/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/shared/bati.config.js +15 -0
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/shared-db/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/shared-server/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -13
- package/dist/boilerplates/@batijs/shared-todo/bati.config.js +15 -0
- package/dist/boilerplates/@batijs/solid/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +5 -2
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +1 -1
- package/dist/boilerplates/@batijs/solid-sentry/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -11
- package/dist/boilerplates/@batijs/sqlite/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -15
- package/dist/boilerplates/@batijs/tailwindcss/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/trpc/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/ts-rest/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/vercel/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +2 -7
- package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vue/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +5 -2
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -6
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +2 -2
- package/dist/boilerplates/@batijs/vue-sentry/bati.config.js +17 -0
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -11
- package/dist/boilerplates/boilerplates.json +0 -264
- package/dist/{chunk-RB7SP54Q.js → chunk-7Z4ESLVZ.js} +1 -1
- package/dist/index.js +23 -795
- package/package.json +5 -6
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("auth0");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("authjs") || meta.BATI.has("auth0");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -62,16 +62,6 @@ var require_package = __commonJS({
|
|
|
62
62
|
files: [
|
|
63
63
|
"dist/"
|
|
64
64
|
],
|
|
65
|
-
bati: {
|
|
66
|
-
if: {
|
|
67
|
-
flag: {
|
|
68
|
-
$in: [
|
|
69
|
-
"authjs",
|
|
70
|
-
"auth0"
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
65
|
exports: {
|
|
76
66
|
"./server/authjs-handler": {
|
|
77
67
|
types: "./dist/types/server/authjs-handler.d.ts"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("aws");
|
|
13
|
+
},
|
|
14
|
+
enforce: "post"
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
bati_config_default as default
|
|
18
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
zEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -27,10 +27,6 @@ This boilerplate is a starting point for deploying your Vike app to AWS. You can
|
|
|
27
27
|
|
|
28
28
|
If you want to have a look at the synthesized CloudFormation template, you can run \`pnpm cdk synth\` and see the template as YAML on screen or in \`cdk.out/VikeStack.template.json\`.
|
|
29
29
|
|
|
30
|
-
> [!NOTE]
|
|
31
|
-
> If this is your **first time deploying a CDK app** in this environment you need to **bootstrap**:
|
|
32
|
-
> \`pnpm cdk bootstrap\`. (The default region based on your AWS CLI configuration will be used)
|
|
33
|
-
|
|
34
30
|
You can deploy your Vike App via the following command:
|
|
35
31
|
\`pnpm deploy:aws\` or \`pnpm cdk deploy\`
|
|
36
32
|
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
zEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -50,6 +50,12 @@ This is often the most convenient way to configure credentials when deploying yo
|
|
|
50
50
|
|
|
51
51
|
> [!NOTE]
|
|
52
52
|
> You should change the stack name to give your app stack a distinctive name in your AWS environment. You can do so by modifying the \`infrastructure.ts.ts\` file in the \`cdk/bin\` directory.
|
|
53
|
+
|
|
54
|
+
### Deployment to AWS
|
|
55
|
+
|
|
56
|
+
If this is your **first time deploying a CDK app** in this environment you need to **bootstrap**:
|
|
57
|
+
\`pnpm cdk bootstrap\`. (The default region based on your AWS CLI configuration will be used)
|
|
58
|
+
|
|
53
59
|
`;
|
|
54
60
|
content.addMarkdownFeature(todo, "aws");
|
|
55
61
|
return content;
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -71,12 +71,6 @@ var require_package = __commonJS({
|
|
|
71
71
|
files: [
|
|
72
72
|
"dist/"
|
|
73
73
|
],
|
|
74
|
-
bati: {
|
|
75
|
-
if: {
|
|
76
|
-
flag: "aws"
|
|
77
|
-
},
|
|
78
|
-
enforce: "post"
|
|
79
|
-
},
|
|
80
74
|
exports: {
|
|
81
75
|
"./vitest.config": {
|
|
82
76
|
types: "./dist/types/vitest.config.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("biome");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -60,12 +60,7 @@ var require_package = __commonJS({
|
|
|
60
60
|
},
|
|
61
61
|
files: [
|
|
62
62
|
"dist/"
|
|
63
|
-
]
|
|
64
|
-
bati: {
|
|
65
|
-
if: {
|
|
66
|
-
flag: "biome"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
63
|
+
]
|
|
69
64
|
};
|
|
70
65
|
}
|
|
71
66
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("cloudflare");
|
|
13
|
+
},
|
|
14
|
+
enforce: "post"
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
bati_config_default as default
|
|
18
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -62,12 +62,6 @@ var require_package = __commonJS({
|
|
|
62
62
|
files: [
|
|
63
63
|
"dist/"
|
|
64
64
|
],
|
|
65
|
-
bati: {
|
|
66
|
-
if: {
|
|
67
|
-
flag: "cloudflare"
|
|
68
|
-
},
|
|
69
|
-
enforce: "post"
|
|
70
|
-
},
|
|
71
65
|
exports: {
|
|
72
66
|
"./cloudflare-entry": {
|
|
73
67
|
types: "./dist/types/cloudflare-entry.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("compiled-css");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -61,12 +61,7 @@ var require_package = __commonJS({
|
|
|
61
61
|
},
|
|
62
62
|
files: [
|
|
63
63
|
"dist/"
|
|
64
|
-
]
|
|
65
|
-
bati: {
|
|
66
|
-
if: {
|
|
67
|
-
flag: "compiled-css"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
64
|
+
]
|
|
70
65
|
};
|
|
71
66
|
}
|
|
72
67
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.hasD1;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -63,19 +63,6 @@ var require_package = __commonJS({
|
|
|
63
63
|
files: [
|
|
64
64
|
"dist/"
|
|
65
65
|
],
|
|
66
|
-
bati: {
|
|
67
|
-
if: {
|
|
68
|
-
flag: {
|
|
69
|
-
$in: [
|
|
70
|
-
"drizzle",
|
|
71
|
-
"sqlite"
|
|
72
|
-
],
|
|
73
|
-
$all: [
|
|
74
|
-
"cloudflare"
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
66
|
exports: {
|
|
80
67
|
"./database/d1/helpers": {
|
|
81
68
|
types: "./dist/types/database/d1/helpers.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.hasD1 && meta.BATI.has("sqlite");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -62,16 +62,6 @@ var require_package = __commonJS({
|
|
|
62
62
|
files: [
|
|
63
63
|
"dist/"
|
|
64
64
|
],
|
|
65
|
-
bati: {
|
|
66
|
-
if: {
|
|
67
|
-
flag: {
|
|
68
|
-
$all: [
|
|
69
|
-
"sqlite",
|
|
70
|
-
"cloudflare"
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
65
|
exports: {
|
|
76
66
|
"./database/d1/queries/todos": {
|
|
77
67
|
types: "./dist/types/database/d1/queries/todos.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("drizzle");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -64,11 +64,6 @@ var require_package = __commonJS({
|
|
|
64
64
|
files: [
|
|
65
65
|
"dist/"
|
|
66
66
|
],
|
|
67
|
-
bati: {
|
|
68
|
-
if: {
|
|
69
|
-
flag: "drizzle"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
67
|
exports: {
|
|
73
68
|
"./drizzle.config": {
|
|
74
69
|
types: "./dist/types/drizzle.config.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("eslint");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -68,11 +68,6 @@ var require_package = __commonJS({
|
|
|
68
68
|
files: [
|
|
69
69
|
"dist/"
|
|
70
70
|
],
|
|
71
|
-
bati: {
|
|
72
|
-
if: {
|
|
73
|
-
flag: "eslint"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
71
|
exports: {
|
|
77
72
|
"./eslint.config": {
|
|
78
73
|
types: "./dist/types/eslint.config.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("express");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -68,11 +68,6 @@ var require_package = __commonJS({
|
|
|
68
68
|
files: [
|
|
69
69
|
"dist/"
|
|
70
70
|
],
|
|
71
|
-
bati: {
|
|
72
|
-
if: {
|
|
73
|
-
flag: "express"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
71
|
exports: {
|
|
77
72
|
"./server/entry": {
|
|
78
73
|
types: "./dist/types/server/entry.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("fastify");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-7Z4ESLVZ.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -69,11 +69,6 @@ var require_package = __commonJS({
|
|
|
69
69
|
files: [
|
|
70
70
|
"dist/"
|
|
71
71
|
],
|
|
72
|
-
bati: {
|
|
73
|
-
if: {
|
|
74
|
-
flag: "fastify"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
72
|
exports: {
|
|
78
73
|
"./server/entry": {
|
|
79
74
|
types: "./dist/types/server/entry.d.ts"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("google-analytics");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ../../packages/core/dist/config.js
|
|
2
|
+
function t(e, r) {
|
|
3
|
+
if (!e) throw new Error(r);
|
|
4
|
+
}
|
|
5
|
+
function i(e) {
|
|
6
|
+
return "enforce" in e && t(e.enforce === "pre" || e.enforce === "post", `'enforce' must be 'pre' or 'post', was ${e.enforce}`), "if" in e && t(typeof e.if == "function", "'if' must be a function"), e;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// bati.config.ts
|
|
10
|
+
var bati_config_default = i({
|
|
11
|
+
if(meta) {
|
|
12
|
+
return meta.BATI.has("h3");
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export {
|
|
16
|
+
bati_config_default as default
|
|
17
|
+
};
|