feat: Vollständiges Rebranding zu MiChess, Copyright Tom Misch
- Alle @chessu/ → @michess/ (Package-Namen und Imports) - Theme-Namen chessuDark/Light → michessDark/Light - Alle Display-Texte: chessu/Michess → MiChess - Autor: dotnize → Tom Misch - Copyright: Nathaniel Tampus → Tom Misch - README komplett neu (Deutsch, MiChess-spezifisch) - CONTRIBUTING.md neu - FUNDING.yml + CODE_OF_CONDUCT.md entfernt - Fork-Hinweis auf chessu bleibt im README erhalten (MIT-Pflicht) - pnpm-lock.yaml entfernt (wird beim Build neu generiert) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { User } from "@chessu/types";
|
||||
import type { User } from "@michess/types";
|
||||
import { hash, verify } from "argon2";
|
||||
import type { Request, Response } from "express";
|
||||
import xss from "xss";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Game, User } from "@chessu/types";
|
||||
import type { Game, User } from "@michess/types";
|
||||
import type { Request, Response } from "express";
|
||||
import { nanoid } from "nanoid";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Game, User } from "@chessu/types";
|
||||
import type { Game, User } from "@michess/types";
|
||||
import { db } from "../index.js";
|
||||
|
||||
export const activeGames: Game[] = [];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { User } from "@chessu/types";
|
||||
import type { User } from "@michess/types";
|
||||
import { db } from "../index.js";
|
||||
|
||||
export const create = async (user: User, password: string) => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { User } from "@chessu/types";
|
||||
import type { User } from "@michess/types";
|
||||
import PGSimple from "connect-pg-simple";
|
||||
import type { Session } from "express-session";
|
||||
import session from "express-session";
|
||||
|
||||
@@ -24,7 +24,7 @@ db.query(INIT_TABLES, async (err) => {
|
||||
if (err) {
|
||||
console.error(err);
|
||||
} else {
|
||||
console.log("Michess tables initialized");
|
||||
console.log("MiChess tables initialized");
|
||||
|
||||
// Set admin role for ADMIN_EMAIL if configured
|
||||
const adminEmail = process.env.ADMIN_EMAIL;
|
||||
@@ -81,5 +81,5 @@ initSocket();
|
||||
|
||||
const port = process.env.PORT || 3001;
|
||||
server.listen(port, () => {
|
||||
console.log(`Michess API server listening on :${port}`);
|
||||
console.log(`MiChess API server listening on :${port}`);
|
||||
});
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Game } from "@chessu/types";
|
||||
import type { Game } from "@michess/types";
|
||||
import { Chess } from "chess.js";
|
||||
import type { DisconnectReason, Socket } from "socket.io";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user