{"id":19860870,"url":"https://github.com/semantic-release/cracks","last_synced_at":"2025-10-26T20:52:54.748Z","repository":{"id":31863184,"uuid":"35431069","full_name":"semantic-release/cracks","owner":"semantic-release","description":":anger::mag: breaking change detection","archived":false,"fork":false,"pushed_at":"2024-01-02T08:20:08.000Z","size":18,"stargazers_count":113,"open_issues_count":4,"forks_count":9,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-13T16:33:23.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/cracks","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/semantic-release.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-05-11T15:03:32.000Z","updated_at":"2024-02-21T13:30:22.000Z","dependencies_parsed_at":"2024-01-07T00:06:15.923Z","dependency_job_id":"4ea60bdc-e1b9-4aea-8e31-cc2b525709d4","html_url":"https://github.com/semantic-release/cracks","commit_stats":{"total_commits":34,"total_committers":4,"mean_commits":8.5,"dds":0.3529411764705882,"last_synced_commit":"d65e200394f1a5234fec8cafc2906758473685d9"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semantic-release%2Fcracks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semantic-release%2Fcracks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semantic-release%2Fcracks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semantic-release%2Fcracks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semantic-release","download_url":"https://codeload.github.com/semantic-release/cracks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332499,"owners_count":20921851,"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":[],"created_at":"2024-11-12T15:07:25.469Z","updated_at":"2025-10-26T20:52:49.710Z","avatar_url":"https://github.com/semantic-release.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cracks\n[![Build Status](https://travis-ci.org/semantic-release/cracks.svg)](https://travis-ci.org/semantic-release/cracks)\n\n\u003e This module can automatically detect breaking changes by running the\ntest suite of your last-release against the current codebase. That shouldn't fail.\n\n_Note:_ This is under the assumption you're testing the API of your module rather than implementation details. Of course this is hard sometimes and you might get false positives. Better safe than sorry :)\n\n## Install\n\n```bash\nnpm install --save-dev cracks\n```\n\n## Configuration\n\n**paths**: An array of paths (files/directories) that will be checked out from the last release to restore your test suite. Note that you should add \"package.json\", because it will install old \"devDependencies\" as well. Default: `[\"tests\", \"package.json\"]`\n\n**silent**: Whether to output the results of `npm test`. It will always output the results when a breaking change was detected. Default: `true`\n\nThe test command is currently hard coded as `npm test`, but will be configurable in the future.\n\n## Usage\n\n### As a [`semantic-release`](https://github.com/semantic-release/semantic-release) plugin\n\nAdd a \"verifyRelease\" plugin to the \"release\" field in your \"package.json\".\n\n```json\n\"release\": {\n  \"verifyRelease\": \"cracks\"\n}\n```\n\nPassing options:\n\n```json\n\"release\": {\n  \"verifyRelease\": {\n    \"path\": \"cracks\",\n    \"paths\": [\"tests\", \"package.json\"],\n    \"silent\": true\n  }\n}\n```\n\n### CLI\n\n```\nUsage:\n  cracks \u003coptions\u003e\nOptions:\n  -p, --paths  \u003cpaths\u003e  Overwrite checkout paths\n  -s, --silent          Suppress 'npm test' output\n  -v, --version         Output the current version\n  -h, --help            Output this help info\n```\n\n## Licence\n\nThe [MIT License (MIT)](http://opensource.org/licenses/MIT)\n\nCopyright © 2015 [Christoph Witzko](https://twitter.com/christophwitzko)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemantic-release%2Fcracks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemantic-release%2Fcracks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemantic-release%2Fcracks/lists"}