Skip to content

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

Description

@DavidAmyot

馃洃 I had made the original pull request in the gluestack-ui repo and was asked to create the issue here, original pull request in gluestack-ui repo: gluestack/gluestack-ui#2668


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

@akash3gtm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions