@semantic-release/commit-analyzer
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -24,3 +24,3 @@ const {isMatchWith, isRegExp, omit} = require('lodash'); | ||
(obj, src) => | ||
/^\/.*\/$/.test(src) || isRegExp(src) ? new RegExp(/^\/.*\/$/.exec(src)[1]).test(obj) : undefined | ||
/^\/.*\/$/.test(src) || isRegExp(src) ? new RegExp(/^\/(.*)\/$/.exec(src)[1]).test(obj) : undefined | ||
) | ||
@@ -27,0 +27,0 @@ ) |
109
package.json
@@ -1,1 +0,108 @@ | ||
{"name":"@semantic-release/commit-analyzer","description":"Customizable commit-analyzer plugin for semantic-release","version":"5.0.0","author":"Pierre Vanduynslager (https://twitter.com/@pvdlg_)","bugs":{"url":"https://github.com/semantic-release/commit-analyzer/issues"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"contributors":["Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)","Gregor Martynus (https://twitter.com/gr2m)"],"dependencies":{"conventional-changelog-angular":"^1.4.0","conventional-commits-parser":"^2.0.0","debug":"^3.1.0","import-from":"^2.1.0","lodash":"^4.17.4"},"devDependencies":{"ava":"^0.23.0","codecov":"^3.0.0","commitizen":"^2.9.6","conventional-changelog-atom":"^0.1.1","conventional-changelog-ember":"^0.2.6","conventional-changelog-eslint":"^0.2.0","conventional-changelog-express":"^0.2.0","conventional-changelog-jshint":"^0.2.0","cz-conventional-changelog":"^2.0.0","eslint-config-prettier":"^2.3.0","eslint-plugin-prettier":"^2.3.0","nyc":"^11.1.0","prettier":"~1.8.2","rimraf":"^2.6.1","semantic-release":"^10.0.0","sinon":"^4.0.2","xo":"^0.18.2"},"engines":{"node":">=4"},"files":["lib","index.js"],"homepage":"https://github.com/semantic-release/commit-analyzer#readme","keywords":["changelog","commit-analyzer","conventional-changelog","conventional-commits","github","publish","release","semantic-release"],"license":"MIT","main":"index.js","nyc":{"include":["lib/**/*.js","index.js"],"reporter":["json","text","html"],"all":true},"prettier":{"printWidth":120,"singleQuote":true,"bracketSpacing":false,"trailingComma":"es5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/semantic-release/commit-analyzer.git"},"scripts":{"cm":"git-cz","codecov":"codecov -f coverage/coverage-final.json","lint":"xo","pretest":"npm run lint","semantic-release":"semantic-release","test":"nyc ava -v"},"xo":{"extends":["prettier"],"plugins":["prettier"],"rules":{"prettier/prettier":2}}} | ||
{ | ||
"name": "@semantic-release/commit-analyzer", | ||
"description": "Customizable commit-analyzer plugin for semantic-release", | ||
"version": "5.0.1", | ||
"author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)", | ||
"bugs": { | ||
"url": "https://github.com/semantic-release/commit-analyzer/issues" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "cz-conventional-changelog" | ||
} | ||
}, | ||
"contributors": [ | ||
"Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)", | ||
"Gregor Martynus (https://twitter.com/gr2m)" | ||
], | ||
"dependencies": { | ||
"conventional-changelog-angular": "^1.4.0", | ||
"conventional-commits-parser": "^2.0.0", | ||
"debug": "^3.1.0", | ||
"import-from": "^2.1.0", | ||
"lodash": "^4.17.4" | ||
}, | ||
"devDependencies": { | ||
"ava": "^0.24.0", | ||
"codecov": "^3.0.0", | ||
"commitizen": "^2.9.6", | ||
"conventional-changelog-atom": "^0.2.0", | ||
"conventional-changelog-ember": "^0.3.0", | ||
"conventional-changelog-eslint": "^0.3.0", | ||
"conventional-changelog-express": "^0.3.0", | ||
"conventional-changelog-jshint": "^0.3.0", | ||
"cz-conventional-changelog": "^2.0.0", | ||
"eslint-config-prettier": "^2.3.0", | ||
"eslint-plugin-prettier": "^2.3.0", | ||
"nyc": "^11.1.0", | ||
"prettier": "~1.10.0", | ||
"rimraf": "^2.6.1", | ||
"semantic-release": "^12.2.2", | ||
"sinon": "^4.0.2", | ||
"xo": "^0.18.2" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"files": [ | ||
"lib", | ||
"index.js" | ||
], | ||
"homepage": "https://github.com/semantic-release/commit-analyzer#readme", | ||
"keywords": [ | ||
"changelog", | ||
"commit-analyzer", | ||
"conventional-changelog", | ||
"conventional-commits", | ||
"github", | ||
"publish", | ||
"release", | ||
"semantic-release" | ||
], | ||
"license": "MIT", | ||
"main": "index.js", | ||
"nyc": { | ||
"include": [ | ||
"lib/**/*.js", | ||
"index.js" | ||
], | ||
"reporter": [ | ||
"json", | ||
"text", | ||
"html" | ||
], | ||
"all": true | ||
}, | ||
"prettier": { | ||
"printWidth": 120, | ||
"singleQuote": true, | ||
"bracketSpacing": false, | ||
"trailingComma": "es5" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/semantic-release/commit-analyzer.git" | ||
}, | ||
"scripts": { | ||
"cm": "git-cz", | ||
"codecov": "codecov -f coverage/coverage-final.json", | ||
"lint": "xo", | ||
"pretest": "npm run lint", | ||
"semantic-release": "semantic-release", | ||
"test": "nyc ava -v" | ||
}, | ||
"xo": { | ||
"extends": [ | ||
"prettier" | ||
], | ||
"plugins": [ | ||
"prettier" | ||
], | ||
"rules": { | ||
"prettier/prettier": 2 | ||
} | ||
} | ||
} |
@@ -11,3 +11,3 @@ # **commit-analyzer** | ||
By default `commit-analyzer` uses the `angular` format described in [Angular convention](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-angular/convention.md) and the [default rules](lib/default/release-rules.js) for release. | ||
By default `commit-analyzer` uses the `angular` format described in [Angular convention](https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-angular/convention.md) and the [default rules](lib/default-release-rules.js) for release. | ||
@@ -45,3 +45,3 @@ Additional options can be set within the plugin definition in `package.json` to use a different commit format and to customize it: | ||
Release rules are used when deciding if the commits since the last release warrant a new release. If you define custom release rules the [default rules](lib/default/release-rules.js) will be used if nothing matched. | ||
Release rules are used when deciding if the commits since the last release warrant a new release. If you define custom release rules the [default rules](lib/default-release-rules.js) will be used if nothing matched. | ||
@@ -68,3 +68,3 @@ #### Rules definition | ||
See [release types](lib/default/release-types.js) for the release types hierarchy. | ||
See [release types](lib/default-release-types.js) for the release types hierarchy. | ||
@@ -78,3 +78,3 @@ With the previous example: | ||
If a commit doesn't match any rule in `releaseRules` it will be evaluated against the [default release rules](lib/default/release-rules.js). | ||
If a commit doesn't match any rule in `releaseRules` it will be evaluated against the [default release rules](lib/default-release-rules.js). | ||
@@ -89,3 +89,3 @@ With the previous example: | ||
If a commit doesn't match any rules in `releaseRules` or in [default release rules](lib/default/release-rules.js) then no release type will be associated with the commit. | ||
If a commit doesn't match any rules in `releaseRules` or in [default release rules](lib/default-release-rules.js) then no release type will be associated with the commit. | ||
@@ -128,6 +128,6 @@ With the previous example: | ||
* Commits with `tag` 'New' will be associated with a `patch` release. | ||
* Commits with `tag` 'Breaking' will be associated with a `major` release (per [default release rules](lib/default/release-rules.js)). | ||
* Commits with `tag` 'Fix' will be associated with a `patch` release (per [default release rules](lib/default/release-rules.js)). | ||
* Commits with `tag` 'Update' will be associated with a `minor` release (per [default release rules](lib/default/release-rules.js)). | ||
* Commits with `tag` 'New' will be associated with a `minor` release (per [default release rules](lib/default/release-rules.js)). | ||
* Commits with `tag` 'Breaking' will be associated with a `major` release (per [default release rules](lib/default-release-rules.js)). | ||
* Commits with `tag` 'Fix' will be associated with a `patch` release (per [default release rules](lib/default-release-rules.js)). | ||
* Commits with `tag` 'Update' will be associated with a `minor` release (per [default release rules](lib/default-release-rules.js)). | ||
* Commits with `tag` 'New' will be associated with a `minor` release (per [default release rules](lib/default-release-rules.js)). | ||
* All other commits will not be associated with a release type. | ||
@@ -134,0 +134,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22767