From 82c13f5319fa8993a1fbcd8252078e3873ebd51b Mon Sep 17 00:00:00 2001 From: LankyMoose Date: Mon, 25 Nov 2024 02:42:30 +1300 Subject: [PATCH] fix e2e build failing on gh... hopefully? --- Makefile | 2 +- e2e/src/Counter.tsx | 4 ++-- e2e/src/KeyedList.tsx | 4 ++-- sandbox/csr/vite.config.ts | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 31b73e92..efbc8744 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ dt: pnpm --filter "./packages/vite-plugin-kaioken" run build test: - NODE_ENV=development pnpm --filter !"./sandbox/*" run -r test + NODE_ENV=development pnpm --filter !"./sandbox/*" run -r --parallel test test_lib: NODE_ENV=development pnpm --filter "./packages/lib" run -r --parallel test diff --git a/e2e/src/Counter.tsx b/e2e/src/Counter.tsx index dd427e57..34699423 100644 --- a/e2e/src/Counter.tsx +++ b/e2e/src/Counter.tsx @@ -3,14 +3,14 @@ import { useState } from "kaioken" export function Counter() { const [toggled, setToggled] = useState(false) return ( - <> +
{/* used for checking that counter persists state after reordering these children */} {toggled &&

Toggled

} - +
) } diff --git a/e2e/src/KeyedList.tsx b/e2e/src/KeyedList.tsx index b4848f9d..818cf116 100644 --- a/e2e/src/KeyedList.tsx +++ b/e2e/src/KeyedList.tsx @@ -39,7 +39,7 @@ interface KeyedCounterProps { function KeyedCounterItem({ id, remove }: KeyedCounterProps) { const [count, setCount] = useState(0) return ( - <> +
id : {id}
- +
) } diff --git a/sandbox/csr/vite.config.ts b/sandbox/csr/vite.config.ts index 84abc179..e109dbea 100644 --- a/sandbox/csr/vite.config.ts +++ b/sandbox/csr/vite.config.ts @@ -3,10 +3,10 @@ import kaioken from "vite-plugin-kaioken" export default defineConfig({ ssr: { - external: ["kaioken"], + //external: ["kaioken"], }, optimizeDeps: { - exclude: ["kaioken"], + //exclude: ["kaioken"], }, esbuild: { sourcemap: false,