8e2fd0a761
* chore: release v1.4.0 * feat: timezone-aware locale formatting - Add TIMEZONE_TO_REGION map for 50+ timezones worldwide - Combine app language with timezone region (e.g., en + Europe/Berlin → en-DE) - Fix times displaying in wrong timezone (treated as UTC instead of local) - Add parseLocalDateTime() to handle ISO strings without UTC conversion - Users now get regional formatting (24h time, local date format) regardless of app language - Swedish user with en-SE locale now gets yyyy-mm-dd format and 24h time - German user with en-DE locale gets dd.mm.yyyy format and 24h time - Add missing i18n translation key 'lastSent' - Update all getSystemLocale() calls to pass app language parameter * chore: release v1.5.0 * fix: timezone-independent test for CI (use 14:00 instead of 22:00) * fix: make timezone test independent of server timezone
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "medassist-ng-backend",
|
|
"version": "1.5.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "node dist/index.js",
|
|
"migrate": "tsx src/db/migrate.ts",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^10.0.1",
|
|
"@fastify/cors": "^10.0.1",
|
|
"@fastify/helmet": "^13.0.2",
|
|
"@fastify/jwt": "^10.0.0",
|
|
"@fastify/multipart": "^9.3.0",
|
|
"@fastify/rate-limit": "^10.3.0",
|
|
"@fastify/sensible": "^6.0.4",
|
|
"@fastify/static": "^8.3.0",
|
|
"@libsql/client": "^0.10.0",
|
|
"argon2": "^0.40.0",
|
|
"dotenv": "^16.4.5",
|
|
"drizzle-orm": "^0.45.1",
|
|
"fastify": "^5.0.0",
|
|
"nodemailer": "^7.0.11",
|
|
"openid-client": "^6.8.1",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.7.4",
|
|
"@types/nodemailer": "^6.4.21",
|
|
"@types/supertest": "^6.0.2",
|
|
"@vitest/coverage-v8": "^4.0.16",
|
|
"drizzle-kit": "^0.31.8",
|
|
"supertest": "^7.0.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.5.4",
|
|
"vitest": "^4.0.16"
|
|
}
|
|
}
|