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

Implementation:A5c ai Babysitter sync workspace versions

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

Overview

CLI tool for synchronizing all workspace package.json versions and plugin manifests to a target semver version.

Description

The sync-workspace-versions.mjs script updates every package.json in packages/ and plugins/ to a single target version. It also synchronizes internal dependency pins (packages referencing other @a5c-ai/* packages), plugin manifest versions (plugin.json), versions.json files, and marketplace manifests via syncBabysitterMarketplaceManifestVersions.

Skip directories include: .git, .a5c, node_modules, dist, build, coverage, artifacts, generated, examples.

Usage

  • Release pipeline Step 2: After resolving the target version, run this script to synchronize all manifests before building and publishing.

Code Reference

Source Location

  • Repository: Babysitter
  • File: scripts/sync-workspace-versions.mjs:L1-130

Signature

node scripts/sync-workspace-versions.mjs --version <semver>

Import

# CLI script — run directly
node scripts/sync-workspace-versions.mjs --version 6.0.4

I/O Contract

Inputs

Name Type Required Description
--version string Yes Target semver version

Outputs

Name Type Description
package.json files modified files All workspace package.json versions updated
plugin.json modified files Plugin manifest versions updated
versions.json modified files Plugin versions.json updated
marketplace manifests modified files Marketplace manifest versions synced

Usage Examples

Synchronize Workspace Versions

# Sync all packages to version 6.0.4
node scripts/sync-workspace-versions.mjs --version 6.0.4

Related Pages

Implements Principle

Requires Environment

Page Connections

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