Rename project from Re:Link to Startover
Rebrand repository from "Re:Link" to "Startover" across the codebase. Updates include package names and scopes (@relink/* -> @startover/*), import paths, Next.js transpile settings, vitest name, UI text and docs, Dockerfile and CI/workflow names, deploy scripts and repo paths, and example/production env values. Also add auth-related env vars, an apps/web .env symlink, and small formatting/typing cleanups in several TSX/TS files and tests to accommodate the rename.
This commit is contained in:
@@ -1 +1 @@
|
||||
DATABASE_URL="postgresql://relink:relink_dev@localhost:5432/relink_dev"
|
||||
DATABASE_URL="postgresql://startover:startover_dev@localhost:5432/startover_dev"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@relink/database",
|
||||
"name": "@startover/database",
|
||||
"version": "0.0.1",
|
||||
"private": false,
|
||||
"type": "module",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// =============================================================================
|
||||
// Re:Link MVP - Prisma Schema
|
||||
// Startover MVP - Prisma Schema
|
||||
// =============================================================================
|
||||
// 설계 원칙:
|
||||
// - 내부 PK: BigInt @id @default(autoincrement())
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @relink/database - Prisma client and database utilities
|
||||
* @startover/database - Prisma client and database utilities
|
||||
*/
|
||||
|
||||
export { createPrismaClient } from './client.js';
|
||||
|
||||
@@ -8,7 +8,7 @@ const SCHEMA_PATH = resolve(__dirname, '../prisma/schema.prisma');
|
||||
|
||||
const TEST_DATABASE_URL =
|
||||
process.env['DATABASE_TEST_URL'] ??
|
||||
'postgresql://relink:relink_test@localhost:5433/relink_test';
|
||||
'postgresql://startover:startover_test@localhost:5433/startover_test';
|
||||
|
||||
let testClient: PrismaClient | null = null;
|
||||
|
||||
@@ -26,10 +26,13 @@ export function getTestPrismaClient(): PrismaClient {
|
||||
}
|
||||
|
||||
export async function setupTestDatabase(): Promise<PrismaClient> {
|
||||
execSync(`DATABASE_URL="${TEST_DATABASE_URL}" npx prisma db push --schema="${SCHEMA_PATH}" --skip-generate --accept-data-loss`, {
|
||||
stdio: 'pipe',
|
||||
cwd: resolve(__dirname, '..'),
|
||||
});
|
||||
execSync(
|
||||
`DATABASE_URL="${TEST_DATABASE_URL}" npx prisma db push --schema="${SCHEMA_PATH}" --skip-generate --accept-data-loss`,
|
||||
{
|
||||
stdio: 'pipe',
|
||||
cwd: resolve(__dirname, '..'),
|
||||
},
|
||||
);
|
||||
|
||||
const client = getTestPrismaClient();
|
||||
await client.$connect();
|
||||
|
||||
Reference in New Issue
Block a user