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

fix: implement merging hooks provided in opts #5308

Closed
wants to merge 1 commit into from

Conversation

AGrzes
Copy link
Contributor

@AGrzes AGrzes commented Sep 5, 2022

Pnpm deploy command is providing readPackage in opts and it is being discarded by requireHooks.
This change ensures, that hooks provided in opts are merged with those from local and global
pnpmfiles.

Closes #5306

@AGrzes AGrzes requested a review from zkochan as a code owner September 5, 2022 21:32
@welcome
Copy link

welcome bot commented Sep 5, 2022

💖 Thanks for opening this pull request! 💖
Please be patient and we will get back to you as soon as we can.

Pnpm deploy command is providing readPackage in opts and it is being discarded by requireHooks.
This change ensures, that hooks provided in opts are merged with those from local and global
pnpmfiles.

Closes pnpm#5306
@zkochan
Copy link
Member

zkochan commented Oct 3, 2022

This was done in another PR, right?

@AGrzes
Copy link
Contributor Author

AGrzes commented Oct 3, 2022

Yes - it is done.

@AGrzes AGrzes closed this Oct 3, 2022
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.

Hooks provided in opts are lost in processing by install command
2 participants