Skip to content

Add license field to @gluestack-ui/* scoped packages #2774

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

Open
wants to merge 3 commits into
base: patch
Choose a base branch
from

Conversation

noahlozevski
Copy link

The license field wasn't being published in the newer @gluestack-ui/* scoped packages on NPM. Example with @gluestack-ui/overlay, where the license field shows as "none".

I assume the license to be applied to these packages would be the same as the code in the rest of the repo, which is currently set to MIT license. I copied this attribute to all the packages manually, and bumped the version so it can be published and consumed by others upstream.

Adding the correct license is a requirement the CI tool I am working out of right now. I hope if the MIT license isn't the correct license for these packages, I can at least get the discussion going around the topic here.

@noahlozevski noahlozevski force-pushed the main branch 2 times, most recently from 0ad5278 to f232444 Compare March 11, 2025 02:23
@akash3gtm
Copy link
Collaborator

akash3gtm commented Mar 12, 2025

Hi @noahlozevski, thank you for this.

could you please

  • take the latest pull from patch branch.
  • update only the licensing but not the package version.
  • also check in all the packages.

Package version is handled by changeset and we update that when we release the packages i.e. after merging in the patch branch.

@akash3gtm akash3gtm self-requested a review March 12, 2025 06:28
The license attribute is missing when some of the packages are being
published to npm. This change adds it to all of the package.json's with
the MIT license (the one used at the root of the repo).
@noahlozevski
Copy link
Author

Hey! Thanks for the feedback. I just updated the PR with the license fields for all the package.json's being published in the repo, and I have rebased it on top of main. Let me know if you need anything else to merge it.

@noahlozevski noahlozevski marked this pull request as ready for review April 28, 2025 04:04
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.

3 participants