-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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: combine deps license with same text #18356
Conversation
Run & review this pull request in StackBlitz Codeflow. |
packages/vite/LICENSE.md
Outdated
|
||
License: MIT | ||
By: Sindre Sorhus | ||
Repository: chalk/strip-ansi |
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.
Would it be worth collapsing these lines but only do it when the By is the same in all repositories to keep things simple? It seems there are several cases like this
License: MIT
By: Sindre Sorhus
Repositories: ..., sindresorhus/run-applescript, chalk/strip-ansi
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.
Done 👍
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! Looks great
Nice! 👏🏼 |
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.
Great!
Description
This shrinks our license file a bit by combining those with the same license text. It's slightly easier to review when hiding whitespace changes.
Initially my idea was even radical by grouping per license type, but it's not very feasible at the end since every license has slightly different formatting and additional text. Extending the copyright lines was also finicky to handle.