
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
post-merge-install
Advanced tools
Runs 🏃 npm install/script
post merge/rebase and when package.json
or package-lock.json
changes.
npm install post-merge-install --save-dev
or globally as
npm install -g post-merge-install
$ npx husky add .husky/post-merge 'post-merge-install "yarn install"'
$ npx husky add .husky/post-rebase 'post-merge-install "bolt install"'
post-merge-install
can be used with custom scripts as well.
$ post-merge-install 'yarn install'
$ post-merge-install 'lerna' 'bootstrap'
Flag | Description | Details |
---|---|---|
--prompt | Enables a confirmation prompt before installing packages if change in package.json or package-lock.json/yarn.lock is detected. | By default post-merge-install automatically installs dependencies if a change is detected. Adding this flag enables a confirmation prompt asking if an npm install/script should be run. |
You can also use the alias pmi
instead of post-merge-install
Thanks goes to these wonderful people (emoji key):
Aditi Mohanty 💻 | Dhruv Jain 💻 📖 | Abinav Seelan 💻 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
A hook to run 'npm install/script' post-merge via husky 🐶
The npm package post-merge-install receives a total of 2,419 weekly downloads. As such, post-merge-install popularity was classified as popular.
We found that post-merge-install demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.