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

@commitlint weights 32MB in node_modules #1791

Closed
gzaripov opened this issue May 26, 2020 · 2 comments
Closed

@commitlint weights 32MB in node_modules #1791

gzaripov opened this issue May 26, 2020 · 2 comments
Labels

Comments

@gzaripov
Copy link

I installed commitlint and checked weight

 du -sh node_modules/@commitlint/
 32M	node_modules/@commitlint/

It happens because commitlint uses lodash in packages and they are not reused.

List of packages I have in @commitlint directory:

cli
ensure
execute-rule
format
is-ignored
lint
load
message
parse
read
resolve-extends
rules
to-lines
top-level
types

Expected Behavior

Weight is lower than 10MB, the lower the better

@escapedcat
Copy link
Member

Hey @gzaripov , I guess you're right but not sure when we find time to look into it. Would be great if you can provide a PR or some info what would need to be done to fix this.

@escapedcat
Copy link
Member

escapedcat commented Feb 13, 2022

Closing this because of missing further feedback.

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

No branches or pull requests

2 participants