Skip to content

Commit 48c364c

Browse files
committed
Merge branch 'release/7.6'
2 parents 7a75626 + 9360084 commit 48c364c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+895
-2437
lines changed

@alias/commitlint-config-angular/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
7+
8+
**Note:** Version bump only for package commitlint-config-angular
9+
10+
11+
12+
13+
614
<a name="7.5.0"></a>
715
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)
816

@alias/commitlint-config-angular/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commitlint-config-angular",
3-
"version": "7.5.0",
3+
"version": "7.6.0",
44
"description": "Shareable commitlint config enforcing the angular commit convention",
55
"files": [
66
"index.js"
@@ -28,9 +28,9 @@
2828
},
2929
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
3030
"dependencies": {
31-
"@commitlint/config-angular": "^7.5.0"
31+
"@commitlint/config-angular": "^7.6.0"
3232
},
3333
"devDependencies": {
34-
"@commitlint/utils": "^7.5.0"
34+
"@commitlint/utils": "^7.6.0"
3535
}
3636
}

@alias/commitlint-config-lerna-scopes/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
7+
8+
**Note:** Version bump only for package commitlint-config-lerna-scopes
9+
10+
11+
12+
13+
614
## [7.5.1](https://github.com/conventional-changelog/commitlint/compare/v7.5.0...v7.5.1) (2019-02-09)
715

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

@alias/commitlint-config-lerna-scopes/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commitlint-config-lerna-scopes",
3-
"version": "7.5.1",
3+
"version": "7.6.0",
44
"description": "Shareable commitlint config enforcing lerna package names as scopes",
55
"files": [
66
"index.js"
@@ -28,9 +28,9 @@
2828
},
2929
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
3030
"dependencies": {
31-
"@commitlint/config-lerna-scopes": "^7.5.1"
31+
"@commitlint/config-lerna-scopes": "^7.6.0"
3232
},
3333
"devDependencies": {
34-
"@commitlint/utils": "^7.5.0"
34+
"@commitlint/utils": "^7.6.0"
3535
}
3636
}

@alias/commitlint-config-patternplate/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
7+
8+
**Note:** Version bump only for package commitlint-config-patternplate
9+
10+
11+
12+
13+
614
<a name="7.5.0"></a>
715
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)
816

@alias/commitlint-config-patternplate/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commitlint-config-patternplate",
3-
"version": "7.5.0",
3+
"version": "7.6.0",
44
"description": "Lint your commits, patternplate-style",
55
"files": [
66
"index.js"
@@ -28,7 +28,7 @@
2828
},
2929
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
3030
"dependencies": {
31-
"@commitlint/config-patternplate": "^7.5.0",
32-
"@commitlint/utils": "^7.5.0"
31+
"@commitlint/config-patternplate": "^7.6.0",
32+
"@commitlint/utils": "^7.6.0"
3333
}
3434
}

@alias/commitlint/CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [7.6.1](https://github.com/conventional-changelog/commitlint/compare/v7.6.0...v7.6.1) (2019-05-09)
7+
8+
**Note:** Version bump only for package commitlint
9+
10+
11+
12+
13+
14+
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
15+
16+
**Note:** Version bump only for package commitlint
17+
18+
19+
20+
21+
622
## [7.5.2](https://github.com/conventional-changelog/commitlint/compare/v7.5.1...v7.5.2) (2019-02-11)
723

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

@alias/commitlint/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commitlint",
3-
"version": "7.5.2",
3+
"version": "7.6.1",
44
"description": "Lint your commit messages",
55
"files": [
66
"cli.js"
@@ -34,11 +34,11 @@
3434
},
3535
"license": "MIT",
3636
"dependencies": {
37-
"@commitlint/cli": "^7.5.2",
37+
"@commitlint/cli": "^7.6.1",
3838
"read-pkg": "3.0.0",
3939
"resolve-pkg": "2.0.0"
4040
},
4141
"devDependencies": {
42-
"@commitlint/utils": "^7.5.0"
42+
"@commitlint/utils": "^7.6.0"
4343
}
4444
}

@commitlint/cli/CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [7.6.1](https://github.com/conventional-changelog/commitlint/compare/v7.6.0...v7.6.1) (2019-05-09)
7+
8+
**Note:** Version bump only for package @commitlint/cli
9+
10+
11+
12+
13+
14+
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
15+
16+
17+
### Bug Fixes
18+
19+
* 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))
20+
21+
22+
### Features
23+
24+
* 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))
25+
26+
27+
28+
29+
630
## [7.5.2](https://github.com/conventional-changelog/commitlint/compare/v7.5.1...v7.5.2) (2019-02-11)
731

832

@commitlint/cli/package.json

+8-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@commitlint/cli",
3-
"version": "7.5.2",
3+
"version": "7.6.1",
44
"description": "Lint your commit messages",
55
"files": [
66
"index.js",
@@ -12,7 +12,6 @@
1212
},
1313
"scripts": {
1414
"build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps",
15-
"clean": "npx rimraf lib",
1615
"deps": "dep-check",
1716
"pkg": "pkg-check",
1817
"start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"",
@@ -54,28 +53,27 @@
5453
},
5554
"license": "MIT",
5655
"devDependencies": {
57-
"@commitlint/test": "7.6.0",
58-
"@commitlint/utils": "^7.5.0",
56+
"@commitlint/test": "^7.6.0",
57+
"@commitlint/utils": "^7.6.0",
5958
"ava": "0.18.2",
6059
"babel-cli": "6.26.0",
61-
"babel-preset-commitlint": "^7.5.0",
60+
"babel-preset-commitlint": "^7.6.0",
6261
"babel-register": "6.26.0",
6362
"concurrently": "3.5.1",
6463
"cross-env": "5.1.1",
6564
"execa": "0.9.0",
6665
"mkdirp": "0.5.1",
6766
"pkg-dir": "2.0.0",
6867
"resolve-bin": "0.4.0",
69-
"rimraf": "2.6.2",
7068
"sander": "0.6.0",
7169
"string-to-stream": "1.1.0",
7270
"tmp": "0.1.0"
7371
},
7472
"dependencies": {
75-
"@commitlint/format": "^7.5.0",
76-
"@commitlint/lint": "^7.5.2",
77-
"@commitlint/load": "^7.5.0",
78-
"@commitlint/read": "^7.5.0",
73+
"@commitlint/format": "^7.6.1",
74+
"@commitlint/lint": "^7.6.0",
75+
"@commitlint/load": "^7.6.1",
76+
"@commitlint/read": "^7.6.0",
7977
"babel-polyfill": "6.26.0",
8078
"chalk": "2.3.1",
8179
"get-stdin": "7.0.0",

@commitlint/cli/src/cli.js

+2-12
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,6 @@ const flags = {
8989
alias: 'v',
9090
type: 'boolean',
9191
description: 'display version information'
92-
},
93-
verbose: {
94-
alias: 'V',
95-
type: 'boolean',
96-
description: 'enable verbose output for reports without problems'
9792
}
9893
};
9994

@@ -209,14 +204,9 @@ async function main(options) {
209204
}
210205
);
211206

212-
const output = format(report, {
213-
color: flags.color,
214-
verbose: flags.verbose,
215-
helpUrl:
216-
'https://github.com/conventional-changelog/commitlint/#what-is-commitlint'
217-
});
207+
const output = format(report, {color: flags.color});
218208

219-
if (!flags.quiet && output !== '') {
209+
if (!flags.quiet) {
220210
console.log(output);
221211
}
222212

@commitlint/cli/src/cli.test.js

+4-29
Original file line numberDiff line numberDiff line change
@@ -32,45 +32,20 @@ test('should reprint input from stdin', async t => {
3232
t.true(actual.stdout.includes('foo: bar'));
3333
});
3434

35-
test('should produce success output with --verbose flag', async t => {
36-
const cwd = await git.bootstrap('fixtures/default');
37-
const actual = await cli(['--verbose'], {cwd})('type: bar');
38-
t.true(actual.stdout.includes('0 problems, 0 warnings'));
39-
t.is(actual.stderr, '');
40-
});
41-
42-
test('should produce no output with --quiet flag', async t => {
35+
test('should produce no success output with --quiet flag', async t => {
4336
const cwd = await git.bootstrap('fixtures/default');
4437
const actual = await cli(['--quiet'], {cwd})('foo: bar');
4538
t.is(actual.stdout, '');
4639
t.is(actual.stderr, '');
4740
});
4841

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

56-
test('should produce help for empty config', async t => {
57-
const cwd = await git.bootstrap('fixtures/empty');
58-
const actual = await cli([], {cwd})('foo: bar');
59-
t.true(actual.stdout.includes('Please add rules'));
60-
t.is(actual.code, 1);
61-
});
62-
63-
test('should produce help for problems', async t => {
64-
const cwd = await git.bootstrap('fixtures/default');
65-
const actual = await cli([], {cwd})('foo: bar');
66-
t.true(
67-
actual.stdout.includes(
68-
'Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint'
69-
)
70-
);
71-
t.is(actual.code, 1);
72-
});
73-
7449
test('should fail for input from stdin without rules', async t => {
7550
const cwd = await git.bootstrap('fixtures/empty');
7651
const actual = await cli([], {cwd})('foo: bar');
@@ -284,13 +259,13 @@ test('should print full commit message when input from stdin fails', async t =>
284259
t.is(actual.code, 1);
285260
});
286261

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

292267
t.false(actual.stdout.includes(message));
293-
t.false(actual.stdout.includes(message.split('\n')[0]));
268+
t.true(actual.stdout.includes(message.split('\n')[0]));
294269
t.is(actual.code, 0);
295270
});
296271

@commitlint/config-angular-type-enum/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
7+
8+
**Note:** Version bump only for package @commitlint/config-angular-type-enum
9+
10+
11+
12+
13+
614
<a name="7.5.0"></a>
715
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)
816

@commitlint/config-angular-type-enum/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@commitlint/config-angular-type-enum",
3-
"version": "7.5.0",
3+
"version": "7.6.0",
44
"description": "Shareable commitlint config enforcing the angular commit convention types",
55
"files": [
66
"index.js"
@@ -29,6 +29,6 @@
2929
},
3030
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
3131
"devDependencies": {
32-
"@commitlint/utils": "^7.5.0"
32+
"@commitlint/utils": "^7.6.0"
3333
}
3434
}

@commitlint/config-angular/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
7+
8+
**Note:** Version bump only for package @commitlint/config-angular
9+
10+
11+
12+
13+
614
<a name="7.5.0"></a>
715
# [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)
816

@commitlint/config-angular/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@commitlint/config-angular",
3-
"version": "7.5.0",
3+
"version": "7.6.0",
44
"description": "Shareable commitlint config enforcing the angular commit convention",
55
"files": [
66
"index.js"
@@ -29,9 +29,9 @@
2929
},
3030
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
3131
"devDependencies": {
32-
"@commitlint/utils": "^7.5.0"
32+
"@commitlint/utils": "^7.6.0"
3333
},
3434
"dependencies": {
35-
"@commitlint/config-angular-type-enum": "^7.5.0"
35+
"@commitlint/config-angular-type-enum": "^7.6.0"
3636
}
3737
}

0 commit comments

Comments
 (0)