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

feat: add volta packages #883

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Conversation

diogonr
Copy link
Contributor

@diogonr diogonr commented Aug 1, 2024

What does this PR do

Currently there's no volta upgrade command, so this implementation has to list all installed packages first, and update them separately

Example output:
CleanShot 2024-08-01 at 09 51 27@2x

Standards checklist

  • The PR title is descriptive.
  • I have read CONTRIBUTING.md
  • Optional: I have tested the code myself

For new steps

  • Optional: Topgrade skips this step where needed
  • Optional: The --dry-run option works with this step
  • Optional: The --yes option works with this step if it is supported by
    the underlying command

@diogonr diogonr force-pushed the feat/volta-packages branch 2 times, most recently from dbfb5ef to a344b7e Compare August 1, 2024 08:22
Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

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

Thanks for contributing to Topgrade, I have left some comments:)

src/steps/node.rs Outdated Show resolved Hide resolved
src/steps/node.rs Outdated Show resolved Hide resolved
src/steps/node.rs Outdated Show resolved Hide resolved
src/steps/node.rs Show resolved Hide resolved
add print_info when no packages found

apply review feedback
@diogonr
Copy link
Contributor Author

diogonr commented Aug 1, 2024

Thank for the feedback, i'm clueless in rust... Suggestions applied, and retested locally

Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

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

Thanks!

@SteveLauC SteveLauC merged commit a1f3c86 into topgrade-rs:main Aug 1, 2024
11 checks passed
@diogonr diogonr deleted the feat/volta-packages branch August 1, 2024 10:33
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