โคNo Python Modules

    post-merge-install

    0.5.1ย โ€ขย Publicย โ€ขย Published

    post-merge-install

    npm All Contributors npm

    Runs ๐Ÿƒ npm install/script post merge/rebase and when package.json or package-lock.json changes.

    Install

    npm install post-merge-install --save-dev

    or globally as

    npm install -g post-merge-install

    Prerequisite

    Usage

    $ npx husky add .husky/post-merge 'post-merge-install "yarn install"'
    $ npx husky add .husky/post-rebase 'post-merge-install "bolt install"'

    Custom script

    post-merge-install can be used with custom scripts as well.

    $ post-merge-install 'yarn install'
    $ post-merge-install 'lerna' 'bootstrap'

    Options

    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.

    Alias

    You can also use the alias pmi instead of post-merge-install

    Contributors โœจ

    Thanks goes to these wonderful people (emoji key):

    Aditi Mohanty
    Aditi Mohanty

    ๐Ÿ’ป
    Dhruv Jain
    Dhruv Jain

    ๐Ÿ’ป ๐Ÿ“–
    Abinav Seelan
    Abinav Seelan

    ๐Ÿ’ป ๐Ÿ“–

    This project follows the all-contributors specification. Contributions of any kind welcome!


    ClearTax

    Install

    npm i post-merge-install

    DownloadsWeekly Downloads

    3,516

    Version

    0.5.1

    License

    MIT

    Unpacked Size

    10.3 kB

    Total Files

    8

    Last publish

    Collaborators

    • maddhruv
    • cleartax