-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
Add check and execute npm only if the package.json exists. #2064
Conversation
@jln646v could you double check on your end? I found it working locally. :) |
Can we just completely remove this npm part from the script and re-add it in the livewire PR? |
That was the other option. However people don't often update their git hooks, so for this reason I thought it was preferable to have both right from the start even if unused at the moment. |
Isn't this file auto-updated when executing the hook? |
Indeed, forgot about that. |
@qwerty287 ? :) |
Pulling latest master still results in the npm step running and same error about missing package.json |
You need to update your git hook (with the one in the script folder). That npm package.json is not going to be back before #2035 is merged. |
Fixes #2063
This is a temporary change as with Livewire the package.json will come back hence why I did not remove the command completely but added a simple check.