You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like the idea of #35 a lot, but it caused me a problem. For pre-merge I want to remove all npm packages with rm -rf node_modules, and then reinstall them. But, then pre-git changes the package.json file again on reinstall, changing my settings in package.json (for instance, adding the commit script, which I don't want) and recreating the git hooks. I solved this by doing npm prune, npm update instead, which is probably better anyway… I think. It might be better to use this approach in the README.
The text was updated successfully, but these errors were encountered:
I like the idea of #35 a lot, but it caused me a problem. For
pre-merge
I want to remove all npm packages withrm -rf node_modules
, and then reinstall them. But, then pre-git changes thepackage.json
file again on reinstall, changing my settings inpackage.json
(for instance, adding the commit script, which I don't want) and recreating the git hooks. I solved this by doingnpm prune
,npm update
instead, which is probably better anyway… I think. It might be better to use this approach in the README.The text was updated successfully, but these errors were encountered: