Initial commit for project Spoon!
Build and Push Next App / quality (push) Failing after 45s
Build and Push Next App / build-next (push) Has been skipped

This commit is contained in:
Gabriel Brown
2026-06-21 17:52:02 -05:00
commit cf7ff2ee4e
268 changed files with 32981 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { fileURLToPath } from 'node:url';
import react from '@vitejs/plugin-react';
import { defineProject } from 'vitest/config';
const jsdomSetup = fileURLToPath(new URL('./setup-jsdom.ts', import.meta.url));
export const nodeProject = (name: string, include: string[]) =>
defineProject({ test: { name, environment: 'node', include } });
export const jsdomProject = (name: string, include: string[]) =>
defineProject({
plugins: [react()],
test: { name, environment: 'jsdom', include, setupFiles: [jsdomSetup] },
});
export const convexProject = (name: string, include: string[]) =>
defineProject({
test: {
name,
environment: 'edge-runtime',
include,
server: { deps: { inline: ['convex-test'] } },
},
});