chore(release): version-sync script + root@0.4.4 (#396) #401

Merged
pm-bot merged 1 commit from feat/396-version-sync into main 2026-05-24 18:33:58 +02:00
Owner

Closes #396 — entblockt #397 + #398 (v0.4.5 Release-Cut).

Summary

  • scripts/sync-version.mjs — single source of truth = root package.json version. Modes: default propagiert in alle workspaces; --check failt bei Divergenz.
  • Root 0.0.00.4.4. Alle 11 Workspace-Packages synchronisiert.
  • apps/mobile/app.config.ts: liest jetzt ../../package.json (Mobile-versionName aus root). versionCode bleibt git rev-list --count HEAD-getrieben über ANDROID_VERSION_CODE.
  • Neuer version-sync-check-Step in der ci-Pipeline (depends_on install, parallel zu lint/typecheck) — hart failt bei Divergenz.
  • CLAUDE.md: Bump-Anleitung (pnpm version patch --no-git-tag-versionnode scripts/sync-version.mjs → commit + tag + push --follow-tags).

GF-Entscheidung

Startversion 0.4.4 (semver-Reset) statt 1.0.X. Roadmap-Schema bleibt vMAJOR.MINOR.PATCH, die historischen v1.0.4xx-Tags (altes vMAJOR.MINOR.<commit-count>) bleiben unverändert im Repo.

Test plan

  • Lokal: node scripts/sync-version.mjs --check → OK
  • Lokal: alle 11 workspace package.json auf 0.4.4
  • Mobile versionName-Ableitung: 0.4.<versionCode> (lokal 0.4.1, in CI 0.4.<commit-count>)
  • CI: version-sync-check-Step grün
  • CI: gesamte ci-Pipeline grün
Closes #396 — entblockt #397 + #398 (v0.4.5 Release-Cut). ## Summary - `scripts/sync-version.mjs` — single source of truth = root `package.json` `version`. Modes: default propagiert in alle workspaces; `--check` failt bei Divergenz. - Root `0.0.0` → `0.4.4`. Alle 11 Workspace-Packages synchronisiert. - `apps/mobile/app.config.ts`: liest jetzt `../../package.json` (Mobile-versionName aus root). versionCode bleibt `git rev-list --count HEAD`-getrieben über `ANDROID_VERSION_CODE`. - Neuer `version-sync-check`-Step in der `ci`-Pipeline (depends_on install, parallel zu lint/typecheck) — hart failt bei Divergenz. - `CLAUDE.md`: Bump-Anleitung (`pnpm version patch --no-git-tag-version` → `node scripts/sync-version.mjs` → commit + tag + push --follow-tags). ## GF-Entscheidung Startversion **`0.4.4`** (semver-Reset) statt 1.0.X. Roadmap-Schema bleibt `vMAJOR.MINOR.PATCH`, die historischen `v1.0.4xx`-Tags (altes `vMAJOR.MINOR.<commit-count>`) bleiben unverändert im Repo. ## Test plan - [x] Lokal: `node scripts/sync-version.mjs --check` → OK - [x] Lokal: alle 11 workspace package.json auf 0.4.4 - [x] Mobile versionName-Ableitung: `0.4.<versionCode>` (lokal `0.4.1`, in CI `0.4.<commit-count>`) - [ ] CI: `version-sync-check`-Step grün - [ ] CI: gesamte `ci`-Pipeline grün
chore(release): version-sync script + root@0.4.4 (#396)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
24fb984262
- scripts/sync-version.mjs: liest root package.json version,
  propagiert in alle apps/* und packages/*; --check failt bei Divergenz
- Root version 0.0.0 -> 0.4.4 (semver-Reset; alte v1.0.4xx-Tags
  bleiben als anderes Schema bestehen)
- apps/mobile/app.config.ts: versionName zieht jetzt aus root
  statt eigenem package.json (single source of truth)
- .drone.yml: neuer version-sync-check-Step im ci-Pipeline, hart
  failt bei Divergenz; CLAUDE.md: Bump-Anleitung

Closes #396.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
pm-bot merged commit 710c7853d9 into main 2026-05-24 18:33:58 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
admin-mrrm/mrrmlabapp!401
No description provided.