diff --git a/.claude-flow/metrics/system-metrics.json b/.claude-flow/metrics/system-metrics.json index b02b4ddac..c0199d69b 100644 --- a/.claude-flow/metrics/system-metrics.json +++ b/.claude-flow/metrics/system-metrics.json @@ -1390,5 +1390,365 @@ "cpuLoad": 0.2546793619791667, "platform": "darwin", "uptime": 168739 + }, + { + "timestamp": 1764804747294, + "memoryTotal": 34359738368, + "memoryUsed": 31928467456, + "memoryFree": 2431270912, + "memoryUsagePercent": 92.92407035827637, + "memoryEfficiency": 7.075929641723633, + "cpuCount": 12, + "cpuLoad": 0.3412679036458333, + "platform": "darwin", + "uptime": 168769 + }, + { + "timestamp": 1764804777295, + "memoryTotal": 34359738368, + "memoryUsed": 31730237440, + "memoryFree": 2629500928, + "memoryUsagePercent": 92.3471450805664, + "memoryEfficiency": 7.652854919433594, + "cpuCount": 12, + "cpuLoad": 0.2632649739583333, + "platform": "darwin", + "uptime": 168799 + }, + { + "timestamp": 1764804807296, + "memoryTotal": 34359738368, + "memoryUsed": 32342261760, + "memoryFree": 2017476608, + "memoryUsagePercent": 94.12837028503418, + "memoryEfficiency": 5.87162971496582, + "cpuCount": 12, + "cpuLoad": 0.23197428385416666, + "platform": "darwin", + "uptime": 168829 + }, + { + "timestamp": 1764804837297, + "memoryTotal": 34359738368, + "memoryUsed": 33403928576, + "memoryFree": 955809792, + "memoryUsagePercent": 97.21822738647461, + "memoryEfficiency": 2.7817726135253906, + "cpuCount": 12, + "cpuLoad": 0.23291015625, + "platform": "darwin", + "uptime": 168859 + }, + { + "timestamp": 1764804867297, + "memoryTotal": 34359738368, + "memoryUsed": 34050195456, + "memoryFree": 309542912, + "memoryUsagePercent": 99.09911155700684, + "memoryEfficiency": 0.9008884429931641, + "cpuCount": 12, + "cpuLoad": 0.24495442708333334, + "platform": "darwin", + "uptime": 168889 + }, + { + "timestamp": 1764804897298, + "memoryTotal": 34359738368, + "memoryUsed": 31393316864, + "memoryFree": 2966421504, + "memoryUsagePercent": 91.3665771484375, + "memoryEfficiency": 8.6334228515625, + "cpuCount": 12, + "cpuLoad": 0.4297688802083333, + "platform": "darwin", + "uptime": 168919 + }, + { + "timestamp": 1764804927300, + "memoryTotal": 34359738368, + "memoryUsed": 31525306368, + "memoryFree": 2834432000, + "memoryUsagePercent": 91.75071716308594, + "memoryEfficiency": 8.249282836914062, + "cpuCount": 12, + "cpuLoad": 0.447021484375, + "platform": "darwin", + "uptime": 168949 + }, + { + "timestamp": 1764804957300, + "memoryTotal": 34359738368, + "memoryUsed": 31847972864, + "memoryFree": 2511765504, + "memoryUsagePercent": 92.68980026245117, + "memoryEfficiency": 7.310199737548828, + "cpuCount": 12, + "cpuLoad": 0.8130696614583334, + "platform": "darwin", + "uptime": 168979 + }, + { + "timestamp": 1764804987301, + "memoryTotal": 34359738368, + "memoryUsed": 32510230528, + "memoryFree": 1849507840, + "memoryUsagePercent": 94.61722373962402, + "memoryEfficiency": 5.382776260375977, + "cpuCount": 12, + "cpuLoad": 1.1352945963541667, + "platform": "darwin", + "uptime": 169009 + }, + { + "timestamp": 1764805017302, + "memoryTotal": 34359738368, + "memoryUsed": 32548028416, + "memoryFree": 1811709952, + "memoryUsagePercent": 94.72723007202148, + "memoryEfficiency": 5.272769927978516, + "cpuCount": 12, + "cpuLoad": 0.7440185546875, + "platform": "darwin", + "uptime": 169039 + }, + { + "timestamp": 1764805047307, + "memoryTotal": 34359738368, + "memoryUsed": 34271232000, + "memoryFree": 88506368, + "memoryUsagePercent": 99.74241256713867, + "memoryEfficiency": 0.2575874328613281, + "cpuCount": 12, + "cpuLoad": 0.6794026692708334, + "platform": "darwin", + "uptime": 169069 + }, + { + "timestamp": 1764805077309, + "memoryTotal": 34359738368, + "memoryUsed": 30496456704, + "memoryFree": 3863281664, + "memoryUsagePercent": 88.7563705444336, + "memoryEfficiency": 11.243629455566406, + "cpuCount": 12, + "cpuLoad": 0.539794921875, + "platform": "darwin", + "uptime": 169099 + }, + { + "timestamp": 1764805107311, + "memoryTotal": 34359738368, + "memoryUsed": 31044321280, + "memoryFree": 3315417088, + "memoryUsagePercent": 90.35086631774902, + "memoryEfficiency": 9.649133682250977, + "cpuCount": 12, + "cpuLoad": 0.436279296875, + "platform": "darwin", + "uptime": 169129 + }, + { + "timestamp": 1764805137312, + "memoryTotal": 34359738368, + "memoryUsed": 31248367616, + "memoryFree": 3111370752, + "memoryUsagePercent": 90.9447193145752, + "memoryEfficiency": 9.055280685424805, + "cpuCount": 12, + "cpuLoad": 0.3575032552083333, + "platform": "darwin", + "uptime": 169159 + }, + { + "timestamp": 1764805167313, + "memoryTotal": 34359738368, + "memoryUsed": 31985221632, + "memoryFree": 2374516736, + "memoryUsagePercent": 93.08924674987793, + "memoryEfficiency": 6.91075325012207, + "cpuCount": 12, + "cpuLoad": 0.292724609375, + "platform": "darwin", + "uptime": 169189 + }, + { + "timestamp": 1764805197314, + "memoryTotal": 34359738368, + "memoryUsed": 31961088000, + "memoryFree": 2398650368, + "memoryUsagePercent": 93.01900863647461, + "memoryEfficiency": 6.980991363525391, + "cpuCount": 12, + "cpuLoad": 0.2621256510416667, + "platform": "darwin", + "uptime": 169219 + }, + { + "timestamp": 1764805227315, + "memoryTotal": 34359738368, + "memoryUsed": 32411680768, + "memoryFree": 1948057600, + "memoryUsagePercent": 94.33040618896484, + "memoryEfficiency": 5.669593811035156, + "cpuCount": 12, + "cpuLoad": 0.23238118489583334, + "platform": "darwin", + "uptime": 169249 + }, + { + "timestamp": 1764805257316, + "memoryTotal": 34359738368, + "memoryUsed": 32913588224, + "memoryFree": 1446150144, + "memoryUsagePercent": 95.7911491394043, + "memoryEfficiency": 4.208850860595703, + "cpuCount": 12, + "cpuLoad": 0.3552652994791667, + "platform": "darwin", + "uptime": 169279 + }, + { + "timestamp": 1764805287317, + "memoryTotal": 34359738368, + "memoryUsed": 32959627264, + "memoryFree": 1400111104, + "memoryUsagePercent": 95.92514038085938, + "memoryEfficiency": 4.074859619140625, + "cpuCount": 12, + "cpuLoad": 0.3252360026041667, + "platform": "darwin", + "uptime": 169309 + }, + { + "timestamp": 1764805317320, + "memoryTotal": 34359738368, + "memoryUsed": 32839237632, + "memoryFree": 1520500736, + "memoryUsagePercent": 95.57476043701172, + "memoryEfficiency": 4.425239562988281, + "cpuCount": 12, + "cpuLoad": 0.259765625, + "platform": "darwin", + "uptime": 169339 + }, + { + "timestamp": 1764805347320, + "memoryTotal": 34359738368, + "memoryUsed": 33293942784, + "memoryFree": 1065795584, + "memoryUsagePercent": 96.89812660217285, + "memoryEfficiency": 3.1018733978271484, + "cpuCount": 12, + "cpuLoad": 0.4244384765625, + "platform": "darwin", + "uptime": 169369 + }, + { + "timestamp": 1764805377321, + "memoryTotal": 34359738368, + "memoryUsed": 33529135104, + "memoryFree": 830603264, + "memoryUsagePercent": 97.58262634277344, + "memoryEfficiency": 2.4173736572265625, + "cpuCount": 12, + "cpuLoad": 0.4689534505208333, + "platform": "darwin", + "uptime": 169399 + }, + { + "timestamp": 1764805407322, + "memoryTotal": 34359738368, + "memoryUsed": 31573344256, + "memoryFree": 2786394112, + "memoryUsagePercent": 91.8905258178711, + "memoryEfficiency": 8.109474182128906, + "cpuCount": 12, + "cpuLoad": 0.3621419270833333, + "platform": "darwin", + "uptime": 169429 + }, + { + "timestamp": 1764805437323, + "memoryTotal": 34359738368, + "memoryUsed": 33118453760, + "memoryFree": 1241284608, + "memoryUsagePercent": 96.38738632202148, + "memoryEfficiency": 3.6126136779785156, + "cpuCount": 12, + "cpuLoad": 0.3133544921875, + "platform": "darwin", + "uptime": 169459 + }, + { + "timestamp": 1764805467323, + "memoryTotal": 34359738368, + "memoryUsed": 33758134272, + "memoryFree": 601604096, + "memoryUsagePercent": 98.24910163879395, + "memoryEfficiency": 1.7508983612060547, + "cpuCount": 12, + "cpuLoad": 0.22066243489583334, + "platform": "darwin", + "uptime": 169489 + }, + { + "timestamp": 1764805497323, + "memoryTotal": 34359738368, + "memoryUsed": 33651965952, + "memoryFree": 707772416, + "memoryUsagePercent": 97.94011116027832, + "memoryEfficiency": 2.0598888397216797, + "cpuCount": 12, + "cpuLoad": 0.19954427083333334, + "platform": "darwin", + "uptime": 169519 + }, + { + "timestamp": 1764805527325, + "memoryTotal": 34359738368, + "memoryUsed": 33799356416, + "memoryFree": 560381952, + "memoryUsagePercent": 98.36907386779785, + "memoryEfficiency": 1.6309261322021484, + "cpuCount": 12, + "cpuLoad": 0.15824381510416666, + "platform": "darwin", + "uptime": 169549 + }, + { + "timestamp": 1764805557327, + "memoryTotal": 34359738368, + "memoryUsed": 33850228736, + "memoryFree": 509509632, + "memoryUsagePercent": 98.51713180541992, + "memoryEfficiency": 1.4828681945800781, + "cpuCount": 12, + "cpuLoad": 0.1678466796875, + "platform": "darwin", + "uptime": 169579 + }, + { + "timestamp": 1764805587328, + "memoryTotal": 34359738368, + "memoryUsed": 34072035328, + "memoryFree": 287703040, + "memoryUsagePercent": 99.16267395019531, + "memoryEfficiency": 0.8373260498046875, + "cpuCount": 12, + "cpuLoad": 0.308349609375, + "platform": "darwin", + "uptime": 169609 + }, + { + "timestamp": 1764805617330, + "memoryTotal": 34359738368, + "memoryUsed": 33581727744, + "memoryFree": 778010624, + "memoryUsagePercent": 97.73569107055664, + "memoryEfficiency": 2.2643089294433594, + "cpuCount": 12, + "cpuLoad": 0.3234456380208333, + "platform": "darwin", + "uptime": 169639 } ] \ No newline at end of file diff --git a/apps/calendar/apps/landing/package.json b/apps/calendar/apps/landing/package.json index 88eb2d8ba..a91ada7be 100644 --- a/apps/calendar/apps/landing/package.json +++ b/apps/calendar/apps/landing/package.json @@ -10,7 +10,6 @@ "preview": "astro preview", "astro": "astro", "type-check": "astro check", - "lint": "prettier --check . && eslint .", "format": "prettier --write .", "clean": "rm -rf dist .astro node_modules" }, diff --git a/apps/calendar/packages/shared/package.json b/apps/calendar/packages/shared/package.json index d1ac845de..4ffa72483 100644 --- a/apps/calendar/packages/shared/package.json +++ b/apps/calendar/packages/shared/package.json @@ -11,8 +11,7 @@ "./constants": "./src/constants/index.ts" }, "scripts": { - "type-check": "tsc --noEmit", - "lint": "eslint src" + "type-check": "tsc --noEmit" }, "devDependencies": { "typescript": "~5.9.2" diff --git a/apps/chat/apps/landing/package.json b/apps/chat/apps/landing/package.json index 27fcdcad9..09e1c8a29 100644 --- a/apps/chat/apps/landing/package.json +++ b/apps/chat/apps/landing/package.json @@ -9,8 +9,7 @@ "build": "astro check && astro build", "preview": "astro preview", "astro": "astro", - "type-check": "astro check", - "lint": "eslint ." + "type-check": "astro check" }, "dependencies": { "@astrojs/check": "^0.9.0", diff --git a/apps/chat/packages/chat-types/package.json b/apps/chat/packages/chat-types/package.json index bf9e38d10..bdca6f812 100644 --- a/apps/chat/packages/chat-types/package.json +++ b/apps/chat/packages/chat-types/package.json @@ -8,7 +8,5 @@ "exports": { ".": "./src/index.ts" }, - "scripts": { - "lint": "eslint ." - } + "scripts": {} } diff --git a/apps/manacore/apps/landing/package.json b/apps/manacore/apps/landing/package.json index 3fdb2a198..32209e345 100644 --- a/apps/manacore/apps/landing/package.json +++ b/apps/manacore/apps/landing/package.json @@ -5,8 +5,7 @@ "scripts": { "dev": "astro dev", "build": "astro build", - "preview": "astro preview", - "lint": "eslint ." + "preview": "astro preview" }, "dependencies": { "@astrojs/react": "^3.6.0", diff --git a/apps/manadeck/apps/landing/package.json b/apps/manadeck/apps/landing/package.json index 86d7016f0..a5512b7b4 100644 --- a/apps/manadeck/apps/landing/package.json +++ b/apps/manadeck/apps/landing/package.json @@ -9,8 +9,7 @@ "build": "astro check && astro build", "preview": "astro preview", "astro": "astro", - "type-check": "astro check", - "lint": "eslint ." + "type-check": "astro check" }, "dependencies": { "@astrojs/check": "^0.9.0", diff --git a/apps/picture/apps/landing/package.json b/apps/picture/apps/landing/package.json index bfea7b00c..873c96774 100644 --- a/apps/picture/apps/landing/package.json +++ b/apps/picture/apps/landing/package.json @@ -10,7 +10,6 @@ "preview": "astro preview", "astro": "astro", "type-check": "astro check", - "lint": "prettier --check . && eslint .", "format": "prettier --write .", "clean": "rm -rf dist .astro node_modules" }, diff --git a/apps/presi/apps/landing/package.json b/apps/presi/apps/landing/package.json index b5922a906..412a163e7 100644 --- a/apps/presi/apps/landing/package.json +++ b/apps/presi/apps/landing/package.json @@ -9,8 +9,7 @@ "build": "astro check && astro build", "preview": "astro preview", "astro": "astro", - "type-check": "astro check", - "lint": "eslint ." + "type-check": "astro check" }, "dependencies": { "@astrojs/check": "^0.9.0", diff --git a/apps/presi/apps/mobile/app/_layout.tsx b/apps/presi/apps/mobile/app/_layout.tsx index b4944e2ac..850190508 100644 --- a/apps/presi/apps/mobile/app/_layout.tsx +++ b/apps/presi/apps/mobile/app/_layout.tsx @@ -18,7 +18,7 @@ function StackNavigator() { header: ({ route, options }) => { let title = options.title || ''; let showAddDeck = false; - let rightContent = options.headerRight?.({}); + const rightContent = options.headerRight?.({}); if (route.name === 'index') { title = `My Decks (${route.params?.deckCount || 0})`; diff --git a/apps/presi/apps/mobile/app/deck/[id].tsx b/apps/presi/apps/mobile/app/deck/[id].tsx index 082eeafcb..569b3279a 100644 --- a/apps/presi/apps/mobile/app/deck/[id].tsx +++ b/apps/presi/apps/mobile/app/deck/[id].tsx @@ -11,7 +11,7 @@ import { } from 'react-native'; import { useLocalSearchParams, useRouter } from 'expo-router'; import { getDeckSlides, getDeck, deleteSlide, reorderSlide } from '../../services/firestore'; -import { Slide, Deck } from '../../types/models'; +import { type Slide, type Deck } from '../../types/models'; import { SlideList } from '../../components/slides/SlideList'; import { SlideEditor } from '../../components/slides/SlideEditor'; import { PresentationMode } from '../../components/presentation/PresentationMode'; @@ -234,7 +234,7 @@ export default function DeckScreen() { />
{ setIsCreateModalVisible(false); setEditingSlide(null); @@ -314,7 +314,7 @@ export default function DeckScreen() { setIsDeleteModalVisible(false)} > setIsPresentationMode(false)} - statusBarTranslucent={true} + statusBarTranslucent > setIsPresentationMode(false)} /> diff --git a/apps/presi/apps/mobile/app/index.tsx b/apps/presi/apps/mobile/app/index.tsx index 029088024..148bd8993 100644 --- a/apps/presi/apps/mobile/app/index.tsx +++ b/apps/presi/apps/mobile/app/index.tsx @@ -7,12 +7,12 @@ import { getDeckSlides, migrateDecksToNewSchema, } from '../services/firestore'; -import { Deck, Slide } from '../types/models'; +import { type Deck, Slide } from '../types/models'; import { DeckList } from '../components/decks/DeckList'; import { CreateDeckForm } from '../components/forms/CreateDeckForm'; import { DeckShareSettings } from '../components/decks/DeckShareSettings'; import { auth } from '../firebaseConfig'; -import { onAuthStateChanged, User } from 'firebase/auth'; +import { onAuthStateChanged, type User } from 'firebase/auth'; import MaterialIcons from 'react-native-vector-icons/MaterialIcons'; import { ThemeProvider } from '../components/ThemeProvider'; import { useTheme } from '../components/ThemeProvider'; diff --git a/apps/presi/apps/mobile/app/shared/[id].tsx b/apps/presi/apps/mobile/app/shared/[id].tsx index a6dafc5f8..e9653d59b 100644 --- a/apps/presi/apps/mobile/app/shared/[id].tsx +++ b/apps/presi/apps/mobile/app/shared/[id].tsx @@ -2,7 +2,7 @@ import { useLocalSearchParams } from 'expo-router'; import React, { useEffect, useState } from 'react'; import { View, Text, StyleSheet } from 'react-native'; import { useTheme } from '../../components/ThemeProvider'; -import { Deck } from '../../types/models'; +import { type Deck } from '../../types/models'; import { doc, getDoc } from 'firebase/firestore'; import { db } from '../../firebaseConfig'; import { SlideList } from '../../components/slides/SlideList'; diff --git a/apps/presi/apps/mobile/app/themes.tsx b/apps/presi/apps/mobile/app/themes.tsx index 1c5543c7a..b32d969ff 100644 --- a/apps/presi/apps/mobile/app/themes.tsx +++ b/apps/presi/apps/mobile/app/themes.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { View, Text, StyleSheet, ScrollView, TouchableOpacity, Image } from 'react-native'; import { useRouter } from 'expo-router'; -import { useTheme, ThemeVariant } from '../components/ThemeProvider'; +import { useTheme, type ThemeVariant } from '../components/ThemeProvider'; import MaterialIcons from '@expo/vector-icons/MaterialIcons'; const THEME_PATTERNS: Record = { diff --git a/apps/presi/apps/mobile/components/ThemeProvider.tsx b/apps/presi/apps/mobile/components/ThemeProvider.tsx index a3979a7ae..f35cbab61 100644 --- a/apps/presi/apps/mobile/components/ThemeProvider.tsx +++ b/apps/presi/apps/mobile/components/ThemeProvider.tsx @@ -1,6 +1,6 @@ import React, { createContext, useContext, useState, useEffect, useMemo } from 'react'; import { useColorScheme } from 'react-native'; -import { getTheme, Theme, ThemeVariant } from '../constants/theme'; +import { getTheme, type Theme, type ThemeVariant } from '../constants/theme'; export type ColorMode = 'system' | 'light' | 'dark'; export type ContrastLevel = 1 | 2 | 3 | 4 | 5; @@ -18,7 +18,7 @@ const hexToRgb = (hex: string) => { }; // Hilfsfunktion zum Konvertieren von RGB zu Hex mit Alpha -const rgbaToHex = (r: number, g: number, b: number, a: number = 1) => { +const rgbaToHex = (r: number, g: number, b: number, a = 1) => { const alpha = Math.round(a * 255); return ( '#' + diff --git a/apps/presi/apps/mobile/components/atoms/Button.tsx b/apps/presi/apps/mobile/components/atoms/Button.tsx index 387d12cd9..80c189d6c 100644 --- a/apps/presi/apps/mobile/components/atoms/Button.tsx +++ b/apps/presi/apps/mobile/components/atoms/Button.tsx @@ -1,5 +1,5 @@ import { TouchableOpacity, Text, StyleSheet, ActivityIndicator } from 'react-native'; -import { ReactNode } from 'react'; +import { type ReactNode } from 'react'; interface ButtonProps { onPress: () => void; diff --git a/apps/presi/apps/mobile/components/common/ThemeSettings.tsx b/apps/presi/apps/mobile/components/common/ThemeSettings.tsx index f83dba601..e9e4bad68 100644 --- a/apps/presi/apps/mobile/components/common/ThemeSettings.tsx +++ b/apps/presi/apps/mobile/components/common/ThemeSettings.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { View, Text, TouchableOpacity, StyleSheet, Pressable } from 'react-native'; -import { useTheme, ColorMode, ContrastLevel } from '../ThemeProvider'; +import { useTheme, type ColorMode, type ContrastLevel } from '../ThemeProvider'; const COLOR_MODES: { label: string; value: ColorMode }[] = [ { label: 'System', value: 'system' }, diff --git a/apps/presi/apps/mobile/components/decks/DeckCard.tsx b/apps/presi/apps/mobile/components/decks/DeckCard.tsx index 676fb3052..e425cd78f 100644 --- a/apps/presi/apps/mobile/components/decks/DeckCard.tsx +++ b/apps/presi/apps/mobile/components/decks/DeckCard.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { View, Text, TouchableOpacity, StyleSheet, Image } from 'react-native'; -import { Deck } from '../../types/models'; +import { type Deck } from '../../types/models'; import { MaterialIcons } from '@expo/vector-icons'; import { useTheme } from '../../components/ThemeProvider'; diff --git a/apps/presi/apps/mobile/components/decks/DeckList.tsx b/apps/presi/apps/mobile/components/decks/DeckList.tsx index 03c0f0a1a..9ca819447 100644 --- a/apps/presi/apps/mobile/components/decks/DeckList.tsx +++ b/apps/presi/apps/mobile/components/decks/DeckList.tsx @@ -11,7 +11,7 @@ import { Pressable, } from 'react-native'; import MaterialIcons from '@expo/vector-icons/MaterialIcons'; -import { Deck } from '../../types/models'; +import { type Deck } from '../../types/models'; import { useTheme } from '../../components/ThemeProvider'; import { CreateItemButton } from '../common/CreateItemButton'; import { MenuRoot, MenuTrigger, MenuContent, MenuItem, MenuItemTitle } from '../common/menu'; diff --git a/apps/presi/apps/mobile/components/decks/DeckShareSettings.tsx b/apps/presi/apps/mobile/components/decks/DeckShareSettings.tsx index e84d5e714..0fb38d31d 100644 --- a/apps/presi/apps/mobile/components/decks/DeckShareSettings.tsx +++ b/apps/presi/apps/mobile/components/decks/DeckShareSettings.tsx @@ -11,7 +11,7 @@ import { } from 'react-native'; import { useTheme } from '../ThemeProvider'; import MaterialIcons from '@expo/vector-icons/MaterialIcons'; -import { Deck, CollaboratorRole } from '../../types/models'; +import { type Deck, type CollaboratorRole } from '../../types/models'; interface DeckShareSettingsProps { deck: Deck; diff --git a/apps/presi/apps/mobile/components/forms/CreateDeckForm.tsx b/apps/presi/apps/mobile/components/forms/CreateDeckForm.tsx index 6fe461950..ee8a3c182 100644 --- a/apps/presi/apps/mobile/components/forms/CreateDeckForm.tsx +++ b/apps/presi/apps/mobile/components/forms/CreateDeckForm.tsx @@ -10,7 +10,7 @@ import { } from 'react-native'; import { useTheme } from '../ThemeProvider'; import { createDeck } from '../../services/firestore'; -import { Deck } from '../../types/models'; +import { type Deck } from '../../types/models'; import MaterialIcons from '@expo/vector-icons/MaterialIcons'; interface CreateDeckFormProps { diff --git a/apps/presi/apps/mobile/components/presentation/PresentationMode.tsx b/apps/presi/apps/mobile/components/presentation/PresentationMode.tsx index ddc0c4a88..f41de416e 100644 --- a/apps/presi/apps/mobile/components/presentation/PresentationMode.tsx +++ b/apps/presi/apps/mobile/components/presentation/PresentationMode.tsx @@ -11,7 +11,7 @@ import { } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { SlideView } from '../slides/SlideView'; -import { Slide } from '../../types/models'; +import { type Slide } from '../../types/models'; import * as ScreenOrientation from 'expo-screen-orientation'; import { useTheme } from '../ThemeProvider'; diff --git a/apps/presi/apps/mobile/components/slides/SlideEditor.tsx b/apps/presi/apps/mobile/components/slides/SlideEditor.tsx index f5b68def7..64936ceaa 100644 --- a/apps/presi/apps/mobile/components/slides/SlideEditor.tsx +++ b/apps/presi/apps/mobile/components/slides/SlideEditor.tsx @@ -13,7 +13,7 @@ import * as ImagePicker from 'expo-image-picker'; import { storage } from '../../firebaseConfig'; import { ref, uploadBytes, getDownloadURL } from 'firebase/storage'; import { createSlide, updateSlide } from '../../services/firestore'; -import { Slide } from '../../types/models'; +import { type Slide } from '../../types/models'; import MaterialIcons from '@expo/vector-icons/MaterialIcons'; import { useTheme } from '../ThemeProvider'; diff --git a/apps/presi/apps/mobile/components/slides/SlideList.tsx b/apps/presi/apps/mobile/components/slides/SlideList.tsx index b53987986..f9d7f9f80 100644 --- a/apps/presi/apps/mobile/components/slides/SlideList.tsx +++ b/apps/presi/apps/mobile/components/slides/SlideList.tsx @@ -11,7 +11,7 @@ import { Pressable, } from 'react-native'; import MaterialIcons from '@expo/vector-icons/MaterialIcons'; -import { Slide } from '../../types/models'; +import { type Slide } from '../../types/models'; import { useTheme } from '../ThemeProvider'; import { MenuRoot, MenuTrigger, MenuContent, MenuItem, MenuItemTitle } from '../common/menu'; diff --git a/apps/presi/apps/mobile/components/slides/SlideView.tsx b/apps/presi/apps/mobile/components/slides/SlideView.tsx index 99db757bc..aa8cae91f 100644 --- a/apps/presi/apps/mobile/components/slides/SlideView.tsx +++ b/apps/presi/apps/mobile/components/slides/SlideView.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { View, Text, Image, StyleSheet, Dimensions, TouchableOpacity } from 'react-native'; -import { Slide } from '../../types/models'; +import { type Slide } from '../../types/models'; import MaterialIcons from 'react-native-vector-icons/MaterialIcons'; import { useTheme } from '../ThemeProvider'; diff --git a/apps/presi/apps/mobile/constants/theme.ts b/apps/presi/apps/mobile/constants/theme.ts index acc40334a..147b4b132 100644 --- a/apps/presi/apps/mobile/constants/theme.ts +++ b/apps/presi/apps/mobile/constants/theme.ts @@ -1,4 +1,4 @@ -import { ColorSchemeName } from 'react-native'; +import { type ColorSchemeName } from 'react-native'; // Theme types export type ThemeVariant = 'lume' | 'nature' | 'stone'; diff --git a/apps/presi/apps/mobile/services/auth.ts b/apps/presi/apps/mobile/services/auth.ts index a1571fda1..98cbdbfbf 100644 --- a/apps/presi/apps/mobile/services/auth.ts +++ b/apps/presi/apps/mobile/services/auth.ts @@ -4,7 +4,7 @@ import { signOut, sendPasswordResetEmail, onAuthStateChanged, - User, + type User, } from 'firebase/auth'; import { auth } from '../firebaseConfig'; import { doc, setDoc } from 'firebase/firestore'; diff --git a/apps/presi/apps/mobile/services/firestore.ts b/apps/presi/apps/mobile/services/firestore.ts index ce8e2c9d9..c1d90b608 100644 --- a/apps/presi/apps/mobile/services/firestore.ts +++ b/apps/presi/apps/mobile/services/firestore.ts @@ -13,7 +13,7 @@ import { writeBatch, } from 'firebase/firestore'; import { db, auth } from '../firebaseConfig'; -import { Deck, Slide } from '../types/models'; +import { type Deck, type Slide } from '../types/models'; // Decks export const getUserDecks = async (userId: string): Promise => { diff --git a/apps/presi/apps/mobile/theme/ThemeProvider.tsx b/apps/presi/apps/mobile/theme/ThemeProvider.tsx index 5758d4ac2..f4da8084e 100644 --- a/apps/presi/apps/mobile/theme/ThemeProvider.tsx +++ b/apps/presi/apps/mobile/theme/ThemeProvider.tsx @@ -1,7 +1,7 @@ import React, { createContext, useContext, useState, useEffect } from 'react'; import { useColorScheme } from 'react-native'; import AsyncStorage from '@react-native-async-storage/async-storage'; -import { getTheme, Theme } from './constants'; +import { getTheme, type Theme } from './constants'; export type ColorMode = 'system' | 'light' | 'dark'; export type ContrastLevel = 1 | 2 | 3 | 4 | 5; @@ -42,7 +42,7 @@ const hexToRgb = (hex: string) => { }; // Hilfsfunktion zum Konvertieren von RGB zu Hex mit Alpha -const rgbaToHex = (r: number, g: number, b: number, a: number = 1) => { +const rgbaToHex = (r: number, g: number, b: number, a = 1) => { const alpha = Math.round(a * 255); return ( '#' + diff --git a/apps/presi/apps/mobile/theme/ThemeSettings.tsx b/apps/presi/apps/mobile/theme/ThemeSettings.tsx index 40aed8f33..f4e803507 100644 --- a/apps/presi/apps/mobile/theme/ThemeSettings.tsx +++ b/apps/presi/apps/mobile/theme/ThemeSettings.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { View, Text, TouchableOpacity, StyleSheet, Pressable } from 'react-native'; -import { useTheme, ColorMode, ContrastLevel } from './ThemeProvider'; +import { useTheme, type ColorMode, type ContrastLevel } from './ThemeProvider'; const COLOR_MODES: { label: string; value: ColorMode }[] = [ { label: 'System', value: 'system' }, diff --git a/apps/presi/packages/shared/package.json b/apps/presi/packages/shared/package.json index 5cd60a1c8..78d85febe 100644 --- a/apps/presi/packages/shared/package.json +++ b/apps/presi/packages/shared/package.json @@ -5,8 +5,7 @@ "main": "./src/index.ts", "types": "./src/index.ts", "scripts": { - "type-check": "tsc --noEmit", - "lint": "eslint ." + "type-check": "tsc --noEmit" }, "devDependencies": { "typescript": "^5.7.2" diff --git a/apps/storage/packages/shared/package.json b/apps/storage/packages/shared/package.json index c11e3d6c7..c520e6b2a 100644 --- a/apps/storage/packages/shared/package.json +++ b/apps/storage/packages/shared/package.json @@ -9,8 +9,7 @@ "./types": "./src/types/index.ts" }, "scripts": { - "type-check": "tsc --noEmit", - "lint": "eslint ." + "type-check": "tsc --noEmit" }, "devDependencies": { "typescript": "^5.7.3" diff --git a/apps/zitare/apps/landing/package.json b/apps/zitare/apps/landing/package.json index 6973c1234..a8afe7f8a 100644 --- a/apps/zitare/apps/landing/package.json +++ b/apps/zitare/apps/landing/package.json @@ -6,8 +6,7 @@ "dev": "astro dev", "build": "astro build", "preview": "astro preview", - "astro": "astro", - "lint": "eslint ." + "astro": "astro" }, "dependencies": { "@manacore/shared-landing-ui": "workspace:*", diff --git a/apps/zitare/packages/content/package.json b/apps/zitare/packages/content/package.json index 8a6dc5835..5adb330dd 100644 --- a/apps/zitare/packages/content/package.json +++ b/apps/zitare/packages/content/package.json @@ -10,8 +10,7 @@ "./config": "./src/config/index.ts" }, "scripts": { - "type-check": "tsc --noEmit", - "lint": "eslint ." + "type-check": "tsc --noEmit" }, "dependencies": { "@zitare/shared": "workspace:*" diff --git a/apps/zitare/packages/shared/package.json b/apps/zitare/packages/shared/package.json index f32df37f5..59fb4f379 100644 --- a/apps/zitare/packages/shared/package.json +++ b/apps/zitare/packages/shared/package.json @@ -12,8 +12,7 @@ "./services": "./src/services/index.ts" }, "scripts": { - "type-check": "tsc --noEmit", - "lint": "eslint src" + "type-check": "tsc --noEmit" }, "devDependencies": { "typescript": "~5.9.2" diff --git a/apps/zitare/packages/web-ui/package.json b/apps/zitare/packages/web-ui/package.json index 9e86e02c1..f49afeb21 100644 --- a/apps/zitare/packages/web-ui/package.json +++ b/apps/zitare/packages/web-ui/package.json @@ -9,8 +9,7 @@ "./stores/*": "./src/stores/*.ts" }, "scripts": { - "check": "svelte-check --tsconfig ./tsconfig.json", - "lint": "eslint ." + "check": "svelte-check --tsconfig ./tsconfig.json" }, "peerDependencies": { "svelte": "^5.0.0"