We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
lefthook
postinstall
Trying to use lefthook package according to this doc via:
yarn add -D lefthook
But pre-commit hooks doesn't work because there is no postinstall script:
lefthook/packaging/npm/lefthook/package.json
Lines 1 to 30 in abf62bc
It exist only for @evilmartians/lefthook package:
@evilmartians/lefthook
lefthook/packaging/npm-bundled/package.json
Line 34 in abf62bc
Is it expected?
The text was updated successfully, but these errors were encountered:
Hi! It is not expected because lefthook package has optional dependencies which resolve for each OS and arch.
Sorry, something went wrong.
@fantua Did you run yarn run lefthook install after installation?
yarn run lefthook install
No, I didn't. I expected this to be done automatically (using postinstall hook). Same as it’s done in @evilmartians/lefthook
Successfully merging a pull request may close this issue.
Trying to use
lefthook
package according to this doc via:yarn add -D lefthook
But pre-commit hooks doesn't work because there is no
postinstall
script:lefthook/packaging/npm/lefthook/package.json
Lines 1 to 30 in abf62bc
It exist only for
@evilmartians/lefthook
package:lefthook/packaging/npm-bundled/package.json
Line 34 in abf62bc
Is it expected?
The text was updated successfully, but these errors were encountered: