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

How to update multiple packages at once with gluestack-ui cli? #2668

Open
DavidAmyot opened this issue Jan 6, 2025 · 1 comment
Open

How to update multiple packages at once with gluestack-ui cli? #2668

DavidAmyot opened this issue Jan 6, 2025 · 1 comment
Assignees

Comments

@DavidAmyot
Copy link

Description

Currently, to update a package, I have to do npx gluestack-ui@latest add some-component. If I have 20 components from gluestack-ui v2, I have to repeat the command for each.

  1. Without having all the components installed with npx gluestack-ui@latest add --all, how can I update multiple packages at once?
  2. How can I know when a package is outdated? Commands such as yarn outdated do not show anything related to gluestack-ui when a package is outdated making it very unreliable.

Perhaps I'm unaware of a command that can do both of the above, if so please do tell me!

Thank you :)

Problem Statement

  1. There is no way to update all the installed gluestack-ui v2 packages at once.
  2. There is no way to know which packages are outdated.

Proposed Solution or API

  1. Allow for package chaining such as npx gluestack-ui@latest add some-component-1 some-component-2.
  2. Make package managers aware of changes to the gluestack-ui v2 packages or have a npx gluestack-ui outdated command.

Alternatives

No response

Additional Information

No response

@DavidAmyot
Copy link
Author

@rajat693 Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants