@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.
Files changed (120) hide show
  1. package/dist/boilerplates/@batijs/auth0/bati.config.js +17 -0
  2. package/dist/boilerplates/@batijs/auth0/files/$.env.js +1 -1
  3. package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -1
  4. package/dist/boilerplates/@batijs/authjs/bati.config.js +17 -0
  5. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -11
  6. package/dist/boilerplates/@batijs/aws/bati.config.js +18 -0
  7. package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -5
  8. package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +7 -1
  9. package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -7
  10. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
  11. package/dist/boilerplates/@batijs/biome/bati.config.js +17 -0
  12. package/dist/boilerplates/@batijs/biome/files/$package.json.js +2 -7
  13. package/dist/boilerplates/@batijs/cloudflare/bati.config.js +18 -0
  14. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -7
  15. package/dist/boilerplates/@batijs/compiled/bati.config.js +17 -0
  16. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +2 -7
  17. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
  18. package/dist/boilerplates/@batijs/d1/bati.config.js +17 -0
  19. package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +1 -1
  20. package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -14
  21. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
  22. package/dist/boilerplates/@batijs/d1-sqlite/bati.config.js +17 -0
  23. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -11
  24. package/dist/boilerplates/@batijs/drizzle/bati.config.js +17 -0
  25. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
  26. package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +1 -1
  27. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -6
  28. package/dist/boilerplates/@batijs/eslint/bati.config.js +17 -0
  29. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -6
  30. package/dist/boilerplates/@batijs/express/bati.config.js +17 -0
  31. package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -6
  32. package/dist/boilerplates/@batijs/fastify/bati.config.js +17 -0
  33. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -6
  34. package/dist/boilerplates/@batijs/google-analytics/bati.config.js +17 -0
  35. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
  36. package/dist/boilerplates/@batijs/h3/bati.config.js +17 -0
  37. package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -6
  38. package/dist/boilerplates/@batijs/hono/bati.config.js +17 -0
  39. package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -6
  40. package/dist/boilerplates/@batijs/hono/files/entry_aws_lambda.ts +2 -2
  41. package/dist/boilerplates/@batijs/mantine/bati.config.js +18 -0
  42. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
  43. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -12
  44. package/dist/boilerplates/@batijs/photon/bati.config.js +17 -0
  45. package/dist/boilerplates/@batijs/photon/files/$README.md.js +4 -1
  46. package/dist/boilerplates/@batijs/photon/files/$package.json.js +1 -15
  47. package/dist/boilerplates/@batijs/plausible.io/bati.config.js +17 -0
  48. package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -1
  49. package/dist/boilerplates/@batijs/pnpm/bati.config.js +18 -0
  50. package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
  51. package/dist/boilerplates/@batijs/prettier/bati.config.js +17 -0
  52. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +2 -7
  53. package/dist/boilerplates/@batijs/prisma/bati.config.js +17 -0
  54. package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
  55. package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +1 -1
  56. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +2 -7
  57. package/dist/boilerplates/@batijs/react/bati.config.js +17 -0
  58. package/dist/boilerplates/@batijs/react/files/$README.md.js +5 -2
  59. package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -6
  60. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
  61. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
  62. package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +1 -1
  63. package/dist/boilerplates/@batijs/react-sentry/bati.config.js +17 -0
  64. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -11
  65. package/dist/boilerplates/@batijs/sentry/bati.config.js +17 -0
  66. package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
  67. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -1
  68. package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +1 -1
  69. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -6
  70. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
  71. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
  72. package/dist/boilerplates/@batijs/shadcn-ui/bati.config.js +17 -0
  73. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
  74. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -6
  75. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
  76. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
  77. package/dist/boilerplates/@batijs/shared/bati.config.js +15 -0
  78. package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
  79. package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +1 -1
  80. package/dist/boilerplates/@batijs/shared-db/bati.config.js +17 -0
  81. package/dist/boilerplates/@batijs/shared-server/bati.config.js +17 -0
  82. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -13
  83. package/dist/boilerplates/@batijs/shared-todo/bati.config.js +15 -0
  84. package/dist/boilerplates/@batijs/solid/bati.config.js +17 -0
  85. package/dist/boilerplates/@batijs/solid/files/$README.md.js +5 -2
  86. package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -6
  87. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
  88. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -1
  89. package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +1 -1
  90. package/dist/boilerplates/@batijs/solid-sentry/bati.config.js +17 -0
  91. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -11
  92. package/dist/boilerplates/@batijs/sqlite/bati.config.js +17 -0
  93. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
  94. package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +1 -1
  95. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -15
  96. package/dist/boilerplates/@batijs/tailwindcss/bati.config.js +17 -0
  97. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +2 -7
  98. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
  99. package/dist/boilerplates/@batijs/telefunc/bati.config.js +17 -0
  100. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -6
  101. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
  102. package/dist/boilerplates/@batijs/trpc/bati.config.js +17 -0
  103. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -6
  104. package/dist/boilerplates/@batijs/ts-rest/bati.config.js +17 -0
  105. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -6
  106. package/dist/boilerplates/@batijs/vercel/bati.config.js +17 -0
  107. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +2 -7
  108. package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
  109. package/dist/boilerplates/@batijs/vue/bati.config.js +17 -0
  110. package/dist/boilerplates/@batijs/vue/files/$README.md.js +5 -2
  111. package/dist/boilerplates/@batijs/vue/files/$package.json.js +1 -6
  112. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
  113. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
  114. package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +2 -2
  115. package/dist/boilerplates/@batijs/vue-sentry/bati.config.js +17 -0
  116. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -11
  117. package/dist/boilerplates/boilerplates.json +0 -264
  118. package/dist/{chunk-RB7SP54Q.js → chunk-7Z4ESLVZ.js} +1 -1
  119. package/dist/index.js +23 -795
  120. package/package.json +5 -6
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  YEs
7
- } from "../../../../chunk-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  hir
8
- } from "../../../../chunk-RB7SP54Q.js";
8
+ } from "../../../../chunk-7Z4ESLVZ.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -0,0 +1,15 @@
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
+ enforce: "pre"
12
+ });
13
+ export {
14
+ bati_config_default as default
15
+ };
@@ -6,7 +6,7 @@ import {
6
6
  EBs,
7
7
  SBs,
8
8
  zEs
9
- } from "../../../../chunk-RB7SP54Q.js";
9
+ } from "../../../../chunk-7Z4ESLVZ.js";
10
10
  import "../../../../chunk-IAWYWZSL.js";
11
11
  import "../../../../chunk-DHZ7AZKP.js";
12
12
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -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.hasDatabase;
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.hasServer;
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-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -61,18 +61,6 @@ var require_package = __commonJS({
61
61
  files: [
62
62
  "dist/"
63
63
  ],
64
- bati: {
65
- if: {
66
- flag: {
67
- $in: [
68
- "h3",
69
- "hono",
70
- "express",
71
- "fastify"
72
- ]
73
- }
74
- }
75
- },
76
64
  exports: {
77
65
  "./server/create-todo-handler": {
78
66
  types: "./dist/types/server/create-todo-handler.d.ts"
@@ -0,0 +1,15 @@
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
+ enforce: "pre"
12
+ });
13
+ export {
14
+ bati_config_default as default
15
+ };
@@ -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("solid");
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
  zEs
7
- } from "../../../../chunk-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -12,6 +12,7 @@ import "../../../../chunk-DHZ7AZKP.js";
12
12
  async function getReadme(props) {
13
13
  const content = await zEs(props);
14
14
  const about = `
15
+ ## Vike
15
16
 
16
17
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [SolidJS](https://www.solidjs.com/guides/getting-started).
17
18
 
@@ -41,7 +42,9 @@ SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all or
41
42
  ### HTML Streaming
42
43
 
43
44
  You can [enable/disable HTML streaming](https://vike.dev/stream) for all or specific pages.`;
44
- content.addMarkdownFeature(about, "solid");
45
+ content.addMarkdownFeature(about, "solid", {
46
+ position: "before"
47
+ });
45
48
  return content;
46
49
  }
47
50
  export {
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -67,11 +67,6 @@ var require_package = __commonJS({
67
67
  files: [
68
68
  "dist/"
69
69
  ],
70
- bati: {
71
- if: {
72
- flag: "solid"
73
- }
74
- },
75
70
  exports: {
76
71
  "./components/Link": {
77
72
  types: "./dist/types/components/Link.d.ts"
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  YEs
7
- } from "../../../../chunk-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  Zti
8
- } from "../../../../chunk-RB7SP54Q.js";
8
+ } from "../../../../chunk-7Z4ESLVZ.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -1,9 +1,9 @@
1
+ import type { Data } from "@batijs/shared-todo/pages/todo/+data";
1
2
  import { onNewTodo } from "@batijs/telefunc/pages/todo/TodoList.telefunc";
2
3
  import { trpc } from "@batijs/trpc/trpc/client";
3
4
  import { client } from "@batijs/ts-rest/ts-rest/client";
4
5
  import { createSignal, For, untrack } from "solid-js";
5
6
  import { useData } from "vike-solid/useData";
6
- import type { Data } from "@batijs/shared-todo/pages/todo/+data";
7
7
 
8
8
  export function TodoList() {
9
9
  const { todoItemsInitial } = useData<Data>();
@@ -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("solid") && meta.BATI.has("sentry");
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-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -63,16 +63,6 @@ var require_package = __commonJS({
63
63
  files: [
64
64
  "dist/"
65
65
  ],
66
- bati: {
67
- if: {
68
- flag: {
69
- $all: [
70
- "solid",
71
- "sentry"
72
- ]
73
- }
74
- }
75
- },
76
66
  exports: {
77
67
  "./sentry.browser.config": {
78
68
  types: "./dist/types/sentry.browser.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("sqlite") && !meta.BATI.has("cloudflare");
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
  CBs
7
- } from "../../../../chunk-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  zEs
7
- } from "../../../../chunk-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -63,20 +63,6 @@ var require_package = __commonJS({
63
63
  files: [
64
64
  "dist/"
65
65
  ],
66
- bati: {
67
- if: {
68
- flag: {
69
- $in: [
70
- "sqlite"
71
- ],
72
- $not: {
73
- $in: [
74
- "cloudflare"
75
- ]
76
- }
77
- }
78
- }
79
- },
80
66
  exports: {
81
67
  "./database/sqlite/db": {
82
68
  types: "./dist/types/database/sqlite/db.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("tailwindcss");
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-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -64,12 +64,7 @@ var require_package = __commonJS({
64
64
  },
65
65
  files: [
66
66
  "dist/"
67
- ],
68
- bati: {
69
- if: {
70
- flag: "tailwindcss"
71
- }
72
- }
67
+ ]
73
68
  };
74
69
  }
75
70
  });
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  Zti
8
- } from "../../../../chunk-RB7SP54Q.js";
8
+ } from "../../../../chunk-7Z4ESLVZ.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -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("telefunc");
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-RB7SP54Q.js";
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: "telefunc"
70
- }
71
- },
72
67
  exports: {
73
68
  "./pages/todo/TodoList.telefunc": {
74
69
  types: "./dist/types/pages/todo/TodoList.telefunc.d.ts"
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
5
5
  import {
6
6
  JEs,
7
7
  Zti
8
- } from "../../../../chunk-RB7SP54Q.js";
8
+ } from "../../../../chunk-7Z4ESLVZ.js";
9
9
  import "../../../../chunk-IAWYWZSL.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
@@ -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("trpc");
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-RB7SP54Q.js";
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: "trpc"
70
- }
71
- },
72
67
  typesVersions: {
73
68
  "*": {
74
69
  "trpc/server": [
@@ -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("ts-rest");
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-RB7SP54Q.js";
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: "ts-rest"
70
- }
71
- },
72
67
  exports: {
73
68
  "./ts-rest/contract": {
74
69
  types: "./dist/types/ts-rest/contract.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("vercel");
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-RB7SP54Q.js";
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: "vercel"
68
- }
69
- }
64
+ ]
70
65
  };
71
66
  }
72
67
  });
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  JEs
7
- } from "../../../../../chunk-RB7SP54Q.js";
7
+ } from "../../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -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("vue");
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
  zEs
7
- } from "../../../../chunk-RB7SP54Q.js";
7
+ } from "../../../../chunk-7Z4ESLVZ.js";
8
8
  import "../../../../chunk-IAWYWZSL.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -12,6 +12,7 @@ import "../../../../chunk-DHZ7AZKP.js";
12
12
  async function getReadme(props) {
13
13
  const content = await zEs(props);
14
14
  const about = `
15
+ ## Vike
15
16
 
16
17
  This app is ready to start. It's powered by [Vike](https://vike.dev) and [Vue](https://vuejs.org/guide/quick-start.html).
17
18
 
@@ -41,7 +42,9 @@ SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all or
41
42
  ### HTML Streaming
42
43
 
43
44
  You can [enable/disable HTML streaming](https://vike.dev/stream) for all or specific pages.`;
44
- content.addMarkdownFeature(about, "vue");
45
+ content.addMarkdownFeature(about, "vue", {
46
+ position: "before"
47
+ });
45
48
  return content;
46
49
  }
47
50
  export {
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
6
  WEs
7
- } from "../../../../chunk-RB7SP54Q.js";
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: "vue"
75
- }
76
- },
77
72
  exports: {
78
73
  "./pages/+config": {
79
74
  types: "./dist/types/pages/+config.d.ts"