mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
- Fix 121 accessibility warnings across 9 web apps (manacore, clock, chat, manadeck, calendar, zitare, contacts, picture, todo) - Add proper ARIA attributes (role, tabindex, aria-label) to interactive elements - Add onkeydown handlers alongside onclick for keyboard accessibility - Add svelte-ignore comments for intentional patterns (modals, dropdowns) - Update svelte-check threshold from error to warning in pre-commit hook - Fix script compatibility for bash 3.x (remove associative arrays) - Add comprehensive documentation for svelte-check patterns and fixes All web apps now pass svelte-check with 0 errors and 0 warnings. Pre-commit hooks will block any future commits with warnings.
27 lines
518 B
JavaScript
27 lines
518 B
JavaScript
import adapter from '@sveltejs/adapter-node';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
|
|
compilerOptions: {
|
|
runes: true,
|
|
},
|
|
|
|
kit: {
|
|
adapter: adapter({
|
|
out: 'build',
|
|
}),
|
|
alias: {
|
|
$lib: 'src/lib',
|
|
$components: 'src/lib/components',
|
|
$stores: 'src/lib/stores',
|
|
$utils: 'src/lib/utils',
|
|
$types: 'src/lib/types',
|
|
$server: 'src/lib/server',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|