@batijs/cli 0.0.505 → 0.0.507
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 +1 -1
- package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
- 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 -1
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/photon/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/photon/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
- 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 +1 -1
- package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$package.json.js +1 -1
- 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/+onPageTransitionEnd.ts +1 -4
- package/dist/boilerplates/@batijs/react/files/pages/+onPageTransitionStart.ts +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/index/+Page.tsx +1 -3
- package/dist/boilerplates/@batijs/react/files/pages/star-wars/@id/+Page.tsx +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/star-wars/@id/+data.ts +2 -3
- package/dist/boilerplates/@batijs/react/files/pages/star-wars/index/+Page.tsx +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/star-wars/index/+data.ts +1 -1
- package/dist/boilerplates/@batijs/react/files/pages/todo/+Page.tsx +1 -4
- package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +21 -25
- package/dist/boilerplates/@batijs/react/types/pages/+onPageTransitionEnd.d.ts +1 -2
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/@id/+data.d.ts +3 -1
- package/dist/boilerplates/@batijs/react/types/pages/star-wars/index/+data.d.ts +3 -1
- package/dist/boilerplates/@batijs/react/types/pages/todo/TodoList.d.ts +1 -5
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
- 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 -1
- 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/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
- 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/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/tsconfig.json +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/shared-todo/files/pages/todo/+data.ts +10 -9
- package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.ts +1 -1
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
- 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/+onPageTransitionEnd.ts +1 -4
- package/dist/boilerplates/@batijs/solid/files/pages/+onPageTransitionStart.ts +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/index/+Page.tsx +2 -7
- package/dist/boilerplates/@batijs/solid/files/pages/star-wars/@id/+Page.tsx +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/star-wars/@id/+data.ts +2 -3
- package/dist/boilerplates/@batijs/solid/files/pages/star-wars/index/+Page.tsx +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/star-wars/index/+data.ts +1 -1
- package/dist/boilerplates/@batijs/solid/files/pages/todo/+Page.tsx +1 -4
- package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +21 -25
- package/dist/boilerplates/@batijs/solid/types/pages/+onPageTransitionEnd.d.ts +1 -2
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/@id/+data.d.ts +3 -1
- package/dist/boilerplates/@batijs/solid/types/pages/star-wars/index/+data.d.ts +3 -1
- package/dist/boilerplates/@batijs/solid/types/pages/todo/TodoList.d.ts +1 -5
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
- 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 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/pages/tailwind.css +18 -0
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/pages/todo/TodoList.telefunc.ts +3 -3
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +2 -2
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +2 -13
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -3
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +2 -10
- package/dist/boilerplates/@batijs/vue/files/pages/+onPageTransitionEnd.ts +1 -4
- package/dist/boilerplates/@batijs/vue/files/pages/+onPageTransitionStart.ts +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/_error/+Page.vue +2 -2
- package/dist/boilerplates/@batijs/vue/files/pages/index/+Page.vue +1 -4
- package/dist/boilerplates/@batijs/vue/files/pages/star-wars/@id/+Page.vue +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/star-wars/@id/+data.ts +2 -3
- package/dist/boilerplates/@batijs/vue/files/pages/star-wars/index/+Page.vue +2 -2
- package/dist/boilerplates/@batijs/vue/files/pages/star-wars/index/+data.ts +1 -1
- package/dist/boilerplates/@batijs/vue/files/pages/todo/+Page.vue +1 -5
- package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +28 -38
- package/dist/boilerplates/@batijs/vue/types/pages/+onPageTransitionEnd.d.ts +1 -2
- package/dist/boilerplates/@batijs/vue/types/pages/star-wars/@id/+data.d.ts +3 -1
- package/dist/boilerplates/@batijs/vue/types/pages/star-wars/index/+data.d.ts +1 -1
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
- package/dist/{chunk-PSSZWHMN.js → chunk-O6UZH2O7.js} +1 -1
- package/dist/index.js +2 -2
- package/package.json +5 -5
- package/dist/boilerplates/@batijs/vue/files/vue-shim.d.ts +0 -11
|
@@ -5,7 +5,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
5
5
|
import {
|
|
6
6
|
JEs,
|
|
7
7
|
Zti
|
|
8
|
-
} from "../../../../chunk-
|
|
8
|
+
} from "../../../../chunk-O6UZH2O7.js";
|
|
9
9
|
import "../../../../chunk-IAWYWZSL.js";
|
|
10
10
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
11
11
|
|
|
@@ -14,15 +14,7 @@ async function getViteConfig(props) {
|
|
|
14
14
|
const mod = await JEs(props);
|
|
15
15
|
Zti(mod, {
|
|
16
16
|
from: "@vitejs/plugin-vue",
|
|
17
|
-
constructor: "vue"
|
|
18
|
-
options: {
|
|
19
|
-
include: [/\.vue$/, /\.md$/]
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
Zti(mod, {
|
|
23
|
-
from: "unplugin-vue-markdown/vite",
|
|
24
|
-
constructor: "md",
|
|
25
|
-
options: {}
|
|
17
|
+
constructor: "vue"
|
|
26
18
|
});
|
|
27
19
|
return mod.generate().code;
|
|
28
20
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export async function onPageTransitionEnd(pageContext: PageContextClient) {
|
|
1
|
+
export async function onPageTransitionEnd() {
|
|
4
2
|
console.log("Page transition end");
|
|
5
|
-
console.log("Is backwards navigation?", pageContext.isBackwardNavigation);
|
|
6
3
|
document.body.classList.remove("page-transition");
|
|
7
4
|
}
|
|
@@ -2,6 +2,6 @@ import type { PageContextClient } from "vike/types";
|
|
|
2
2
|
|
|
3
3
|
export async function onPageTransitionStart(pageContext: Partial<PageContextClient>) {
|
|
4
4
|
console.log("Page transition start");
|
|
5
|
-
console.log("
|
|
5
|
+
console.log("pageContext.isBackwardNavigation", pageContext.isBackwardNavigation);
|
|
6
6
|
document.body.classList.add("page-transition");
|
|
7
7
|
}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<script lang="ts" setup>
|
|
7
7
|
import { usePageContext } from "vike-vue/usePageContext";
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
let { is404, abortReason } =
|
|
9
|
+
const pageContext = usePageContext();
|
|
10
|
+
let { is404, abortReason } = pageContext;
|
|
11
11
|
if (!abortReason) {
|
|
12
12
|
abortReason = is404 ? "This page could not be found." : "Something went wrong.";
|
|
13
13
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<!-- BATI.has("tailwindcss") -->
|
|
3
|
-
<h1 class="font-bold text-3xl pb-4">My Vike app</h1>
|
|
4
|
-
<!-- !BATI.has("tailwindcss") -->
|
|
5
2
|
<h1>My Vike app</h1>
|
|
6
|
-
This page is
|
|
3
|
+
<p>This page is:</p>
|
|
7
4
|
<ul>
|
|
8
5
|
<li>Rendered to HTML.</li>
|
|
9
6
|
<li>Interactive. <Counter /></li>
|
|
@@ -22,11 +22,10 @@ export async function data(pageContext: PageContextServer) {
|
|
|
22
22
|
// the client; we should minimize what is sent over the network.
|
|
23
23
|
movie = minimize(movie);
|
|
24
24
|
|
|
25
|
-
return movie;
|
|
25
|
+
return { movie };
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
function minimize(movie: MovieDetails): MovieDetails {
|
|
29
29
|
const { id, title, release_date, director, producer } = movie;
|
|
30
|
-
|
|
31
|
-
return minimizedMovie;
|
|
30
|
+
return { id, title, release_date, director, producer };
|
|
32
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<h1>Star Wars Movies</h1>
|
|
3
3
|
<ol>
|
|
4
|
-
<li v-for="item in movies
|
|
4
|
+
<li v-for="item in movies" :key="item.id">
|
|
5
5
|
<a :href="'/star-wars/' + item.id">{{ item.title }}</a> ({{ item.release_date }})
|
|
6
6
|
</li>
|
|
7
7
|
</ol>
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
import { useData } from "vike-vue/useData";
|
|
13
13
|
import type { Data } from "./+data.js";
|
|
14
14
|
|
|
15
|
-
const movies = useData<Data>();
|
|
15
|
+
const { movies } = useData<Data>();
|
|
16
16
|
</script>
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<h1>To-do List</h1>
|
|
4
|
-
<TodoList
|
|
4
|
+
<TodoList />
|
|
5
5
|
</div>
|
|
6
6
|
</template>
|
|
7
7
|
|
|
8
8
|
<script lang="ts" setup>
|
|
9
|
-
import type { Data } from "@batijs/shared-todo/pages/todo/+data";
|
|
10
|
-
import { useData } from "vike-vue/useData";
|
|
11
9
|
import TodoList from "./TodoList.vue";
|
|
12
|
-
|
|
13
|
-
const data = useData<Data>();
|
|
14
10
|
</script>
|
|
@@ -5,8 +5,14 @@
|
|
|
5
5
|
</li>
|
|
6
6
|
<li>
|
|
7
7
|
<form @submit.prevent="submitNewTodo()">
|
|
8
|
-
|
|
9
|
-
<
|
|
8
|
+
<!-- BATI.has("tailwindcss") -->
|
|
9
|
+
<input v-model="newTodo" type="text" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 w-full sm:w-auto p-2 mr-1 mb-1" />
|
|
10
|
+
<!-- !BATI.has("tailwindcss") -->
|
|
11
|
+
<input v-model="newTodo" type="text" />
|
|
12
|
+
<!-- BATI.has("tailwindcss") -->
|
|
13
|
+
<button type="submit" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-2 focus:outline-hidden focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto p-2">Add to-do</button>
|
|
14
|
+
<!-- !BATI.has("tailwindcss") -->
|
|
15
|
+
<button type="submit">Add to-do</button>
|
|
10
16
|
</form>
|
|
11
17
|
</li>
|
|
12
18
|
</ul>
|
|
@@ -17,48 +23,32 @@ import { onNewTodo } from "@batijs/telefunc/pages/todo/TodoList.telefunc";
|
|
|
17
23
|
import { trpc } from "@batijs/trpc/trpc/client";
|
|
18
24
|
import { client } from "@batijs/ts-rest/ts-rest/client";
|
|
19
25
|
import { ref } from "vue";
|
|
26
|
+
import { useData } from "vike-vue/useData";
|
|
27
|
+
import type { Data } from "@batijs/shared-todo/pages/todo/+data";
|
|
20
28
|
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
? "bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 w-full sm:w-auto p-2 mr-1 mb-1"
|
|
24
|
-
: "",
|
|
25
|
-
);
|
|
26
|
-
const buttonClass = ref(
|
|
27
|
-
BATI.has("tailwindcss")
|
|
28
|
-
? "text-white bg-blue-700 hover:bg-blue-800 focus:ring-2 focus:outline-hidden focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto p-2"
|
|
29
|
-
: "",
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
const props = defineProps<{ initialTodoItems: { text: string }[] }>();
|
|
33
|
-
const todoItems = ref(props.initialTodoItems);
|
|
29
|
+
const { todoItemsInitial } = useData<Data>();
|
|
30
|
+
const todoItems = ref<{ text: string }[]>(todoItemsInitial);
|
|
34
31
|
const newTodo = ref("");
|
|
35
32
|
|
|
36
33
|
const submitNewTodo = async () => {
|
|
37
|
-
// Optimistic UI update
|
|
38
34
|
todoItems.value.push({ text: newTodo.value });
|
|
35
|
+
newTodo.value = "";
|
|
39
36
|
if (BATI.hasServer) {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
await response.blob();
|
|
56
|
-
}
|
|
57
|
-
newTodo.value = "";
|
|
58
|
-
} catch (e) {
|
|
59
|
-
console.error(e);
|
|
60
|
-
// rollback
|
|
61
|
-
todoItems.value.slice(0, -1);
|
|
37
|
+
if (BATI.has("telefunc")) {
|
|
38
|
+
await onNewTodo({ text: newTodo.value });
|
|
39
|
+
} else if (BATI.has("trpc")) {
|
|
40
|
+
await trpc.onNewTodo.mutate(newTodo.value);
|
|
41
|
+
} else if (BATI.has("ts-rest")) {
|
|
42
|
+
await client.createTodo({ body: { text: newTodo.value } });
|
|
43
|
+
} else {
|
|
44
|
+
const response = await fetch("/api/todo/create", {
|
|
45
|
+
method: "POST",
|
|
46
|
+
body: JSON.stringify({ text: newTodo.value }),
|
|
47
|
+
headers: {
|
|
48
|
+
"Content-Type": "application/json",
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
await response.blob();
|
|
62
52
|
}
|
|
63
53
|
}
|
|
64
54
|
};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function onPageTransitionEnd(pageContext: PageContextClient): Promise<void>;
|
|
1
|
+
export declare function onPageTransitionEnd(): Promise<void>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { PageContextServer } from "vike/types";
|
|
2
2
|
import type { MovieDetails } from "../types.js";
|
|
3
3
|
export type Data = Awaited<ReturnType<typeof data>>;
|
|
4
|
-
export declare function data(pageContext: PageContextServer): Promise<
|
|
4
|
+
export declare function data(pageContext: PageContextServer): Promise<{
|
|
5
|
+
movie: MovieDetails;
|
|
6
|
+
}>;
|
|
@@ -210439,7 +210439,7 @@ async function ufs(t2, e, n2) {
|
|
|
210439
210439
|
}
|
|
210440
210440
|
return !e.BATI.has("eslint") && R$r.test(c) && (c = c.replace(R$r, ""), f = true), !e.BATI.has("biome") && j$r.test(c) && (c = c.replace(j$r, ""), f = true), { code: f ? await Pit(c, n2) : c, context: p2 };
|
|
210441
210441
|
}
|
|
210442
|
-
var wxt = { name: "@batijs/core", version: "0.0.
|
|
210442
|
+
var wxt = { name: "@batijs/core", version: "0.0.507", description: "", type: "module", types: "./dist/index.d.ts", scripts: { "check-types": "tsc --noEmit", vue: "tsx src/parse/linters/vue.ts", test: "vitest run", "test:ci": "vitest run", build: "tsup" }, keywords: [], author: "Jo\xEBl Charles <joel.charles91@gmail.com>", repository: "https://github.com/vikejs/bati", license: "MIT", devDependencies: { "@batijs/features": "workspace:*", "@types/eslint": "^9.6.1", "@types/estree": "^1.0.8", "@types/node": "^20.19.24", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.46.4", "@typescript-eslint/utils": "^8.46.4", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.27.0", eslint: "^9.39.1", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^10.4.0", magicast: "^0.5.1", "mdast-builder": "^1.1.1", "mdast-util-from-markdown": "^2.0.2", "mdast-util-to-markdown": "^2.1.2", "mdast-util-to-string": "^4.0.0", "mdast-util-toc": "^7.1.0", prettier: "^3.6.2", squirrelly: "^9.1.0", tsup: "^8.5.0", tsx: "^4.20.6", typescript: "^5.9.3", "unplugin-purge-polyfills": "^0.1.0", vitest: "^4.0.8", "vue-eslint-parser": "^10.2.0", which: "^6.0.0", yaml: "^2.8.1" }, exports: { ".": "./dist/index.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { types: ["./global.d.ts"] } }, files: ["dist/"] };
|
|
210443
210443
|
function ffs() {
|
|
210444
210444
|
if (process.env.npm_config_user_agent) return _fs(process.env.npm_config_user_agent);
|
|
210445
210445
|
}
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ffs,
|
|
11
11
|
gir,
|
|
12
12
|
ufs
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O6UZH2O7.js";
|
|
14
14
|
import "./chunk-IAWYWZSL.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
@@ -16932,7 +16932,7 @@ var createDefaultQueryTester = function(query, options) {
|
|
|
16932
16932
|
// package.json
|
|
16933
16933
|
var package_default = {
|
|
16934
16934
|
name: "@batijs/cli",
|
|
16935
|
-
version: "0.0.
|
|
16935
|
+
version: "0.0.507",
|
|
16936
16936
|
type: "module",
|
|
16937
16937
|
scripts: {
|
|
16938
16938
|
"check-types": "tsc --noEmit",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.507",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"description": "Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"typescript": "^5.9.3",
|
|
21
21
|
"unplugin-purge-polyfills": "^0.1.0",
|
|
22
22
|
"vite": "^7.2.2",
|
|
23
|
-
"@batijs/build": "0.0.
|
|
24
|
-
"@batijs/compile": "0.0.
|
|
23
|
+
"@batijs/build": "0.0.507",
|
|
24
|
+
"@batijs/compile": "0.0.507"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@batijs/
|
|
28
|
-
"@batijs/
|
|
27
|
+
"@batijs/core": "0.0.507",
|
|
28
|
+
"@batijs/features": "0.0.507"
|
|
29
29
|
},
|
|
30
30
|
"bin": "./cli.js",
|
|
31
31
|
"exports": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Without this file, `tsc` will fail with such errors:
|
|
2
|
-
// pages/+config.ts:2:20 - error TS2307: Cannot find module '../layouts/Layout.vue' or its corresponding type declarations.
|
|
3
|
-
// import Layout from "../layouts/Layout.vue";
|
|
4
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
5
|
-
//
|
|
6
|
-
// See https://stackoverflow.com/questions/71477277/typescript-cannot-find-module-in-vue-project
|
|
7
|
-
|
|
8
|
-
declare module "*.vue" {
|
|
9
|
-
import Vue from "vue";
|
|
10
|
-
export default Vue;
|
|
11
|
-
}
|