Skip to content

Commit 12a596f

Browse files
committed
Merge branch 'master' into feature/cz-commitlint
2 parents 1d27083 + 56f3074 commit 12a596f

Some content is hidden

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

64 files changed

+596
-211
lines changed

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

Lines changed: 8 additions & 0 deletions
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+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
7+
8+
**Note:** Version bump only for package commitlint-config-angular
9+
10+
11+
12+
13+
614
## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23)
715

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commitlint-config-angular",
3-
"version": "12.0.1",
3+
"version": "12.1.1",
44
"description": "Shareable commitlint config enforcing the angular commit convention",
55
"files": [
66
"index.js"
@@ -29,10 +29,10 @@
2929
"node": ">=v10"
3030
},
3131
"dependencies": {
32-
"@commitlint/config-angular": "^12.0.1"
32+
"@commitlint/config-angular": "^12.1.1"
3333
},
3434
"devDependencies": {
35-
"@commitlint/utils": "^12.0.1"
35+
"@commitlint/utils": "^12.1.1"
3636
},
3737
"gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749"
3838
}

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

Lines changed: 8 additions & 0 deletions
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+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
7+
8+
**Note:** Version bump only for package commitlint-config-lerna-scopes
9+
10+
11+
12+
13+
614
# [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06)
715

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commitlint-config-lerna-scopes",
3-
"version": "12.1.0",
3+
"version": "12.1.1",
44
"description": "Shareable commitlint config enforcing lerna package names as scopes",
55
"files": [
66
"index.js"
@@ -29,10 +29,10 @@
2929
"node": ">=v10"
3030
},
3131
"dependencies": {
32-
"@commitlint/config-lerna-scopes": "^12.1.0"
32+
"@commitlint/config-lerna-scopes": "^12.1.1"
3333
},
3434
"devDependencies": {
35-
"@commitlint/utils": "^12.0.1"
35+
"@commitlint/utils": "^12.1.1"
3636
},
3737
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
3838
}

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

Lines changed: 8 additions & 0 deletions
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+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
7+
8+
**Note:** Version bump only for package commitlint-config-patternplate
9+
10+
11+
12+
13+
614
## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23)
715

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commitlint-config-patternplate",
3-
"version": "12.0.1",
3+
"version": "12.1.1",
44
"description": "Lint your commits, patternplate-style",
55
"files": [
66
"index.js"
@@ -29,10 +29,10 @@
2929
"node": ">=v10"
3030
},
3131
"dependencies": {
32-
"@commitlint/config-patternplate": "^12.0.1"
32+
"@commitlint/config-patternplate": "^12.1.1"
3333
},
3434
"devDependencies": {
35-
"@commitlint/utils": "^12.0.1"
35+
"@commitlint/utils": "^12.1.1"
3636
},
3737
"gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749"
3838
}

@alias/commitlint/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
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+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
7+
8+
**Note:** Version bump only for package commitlint
9+
10+
11+
12+
13+
614
# [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06)
715

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

@alias/commitlint/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commitlint",
3-
"version": "12.1.0",
3+
"version": "12.1.1",
44
"description": "Lint your commit messages",
55
"files": [
66
"cli.js"
@@ -34,12 +34,12 @@
3434
},
3535
"license": "MIT",
3636
"dependencies": {
37-
"@commitlint/cli": "^12.1.0",
38-
"@commitlint/types": "^12.0.1"
37+
"@commitlint/cli": "^12.1.1",
38+
"@commitlint/types": "^12.1.1"
3939
},
4040
"devDependencies": {
4141
"@commitlint/test": "^12.1.0",
42-
"@commitlint/utils": "^12.0.1",
42+
"@commitlint/utils": "^12.1.1",
4343
"execa": "^5.0.0"
4444
},
4545
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"

@commitlint/cli/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
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+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
7+
8+
**Note:** Version bump only for package @commitlint/cli
9+
10+
11+
12+
13+
614
# [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06)
715

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

@commitlint/cli/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@commitlint/cli",
3-
"version": "12.1.0",
3+
"version": "12.1.1",
44
"description": "Lint your commit messages",
55
"files": [
66
"index.js",
@@ -37,17 +37,17 @@
3737
"license": "MIT",
3838
"devDependencies": {
3939
"@commitlint/test": "^12.1.0",
40-
"@commitlint/utils": "^12.0.1",
40+
"@commitlint/utils": "^12.1.1",
4141
"@types/yargs": "^16.0.0",
4242
"execa": "^5.0.0",
4343
"fs-extra": "^9.0.0"
4444
},
4545
"dependencies": {
46-
"@commitlint/format": "^12.0.1",
47-
"@commitlint/lint": "^12.1.0",
48-
"@commitlint/load": "^12.1.0",
49-
"@commitlint/read": "^12.1.0",
50-
"@commitlint/types": "^12.0.1",
46+
"@commitlint/format": "^12.1.1",
47+
"@commitlint/lint": "^12.1.1",
48+
"@commitlint/load": "^12.1.1",
49+
"@commitlint/read": "^12.1.1",
50+
"@commitlint/types": "^12.1.1",
5151
"get-stdin": "8.0.0",
5252
"lodash": "^4.17.19",
5353
"resolve-from": "5.0.0",

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

Lines changed: 8 additions & 0 deletions
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+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
7+
8+
**Note:** Version bump only for package @commitlint/config-angular-type-enum
9+
10+
11+
12+
13+
614
## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23)
715

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@commitlint/config-angular-type-enum",
3-
"version": "12.0.1",
3+
"version": "12.1.1",
44
"description": "Shareable commitlint config enforcing the angular commit convention types",
55
"files": [
66
"index.js"
@@ -29,7 +29,7 @@
2929
"node": ">=v10"
3030
},
3131
"devDependencies": {
32-
"@commitlint/utils": "^12.0.1"
32+
"@commitlint/utils": "^12.1.1"
3333
},
3434
"gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749"
3535
}

@commitlint/config-angular/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
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+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
7+
8+
**Note:** Version bump only for package @commitlint/config-angular
9+
10+
11+
12+
13+
614
## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23)
715

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

@commitlint/config-angular/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@commitlint/config-angular",
3-
"version": "12.0.1",
3+
"version": "12.1.1",
44
"description": "Shareable commitlint config enforcing the angular commit convention",
55
"files": [
66
"index.js"
@@ -29,10 +29,10 @@
2929
"node": ">=v10"
3030
},
3131
"devDependencies": {
32-
"@commitlint/utils": "^12.0.1"
32+
"@commitlint/utils": "^12.1.1"
3333
},
3434
"dependencies": {
35-
"@commitlint/config-angular-type-enum": "^12.0.1"
35+
"@commitlint/config-angular-type-enum": "^12.1.1"
3636
},
3737
"gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749"
3838
}

@commitlint/config-conventional/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
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+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
7+
8+
**Note:** Version bump only for package @commitlint/config-conventional
9+
10+
11+
12+
13+
614
# [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06)
715

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

@commitlint/config-conventional/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ module.exports = {
66
'footer-leading-blank': [1, 'always'],
77
'footer-max-line-length': [2, 'always', 100],
88
'header-max-length': [2, 'always', 100],
9-
'scope-case': [2, 'always', 'lower-case'],
109
'subject-case': [
1110
2,
1211
'never',

@commitlint/config-conventional/index.test.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const messages = {
55
invalidTypeEnum: 'foo: some message',
66
invalidTypeCase: 'FIX: some message',
77
invalidTypeEmpty: ': some message',
8-
invalidScopeCase: 'fix(SCOPE): some message',
98
invalidSubjectCases: [
109
'fix(scope): Some message',
1110
'fix(scope): Some Message',
@@ -52,12 +51,6 @@ const errors = {
5251
name: 'type-empty',
5352
valid: false,
5453
},
55-
scopeCase: {
56-
level: 2,
57-
message: 'scope must be lower-case',
58-
name: 'scope-case',
59-
valid: false,
60-
},
6154
subjectCase: {
6255
level: 2,
6356
message:
@@ -134,13 +127,6 @@ test('type-empty', async () => {
134127
expect(result.errors).toEqual([errors.typeEmpty]);
135128
});
136129

137-
test('scope-case', async () => {
138-
const result = await lint(messages.invalidScopeCase, rules);
139-
140-
expect(result.valid).toBe(false);
141-
expect(result.errors).toEqual([errors.scopeCase]);
142-
});
143-
144130
test('subject-case', async () => {
145131
const invalidInputs = await Promise.all(
146132
messages.invalidSubjectCases.map((invalidInput) =>

@commitlint/config-conventional/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@commitlint/config-conventional",
3-
"version": "12.1.0",
3+
"version": "12.1.1",
44
"description": "Shareable commitlint config enforcing conventional commits",
55
"files": [
66
"index.js"
@@ -32,8 +32,8 @@
3232
"node": ">=v10"
3333
},
3434
"devDependencies": {
35-
"@commitlint/lint": "^12.1.0",
36-
"@commitlint/utils": "^12.0.1"
35+
"@commitlint/lint": "^12.1.1",
36+
"@commitlint/utils": "^12.1.1"
3737
},
3838
"dependencies": {
3939
"conventional-changelog-conventionalcommits": "^4.3.1"

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
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+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
7+
8+
9+
### Bug Fixes
10+
11+
* **config-lerna-scopes:** ignore packages without names ([#2514](https://github.com/conventional-changelog/commitlint/issues/2514)) ([df3bf71](https://github.com/conventional-changelog/commitlint/commit/df3bf71ab36a085ef35a1491025c0d2e2b92ff77))
12+
* update dependency semver to v7.3.5 ([#2519](https://github.com/conventional-changelog/commitlint/issues/2519)) ([5113f22](https://github.com/conventional-changelog/commitlint/commit/5113f22c620e7b187fd558e5befa541b448ea18b))
13+
14+
15+
16+
17+
618
# [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06)
719

820

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@commitlint/config-lerna-scopes",
3-
"version": "12.1.0",
3+
"version": "12.1.1",
44
"description": "Shareable commitlint config enforcing lerna package and workspace names as scopes",
55
"files": [
66
"index.js"
@@ -39,7 +39,7 @@
3939
},
4040
"devDependencies": {
4141
"@commitlint/test": "^12.1.0",
42-
"@commitlint/utils": "^12.0.1"
42+
"@commitlint/utils": "^12.1.1"
4343
},
4444
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
4545
}

@commitlint/config-patternplate/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
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+
## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
7+
8+
**Note:** Version bump only for package @commitlint/config-patternplate
9+
10+
11+
12+
13+
614
## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23)
715

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

0 commit comments

Comments
 (0)