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

chore: Include only lib folder when publishing, Add Dataset and Story data type to export #1351

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

hanbyul-here
Copy link
Collaborator

We are publishing everything in the folder which should not be necessary. Explicitly scope the folder to publish (files in package.json)

Also add more types to export (Dataset, Story)

Copy link

netlify bot commented Dec 23, 2024

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit 12ed761
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/67698fb11a71150008c34b4a
😎 Deploy Preview https://deploy-preview-1351--veda-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@hanbyul-here hanbyul-here changed the title Include only lib folder when publishing, Add Dataset and Story data type to export chore: Include only lib folder when publishing, Add Dataset and Story data type to export Dec 23, 2024
Copy link
Collaborator

@dzole0311 dzole0311 left a comment

Choose a reason for hiding this comment

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

Tested the publishing of the package, works as expected (the tarball from Verdaccio contains only the lib as a directory) ✅

Screenshot 2024-12-24 at 13 06 32

@hanbyul-here The README.md and package.json that correspond to the veda-ui are also published. Not a blocker, but I guess we should eventually update these as well (e.g. README.md specific to the library)?

@hanbyul-here
Copy link
Collaborator Author

@dzole0311 Yah good point - we can't separate package.json but we probably can do something better for README before we actually start publishing to npm registry

@hanbyul-here hanbyul-here merged commit e8d3b91 into main Dec 24, 2024
10 of 11 checks passed
@hanbyul-here hanbyul-here deleted the only-lib branch December 24, 2024 14:18
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