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

fix(scripts): why do many upgrade when one upgrade do trick? #377

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

wjhsf
Copy link
Contributor

@wjhsf wjhsf commented Jun 28, 2024

Running 9 yarn upgrade commands takes 45 seconds on my machine, 36 if the packages are already at the target version.

Running 1 yarn upgrade commands takes 15 seconds on my machine, 12 if the packages are already at the target version.

yarn upgrade \
@lwc/compiler@$LWC_VERSION \
@lwc/engine-dom@$LWC_VERSION \
@lwc/engine-server@$LWC_VERSION \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note this addition! It seems to have been added as a dep after this file was created, but never added here.

@nolanlawson
Copy link
Contributor

Technically this is a breaking change, since we're bumping lwc to v7. But that's fine.

Eventually we should do #349 which would resolve that problem.

@wjhsf
Copy link
Contributor Author

wjhsf commented Jul 1, 2024

Technically this is a breaking change, since we're bumping lwc to v7. But that's fine.

I wasn't planning on doing a v7 bump; that must've snuck in there when I was testing the script.

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.

2 participants