Files
kuentagym/renovate.json
T
dsantillan 87bfd6d4c4 Rebrand to KuentaGYM, and start a new profile in pounds and Spanish
The app is now KuentaGYM everywhere a user can see it, and a fresh profile no
longer starts on upstream's English/kg defaults. Both are this fork's decisions,
so both are pinned by tests rather than left to a find-and-replace.

Rename (1,270 references, 149 files)

- Visible surfaces: the Login/Home/mobile-onboarding wordmark, the Settings
  version line, the printed plan, the PWA title + manifest, and the 17 branded
  strings across all 14 locale packs.
- Infrastructure: repo links, the container images and the release endpoints now
  name git.dploy.lol/dsantillan/kuentagym; .gitea/workflows/docker-publish.yml
  publishes to this forge's registry instead of gitea.com.
- The Android/iOS application id stays ch.duartesantos.opengym on purpose:
  changing it would make the mobile app a different app that could never update
  an installed copy.

Three things the mechanical pass would have broken, fixed here

- The update check asked gitlab.com for upstream's releases and would have
  installed upstream's APK, putting the old name back on the phone. It now reads
  this fork's Gitea releases API (the assets shape differs), with the tests
  rewritten to the payload Gitea actually returns.
- Renaming the mobile state/pairing files (opengym-state.json,
  opengym-remote.json) would lose the on-device copy of a history whose WebView
  storage may have been evicted, and silently unpair the device. Both are read
  under their old names and written forward under the new ones.
- Renaming the exported plan-file marker (openGym_plan) rejected every plan
  shared before the rename as "not a plan file". Both markers are accepted.

Defaults: pounds and Spanish

- DEF.unit = 'lb', DEF.lang = 'es', plus every fallback that independently
  assumed en/kg (the <html lang> attribute, the Settings pickers, the Store, the
  MCP, the Coach payload).
- Server-generated push copy existed only in English and pt-BR, so a Spanish
  profile would have been notified in English; Spanish added.
- The demo seed states unit: 'kg' — its seeded numbers are kilograms, and
  inheriting the new default would have introduced an 82.4 lb lifter benching 60.
- The module-level language in i18n-core stays English: it is the only language
  whose strings need no pack, so `t()`, dates, numbers and lists agree before a
  pack loads. Starting there on 'es' formats a Spanish-shaped UI with English
  strings.

Also
- api/package.json's test glob missed push-messages.test.js and
  verify-error.test.js, which sat beside the modules they cover and never ran.
- README, docs/, website/ and the issue templates no longer describe upstream's
  GitLab/GitHub pipeline, Discord, sponsorship or public demo as if they were
  this fork's; upstream history and attribution are preserved (NOTICE.md).
2026-09-21 14:29:54 -04:00

138 lines
4.8 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": [
"Dependency updates, deliberately quiet — the GitLab counterpart of .github/dependabot.yml,",
"with the same policy behind it. KuentaGYM is dependency-light on purpose: the frontend is",
"React + Router + Zustand, api/ has two runtime dependencies. A default setup would still",
"open an MR per package per week, which on a solo project means the MRs stop being read —",
"the opposite of what this is for. So: monthly, everything in an ecosystem grouped into one",
"MR, and a low cap on open MRs.",
"Run by the `renovate` job in .gitlab-ci.yml, which fires only on *scheduled* pipelines.",
"gradle (frontend/android) and cocoapods (frontend/ios) are deliberately NOT managed:",
"Capacitor generates those shells and pins the native versions to the @capacitor/* npm",
"packages. Bumping them independently desyncs the two and breaks the mobile build; they",
"follow the npm update instead."
],
"extends": [
"config:recommended",
":semanticCommitsDisabled"
],
"timezone": "Europe/Zurich",
"schedule": [
"* 0-6 1 * *"
],
"prConcurrentLimit": 5,
"prHourlyLimit": 0,
"labels": [
"dependencies"
],
"rangeStrategy": "bump",
"dependencyDashboard": true,
"enabledManagers": [
"npm",
"dockerfile",
"gitlabci"
],
"packageRules": [
{
"description": "Frontend routine bumps arrive as one MR. Runtime and build tooling move together anyway (a Vite bump usually wants its plugin bumped), and splitting them doubles the review without splitting the risk.",
"matchManagers": [
"npm"
],
"matchFileNames": [
"frontend/package.json"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "frontend"
},
{
"description": "Frontend majors get their own MR. The first grouped run on GitHub bundled a Capacitor 7 → 8 migration in with six siblings, where it read as housekeeping — and CI would have gone green on it, because the test job builds the web app and never touches the mobile flavour. A major that lands alone is at least obviously a decision.",
"matchManagers": [
"npm"
],
"matchFileNames": [
"frontend/package.json"
],
"matchUpdateTypes": [
"major"
],
"groupName": "frontend-major"
},
{
"description": "Capacitor 8 needs Node >= 22 and frontend/android + frontend/ios are committed, so a major also means migrating the native projects — Gradle/AGP, the Podfile. That is a deliberate piece of work, not a dependency bump. Drop this rule when you want to do it.",
"matchPackageNames": [
"@capacitor/**"
],
"matchUpdateTypes": [
"major"
],
"enabled": false
},
{
"description": "Backend, api/package.json (@simplewebauthn/server, web-push).",
"matchManagers": [
"npm"
],
"matchFileNames": [
"api/package.json"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "api"
},
{
"description": "Two dependencies, but one of them verifies passkeys — a major there is worth reading on its own rather than alongside anything else.",
"matchManagers": [
"npm"
],
"matchFileNames": [
"api/package.json"
],
"matchUpdateTypes": [
"major"
],
"groupName": "api-major"
},
{
"description": "Base images in api/Dockerfile and web/Dockerfile.",
"matchManagers": [
"dockerfile"
],
"groupName": "base images"
},
{
"description": "Odd-numbered Node majors are 'Current', never LTS — they stop getting fixes in about six months. Dependabot's first run offered 22 → 25, which for something other people self-host is a stability downgrade for nothing. Even majors (22 → 24 → 26) are still proposed, which is the move actually worth reviewing.",
"matchDatasources": [
"docker"
],
"matchPackageNames": [
"node"
],
"allowedVersions": "/^(\\d*[02468])\\./"
},
{
"description": "The images the pipeline itself runs on. Same reasoning as the GitHub-Actions rule this replaces: these jobs publish the container images and build the signed APK, so the blast radius is real — but they move in lockstep and none is worth an MR of its own.",
"matchManagers": [
"gitlabci"
],
"groupName": "ci images"
}
],
"vulnerabilityAlerts": {
"description": "Security fixes ignore the monthly schedule and the group — they land immediately, on their own.",
"schedule": [
"at any time"
],
"labels": [
"dependencies",
"security"
],
"prPriority": 10
}
}