Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:A5c ai Babysitter Workspace Version Sync

From Leeroopedia
Knowledge Sources
Domains Release_Pipeline, Version_Management
Last Updated 2026-10-23 00:00 GMT

Overview

A practice of atomically synchronizing all package versions and internal dependency pins in a monorepo to a single target version.

Description

Workspace Version Sync is the principle of ensuring every package in a monorepo shares one version at release time. This includes:

  • All package.json files in packages/ and plugins/
  • Internal dependency pins (packages referencing other @a5c-ai/* packages)
  • Plugin manifest versions (plugin.json)
  • versions.json files
  • Marketplace manifests

This addresses the problem of version drift in monorepos: without atomic sync, internal dependencies can reference stale versions, causing runtime resolution failures and inconsistent published artifacts.

Usage

Use this principle when releasing a monorepo where all packages must publish at the same version with consistent internal dependency references.

Theoretical Basis

The sync is a single-pass update over all package manifests:

target = resolveReleaseVersion(...)
for each package.json in packages/, plugins/:
    manifest.version = target
    for each dep in (dependencies, devDependencies, peerDependencies, optionalDependencies):
        if dep.name in localPackageNames:
            dep.version = target

Key property: The sync is idempotent — running it twice with the same version produces no changes. It only modifies version fields, leaving all other manifest fields untouched.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment