Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix: resolve web React peers in merged-main tests
Richie McIlroy979cdc02c0ee
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 40bb8c4de..15fb795d9 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -96,6 +96,8 @@ jobs:__tests__/unit/embed-video-playback-chrome.test.ts__tests__/unit/homepage-demo-accessibility.test.ts__tests__/unit/linkified-text.test.ts+ __tests__/unit/loom-import-ui.test.ts+ __tests__/unit/media-player-store-refs.test.ts__tests__/unit/signed-baa-card.test.ts__tests__/unit/summary-editor.test.ts__tests__/unit/sso-login-pages.test.tsdiff --git a/apps/web/vitest.config.ts b/apps/web/vitest.config.tsindex 4daccf50d..edc0ccd69 100644--- a/apps/web/vitest.config.ts+++ b/apps/web/vitest.config.ts@@ -6,23 +6,28 @@ export default defineConfig({jsx: "automatic",},test: {- // Hoisted UI peers must use web React; Next CommonJS imports still need require in Node-based jsdom tests.+ // Hoisted UI peers must use web React; CommonJS UI imports still need require in Node-based jsdom tests.server: {deps: {inline: ["framer-motion","motion",+ "media-chrome",/[/\\]node_modules[/\\]@radix-ui[/\\]/,"@tanstack/react-query",+ "@floating-ui/react-dom",],},},deps: {optimizer: {- ssr: { enabled: true, include: ["next/link", "next/image"] },+ ssr: {+ enabled: true,+ include: ["next/link", "next/image", "react-remove-scroll"],+ },web: {enabled: true,- include: ["next/link", "next/image"],+ include: ["next/link", "next/image", "react-remove-scroll"],esbuildOptions: {banner: {js: `import { createRequire } from "node:module"; const require = createRequire(import.meta.url);`,