Bumps all dependencies matching a package prefix across every package.json in the workspace.
This ensures that consumer-added packages (not declared in the manifest) are also updated
during install/upgrade when an explicit version is requested.
Preserves existing range prefixes: if a dependency is currently "^1.0.6", it becomes
"^1.0.7" (not "1.0.7"). Same for ~ and other semver range prefixes.
Parameters
repoRoot: string
Absolute path to the monorepo root
prefix: string
npm package prefix to match (e.g., '@bluecypress/bcsaas-')
bareVersion: string
The bare version number without range prefix (e.g., '1.0.7')
Bumps all dependencies matching a package prefix across every package.json in the workspace. This ensures that consumer-added packages (not declared in the manifest) are also updated during install/upgrade when an explicit version is requested.
Preserves existing range prefixes: if a dependency is currently "^1.0.6", it becomes "^1.0.7" (not "1.0.7"). Same for ~ and other semver range prefixes.