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

Move ESLint config and plugins to devDependencies #1129

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

matt-oakes
Copy link
Contributor

Hello. Thanks for all your work on Herdsman!

This PR moves the ESLint plugin and config dependencies into devDependencies. This ensures they are no included by other packages which depend on zigbee-herdsman, reducing the overall bundle size, and ensuring there are no clashes with versions of packages used by other projects.

@matt-oakes matt-oakes changed the title Move eslint config and plugins to devDependencies Move ESLint config and plugins to devDependencies Jul 24, 2024
package.json Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
@matt-oakes matt-oakes force-pushed the fix/dev-dependencies branch from 9419642 to 998da69 Compare July 24, 2024 20:47
@matt-oakes
Copy link
Contributor Author

Thanks for the review. I've made those changes now.

@Koenkk
Copy link
Owner

Koenkk commented Jul 25, 2024

Thank you too!

@Koenkk Koenkk merged commit c4e7395 into Koenkk:master Jul 25, 2024
1 check passed
@matt-oakes matt-oakes deleted the fix/dev-dependencies branch July 26, 2024 15:24
@matt-oakes
Copy link
Contributor Author

Just out of interest, I checked the installed size of 0.55.1 to 0.55.2 (with this change) and it's bigger than expected:

  • 0.55.1 - 52MB with 157 packages
  • 0.55.2 - 8MB with 25 packages

Thanks again for merging this so quickly!

@Koenkk
Copy link
Owner

Koenkk commented Jul 26, 2024

Great, many thanks!

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