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

Don't use Lerna for independent versioning #144

Merged
merged 3 commits into from
Jun 12, 2024
Merged

Conversation

t1m0thyj
Copy link
Contributor

@t1m0thyj t1m0thyj commented Jun 12, 2024

Fixes an issue for the Zowe CLI monorepo where if the only changes in a new version are within the Imperative package, then SDKs which depend on Imperative are not updated like they should be.

Here is the CLI PR where the error was encountered: zowe/zowe-cli#2172

And here are PRs from zowe-deploy-test repo showing before and after the fix

Many files changed in this PR due to copyright updates, but the main one to review is packages/lerna/src/version.ts

@t1m0thyj t1m0thyj marked this pull request as ready for review June 12, 2024 12:34
@t1m0thyj t1m0thyj requested a review from a team June 12, 2024 12:34
Copy link
Collaborator

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM! 😋
I had to look where the context.version.overrides was defined in order to understand the weird ternary

Also, thanks for sharing a before and after links for the fix 🙏🏽

@t1m0thyj t1m0thyj requested a review from traeok June 12, 2024 13:16
Copy link

@traeok traeok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @t1m0thyj

@t1m0thyj t1m0thyj merged commit ee50064 into master Jun 12, 2024
4 checks passed
@t1m0thyj t1m0thyj deleted the fix/lerna-hybrid-version branch June 12, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants