mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 21:36:41 +02:00
- Add <title>Todo</title> to app.html for proper browser tab display - Remove unused d3-force and @types/d3-force dependencies - Add vitest config and test scripts - Add task-parser tests (22 tests): priority, project, labels, preview - Add tasks API tests (17 tests): CRUD, complete/uncomplete, move, labels, subtasks, reorder Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
901 B
TypeScript
37 lines
901 B
TypeScript
/// <reference types="vitest/config" />
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import { defineConfig } from 'vite';
|
|
import { SvelteKitPWA } from '@vite-pwa/sveltekit';
|
|
import { createPWAConfig } from '@manacore/shared-pwa';
|
|
import { MANACORE_SHARED_PACKAGES } from '@manacore/shared-vite-config';
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
tailwindcss(),
|
|
sveltekit(),
|
|
SvelteKitPWA(
|
|
createPWAConfig({
|
|
name: 'Todo - Aufgaben',
|
|
shortName: 'Todo',
|
|
description: 'Aufgaben und Projekte verwalten',
|
|
themeColor: '#10b981',
|
|
})
|
|
),
|
|
],
|
|
server: {
|
|
port: 5188,
|
|
strictPort: true,
|
|
},
|
|
ssr: {
|
|
noExternal: [...MANACORE_SHARED_PACKAGES, '@todo/shared'],
|
|
},
|
|
optimizeDeps: {
|
|
exclude: [...MANACORE_SHARED_PACKAGES, '@todo/shared'],
|
|
},
|
|
test: {
|
|
environment: 'jsdom',
|
|
include: ['src/**/*.test.ts'],
|
|
globals: true,
|
|
},
|
|
});
|