Bugs fixed: - FIT parser returns timestamps as Date objects, not strings — convert to ISO 8601 before passing to generateGpx (caused str.replace crash) - FIT parser already converts semicircles to degrees — remove redundant conversion that produced near-zero coordinates - Wahoo CDN URLs are pre-signed S3 URLs — remove Bearer auth header from download requests (caused 400 "Unsupported Authorization Type") - Filter out third-party workouts (fitness_app_id >= 1000) since Wahoo does not share their data via the API UX improvements: - Individual imports use fetcher (no page refresh), button shows "Importing..." inline - "Import all" button imports all unimported workouts on the page sequentially with progress indicator - Add @vitejs/plugin-basic-ssl for local HTTPS dev (opt-in via HTTPS=1) Also adds unit test for FIT-to-GPX conversion with real fixture file, and updates wahoo-import spec to reflect all behaviors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"name": "@trails-cool/journal",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "react-router dev",
|
|
"build": "react-router build",
|
|
"start": "node --experimental-strip-types server.ts",
|
|
"typecheck": "react-router typegen && tsc",
|
|
"lint": "eslint ."
|
|
},
|
|
"dependencies": {
|
|
"@react-router/node": "catalog:",
|
|
"@react-router/serve": "catalog:",
|
|
"@sentry/node": "^10.46.0",
|
|
"@sentry/react": "^10.46.0",
|
|
"@simplewebauthn/browser": "^13.3.0",
|
|
"@simplewebauthn/server": "^13.3.0",
|
|
"@trails-cool/db": "workspace:*",
|
|
"@trails-cool/gpx": "workspace:*",
|
|
"@trails-cool/i18n": "workspace:*",
|
|
"@trails-cool/map": "workspace:*",
|
|
"@trails-cool/types": "workspace:*",
|
|
"@trails-cool/ui": "workspace:*",
|
|
"drizzle-orm": "catalog:",
|
|
"isbot": "^5.1.0",
|
|
"jose": "^6.2.2",
|
|
"nodemailer": "^8.0.4",
|
|
"pino": "^10.3.1",
|
|
"prom-client": "^15.1.3",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"react-router": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@react-router/dev": "catalog:",
|
|
"@simplewebauthn/types": "^12.0.0",
|
|
"@tailwindcss/vite": "catalog:",
|
|
"@types/nodemailer": "^8.0.0",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"@vitejs/plugin-basic-ssl": "^2.3.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"tailwindcss": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:"
|
|
}
|
|
}
|