Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monorepo versioning #72

Open
BohdanPetryshyn opened this issue Aug 19, 2023 · 2 comments
Open

Monorepo versioning #72

BohdanPetryshyn opened this issue Aug 19, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@BohdanPetryshyn
Copy link
Collaborator

Context

By the time this issue is created, there're two packages in this monorepo:

  1. Basti CLI (basti)
  2. Basti CDK (basti-cdk)

Suggested versioning strategy

  1. basti and basti-cdk are both versioned independently following semantic versioning.

  2. A new major version is released in two cases

    1. The user interface has changed. For example, a basti-cdk property or a basti CLI option has been renamed.
    2. Basti CLI init command or basti-cdk infrastructure is no longer compatible with the existing versions of the Basti CLI connect command.
  3. Newer versions of Basti CLI must support connecting to any older minor and major version of the infrastructure.

  4. basti connect command checks if the infrastructure was initialized with the satisfying major version of Basti CLI or Basti CDK. If not, the user is asked to update to the latest version of Basti CLI (which must support the newer infrastructure).

@BohdanPetryshyn BohdanPetryshyn added the enhancement New feature or request label Aug 19, 2023
@BohdanPetryshyn
Copy link
Collaborator Author

We can postpone the version checks implementation until the first infrastructure breaking check is introduced.

@BohdanPetryshyn BohdanPetryshyn added the help wanted Extra attention is needed label Aug 19, 2023
@BohdanPetryshyn
Copy link
Collaborator Author

Anyone with experience in publishing indirectly-depending packages from a monorepo is very welcome to share their thoughts on this 🤗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant