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

use funding field instead of postinstall script #2931

Merged
merged 1 commit into from
Dec 23, 2019

Conversation

koba04
Copy link
Contributor

@koba04 koba04 commented Dec 18, 2019

Thank you for the amazing library!!!

npm supports thefunding field at v6.13 and Node has updated the bundled npm version to v6.13.4 because of the vulnerability so I think many people are able to use the fund subcommand.

So could you consider to use the funding field instead of postinstall? 🙏
I understand that printing a message while installing the package is effective to reach out to many developers but the script is very dangerous so it would be nice if the ecosystem could avoid using this.
Yarn is considering to disable the script by default.
yarnpkg/yarn#7761 (comment)

@koba04 koba04 changed the title use funding field instead of post install script use funding field instead of postinstall script Dec 18, 2019
quantizor
quantizor previously approved these changes Dec 22, 2019
Copy link
Contributor

@quantizor quantizor left a comment

Choose a reason for hiding this comment

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

I'm fine with this

@quantizor quantizor changed the base branch from master to v5 December 22, 2019 17:04
@quantizor quantizor changed the base branch from v5 to master December 22, 2019 17:04
@quantizor
Copy link
Contributor

Can you rebase this against the v5 branch and switch the merge target? ty

@koba04
Copy link
Contributor Author

koba04 commented Dec 23, 2019

@probablyup Thank you! I've rebased this and switched the target branch!

@quantizor
Copy link
Contributor

Thanks!

@quantizor quantizor merged commit 9aaac33 into styled-components:v5 Dec 23, 2019
@koba04
Copy link
Contributor Author

koba04 commented Dec 23, 2019

Thank you!!! This is huge for the ecosystem!!👏👏👏

@koba04 koba04 deleted the use-funding-field branch December 23, 2019 16:39
This was referenced Mar 4, 2020
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.

None yet

2 participants