{"_id":"@davidwells/lerna-smart-run","_rev":"6-f6ab200a0142f3a3a44d9b945fb0dd71","name":"@davidwells/lerna-smart-run","dist-tags":{"latest":"1.0.1"},"versions":{"0.5.0":{"name":"@davidwells/lerna-smart-run","version":"0.5.0","keywords":["lerna"],"author":{"name":"Alex Drozd","email":"adrozd@purple-technology.com"},"license":"MIT","_id":"@davidwells/lerna-smart-run@0.5.0","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"homepage":"https://github.com/purple-technology/lerna-smart-run#readme","bugs":{"url":"https://github.com/purple-technology/lerna-smart-run/issues"},"bin":{"lernarun":"./src/index.js"},"dist":{"shasum":"188b40c2b08ce3f515b6022c684348cf7ff84ab9","tarball":"https://registry.npmjs.org/@davidwells/lerna-smart-run/-/lerna-smart-run-0.5.0.tgz","fileCount":9,"integrity":"sha512-0KxDkykqyAycfOa3TPABqH3ttrrGrW0F74KwvEoiRznu8Zlbl7m6cBdOmz2GcuvAC83Vh5pp3Zy8w19WDXkIPQ==","signatures":[{"sig":"MEYCIQCXBDhC6aqsTjCzILy2yZRs5UtUZyydbLgJrIN9FV78+gIhAIBgft/sfqzidGqeSXINKazlY60F2MEleHUl7daJCrOC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf49rFCRA9TVsSAnZWagAA488QAICjxKga1zw97WBArjOm\nMFXUF70iZeJd3i/2dGJqdo97dvsDJMOAg5UfE+RnGqKPyznxVHHWPTL7fY0t\n9iPR2HArcdbpSVK2XhxLdA8h2tSxwZ8hNhIlo+Q92r3BzlhrzklJ0zeBxjnv\n8INBop/B47LNz0ecxZ1LAt8QDq8dnfg1Vish8jkD6Ua8KCwIBYZHE/6+jiL/\nqq8maqXIr+BjRCGK77/5f7XW4FpKJ8pkgOYmgPRtMQVjFMAZp9Yef+MFatw5\nTKPfEtZ/0gbkw0lLsbD6aKiv93TDAni/z4SsWZjhqWsepn3XPHZOPewg98SV\n5zQ6Qy4D/l4xBZ9wizwxuH+YcpjF95YhgyXt3ikrzVNYqM539TXuBpY1tB0X\nkZQsq8VtbbD6+E7tQtQEIt12MpZ8QzgfD0AgQ3hxkdNWj77V8qoLX6xggc9N\nRdwMzWeVbDF0V+zGiLe1uvMK6A89b0aWEcZiUPbcLi3ClKnXQlHdb54xcHoW\ntPJusZ/7rbh0OK4cITN0m1BXb8TPacOVzZJxNJyM8PGYGw2xzuhipFRGHYFS\nJ92Bq4xhgXsBeaZ9nSLAPC2BhbeZ6+6UadhoqCLpUJfe5m+ZFZmFzu+BjJ8l\njVD+SGUQFCiumaVw8fTyUIybzGViv6Gev6CDz2kaDapn7Q0pe2M6ga7Vf8fa\nIfkO\r\n=Nmbn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"568e1d37768d5c8b79909153d4b0c2942caa4e21","scripts":{"test":"jest --coverage --forceExit --runInBand --detectOpenHandles","version":"","postversion":"git push && git push --tags && npm publish --access public"},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"repository":{"url":"git+https://github.com/purple-technology/lerna-smart-run.git","type":"git"},"_npmVersion":"6.10.0","description":"Lerna add-on for only running npm scripts for packages changed. Fork of @purple/lerna-smart-run","directories":{},"_nodeVersion":"12.7.0","dependencies":{"lerna":"^3.22.1","yargs":"^16.0.3","multimatch":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3"},"_npmOperationalInternal":{"tmp":"tmp/lerna-smart-run_0.5.0_1608768197099_0.7557850060153719","host":"s3://npm-registry-packages"}},"0.5.1":{"name":"@davidwells/lerna-smart-run","version":"0.5.1","keywords":["lerna"],"author":{"name":"Alex Drozd","email":"adrozd@purple-technology.com"},"license":"MIT","_id":"@davidwells/lerna-smart-run@0.5.1","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"homepage":"https://github.com/purple-technology/lerna-smart-run#readme","bugs":{"url":"https://github.com/purple-technology/lerna-smart-run/issues"},"bin":{"lernarun":"./src/index.js","lerna-run-changed":"./src/index.js"},"dist":{"shasum":"c4558a242460795640c7c7a49e8189bd9db3448f","tarball":"https://registry.npmjs.org/@davidwells/lerna-smart-run/-/lerna-smart-run-0.5.1.tgz","fileCount":9,"integrity":"sha512-kbBzWWB59OboXRxfCXQpo9vojB3EsyetPNwwTp10Fj0F5BIdtYUCmjM/9TSqYRNQoUWOQhaM9DIDJtVtdvnBOA==","signatures":[{"sig":"MEYCIQC6q7uyko5zJaUlbcJi0O8z3kIokaWg6n++vAprjVFMDAIhALu3DXuhG/xKt6rWUKuWkvxw7h9HDmAjYOqdkYN1k/id","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf49y4CRA9TVsSAnZWagAAakYP/iM7a5wcMuw2iYv3+epl\nqQRItldsphQ1xf9WGTvV4vl1adbN0tGCrONR2I8wrTSIT5/4d8a6KFZn+7MM\n3O2rhNZmjF3qKRpiJZhHi9A69sSmD/cTQt2hyti86yC+gY84Lo10A9hJh7RK\ndQnuxxtoY5l/gpqk774SUPvO8V8+1cOmK7w6EtJokw611tcoR2vq+YKZK6eO\nMgUWgY+vLq7GsiD1mFO2McITokNbaMQFqCVeeXnRA2RDURS2jXy+U1qGJaG0\nJ37WFh4TI8sR35LH48YXU2AWy7KIQ7jHPQ8WbCv0UOPV6DQBriAWaoL2fypf\nXM3mUQi8aLpQ5c2q9YMKJjccziMVbVxDTFS4mpl0iIM1pvRsj4mRzUItUsqC\noDMnlajkLp6CeXBflz+b5E1YXPXRIzyQpxZAtd/FjTbIU1wBm9tpTKEapSRi\nJaSCJrAwxTKJLv/5eyYS6mIjzbONKzQceeScXv/+Wh7CBZVyjdgpRrTL+2wY\nNdwQhNCTk8F6kh1hS7KMvqwMsFNe/MVjowSp2df6JGOqA4E0/Hl0a6iC1sxI\nZbOsPXTA+0dNPVsnEgkbIVYtF3HIjWmG3PF+bAItSDr/HNu1ifujQm9cYhdV\npiciAmZUdYTR3TEJOSKn35ynyjyfQC7QNhObBSKV2JEGNENQ2cnfwerbiCiV\n5VGB\r\n=Vq5y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"0f9053e95d0e30f59102663a21a1e267bd4e6c0f","scripts":{"test":"jest --coverage --forceExit --runInBand --detectOpenHandles","version":"","postversion":"git push && git push --tags && npm publish --access public"},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"repository":{"url":"git+https://github.com/purple-technology/lerna-smart-run.git","type":"git"},"_npmVersion":"6.10.0","description":"Lerna add-on for only running npm scripts for packages changed. Fork of @purple/lerna-smart-run","directories":{},"_nodeVersion":"12.7.0","dependencies":{"lerna":"^3.22.1","yargs":"^16.0.3","multimatch":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3"},"_npmOperationalInternal":{"tmp":"tmp/lerna-smart-run_0.5.1_1608768696440_0.9799950693112955","host":"s3://npm-registry-packages"}},"0.5.2":{"name":"@davidwells/lerna-smart-run","version":"0.5.2","keywords":["lerna"],"author":{"name":"Alex Drozd","email":"adrozd@purple-technology.com"},"license":"MIT","_id":"@davidwells/lerna-smart-run@0.5.2","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"homepage":"https://github.com/purple-technology/lerna-smart-run#readme","bugs":{"url":"https://github.com/purple-technology/lerna-smart-run/issues"},"bin":{"lernarun":"./src/index.js","lerna-run-changed":"./src/index.js"},"dist":{"shasum":"abbc9d6bfb7124d0aefadc119f59c032e8309232","tarball":"https://registry.npmjs.org/@davidwells/lerna-smart-run/-/lerna-smart-run-0.5.2.tgz","fileCount":9,"integrity":"sha512-3uJvY8A/syLNnjcBESLSwvai8mzUHTs+XqF5KRJA8OA0tVJgP8kicmYBkWJeyTZK9EnyZ0aCld5ca2qhwj7pBg==","signatures":[{"sig":"MEQCIEcTTDf2zSKiKYzyGs/Xm/eclO6gyBjevDkJHynUfDA6AiBy+XETieZotZ65/6UB+bgic8wUAvpKXpadHz7spQxHig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf49zXCRA9TVsSAnZWagAAhkoQAITBiIim/96k9KtWQhju\nHa6EktBJOFqJagrClM8TqZlZUrSBZjGWj6e+TYU1tmkXuvxovuDLbYRMkvkL\nrsRYOa0hf0CKW/FaV4l38TQKDmdgLoIZao+PMRV+1OA770/JeMPsVdxr80j1\nRomFhsFpiupBzQ0v3iZy16noY6ZqQzlrjlqyshO19IQWTRKAtItz83wMn1Kw\ne3zcF4919bpihgdA2pWtkgKGAvxOargxL8lqCcLv2b9gAJ7IIkKUVkbk912b\ntk42EwSr33o4Wxjk+J7HUImicvqluLvYHhQspHmaMUKWxhy0L/HOfgYJR6Ey\nKVQ0P+N7H4KowQtS2DX48sdj7pj7EFLUcAvOxgorchHtgjlXEJ4beS4/eUve\nnKZqVz/j3mrOxOGHgypCQ8OwJz/0C1ZHvC/kXtr+/nQDQFB5HF26n/ZrO3fk\nqd3bb0f5yO+GeOY1YvNnzSfn7ObSfNtxChgf/RS6MZoOh8chqSrWPphvkeYS\nTq5K48a0xwxOIksw/5h9eK8qmEC2Yd/JhRA//sAf1RIdSBf9vh3gatPlwIxW\nkA9GgnlBlkUAH4xjpvpZKeQmUuRTHu/n4FMdagKarlphTFqFb9RYrZK/3HYD\n5yXs53pKtvpc7N8DaZsIC5rsRI97kxzPmaoSs2SRBsoIuzzxasNCg3Gy5otz\nc38E\r\n=uhXP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"9368f845d57468936009f7992f1738adcbbf4b56","scripts":{"test":"jest --coverage --forceExit --runInBand --detectOpenHandles","version":"","postversion":"git push && git push --tags && npm publish --access public"},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"repository":{"url":"git+https://github.com/purple-technology/lerna-smart-run.git","type":"git"},"_npmVersion":"6.10.0","description":"Lerna add-on for only running npm scripts for packages changed. Fork of @purple/lerna-smart-run","directories":{},"_nodeVersion":"12.7.0","dependencies":{"lerna":"^3.22.1","yargs":"^16.0.3","multimatch":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3"},"_npmOperationalInternal":{"tmp":"tmp/lerna-smart-run_0.5.2_1608768727315_0.47083432053537866","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@davidwells/lerna-smart-run","version":"1.0.0","keywords":["lerna"],"_id":"@davidwells/lerna-smart-run@1.0.0","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"homepage":"https://github.com/purple-technology/lerna-smart-run#readme","bugs":{"url":"https://github.com/purple-technology/lerna-smart-run/issues"},"bin":{"lernarun":"src/cli.js","lerna-run":"src/cli.js","lerna-run-changed":"src/cli.js"},"dist":{"shasum":"5d58949c0f5601794b23d216b0e0285f624de666","tarball":"https://registry.npmjs.org/@davidwells/lerna-smart-run/-/lerna-smart-run-1.0.0.tgz","fileCount":7,"integrity":"sha512-nMjM2Xc3qbVNSQx82cCPEOD7NnSX6OkAZIJxzTy8i1KMxHayqUsif6Qu8KDB0mg85Q7G9AL+VCoqHRmV2FPXlQ==","signatures":[{"sig":"MEUCIQD8+n4v+wBEIQ7A/tv99KdmcpagCnBeM2DFeMxe5wPgigIgKKOg8xy1SiyhRAcBFUlJFXZI4WIloXUHzff4SH/f+8c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22408},"main":"src/index.js","gitHead":"a1b70809b84f90ed177c52592a11e2ee2bd00552","scripts":{"test":"uvu tests","postpublish":"git push origin && git push origin --tags","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish"},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"repository":{"url":"git+https://github.com/purple-technology/lerna-smart-run.git","type":"git"},"_npmVersion":"10.9.0","description":"Lerna add-on for only running npm scripts for packages changed since previous branch-based tag","directories":{},"_nodeVersion":"22.11.0","dependencies":{"lerna":"^9.0.0","yargs":"^16.0.3","multimatch":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6"},"_npmOperationalInternal":{"tmp":"tmp/lerna-smart-run_1.0.0_1762216430627_0.4241984770832059","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@davidwells/lerna-smart-run","version":"1.0.1","description":"Lerna add-on for only running npm scripts for packages changed since previous branch-based tag","main":"src/index.js","scripts":{"test":"uvu tests","postpublish":"git push origin && git push origin --tags","release:patch":"npm version patch && npm publish","release:minor":"npm version minor && npm publish","release:major":"npm version major && npm publish"},"bin":{"lernarun":"src/cli.js","lerna-run":"src/cli.js","lerna-run-changed":"src/cli.js"},"repository":{"type":"git","url":"git+https://github.com/purple-technology/lerna-smart-run.git"},"keywords":["lerna"],"dependencies":{"lerna":"^9.0.0","multimatch":"^5.0.0","yargs":"^16.0.3"},"devDependencies":{"uvu":"^0.5.6"},"_id":"@davidwells/lerna-smart-run@1.0.1","gitHead":"698ff82c75a66306b4eaf0658cc0df499cd6776c","bugs":{"url":"https://github.com/purple-technology/lerna-smart-run/issues"},"homepage":"https://github.com/purple-technology/lerna-smart-run#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-1U+VeaV6amakfe2hlM0cLqR0FuAhai02qA+yfXPoSaBc+S4wZFu63L353wfoZZZRR9HB2hH8k+PPBSGwSguC0Q==","shasum":"1da4905b78878c1014a3e9057fca1558b286112d","tarball":"https://registry.npmjs.org/@davidwells/lerna-smart-run/-/lerna-smart-run-1.0.1.tgz","fileCount":7,"unpackedSize":22391,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHTSOGxDks9rQdk+l5Bkra9nFrwTbDj+CrWOqxn5rn3oAiBdiXkZ/sRGlxx0DbAgZR6KMUfSTMnK7sJoTUbCl+7icg=="}]},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"directories":{},"maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lerna-smart-run_1.0.1_1762216676372_0.10150599730550192"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-24T00:03:17.098Z","modified":"2025-11-04T00:37:56.764Z","0.5.0":"2020-12-24T00:03:17.247Z","0.5.1":"2020-12-24T00:11:36.529Z","0.5.2":"2020-12-24T00:12:07.433Z","1.0.0":"2025-11-04T00:33:50.842Z","1.0.1":"2025-11-04T00:37:56.555Z"},"bugs":{"url":"https://github.com/purple-technology/lerna-smart-run/issues"},"homepage":"https://github.com/purple-technology/lerna-smart-run#readme","keywords":["lerna"],"repository":{"type":"git","url":"git+https://github.com/purple-technology/lerna-smart-run.git"},"description":"Lerna add-on for only running npm scripts for packages changed since previous branch-based tag","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"readme":"# lerna-smart-run\n\nFork of: [https://blog.purple-technology.com/make-your-lerna-smarter/](https://blog.purple-technology.com/make-your-lerna-smarter/). Updated for lerna v9 +\n\nLerna add-on for only running npm scripts for packages changed since previous tag\n\n# Background\n\nThis package is a glorified wrapper around ordinary `lerna run <script>` commands,\nbut it implements a system to control the order of execution and an automated, opinionated\ntagging system (based on git branches) that takes advantage of lerna's `--since` option.\n\nThis package is intended for use in CI and CD pipelines, especially where sequential\ndeploys are necessary, i.e., where one serverless resource needs to be deployed\nbefore the rest.\n\n# Usage\n\nInvoke with `lerna-run <npm script>`, where `<npm script>` is a script from the\n`scripts` section of the `package.json` of one of your lerna packages.\n\nExample:\n\n```\nlerna-run test\n```\n\n## Optional arguments\n\nPass `--tagOnSuccess` to generate a tag from the successful execution of the smart run.\nThis tag will be used on the following execution.\n\nPass `--deleteTagOnSuccess` to delete the previous tag on the successful execution of\nthe smart run. If there was no previous tag this has no effect.\n\nPass `--runFirst` to run a package's script before any others. If multiple packages are passed\nto this option, they're run in sequence as well. Supports glob patterns.\n\nPass `--runLast` to run a package's script after any others. If multiple packages are passed\nto this option, they're run in sequence as well. Supports glob patterns.\n\nPass `--scope` if you want to run the command for a package even if it hasn't changed, but one of its\ndependencies has.\n\nPass `--ignore` if you want to ignore a package, but you still want to run the command for\nany of its dependents if they've changed.\n\n## Special arguments\n\nIf `--deleteTag` is passed, this simply looks for the most recent tag generated by this\npackage and deletes it. After which the script exists. Example:\n\n```\nlerna-run --deleteTag\n```\n\n# Disclaimer\n\nThis package is in an early, experimental stage, and is likely to change dramatically\nbetween different versions.\n","readmeFilename":"README.md"}