Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
Fatigue: linkedom bleibt (Modals-Test braucht es), Monotonie-Probe laeuft in CI
Duarte Santos09baee49a7de
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex e8632b40a..c0f2b2eb7 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -43,6 +43,10 @@ jobs:working-directory: frontend- run: node scripts/check-locales.mjsworking-directory: frontend+ # The fatigue model must never read higher after a rest day than before it.+ # Property probe over ~108k comparisons; too slow for the unit suite, cheap here.+ - run: npm run test:fatigue-probe+ working-directory: frontendmcp:runs-on: ubuntu-latestdiff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex d92385937..c69316102 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -25,6 +25,7 @@"@capacitor/ios": "^7.6.8","@vitejs/plugin-react": "^6.0.3","happy-dom": "^20.11.2",+ "linkedom": "^0.18.13","vite": "^8.1.5","vitest": "^4.1.10"}@@ -2625,6 +2626,12 @@"url": "https://github.com/sponsors/fb55"}},+ "node_modules/cssom": {+ "version": "0.5.0",+ "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz",+ "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==",+ "dev": true+ },"node_modules/dargs": {"version": "7.0.0","resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz",@@ -3400,6 +3407,98 @@"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==","dev": true},+ "node_modules/html-escaper": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-3.0.3.tgz",+ "integrity": "sha512-RuMffC89BOWQoY0WKGpIhn5gX3iI54O6nRA0yC124NYVtzjmFWBIiFd8M0x+ZdX0P9R4lADg1mgP8C7PxGOWuQ==",+ "dev": true+ },+ "node_modules/htmlparser2": {+ "version": "10.1.0",+ "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz",+ "integrity": "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==",+ "dev": true,+ "funding": [+ "https://github.com/fb55/htmlparser2?sponsor=1",+ {+ "type": "github",+ "url": "https://github.com/sponsors/fb55"+ }+ ],+ "dependencies": {+ "domelementtype": "^2.3.0",+ "domhandler": "^5.0.3",+ "domutils": "^3.2.2",+ "entities": "^7.0.1"+ }+ },+ "node_modules/htmlparser2/node_modules/dom-serializer": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",+ "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",+ "dev": true,+ "dependencies": {+ "domelementtype": "^2.3.0",+ "domhandler": "^5.0.2",+ "entities": "^4.2.0"+ },+ "funding": {+ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"+ }+ },+ "node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",+ "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",+ "dev": true,+ "engines": {+ "node": ">=0.12"+ },+ "funding": {+ "url": "https://github.com/fb55/entities?sponsor=1"+ }+ },+ "node_modules/htmlparser2/node_modules/domhandler": {+ "version": "5.0.3",+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",+ "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",+ "dev": true,+ "dependencies": {+ "domelementtype": "^2.3.0"+ },+ "engines": {+ "node": ">= 4"+ },+ "funding": {+ "url": "https://github.com/fb55/domhandler?sponsor=1"+ }+ },+ "node_modules/htmlparser2/node_modules/domutils": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz",+ "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==",+ "dev": true,+ "dependencies": {+ "dom-serializer": "^2.0.0",+ "domelementtype": "^2.3.0",+ "domhandler": "^5.0.3"+ },+ "funding": {+ "url": "https://github.com/fb55/domutils?sponsor=1"+ }+ },+ "node_modules/htmlparser2/node_modules/entities": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz",+ "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==",+ "dev": true,+ "engines": {+ "node": ">=0.12"+ },+ "funding": {+ "url": "https://github.com/fb55/entities?sponsor=1"+ }+ },"node_modules/ieee754": {"version": "1.2.1","resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",@@ -3889,6 +3988,171 @@"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==","dev": true},+ "node_modules/linkedom": {+ "version": "0.18.13",+ "resolved": "https://registry.npmjs.org/linkedom/-/linkedom-0.18.13.tgz",+ "integrity": "sha512-ES/o9qotMpzpN2MHs+Iq/JcVoOj8Fa5wiQYrTdFpvAnwXL0g66XHHUc9WUMk6nAlBtGsFQ24ne+SYnvnaQ2FSw==",+ "dev": true,+ "dependencies": {+ "css-select": "^7.0.0",+ "cssom": "^0.5.0",+ "html-escaper": "^3.0.3",+ "htmlparser2": "^10.1.0",+ "uhyphen": "^0.2.0"+ },+ "engines": {+ "node": ">=16"+ },+ "peerDependencies": {+ "canvas": ">= 2"+ },+ "peerDependenciesMeta": {+ "canvas": {+ "optional": true+ }+ }+ },+ "node_modules/linkedom/node_modules/boolbase": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-2.0.0.tgz",+ "integrity": "sha512-DkVaaQHymRhpYEYo9x1oo7Q7B0Y6KJUsjm3c9eTyFDby4MHLBTwZ6ZDWBel5zrYxj1WsZgC5oLpiz+93MluXeA==",+ "dev": true,+ "engines": {+ "node": ">=20.19.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/fb55"+ }+ },+ "node_modules/linkedom/node_modules/css-select": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-7.0.0.tgz",+ "integrity": "sha512-snmjEVXy+1LnwXdxhYvTMj1d9tOh4HxkA1YmoayVBeeyR2C14Pum7fcxJIm4SswYspVy866eYNwlH6xC3/VH5g==",+ "dev": true,+ "dependencies": {+ "boolbase": "^2.0.0",+ "css-what": "^8.0.0",+ "domhandler": "^6.0.1",+ "domutils": "^4.0.2",+ "nth-check": "^3.0.1"+ },+ "engines": {+ "node": ">=20.19.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/fb55"+ }+ },+ "node_modules/linkedom/node_modules/css-what": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-8.0.0.tgz",+ "integrity": "sha512-DH0Bqq3DNp5tdOReuNyAA+Ev4Y2GS5FMbZpeTLP6C4CDi0h5nL0BmUPChXw3o/qbHLDWHl49sbNqQVY7bMSDdw==",+ "dev": true,+ "engines": {+ "node": ">=20.19.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/fb55"+ }+ },+ "node_modules/linkedom/node_modules/dom-serializer": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-3.1.1.tgz",+ "integrity": "sha512-4MEa38/QexBob6gFNwu+EGdWvhJ1OKuNwdYY3Y3NyeWDQfnGeDYQUDfIRzWu5B5gsv03so2Uxd28YC6zrsx3Lw==",+ "dev": true,+ "dependencies": {+ "domelementtype": "^3.0.0",+ "domhandler": "^6.0.0",+ "entities": "^8.0.0"+ },+ "engines": {+ "node": ">=20.19.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"+ }+ },+ "node_modules/linkedom/node_modules/domelementtype": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-3.0.0.tgz",+ "integrity": "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg==",+ "dev": true,+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/fb55"+ }+ ],+ "engines": {+ "node": ">=20.19.0"+ }+ },+ "node_modules/linkedom/node_modules/domhandler": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-6.0.1.tgz",+ "integrity": "sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg==",+ "dev": true,+ "dependencies": {+ "domelementtype": "^3.0.0"+ },+ "engines": {+ "node": ">=20.19.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/fb55/domhandler?sponsor=1"+ }+ },+ "node_modules/linkedom/node_modules/domutils": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-4.0.2.tgz",+ "integrity": "sha512-qI4JLRKnSzqFqr7hAlS5xQDusBCjKSEG4t4+7aNrIQMHBcsC2TGEhuyABJdYkgSewL57PNLYEiibY2iPKhKpaA==",+ "dev": true,+ "dependencies": {+ "dom-serializer": "^3.0.0",+ "domelementtype": "^3.0.0",+ "domhandler": "^6.0.0"+ },+ "engines": {+ "node": ">=20.19.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/fb55/domutils?sponsor=1"+ }+ },+ "node_modules/linkedom/node_modules/entities": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/entities/-/entities-8.0.0.tgz",+ "integrity": "sha512-zwfzJecQ/Uej6tusMqwAqU/6KL2XaB2VZ2Jg54Je6ahNBGNH6Ek6g3jjNCF0fG9EWQKGZNddNjU5F1ZQn/sBnA==",+ "dev": true,+ "engines": {+ "node": ">=20.19.0"+ },+ "funding": {+ "url": "https://github.com/fb55/entities?sponsor=1"+ }+ },+ "node_modules/linkedom/node_modules/nth-check": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-3.0.1.tgz",+ "integrity": "sha512-GX0gsdbGVCgnRgbeGaubfjpBXyYRWOOCVeYh08bSQvDZqxz5ndXs1OTfAt/h36G1xvI94YIspsI0sVFqAV9+RQ==",+ "dev": true,+ "dependencies": {+ "boolbase": "^2.0.0"+ },+ "engines": {+ "node": ">=20.19.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/fb55/nth-check?sponsor=1"+ }+ },"node_modules/load-json-file": {"version": "4.0.0","resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz",@@ -5949,6 +6213,12 @@"node": ">=0.8.0"}},+ "node_modules/uhyphen": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/uhyphen/-/uhyphen-0.2.0.tgz",+ "integrity": "sha512-qz3o9CHXmJJPGBdqzab7qAYuW8kQGKNEuoHFYrBwV6hWIMcpAmxDLXojcHfFr9US1Pe6zUswEIJIbLI610fuqA==",+ "dev": true+ },"node_modules/undici-types": {"version": "8.3.0","resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz",diff --git a/frontend/package.json b/frontend/package.jsonindex adb365ec4..42aa3f993 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -30,6 +30,7 @@"@capacitor/ios": "^7.6.8","@vitejs/plugin-react": "^6.0.3","happy-dom": "^20.11.2",+ "linkedom": "^0.18.13","vite": "^8.1.5","vitest": "^4.1.10"}