• Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    JavaScript
  • Created over 9 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ’’πŸ” breaking change detection

cracks

Build Status

This module can automatically detect breaking changes by running the test suite of your last-release against the current codebase. That shouldn't fail.

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 :)

Install

npm install --save-dev cracks

Configuration

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"]

silent: Whether to output the results of npm test. It will always output the results when a breaking change was detected. Default: true

The test command is currently hard coded as npm test, but will be configurable in the future.

Usage

As a semantic-release plugin

Add a "verifyRelease" plugin to the "release" field in your "package.json".

"release": {
  "verifyRelease": "cracks"
}

Passing options:

"release": {
  "verifyRelease": {
    "path": "cracks",
    "paths": ["tests", "package.json"],
    "silent": true
  }
}

CLI

Usage:
  cracks <options>
Options:
  -p, --paths  <paths>  Overwrite checkout paths
  -s, --silent          Suppress 'npm test' output
  -v, --version         Output the current version
  -h, --help            Output this help info

Licence

The MIT License (MIT)

Copyright Β© 2015 Christoph Witzko

More Repositories

1

semantic-release

πŸ“¦πŸš€ Fully automated version management and package publishing
JavaScript
18,874
star
2

github

:octocat: semantic-release plugin to publish a GitHub release and comment on released Pull Requests/Issues
JavaScript
401
star
3

commit-analyzer

πŸ’‘ semantic-release plugin to analyze commits with conventional-changelog
JavaScript
361
star
4

cli

πŸ†‘πŸ“ Setup automated semver compliant package publishing
JavaScript
359
star
5

release-notes-generator

πŸ“‹ semantic-release plugin to generate changelog content with conventional-changelog
JavaScript
306
star
6

changelog

πŸ“˜ semantic-release plugin to create or update a changelog file
JavaScript
253
star
7

git

πŸ”€ semantic-release plugin to commit release assets to the project's git repository
JavaScript
252
star
8

npm

🚒 semantic-release plugin to publish a npm package
JavaScript
242
star
9

gitlab

🦊 semantic-release plugin to publish a GitLab release
JavaScript
233
star
10

env-ci

Get environment variables exposed by CI services
JavaScript
228
star
11

gitlab-config

🦊 Semantic-release shareable config for GitLab
JavaScript
39
star
12

travis-deploy-once

🚫Test multiple node versions on Travis. Deploy once. If all of them pass.
JavaScript
34
star
13

issue-parser

Parser for Github, GitLab and Bitbucket issues actions, references and mentions
JavaScript
22
star
14

release-notes-generator-v3

β›” This repository has been archived
JavaScript
11
star
15

twitter-together

Submit tweets for https://twitter.com/SemanticRelease using pull requests
11
star
16

condition-travis

🚫 semantic-release plugin to check Travis CI environment before publishing.
JavaScript
9
star
17

error

πŸ’₯ πŸ’¬ errors but with error code
JavaScript
9
star
18

evolution

Proposals for changes to semantic-release
8
star
19

apm-config

:atom: semantic-release shareable config to publish Atom packages with apm
JavaScript
7
star
20

wordpress

🐢 Semantic Release plugin for packaging up WordPress plugins / themes
TypeScript
7
star
21

commit-analyzer-v2

🚫 This repository has been archived
JavaScript
4
star
22

npm-registry-docker

🚒 CouchDB Docker image running npm-registry-couchapp
Shell
3
star
23

.github

Common configuration for the semantic-release organization
3
star
24

last-release-git-tag

🚫 Determine the version of the last release with git tags
JavaScript
2
star
25

last-release-npm

🚫 determine the version of the last release via the npm registry
JavaScript
2
star
26

condition-codeship

🚫 make sure the right builds on codeship get published
JavaScript
1
star
27

condition-nsp

JavaScript
1
star
28

semantic-release.github.io

Project Website
CSS
1
star
29

welcome

πŸ“¦πŸ€— Welcome to the semantic-release community
1
star