mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-23 15:36:33 +00:00
fix date as string
This commit is contained in:
+37
-37
@@ -33,74 +33,74 @@
|
||||
"dependencies": {
|
||||
"@fontsource/bebas-neue": "^5.3.0",
|
||||
"@fontsource/eb-garamond": "^5.3.0",
|
||||
"@fontsource/geist-sans": "^5.2.5",
|
||||
"@fontsource/geist-sans": "^5.3.0",
|
||||
"@fontsource/inter": "^5.3.0",
|
||||
"@fontsource/lora": "^5.3.0",
|
||||
"@fontsource/museomoderno": "^5.3.0",
|
||||
"@fontsource/playfair-display": "^5.3.0",
|
||||
"@fontsource/poppins": "^5.2.7",
|
||||
"@fontsource/poppins": "^5.3.0",
|
||||
"@mapbox/mapbox-gl-rtl-text": "^0.4.0",
|
||||
"@maplibre/maplibre-gl-leaflet": "0.1.4",
|
||||
"@simplewebauthn/browser": "^13.1.2",
|
||||
"@simplewebauthn/browser": "^13.3.0",
|
||||
"@trek/shared": "*",
|
||||
"axios": "^1.6.7",
|
||||
"dexie": "^4.4.2",
|
||||
"axios": "^1.20.0",
|
||||
"dexie": "^4.4.6",
|
||||
"drag-drop-touch": "^1.3.1",
|
||||
"heic-to": "^1.4.2",
|
||||
"heic-to": "^1.5.2",
|
||||
"iso-3166-2": "^1.0.0",
|
||||
"leaflet": "^1.9.4",
|
||||
"lucide-react": "^0.344.0",
|
||||
"mapbox-gl": "^3.22.0",
|
||||
"lucide-react": "^0.577.0",
|
||||
"mapbox-gl": "^3.31.0",
|
||||
"maplibre-gl": "5.24.0",
|
||||
"marked": "^18.0.0",
|
||||
"marked": "^18.0.13",
|
||||
"plyr": "^3.8.4",
|
||||
"react": "^19.2.6",
|
||||
"react-dom": "^19.2.6",
|
||||
"react": "^19.3.0",
|
||||
"react-dom": "^19.3.0",
|
||||
"react-dropzone": "^14.4.1",
|
||||
"react-leaflet": "^5.0.0",
|
||||
"react-leaflet-cluster": "^4.1.3",
|
||||
"react-markdown": "^10.1.0",
|
||||
"react-router": "^7.18.2",
|
||||
"react-router": "^7.18.4",
|
||||
"rehype-sanitize": "^6.0.0",
|
||||
"remark-breaks": "^4.0.0",
|
||||
"remark-gfm": "^4.0.1",
|
||||
"topojson-client": "^3.1.0",
|
||||
"tz-lookup": "^6.1.25",
|
||||
"zod": "^4.3.6",
|
||||
"zustand": "^5.0.14"
|
||||
"zod": "^4.6.5",
|
||||
"zustand": "^5.0.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@playwright/test": "^1.60.0",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
"@playwright/test": "^1.63.0",
|
||||
"@testing-library/jest-dom": "^6.10.0",
|
||||
"@testing-library/react": "^16.3.3",
|
||||
"@testing-library/user-event": "^14.6.7",
|
||||
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
||||
"@types/leaflet": "^1.9.8",
|
||||
"@types/node": "^25.9.3",
|
||||
"@types/react": "^19.2.15",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"@types/leaflet": "^1.9.22",
|
||||
"@types/node": "^25.9.8",
|
||||
"@types/react": "^19.3.0",
|
||||
"@types/react-dom": "^19.3.0",
|
||||
"@vitejs/plugin-react": "^6.1.1",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"autoprefixer": "^10.4.18",
|
||||
"eslint": "^10.2.1",
|
||||
"eslint-config-flat-gitignore": "^2.3.0",
|
||||
"autoprefixer": "^10.6.1",
|
||||
"eslint": "^10.11.0",
|
||||
"eslint-config-flat-gitignore": "^2.4.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-react-hooks": "^7.1.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.2",
|
||||
"eslint-plugin-react-refresh": "^0.5.7",
|
||||
"fake-indexeddb": "^6.2.5",
|
||||
"jsdom": "^29.0.1",
|
||||
"msw": "^2.13.0",
|
||||
"postcss": "^8.4.35",
|
||||
"prettier": "^3.8.3",
|
||||
"jsdom": "^29.1.1",
|
||||
"msw": "^2.15.0",
|
||||
"postcss": "^8.5.28",
|
||||
"prettier": "^3.9.8",
|
||||
"prettier-plugin-organize-imports": "^4.3.0",
|
||||
"prettier-plugin-tailwindcss": "^0.8.0",
|
||||
"rollup-plugin-visualizer": "^7.0.1",
|
||||
"prettier-plugin-tailwindcss": "^0.8.1",
|
||||
"rollup-plugin-visualizer": "^7.1.1",
|
||||
"sharp": "^0.35.4",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^6.0.2",
|
||||
"typescript-eslint": "^8.58.2",
|
||||
"vite": "8.1.0",
|
||||
"tailwindcss": "^3.4.19",
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.70.0",
|
||||
"vite": "8.3.0",
|
||||
"vite-plugin-pwa": "^1.3.0",
|
||||
"vitest": "^4.1.11"
|
||||
}
|
||||
|
||||
Generated
+2036
-1205
File diff suppressed because it is too large
Load Diff
@@ -63,8 +63,8 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@clack/prompts": "^1.7.0",
|
||||
"semver": "^7.7.4",
|
||||
"@clack/prompts": "^1.8.1",
|
||||
"semver": "^7.8.5",
|
||||
"update-notifier": "^7.3.1"
|
||||
},
|
||||
"scripts": {
|
||||
@@ -75,12 +75,12 @@
|
||||
"prepublishOnly": "npm run build && npm test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.20.0",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/node": "^22.20.4",
|
||||
"@types/semver": "^7.8.0",
|
||||
"@types/update-notifier": "^6.0.8",
|
||||
"@vitest/coverage-v8": "^4.1.9",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"typescript": "^5.9.3",
|
||||
"vitest": "^4.1.9"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"keywords": [
|
||||
"trek",
|
||||
|
||||
+41
-41
@@ -30,31 +30,31 @@
|
||||
"@mikro-orm/nestjs": "^7.1.0",
|
||||
"@mikro-orm/postgresql": "^7.2.1",
|
||||
"@modelcontextprotocol/sdk": "^1.30.0",
|
||||
"@nestjs/common": "^11.1.24",
|
||||
"@nestjs/common": "^11.2.5",
|
||||
"@nestjs/config": "^4.0.4",
|
||||
"@nestjs/core": "^11.1.24",
|
||||
"@nestjs/platform-express": "^11.1.24",
|
||||
"@nestjs/platform-ws": "^11.1.29",
|
||||
"@nestjs/core": "^11.2.5",
|
||||
"@nestjs/platform-express": "^11.2.5",
|
||||
"@nestjs/platform-ws": "^11.2.5",
|
||||
"@nestjs/schedule": "^6.1.3",
|
||||
"@nestjs/swagger": "^11.4.5",
|
||||
"@nestjs/websockets": "^11.1.29",
|
||||
"@simplewebauthn/server": "^13.3.2",
|
||||
"@nestjs/swagger": "^11.4.7",
|
||||
"@nestjs/websockets": "^11.2.5",
|
||||
"@simplewebauthn/server": "^13.3.3",
|
||||
"@trek/shared": "*",
|
||||
"archiver": "^6.0.1",
|
||||
"archiver": "^6.0.2",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"better-sqlite3": "^12.8.0",
|
||||
"compression": "^1.8.0",
|
||||
"better-sqlite3": "^12.11.1",
|
||||
"compression": "^1.8.2",
|
||||
"cookie-parser": "^1.4.7",
|
||||
"cors": "^2.8.5",
|
||||
"cors": "^2.8.6",
|
||||
"cron": "^4.4.0",
|
||||
"dotenv": "^16.4.1",
|
||||
"dotenv": "^16.6.1",
|
||||
"exifr": "7.1.3",
|
||||
"express": "^4.18.3",
|
||||
"fast-xml-parser": "^5.5.10",
|
||||
"helmet": "^8.1.0",
|
||||
"express": "^4.22.3",
|
||||
"fast-xml-parser": "^5.11.1",
|
||||
"helmet": "^8.3.0",
|
||||
"jimp": "^1.6.1",
|
||||
"json5": "^2.2.3",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"jsonwebtoken": "^9.0.3",
|
||||
"nestjs-zod": "^5.5.0",
|
||||
"nodemailer": "^9.1.1",
|
||||
"otplib": "^12.0.1",
|
||||
@@ -62,15 +62,15 @@
|
||||
"qrcode": "^1.5.4",
|
||||
"reflect-metadata": "^0.2.2",
|
||||
"rxjs": "^7.8.2",
|
||||
"semver": "^7.7.4",
|
||||
"semver": "^7.8.5",
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
"typescript": "^6.0.2",
|
||||
"typescript": "^6.0.3",
|
||||
"tz-lookup": "^6.1.25",
|
||||
"undici": "^7.29.0",
|
||||
"unzipper": "^0.12.3",
|
||||
"uuid": "^14.0.0",
|
||||
"ws": "^8.21.0",
|
||||
"zod": "^4.3.6"
|
||||
"undici": "^7.29.1",
|
||||
"unzipper": "^0.12.5",
|
||||
"uuid": "^14.0.2",
|
||||
"ws": "^8.21.3",
|
||||
"zod": "^4.6.5"
|
||||
},
|
||||
"overrides": {
|
||||
"hono": "^4.12.16",
|
||||
@@ -78,7 +78,7 @@
|
||||
"picomatch": "^4.0.4",
|
||||
"ip-address": "^10.1.1",
|
||||
"multer": "^2.3.0",
|
||||
"ws": "^8.21.0",
|
||||
"ws": "^8.21.3",
|
||||
"qs": "^6.15.2",
|
||||
"file-type": "^21.3.4"
|
||||
},
|
||||
@@ -88,39 +88,39 @@
|
||||
"@mikro-orm/core": "^7.2.1",
|
||||
"@mikro-orm/entity-generator": "^7.2.1",
|
||||
"@mikro-orm/sqlite": "^7.2.1",
|
||||
"@nestjs/testing": "^11.1.24",
|
||||
"@swc/core": "^1.15.40",
|
||||
"@nestjs/testing": "^11.2.5",
|
||||
"@swc/core": "^1.16.2",
|
||||
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
||||
"@types/archiver": "^7.0.0",
|
||||
"@types/bcryptjs": "^2.4.6",
|
||||
"@types/better-sqlite3": "^7.6.13",
|
||||
"@types/compression": "^1.8.0",
|
||||
"@types/compression": "^1.8.1",
|
||||
"@types/cookie-parser": "^1.4.10",
|
||||
"@types/cors": "^2.8.19",
|
||||
"@types/express": "^4.17.25",
|
||||
"@types/jsonwebtoken": "^9.0.10",
|
||||
"@types/multer": "^2.1.0",
|
||||
"@types/node": "^25.5.0",
|
||||
"@types/nodemailer": "^8.0.1",
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/multer": "^2.2.0",
|
||||
"@types/node": "^25.9.8",
|
||||
"@types/nodemailer": "^8.0.2",
|
||||
"@types/qrcode": "^1.5.6",
|
||||
"@types/semver": "^7.8.0",
|
||||
"@types/supertest": "^6.0.3",
|
||||
"@types/unzipper": "^0.10.11",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@types/ws": "^8.18.1",
|
||||
"@vitest/coverage-istanbul": "^4.1.11",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"eslint": "^9.18.0",
|
||||
"eslint-config-flat-gitignore": "^2.3.0",
|
||||
"eslint-config-prettier": "^10.0.1",
|
||||
"eslint-plugin-prettier": "^5.2.2",
|
||||
"nodemon": "^3.1.0",
|
||||
"prettier": "^3.8.3",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-flat-gitignore": "^2.4.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-prettier": "^5.5.6",
|
||||
"nodemon": "^3.1.14",
|
||||
"prettier": "^3.9.8",
|
||||
"prettier-plugin-organize-imports": "^4.3.0",
|
||||
"supertest": "^7.2.2",
|
||||
"tsx": "^4.23.13",
|
||||
"typescript-eslint": "^8.58.2",
|
||||
"unplugin-swc": "^1.5.9",
|
||||
"tsx": "^4.23.15",
|
||||
"typescript-eslint": "^8.70.0",
|
||||
"unplugin-swc": "^1.6.0",
|
||||
"vitest": "^4.1.11"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { type Opt, type Ref, defineEntity, p, EntityRepository } from '@mikro-orm/core';
|
||||
import { BucketList } from './BucketList.js';
|
||||
import { Places } from './Places.js';
|
||||
import { Trips } from './Trips.js';
|
||||
import { Users } from './Users.js';
|
||||
import { defineEntity, EntityRepository, type Opt, p, type Ref } from '@mikro-orm/core';
|
||||
|
||||
export class DawarichVisitSuggestions {
|
||||
id?: number | null;
|
||||
@@ -38,9 +38,7 @@ export class DawarichVisitSuggestionsRepository extends EntityRepository<Dawaric
|
||||
export const DawarichVisitSuggestionsSchema = defineEntity({
|
||||
class: DawarichVisitSuggestions,
|
||||
repository: () => DawarichVisitSuggestionsRepository,
|
||||
indexes: [
|
||||
{ name: 'idx_dawarich_suggestions_user_state', properties: ['user', 'state'] },
|
||||
],
|
||||
indexes: [{ name: 'idx_dawarich_suggestions_user_state', properties: ['user', 'state'] }],
|
||||
properties: {
|
||||
id: p.integer().primary().autoincrement(),
|
||||
user: () => p.manyToOne(Users).ref().deleteRule('cascade'),
|
||||
@@ -66,7 +64,7 @@ export const DawarichVisitSuggestionsSchema = defineEntity({
|
||||
sourceHash: p.text(),
|
||||
acceptedHash: p.text().nullable(),
|
||||
sourceMissingAt: p.text().nullable(),
|
||||
firstSeenAt: p.text().onCreate(() => new Date()),
|
||||
lastSeenAt: p.text().onCreate(() => new Date()),
|
||||
firstSeenAt: p.text().onCreate(() => new Date().toISOString().replace(/\.\d{3}Z$/, 'Z')),
|
||||
lastSeenAt: p.text().onCreate(() => new Date().toISOString().replace(/\.\d{3}Z$/, 'Z')),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { PrimaryKeyProp, type Ref, defineEntity, p, EntityRepository } from '@mikro-orm/core';
|
||||
import { Days } from './Days.js';
|
||||
import { Places } from './Places.js';
|
||||
import { defineEntity, EntityRepository, p, PrimaryKeyProp, type Ref } from '@mikro-orm/core';
|
||||
|
||||
export class RoadtripDayTracks {
|
||||
[PrimaryKeyProp]?: 'day';
|
||||
@@ -19,6 +19,9 @@ export const RoadtripDayTracksSchema = defineEntity({
|
||||
day: () => p.oneToOne(Days).primary().ref().nullable(),
|
||||
place: () => p.manyToOne(Places).ref().deleteRule('cascade').index('idx_roadtrip_day_tracks_place'),
|
||||
strayKm: p.double().nullable(),
|
||||
createdAt: p.text().nullable().onCreate(() => new Date()),
|
||||
createdAt: p
|
||||
.text()
|
||||
.nullable()
|
||||
.onCreate(() => new Date().toISOString().replace(/\.\d{3}Z$/, 'Z')),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { type Opt, type Ref, defineEntity, p, EntityRepository } from '@mikro-orm/core';
|
||||
import { Days } from './Days.js';
|
||||
import { defineEntity, EntityRepository, type Opt, p, type Ref } from '@mikro-orm/core';
|
||||
|
||||
export class RoadtripVias {
|
||||
id?: number | null;
|
||||
@@ -29,6 +29,9 @@ export const RoadtripViasSchema = defineEntity({
|
||||
sequence: p.integer(),
|
||||
lat: p.double(),
|
||||
lng: p.double(),
|
||||
createdAt: p.text().nullable().onCreate(() => new Date()),
|
||||
createdAt: p
|
||||
.text()
|
||||
.nullable()
|
||||
.onCreate(() => new Date().toISOString().replace(/\.\d{3}Z$/, 'Z')),
|
||||
},
|
||||
});
|
||||
|
||||
+9
-9
@@ -73,22 +73,22 @@
|
||||
"i18n:parity:strict": "node scripts/i18n-parity.mjs --strict"
|
||||
},
|
||||
"dependencies": {
|
||||
"isomorphic-dompurify": "^3.15.0",
|
||||
"zod": "^4.3.6"
|
||||
"isomorphic-dompurify": "^3.23.0",
|
||||
"zod": "^4.6.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"eslint": "^10.3.0",
|
||||
"eslint-config-flat-gitignore": "^2.3.0",
|
||||
"eslint": "^10.11.0",
|
||||
"eslint-config-flat-gitignore": "^2.4.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-prettier": "^5.5.5",
|
||||
"prettier": "3.8.3",
|
||||
"eslint-plugin-prettier": "^5.5.6",
|
||||
"prettier": "3.9.8",
|
||||
"prettier-plugin-organize-imports": "^4.3.0",
|
||||
"tsdown": "^0.22.2",
|
||||
"typescript": "^6.0.2",
|
||||
"typescript-eslint": "^8.58.2",
|
||||
"tsdown": "^0.23.0",
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.70.0",
|
||||
"vitest": "^4.1.11"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user