{"id":15552300,"url":"https://github.com/bahmutov/dont-crack","last_synced_at":"2025-09-28T23:31:20.823Z","repository":{"id":57215137,"uuid":"77019920","full_name":"bahmutov/dont-crack","owner":"bahmutov","description":"semantic-release plugin checking if the new semantic release is breaking dependent projects","archived":false,"fork":false,"pushed_at":"2019-11-06T17:18:37.000Z","size":10,"stargazers_count":14,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T20:50:29.256Z","etag":null,"topics":["plugin","release","semantic-release","semver","testing"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahmutov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-21T05:14:23.000Z","updated_at":"2019-04-22T15:24:39.000Z","dependencies_parsed_at":"2022-08-24T21:51:10.080Z","dependency_job_id":null,"html_url":"https://github.com/bahmutov/dont-crack","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fdont-crack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fdont-crack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fdont-crack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmutov%2Fdont-crack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahmutov","download_url":"https://codeload.github.com/bahmutov/dont-crack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234570361,"owners_count":18854155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plugin","release","semantic-release","semver","testing"],"created_at":"2024-10-02T14:15:05.795Z","updated_at":"2025-09-28T23:31:20.553Z","avatar_url":"https://github.com/bahmutov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dont-crack\n\n\u003e semantic-release plugin checking if the new semantic release is breaking dependent projects\n\n[![NPM][npm-icon] ][npm-url]\n\n[![Build status][ci-image] ][ci-url]\n[![semantic-release][semantic-image] ][semantic-url]\n[![js-standard-style][standard-image]][standard-url]\n\nThis is [semantic-release](https://github.com/semantic-release/semantic-release)\nplugin for the\n[verifyRelease](https://github.com/semantic-release/semantic-release#verifyrelease)\nstep.\n\nIt ensures that a minor or a patch update to your module does NOT break\nmodules that depend on it. A major version upgrade is allowed to break the\ndependent projects.\n\nUses [dont-break](https://github.com/bahmutov/dont-break) internally.\n\n## Configuration\n\nInstall NPM plugin `npm i -D dont-crack` (assuming you have\n`semantic-release` already installed).\n\nAdd the \"release\" configuration block to your \"package.json\" and list all the\nprojects (as github repos for now) which depend on your module and\nthat you don't want to break accidentally.\nFor example, if you want to test the new release against repos\n\"bahmutov/foo\" and \"bahmutov/bar\".\n\n```json\n{\n  \"release\": {\n    \"verifyRelease\": {\n      \"path\": \"dont-crack\",\n      \"test-against\": [\n        \"https://github.com/bahmutov/foo\",\n        \"https://github.com/bahmutov/bar\"\n      ]\n    }\n  }\n}\n```\n\nThat's it. If there is a new \"minor\" or \"patch\" semantic version determined\nfrom the commit log, it will be tested against these two repos. If their\ntests pass with the new dependency, the semantic release process will\ncontinue. If not, it will be aborted.\n\n## Debug\n\nIf something goes wrong, you can see the messages from this plugin by running\nwith `DEBUG=dont-crack ...` environment variable.\n\n### Small print\n\nAuthor: Gleb Bahmutov \u0026lt;gleb.bahmutov@gmail.com\u0026gt; \u0026copy; 2016\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](http://glebbahmutov.com)\n* [blog](http://glebbahmutov.com/blog)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/dont-crack/issues) on Github\n\n## MIT License\n\nCopyright (c) 2016 Gleb Bahmutov \u0026lt;gleb.bahmutov@gmail.com\u0026gt;\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\n[npm-icon]: https://nodei.co/npm/dont-crack.svg?downloads=true\n[npm-url]: https://npmjs.org/package/dont-crack\n[ci-image]: https://travis-ci.org/bahmutov/dont-crack.svg?branch=master\n[ci-url]: https://travis-ci.org/bahmutov/dont-crack\n[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-url]: https://github.com/semantic-release/semantic-release\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n[standard-url]: http://standardjs.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fdont-crack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahmutov%2Fdont-crack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmutov%2Fdont-crack/lists"}