refactor(big-bang): cards → wordeck im gesamten Code-Layer
Some checks are pending
CI / validate (push) Waiting to run
Some checks are pending
CI / validate (push) Waiting to run
Phase 2 des cards→wordeck Big-Bang-Rebrand:
- 4 package.json: @cards/* → @wordeck/*
- packages/cards-domain/ → packages/wordeck-domain/
- 41+12 Files: from '@cards/domain' → '@wordeck/domain'
- pgSchema('cards') → pgSchema('wordeck') (Drizzle-Schema)
- 17 Files: process.env.CARDS_* → process.env.WORDECK_*
- docker-compose Service-Names: cards-* → wordeck-*
- docker-compose Volume: /Volumes/ManaData/cards → wordeck
- env-vars in compose: CARDS_DB_PASSWORD/_API_VERSION/_DSGVO_SERVICE_KEY etc. → WORDECK_*
- Log-Prefixes + Error-Strings + manifest-id 'cards' → 'wordeck'
- CORS-Origin cardecky.mana.how → wordeck.com
- .env.production.example umbenannt + S3-Key entfernt (kein MinIO mehr)
Type-Check 0 Errors in api+domain+web, 51/51 Domain-Tests grün.
DB-Rename + Container/Volume-Rename auf mana-server folgen in nächstem
Commit nach Verzeichnis-Rename.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c77100e85a
commit
372832d266
90 changed files with 213 additions and 3716 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* Per-Version-Content-Hash. Pro Karte wird `cardContentHash` aus
|
||||
* `@cards/domain` benutzt (gemeinsame Source-of-Truth zwischen privatem
|
||||
* `@wordeck/domain` benutzt (gemeinsame Source-of-Truth zwischen privatem
|
||||
* Lern-Stack und Marketplace) — pro Version hashen wir die geordnete
|
||||
* Liste von Karten-Hashes plus deren Ordinal-Position.
|
||||
*
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
* privaten `cards.cards.content_hash` matchen können soll.
|
||||
*/
|
||||
|
||||
import { cardContentHash } from '@cards/domain';
|
||||
import { cardContentHash } from '@wordeck/domain';
|
||||
|
||||
export interface OrderedCardForHash {
|
||||
type: string;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { newReview } from '@cards/domain';
|
||||
import { newReview } from '@wordeck/domain';
|
||||
|
||||
export function makeInitialReviewRows(params: {
|
||||
userId: string;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { and, eq, sql } from 'drizzle-orm';
|
|||
import type { CardsDb } from '../db/connection.ts';
|
||||
import { cards, decks } from '../db/schema/index.ts';
|
||||
|
||||
const APP_BASE_URL = process.env.CARDS_PUBLIC_URL ?? 'https://cardecky.mana.how';
|
||||
const APP_BASE_URL = process.env.WORDECK_PUBLIC_URL ?? 'https://cardecky.mana.how';
|
||||
|
||||
export type SearchHit = {
|
||||
id: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue