Skip to content

Commit

Permalink
Merge branch 'release/7.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
marionebl committed May 24, 2019
2 parents 7a75626 + 9360084 commit 48c364c
Show file tree
Hide file tree
Showing 81 changed files with 895 additions and 2,437 deletions.
8 changes: 8 additions & 0 deletions @alias/commitlint-config-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)

**Note:** Version bump only for package commitlint-config-angular





<a name="7.5.0"></a>
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)

Expand Down
6 changes: 3 additions & 3 deletions @alias/commitlint-config-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "commitlint-config-angular",
"version": "7.5.0",
"version": "7.6.0",
"description": "Shareable commitlint config enforcing the angular commit convention",
"files": [
"index.js"
Expand Down Expand Up @@ -28,9 +28,9 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"dependencies": {
"@commitlint/config-angular": "^7.5.0"
"@commitlint/config-angular": "^7.6.0"
},
"devDependencies": {
"@commitlint/utils": "^7.5.0"
"@commitlint/utils": "^7.6.0"
}
}
8 changes: 8 additions & 0 deletions @alias/commitlint-config-lerna-scopes/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)

**Note:** Version bump only for package commitlint-config-lerna-scopes





## [7.5.1](https://github.com/conventional-changelog/commitlint/compare/v7.5.0...v7.5.1) (2019-02-09)

**Note:** Version bump only for package commitlint-config-lerna-scopes
Expand Down
6 changes: 3 additions & 3 deletions @alias/commitlint-config-lerna-scopes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "commitlint-config-lerna-scopes",
"version": "7.5.1",
"version": "7.6.0",
"description": "Shareable commitlint config enforcing lerna package names as scopes",
"files": [
"index.js"
Expand Down Expand Up @@ -28,9 +28,9 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"dependencies": {
"@commitlint/config-lerna-scopes": "^7.5.1"
"@commitlint/config-lerna-scopes": "^7.6.0"
},
"devDependencies": {
"@commitlint/utils": "^7.5.0"
"@commitlint/utils": "^7.6.0"
}
}
8 changes: 8 additions & 0 deletions @alias/commitlint-config-patternplate/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)

**Note:** Version bump only for package commitlint-config-patternplate





<a name="7.5.0"></a>
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)

Expand Down
6 changes: 3 additions & 3 deletions @alias/commitlint-config-patternplate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "commitlint-config-patternplate",
"version": "7.5.0",
"version": "7.6.0",
"description": "Lint your commits, patternplate-style",
"files": [
"index.js"
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"dependencies": {
"@commitlint/config-patternplate": "^7.5.0",
"@commitlint/utils": "^7.5.0"
"@commitlint/config-patternplate": "^7.6.0",
"@commitlint/utils": "^7.6.0"
}
}
16 changes: 16 additions & 0 deletions @alias/commitlint/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [7.6.1](https://github.com/conventional-changelog/commitlint/compare/v7.6.0...v7.6.1) (2019-05-09)

**Note:** Version bump only for package commitlint





# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)

**Note:** Version bump only for package commitlint





## [7.5.2](https://github.com/conventional-changelog/commitlint/compare/v7.5.1...v7.5.2) (2019-02-11)

**Note:** Version bump only for package commitlint
Expand Down
6 changes: 3 additions & 3 deletions @alias/commitlint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "commitlint",
"version": "7.5.2",
"version": "7.6.1",
"description": "Lint your commit messages",
"files": [
"cli.js"
Expand Down Expand Up @@ -34,11 +34,11 @@
},
"license": "MIT",
"dependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/cli": "^7.6.1",
"read-pkg": "3.0.0",
"resolve-pkg": "2.0.0"
},
"devDependencies": {
"@commitlint/utils": "^7.5.0"
"@commitlint/utils": "^7.6.0"
}
}
24 changes: 24 additions & 0 deletions @commitlint/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [7.6.1](https://github.com/conventional-changelog/commitlint/compare/v7.6.0...v7.6.1) (2019-05-09)

**Note:** Version bump only for package @commitlint/cli





# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)


### Bug Fixes

* avoid excessive help text [#606](https://github.com/conventional-changelog/commitlint/issues/606) ([#637](https://github.com/conventional-changelog/commitlint/issues/637)) ([8f3c3b1](https://github.com/conventional-changelog/commitlint/commit/8f3c3b1))


### Features

* adds support for plugins ([#228](https://github.com/conventional-changelog/commitlint/issues/228)) ([#588](https://github.com/conventional-changelog/commitlint/issues/588)) ([cea4564](https://github.com/conventional-changelog/commitlint/commit/cea4564))





## [7.5.2](https://github.com/conventional-changelog/commitlint/compare/v7.5.1...v7.5.2) (2019-02-11)


Expand Down
18 changes: 8 additions & 10 deletions @commitlint/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/cli",
"version": "7.5.2",
"version": "7.6.1",
"description": "Lint your commit messages",
"files": [
"index.js",
Expand All @@ -12,7 +12,6 @@
},
"scripts": {
"build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps",
"clean": "npx rimraf lib",
"deps": "dep-check",
"pkg": "pkg-check",
"start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"",
Expand Down Expand Up @@ -54,28 +53,27 @@
},
"license": "MIT",
"devDependencies": {
"@commitlint/test": "7.6.0",
"@commitlint/utils": "^7.5.0",
"@commitlint/test": "^7.6.0",
"@commitlint/utils": "^7.6.0",
"ava": "0.18.2",
"babel-cli": "6.26.0",
"babel-preset-commitlint": "^7.5.0",
"babel-preset-commitlint": "^7.6.0",
"babel-register": "6.26.0",
"concurrently": "3.5.1",
"cross-env": "5.1.1",
"execa": "0.9.0",
"mkdirp": "0.5.1",
"pkg-dir": "2.0.0",
"resolve-bin": "0.4.0",
"rimraf": "2.6.2",
"sander": "0.6.0",
"string-to-stream": "1.1.0",
"tmp": "0.1.0"
},
"dependencies": {
"@commitlint/format": "^7.5.0",
"@commitlint/lint": "^7.5.2",
"@commitlint/load": "^7.5.0",
"@commitlint/read": "^7.5.0",
"@commitlint/format": "^7.6.1",
"@commitlint/lint": "^7.6.0",
"@commitlint/load": "^7.6.1",
"@commitlint/read": "^7.6.0",
"babel-polyfill": "6.26.0",
"chalk": "2.3.1",
"get-stdin": "7.0.0",
Expand Down
14 changes: 2 additions & 12 deletions @commitlint/cli/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ const flags = {
alias: 'v',
type: 'boolean',
description: 'display version information'
},
verbose: {
alias: 'V',
type: 'boolean',
description: 'enable verbose output for reports without problems'
}
};

Expand Down Expand Up @@ -209,14 +204,9 @@ async function main(options) {
}
);

const output = format(report, {
color: flags.color,
verbose: flags.verbose,
helpUrl:
'https://github.com/conventional-changelog/commitlint/#what-is-commitlint'
});
const output = format(report, {color: flags.color});

if (!flags.quiet && output !== '') {
if (!flags.quiet) {
console.log(output);
}

Expand Down
33 changes: 4 additions & 29 deletions @commitlint/cli/src/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,45 +32,20 @@ test('should reprint input from stdin', async t => {
t.true(actual.stdout.includes('foo: bar'));
});

test('should produce success output with --verbose flag', async t => {
const cwd = await git.bootstrap('fixtures/default');
const actual = await cli(['--verbose'], {cwd})('type: bar');
t.true(actual.stdout.includes('0 problems, 0 warnings'));
t.is(actual.stderr, '');
});

test('should produce no output with --quiet flag', async t => {
test('should produce no success output with --quiet flag', async t => {
const cwd = await git.bootstrap('fixtures/default');
const actual = await cli(['--quiet'], {cwd})('foo: bar');
t.is(actual.stdout, '');
t.is(actual.stderr, '');
});

test('should produce no output with -q flag', async t => {
test('should produce no success output with -q flag', async t => {
const cwd = await git.bootstrap('fixtures/default');
const actual = await cli(['-q'], {cwd})('foo: bar');
t.is(actual.stdout, '');
t.is(actual.stderr, '');
});

test('should produce help for empty config', async t => {
const cwd = await git.bootstrap('fixtures/empty');
const actual = await cli([], {cwd})('foo: bar');
t.true(actual.stdout.includes('Please add rules'));
t.is(actual.code, 1);
});

test('should produce help for problems', async t => {
const cwd = await git.bootstrap('fixtures/default');
const actual = await cli([], {cwd})('foo: bar');
t.true(
actual.stdout.includes(
'Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint'
)
);
t.is(actual.code, 1);
});

test('should fail for input from stdin without rules', async t => {
const cwd = await git.bootstrap('fixtures/empty');
const actual = await cli([], {cwd})('foo: bar');
Expand Down Expand Up @@ -284,13 +259,13 @@ test('should print full commit message when input from stdin fails', async t =>
t.is(actual.code, 1);
});

test('should not print commit message fully or partially when input succeeds', async t => {
test('should not print full commit message when input succeeds', async t => {
const cwd = await git.bootstrap('fixtures/default');
const message = 'type: bar\n\nFoo bar bizz buzz.\n\nCloses #123.';
const actual = await cli([], {cwd})(message);

t.false(actual.stdout.includes(message));
t.false(actual.stdout.includes(message.split('\n')[0]));
t.true(actual.stdout.includes(message.split('\n')[0]));
t.is(actual.code, 0);
});

Expand Down
8 changes: 8 additions & 0 deletions @commitlint/config-angular-type-enum/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)

**Note:** Version bump only for package @commitlint/config-angular-type-enum





<a name="7.5.0"></a>
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)

Expand Down
4 changes: 2 additions & 2 deletions @commitlint/config-angular-type-enum/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/config-angular-type-enum",
"version": "7.5.0",
"version": "7.6.0",
"description": "Shareable commitlint config enforcing the angular commit convention types",
"files": [
"index.js"
Expand Down Expand Up @@ -29,6 +29,6 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"devDependencies": {
"@commitlint/utils": "^7.5.0"
"@commitlint/utils": "^7.6.0"
}
}
8 changes: 8 additions & 0 deletions @commitlint/config-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)

**Note:** Version bump only for package @commitlint/config-angular





<a name="7.5.0"></a>
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)

Expand Down
6 changes: 3 additions & 3 deletions @commitlint/config-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/config-angular",
"version": "7.5.0",
"version": "7.6.0",
"description": "Shareable commitlint config enforcing the angular commit convention",
"files": [
"index.js"
Expand Down Expand Up @@ -29,9 +29,9 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"devDependencies": {
"@commitlint/utils": "^7.5.0"
"@commitlint/utils": "^7.6.0"
},
"dependencies": {
"@commitlint/config-angular-type-enum": "^7.5.0"
"@commitlint/config-angular-type-enum": "^7.6.0"
}
}
Loading

0 comments on commit 48c364c

Please sign in to comment.