Version bumping tool for workspace interdependencies?

Does anyone know of a tool which would (recursively) bump versions of dependents of a package (within a workspace) once that package's version was bumped?

Example:

0. Initial state:

    A 1.0.0
    B 1.0.0 {dep = A}
    C 1.0.0 {dep = B}
    D 1.0.0

1. Action:

    A 1.0.0 --> A 1.0.1

2. Next state:

    A 1.0.1
    B 1.0.1 {dep = A}
    C 1.0.1 {dep = B}
    D 1.0.0

I think the closest thing is putting the version in the workspace table Workspaces - The Cargo Book

But this is more of a global thing and doesn't give you the automatic, fine-grained behavior you want.

1 Like

Thanks!

I guess a shared version is a reasonable start.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.