feat(zitare): add @zitare/content package for shared quotes

- Create new @zitare/content package with 50 German quotes
- Include 10 categories: motivation, weisheit, liebe, leben, erfolg,
  glueck, freundschaft, mut, hoffnung, natur
- Add utility functions: getRandomQuote, getDailyQuote, searchQuotes,
  getQuotesByCategory, formatQuote, etc.
- Migrate matrix-zitare-bot to use the shared package
- Remove hardcoded quotes from bot configuration
This commit is contained in:
Till-JS 2026-02-13 12:30:41 +01:00
parent 9924eb545a
commit 74c1cfed4f
13 changed files with 1069 additions and 660 deletions

View file

@ -0,0 +1,24 @@
{
"name": "@zitare/content",
"version": "1.0.0",
"description": "Static quote content for Zitare",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"build": "tsup",
"type-check": "tsc --noEmit"
},
"devDependencies": {
"tsup": "^8.0.0",
"typescript": "^5.3.0"
}
}