versioning
Manage software versions across the Open Sunsama monorepo. Use when releasing new versions, updating version numbers, building apps for distribution, or when any version-related task is mentioned. Triggers on keywords like "version", "release", "v1.x.x", "bump", "publish", "deploy app".
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Versioning
All apps share ONE version. Semantic Versioning: MAJOR.MINOR.PATCH
Golden Rules
-
ONLY edit version in
package.json(root) - Never touch other files manually -
ALWAYS run
bun run version:syncafter changing version -
ALWAYS tag releases with
git tag -a vX.Y.Z
When to Increment
| Type | When | Example |
|---|---|---|
| MAJOR | Breaking changes, DB migrations, API changes | 1.0.0 → 2.0.0 |
| MINOR | New features (backwards compatible) | 1.0.0 → 1.1.0 |
| PATCH | Bug fixes, small improvements | 1.0.0 → 1.0.1 |
Files (Auto-Synced by version:sync)
package.json (root) ← SOURCE OF TRUTH
├── apps/api/package.json
├── apps/web/package.json
├── apps/desktop/package.json
├── apps/desktop/src-tauri/tauri.conf.json
├── apps/mobile/package.json
├── apps/mobile/src-tauri/tauri.conf.json
└── apps/expo-mobile/package.json
Release Workflow
# 1. Edit root package.json version (e.g., "1.0.0" → "1.1.0")
# 2. Sync all apps
bun run version:sync
# 3. Build (as needed)
cd apps/desktop && unset CI && bunx tauri build # Desktop
cd apps/mobile && bunx tauri ios build # iOS
cd apps/mobile && bunx tauri android build # Android
# 4. Commit and tag
git add -A
git commit -m "release: v1.1.0"
git tag -a v1.1.0 -m "Release v1.1.0"
git push && git push --tags
Verify Sync
grep -r '"version":' package.json apps/*/package.json apps/*/src-tauri/tauri.conf.json 2>/dev/null
Version History
| Version | Date | Notes |
|---|---|---|
| v1.0.0 | 2026-01-30 | Initial release |
| v1.0.7 | 2026-02-11 | Desktop release build |
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-03-11
- Index updated
- 2026-03-11
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!