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

Remove postinstall package, use the native yarn lifecycle script instead #684

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

estellecomment
Copy link
Contributor

@estellecomment estellecomment commented Sep 6, 2023

The extra dependency we are using (postinstall-postinstall) is for running the postinstall script after yarn remove < mypackage >.
See https://www.npmjs.com/package/postinstall-postinstall

We just need to run the postinstall script after yarn install (right?) so we can just use the normal lifecycle of yarn, and remove the extra dependency.

May help for #361 by logging properly when the postinstall script fails.

@estellecomment estellecomment marked this pull request as ready for review September 6, 2023 14:22
@estellecomment estellecomment merged commit 0fa3584 into develop_tchap Sep 6, 2023
6 checks passed
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