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
20 lines
843 B
TypeScript
20 lines
843 B
TypeScript
/**
|
|
* Vite config: static docs site (React SPA + Tailwind CSS 4), a sibling of the
|
|
* landing page but its own package so either site can evolve independently.
|
|
*
|
|
* BASE_PATH is injected by the GitHub Pages workflow as "/<repo>/docs/" — the docs
|
|
* build is copied into the landing dist under docs/ so both sites ship as one Pages
|
|
* artifact (see scripts/build-site.mjs at the repo root). Local dev defaults to "/".
|
|
* Doc pages are local Markdown files imported at build time via import.meta.glob
|
|
* (?raw), so the built site is fully static — no server or CMS involved.
|
|
*/
|
|
import react from "@vitejs/plugin-react";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
base: process.env.BASE_PATH ?? "/",
|
|
plugins: [react(), tailwindcss()],
|
|
server: { port: 7367 },
|
|
});
|