refactor: standardize tsconfig paths, update deprecation settings, and format user creation timestamp to ISO string

This commit is contained in:
Jose Selesan
2026-04-16 22:23:34 -03:00
parent f98a0c2c02
commit aabd9a8266
4 changed files with 6 additions and 8 deletions

View File

@@ -14,6 +14,6 @@ export function getUserProfile(user: User): UserProfile {
email: user.email,
role: (user as any).role || 'member',
avatarUrl: user.image || getGravatarUrl(user.email),
createdAt: user.createdAt,
createdAt: user.createdAt.toISOString(),
};
}

View File

@@ -4,14 +4,15 @@
"module": "ESNext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"ignoreDeprecations": "5.0",
"ignoreDeprecations": "6.0",
"strict": true,
"skipLibCheck": true,
"types": ["bun"],
"baseUrl": ".",
"types": [
"bun"
],
"paths": {
"@/*": [
"src/*"
"./src/*"
]
},
"outDir": "./dist",