{"name":"npm-merge-driver","version":"2.3.6","keywords":["npm","lockfiles","package-lock.json","npm-shrinkwrap.json","shrinkwrap","pkglock","git","merge","driver","conflict","merge conflict","resolve conflict","automerge","autoresolve"],"author":{"name":"Kat Marchán","email":"kzm@sykosomatic.org"},"license":"ISC","_id":"npm-merge-driver@2.3.6","maintainers":[{"name":"adam_baldwin","email":"evilpacket@gmail.com"},{"name":"claudiahdz","email":"cghr1990@gmail.com"},{"name":"darcyclarke","email":"darcy@darcyclarke.me"},{"name":"isaacs","email":"i@izs.me"},{"name":"ruyadorno","email":"ruyadorno@hotmail.com"}],"homepage":"https://github.com/npm/npm-merge-driver#readme","bugs":{"url":"https://github.com/npm/npm-merge-driver/issues"},"bin":{"npm-merge-driver":"index.js"},"man":["./npm-merge-driver.1"],"dist":{"shasum":"df7c971271a0baef567710d381f6025c6bdecf89","tarball":"http://registry-npm.ywwl.com/npm-merge-driver/download/npm-merge-driver-2.3.6.tgz","fileCount":304,"integrity":"sha512-uPjCEWZ93f379zw0AMEgFtZIlpSSnpXc8BEIcs8yYHEZs5Y3d85OZHisLjNhjbYnbdAznxTq+VbyBWAQZDEm9w==","signatures":[{"sig":"MEQCIBNBcIrjntAcanTv36M7RYDUhWPcd/7xQK0V0w7EIrRpAiAmpReXmJbYWzFwjacvM2eUFNmrAU7n5KiuKLRxp9Yr+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":636943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee/QnCRA9TVsSAnZWagAADPcP/R+BV1M5/6j6580BiWMi\nbXm6MuPw2HMpz03g6JdmwQX3QcD2fmlXrEsJfSusrg3HX4PSgGd/fTLsalvQ\nWHkemOVyCAwvLkOkzq2pLzCEOsd4QhtgrSdIhvnqcX1R1doRCZ05Fn7iptv5\nPbsaWLQwfzf/unDXmEaUwQiuwEr5155hkzyYvpWUlXJUIzKCPEWZTek5uhNt\nnNCGDSOMpXxMEJDxG7RY6lv8YUZhOJLSZQWPtwvFNqEk1YVnbc+fOGhsByzV\noltCszb5C5FKSgLBEsFRk/UMLCAjZzIfCV4/CY3F7SgZLhjHQTwprdNcLNHl\n+wnUMoQzwiLYD2ta+o4lv2mU7Pfv+Bott6e8mJ5vZyZSOGGdt+rMC0TTzpQQ\n/aAqS1Y+y8JDYtw3K+ew3mVp2Z9Emd0tGxYA0rEW1r5lgSqVYO/nRleFkCah\nZqgLxsu4aLCVdqvUXHlquJBxzW2ZO4+Vzb604hg9zJjfZCB8AXKv3shTKjvy\nQUZPNjnPumJ3HNO8fbaIrCL9W8T1YBKpdk8xn5QD4TFSKRmbG7/TaE/n+Yqd\nR11sS2rQCk1j2Uf9ldZYjQ2zFcxffpPBNQJY12A0Q50gplCvQz3IUErcy6ZM\nvvpjwxevqb4RI3VwoeDYJei33e53GjYs8cxC9uSqecigpfRD3nPc+Raqdp5W\nj/Zn\r\n=HJju\r\n-----END PGP SIGNATURE-----\r\n","size":162256,"noattachment":false,"key":"/npm-merge-driver/-/npm-merge-driver-2.3.6.tgz"},"main":"index.js","config":{"nyc":{"exclude":["node_modules/**","test/**"]}},"gitHead":"1fe0ad4c0cf7c5e8493742083aa28c68d9f21615","scripts":{"docs":"tail -n +2 README.md | marked-man --manual 'User Commands' --version \"$npm_package_name@$npm_package_version\" > npm-merge-driver.1","test":"tap -J --coverage test/*.js","pretest":"standard","release":"standard-version -s","precommit":"lint-staged","prerelease":"npm t","postrelease":"npm publish && git push --follow-tags"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"repository":{"url":"git+https://github.com/npm/npm-merge-driver.git","type":"git"},"_npmVersion":"6.14.4","description":"git merge driver for automatically merging lockfiles","directories":{},"lint-staged":{"*.js":["prettier-standard","git add"]},"_nodeVersion":"13.10.1","dependencies":{"yargs":"^10.0.3","mkdirp":"^0.5.1"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^11.3.0","tap":"^11.0.0","husky":"^0.14.3","standard":"^10.0.3","marked-man":"^0.2.1","lint-staged":"^6.0.0","standard-version":"^4.1.0","prettier-standard":"^7.0.3"},"bundleDependencies":["yargs","mkdirp"],"_npmOperationalInternal":{"tmp":"tmp/npm-merge-driver_2.3.6_1585181734759_0.27835631206270905","host":"s3://npm-registry-packages"},"readme":"[![npm](https://img.shields.io/npm/v/npm-merge-driver.svg)](https://npm.im/npm-merge-driver) [![license](https://img.shields.io/npm/l/npm-merge-driver.svg)](https://npm.im/npm-merge-driver) [![Travis](https://img.shields.io/travis/npm/npm-merge-driver.svg)](https://travis-ci.org/npm/npm-merge-driver) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/npm/npm-merge-driver?svg=true)](https://ci.appveyor.com/project/npm/npm-merge-driver) [![Coverage Status](https://coveralls.io/repos/github/npm/npm-merge-driver/badge.svg?branch=latest)](https://coveralls.io/github/npm/npm-merge-driver?branch=latest)\n\n# npm-merge-driver(1) -- git merge driver for automatic merging of lockfiles\n\n### Automatic Setup (recommended):\n\nTo start using it right away:\n\n```\n$ npx npm-merge-driver install --global\n```\n\n**Or** install it locally, per-project:\n```\n$ cd /path/to/git/repository\n$ npx npm-merge-driver install\n```\n\n...And you're good to go!\n\nNext time your lockfile has a conflict, it will be automatically fixed. You\ndon't need to do anything else.\n\n### Example\n\n```\n$ npx npm-merge-driver install\n$ git merge my-conflicting-branch\nnpm WARN conflict A git conflict was detected in package-lock.json. Attempting to auto-resolve.\n\nadded 1 package in 0.077s\nAuto-merging package-lock.json\nMerge made by the 'recursive' strategy.\n package-lock.json | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)\n$ git status\n<clean>\n```\n\n### Advanced\n\nThe following section is only for advanced configuration of the driver if you\nhave specific needs.\n\n#### Setup Options\n\n`npm-merge-driver install` supports a couple of config options:\n\n`--driver` - string to install as the driver in the git configuration\n\n`--driver-name` - string to use as the merge driver name in your configuration\n\n`--files` - list of files that will trigger this driver\n\n`--no-legacy` - disables retrying legacy commands on error\n\n#### Merge Options\n\n`npm-merge-driver merge` can also be configured:\n\n`-c, --command` - command to execute when a lockfile is conflicted\n\n`--no-legacy` - disables retrying legacy commands on error\n\n#### Install as Dependency\n\nTo avoid regular `npx` installs, consider installing the driver:\n\n`$ npm install [-g|--save-dev] npm-merge-driver`\n\n#### Manual Setup (advanced):\n\n`npm-merge-driver` requires two git configurations to work: a git configuration\nto add the driver to git, which is by default your local `.git/config` file, and\na `gitattributes(5)` configuration, which is by default your local\n`.git/info/attributes`.\n\nIf you **do not** want `npm-merge-driver` to install itself for you:\n\nAdd the driver to `.git/config`:\n```\n$ git config merge.\"npm-merge-driver\".name \\\n    \"Automatically merge npm lockfiles\"\n$ git config merge.\"npm-merge-driver\".driver \\\n    \"npx npm-merge-driver merge %A %O %B %P\"\n```\n\nAdd the relevant attributes to `.gitattributes` or `.git/info/attributes`:\n```\npackage-lock.json merge=npm-merge-driver\nnpm-shrinkwrap.json merge=npm-merge-driver\n```\n\n#### Using with other package managers\n\n`npm-merge-driver` can be used with package managers other than npm! It's a bit\nmore verbose, but works just as well, assuming the package manager has a command\nthat can automatically resolve merge conflicts in its lockfile:\n\n```\n$ npx npm-merge-driver install \\\n    --driver-name yarn-merge-driver \\\n    --driver \"npx npm-merge-driver merge %A %O %B %P -c yarn\" \\\n    --files yarn.lock\n```\n\n...and now, any time `yarn.lock` has a conflict, it will be automatically\nresolved without you having to manually run `yarn`.\n\n#### Uninstalling\n\nTo remove an installed merge driver, use `npm-merge-driver uninstall`:\n\n```\n$ npx npm-merge-driver uninstall [--global] [--driver-name=npm-merge-driver]\n```\n\n## AUTHOR\n\nWritten by [Kat Marchan](https://github.com/zkat)\n\n## REPORTING BUGS\n\nPlease file any relevant issues [on Github.](https://github.com/npm/npm-merge-driver)\n\n## LICENSE\n\nThis work is released under the terms of the ISC license. See `LICENSE.md` for details.\n\n## SEE ALSO\n\n* `git-config(1)`\n* `gitattributes(5)`\n","publish_time":1585181735030,"_cnpm_publish_time":1585181735030,"dist-tags":{"latest":"2.3.6"}}