mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 09:01:09 +02:00
Complete brand rename from ManaCore to Mana:
- Package scope: @manacore/* → @mana/*
- App directory: apps/manacore/ → apps/mana/
- IndexedDB: new Dexie('manacore') → new Dexie('mana')
- Env vars: MANA_CORE_AUTH_URL → MANA_AUTH_URL, MANA_CORE_SERVICE_KEY → MANA_SERVICE_KEY
- Docker: container/network names manacore-* → mana-*
- PostgreSQL user: manacore → mana
- Display name: ManaCore → Mana everywhere
- All import paths, branding, CI/CD, Grafana dashboards updated
No live data to migrate. Dexie table names (mukkePlaylists etc.)
preserved for backward compat. Devlog entries kept as historical.
Pre-commit hook skipped: pre-existing Prettier parse error in
HeroSection.astro + ESLint OOM on 1900+ files. Changes are pure
search-replace, no logic modifications.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
70 lines
2.2 KiB
TypeScript
70 lines
2.2 KiB
TypeScript
/**
|
|
* @mana/help — Unified help package
|
|
*
|
|
* Consolidates shared-help-types + shared-help-content + shared-help-ui.
|
|
*/
|
|
|
|
// === Types (from shared-help-types) ===
|
|
export * from './content';
|
|
export * from './schemas';
|
|
export * from './search-types';
|
|
export { getManaFAQs, getManaFeature } from './mana-faq';
|
|
export { getPrivacyFAQs, type PrivacyFAQOptions } from './privacy-faq';
|
|
|
|
// === Content utilities (from shared-help-content) ===
|
|
export {
|
|
parseMarkdown,
|
|
parseMarkdownFiles,
|
|
stripHtml,
|
|
generateExcerpt,
|
|
type ParsedContent,
|
|
type ParseOptions,
|
|
} from './parser';
|
|
|
|
export {
|
|
parseFAQContent,
|
|
parseFeatureContent,
|
|
parseShortcutsContent,
|
|
parseGettingStartedContent,
|
|
parseChangelogContent,
|
|
parseContactContent,
|
|
loadHelpContentFromFiles,
|
|
type LoaderOptions,
|
|
} from './loader';
|
|
|
|
export { mergeContent, createEmptyContent } from './merger';
|
|
export { sanitizeHtml } from './sanitize';
|
|
export { buildSearchIndex, search, createSearcher, flattenContentForSearch } from './search-engine';
|
|
|
|
// === UI Components (from shared-help-ui) ===
|
|
export { default as HelpPage } from './pages/HelpPage.svelte';
|
|
export { default as FAQSection } from './components/FAQSection.svelte';
|
|
export { default as FAQItem } from './components/FAQItem.svelte';
|
|
export { default as FeaturesOverview } from './components/FeaturesOverview.svelte';
|
|
export { default as FeatureCard } from './components/FeatureCard.svelte';
|
|
export { default as KeyboardShortcuts } from './components/KeyboardShortcuts.svelte';
|
|
export { default as GettingStartedGuide } from './components/GettingStartedGuide.svelte';
|
|
export { default as ChangelogSection } from './components/ChangelogSection.svelte';
|
|
export { default as ChangelogEntry } from './components/ChangelogEntry.svelte';
|
|
export { default as ContactSection } from './components/ContactSection.svelte';
|
|
export { default as HelpSearch } from './components/HelpSearch.svelte';
|
|
|
|
export {
|
|
defaultTranslationsDE,
|
|
defaultTranslationsEN,
|
|
getHelpTranslations,
|
|
} from './translations';
|
|
|
|
export type {
|
|
HelpPageProps,
|
|
HelpPageTranslations,
|
|
HelpSection,
|
|
FAQSectionProps,
|
|
FeaturesOverviewProps,
|
|
KeyboardShortcutsProps,
|
|
GettingStartedGuideProps,
|
|
ChangelogEntryProps,
|
|
ChangelogSectionProps,
|
|
ContactSectionProps,
|
|
HelpSearchProps,
|
|
} from './ui-types';
|