refactor: standardize tsconfig paths, update deprecation settings, and format user creation timestamp to ISO string
This commit is contained in:
@@ -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(),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user