49c8def037
pnpm + turbo workspace with the commands from CLAUDE.md §3. The contracts from §6 as JSON Schemas with generated types; localDay as the one place a day is computed; the forbidden-word list shared by lint:copy and the library validator, with 13 negative fixtures; a Svelte 5 PWA shell built under /Rosea/ with a meta CSP. E2E and offline suites run against the built bundle; the offline one closes the server rather than emulating. Analysis: .agents/features/phase0-workspace.md
13 lines
348 B
TypeScript
13 lines
348 B
TypeScript
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
plugins: [svelte()],
|
|
// Svelte resolves its client build only under the `browser` condition.
|
|
resolve: { conditions: ['browser'] },
|
|
test: {
|
|
environment: 'jsdom',
|
|
include: ['test/**/*.test.ts']
|
|
}
|
|
});
|