mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
git mv packages/stack-shared->shared, stack-ui->ui, stack-sc->sc, stack-cli->cli, and stack->next (the generated @hexclave/next pkg, regenerated via generate-sdks dest change). Fixed deep-relative imports (pacifica/surface.tsx), tailwind content glob, CI emulator paths, root cli script, generate-setup-prompt-docs + skills relative imports, and comments. Reinstalled. build + typecheck + lint green (28/28).
20 lines
532 B
TypeScript
20 lines
532 B
TypeScript
import { defineConfig, mergeConfig } from 'vitest/config';
|
|
import sharedConfig from '../../vitest.shared';
|
|
|
|
export default mergeConfig(
|
|
sharedConfig,
|
|
defineConfig({
|
|
test: {
|
|
// Override the shared `maxWorkers: 8` — with it set, tinypool defaults
|
|
// minThreads to the host's available parallelism, producing
|
|
// "minThreads/maxThreads must not conflict" on machines with >8 cores.
|
|
poolOptions: {
|
|
threads: {
|
|
minThreads: 1,
|
|
maxThreads: 4,
|
|
},
|
|
},
|
|
},
|
|
}),
|
|
);
|