mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
✨ 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:
parent
9924eb545a
commit
74c1cfed4f
13 changed files with 1069 additions and 660 deletions
24
apps/zitare/packages/content/package.json
Normal file
24
apps/zitare/packages/content/package.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue