-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
fix(package.json): remove unnecessary files in published package #227
Conversation
|
❌ Deploy Preview for h6s-react-examples failed.
|
✅ Deploy Preview for storybook-h6s ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for h6s-dev canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 💜 It will be reflected in the release of the next version. (with some patches)
# [@h6s/calendar-v1.0.7-alpha.1](https://github.com/h6s-dev/h6s/compare/@h6s/calendar-v1.0.6...@h6s/calendar-v1.0.7-alpha.1) (2022-12-13) ### Bug Fixes * **package.json:** remove unnecessary files in published package ([#227](#227)) ([fb0f783](fb0f783))
🎉 This PR is included in version @h6s/calendar-v1.0.7-alpha.1 🎉 |
# [@h6s/table-v1.0.4-alpha.1](https://github.com/h6s-dev/h6s/compare/@h6s/table-v1.0.3...@h6s/table-v1.0.4-alpha.1) (2022-12-13) ### Bug Fixes * **@h6s/table:** trigger release ([93d6b04](93d6b04)) * **package.json:** remove unnecessary files in published package ([#227](#227)) ([fb0f783](fb0f783))
🎉 This PR is included in version @h6s/table-v1.0.4-alpha.1 🎉 |
# [@h6s/calendar-v1.0.7](https://github.com/h6s-dev/h6s/compare/@h6s/calendar-v1.0.6...@h6s/calendar-v1.0.7) (2022-12-20) ### Bug Fixes * **package.json:** remove unnecessary files in published package ([#227](#227)) ([fb0f783](fb0f783))
🎉 This PR is included in version @h6s/calendar-v1.0.7 🎉 |
# [@h6s/table-v1.0.4](https://github.com/h6s-dev/h6s/compare/@h6s/table-v1.0.3...@h6s/table-v1.0.4) (2022-12-20) ### Bug Fixes * **package.json:** remove unnecessary files in published package ([#227](#227)) ([fb0f783](fb0f783))
🎉 This PR is included in version @h6s/table-v1.0.4 🎉 |
@JaeYeopHan @SoYoung210 Could you add me in https://github.com/h6s-dev/h6s#contributors- as bug(🐛)? I thought this PR can be bug. but If you think this PR is another emoji key, It is also good for me. |
There is unnecessary files in user of this packages(@h6s/table, @h6s/calendar)
You can see unnecessary files(tsconfig.json, playwright.config.ts, src, .e2e) if install this packages.
![image](https://user-images.githubusercontent.com/61593290/206916694-012d847f-8c2c-42ef-b960-73aace5bf559.png)
Solution: How about using files field of package.json.
I used files filed as ["dist", "esm"], but we don't have to worry about ignoring necessary files like package.json, README, LICENSE that almost be used as filename in @h6s/table, @h6s/calendar. because below filename will be contained in package defaultly.
Certain files are always included, regardless of settings:
package.json have to narrow files to publish package contain only necessary. by using files field, we can narrow package's files. so I added files field