45bfae6e94
Initial import of all source code, config, and README assets: the packages workspace (cli, core, server, web, docs, landing, skills), build scripts, tooling config, and CI workflows. Includes the data-layout revision made on this branch: the local data root defaults to ~/.penguin/data (PENGUIN_HOME still overrides; the installer keeps its binaries in ~/.penguin), and every Agent lives under <project>/agents/<agent>/ — path helpers, the three agent-enumeration scans, the system prompt, built-in Skills, tests and docs all follow the new layout. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018ihk8iQuo3kv2aPjAYEPuR
15 lines
541 B
TypeScript
15 lines
541 B
TypeScript
/**
|
|
* Vitest config: node environment, tests pure logic only (stream-model / task-stats / format), no DOM tests.
|
|
* Kept separate from vite.config.ts: vitest's bundled vite 5 types conflict with this package's vite 7
|
|
* plugin types, and tests don't need the plugin anyway.
|
|
*/
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "node",
|
|
// Only run unit tests under test/; e2e/ (Playwright, has its own test:e2e) is excluded from vitest.
|
|
include: ["test/**/*.test.ts"],
|
|
},
|
|
});
|