Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from conventional-changelog:master #23

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

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





# [17.7.0](https://github.com/conventional-changelog/commitlint/compare/v17.6.7...v17.7.0) (2023-08-09)

**Note:** Version bump only for package commitlint-config-angular
Expand Down
4 changes: 2 additions & 2 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": "17.7.0",
"version": "17.8.0",
"description": "Shareable commitlint config enforcing the angular commit convention",
"files": [
"index.js"
Expand Down Expand Up @@ -30,7 +30,7 @@
"node": ">=v14"
},
"dependencies": {
"@commitlint/config-angular": "^17.7.0"
"@commitlint/config-angular": "^17.8.0"
},
"devDependencies": {
"@commitlint/utils": "^17.4.0"
Expand Down
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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

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





# [17.7.0](https://github.com/conventional-changelog/commitlint/compare/v17.6.7...v17.7.0) (2023-08-09)

**Note:** Version bump only for package commitlint-config-patternplate
Expand Down
4 changes: 2 additions & 2 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": "17.7.0",
"version": "17.8.0",
"description": "Lint your commits, patternplate-style",
"files": [
"index.js"
Expand Down Expand Up @@ -30,7 +30,7 @@
"node": ">=v14"
},
"dependencies": {
"@commitlint/config-patternplate": "^17.7.0"
"@commitlint/config-patternplate": "^17.8.0"
},
"devDependencies": {
"@commitlint/utils": "^17.4.0"
Expand Down
8 changes: 8 additions & 0 deletions @alias/commitlint/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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

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





## [17.7.2](https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2) (2023-09-28)

**Note:** Version bump only for package commitlint
Expand Down
4 changes: 2 additions & 2 deletions @alias/commitlint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "commitlint",
"version": "17.7.2",
"version": "17.8.0",
"description": "Lint your commit messages",
"files": [
"cli.js"
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"license": "MIT",
"dependencies": {
"@commitlint/cli": "^17.7.2",
"@commitlint/cli": "^17.8.0",
"@commitlint/types": "^17.4.4"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions @commitlint/cli/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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

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





## [17.7.2](https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2) (2023-09-28)

**Note:** Version bump only for package @commitlint/cli
Expand Down
6 changes: 3 additions & 3 deletions @commitlint/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/cli",
"version": "17.7.2",
"version": "17.8.0",
"description": "Lint your commit messages",
"files": [
"index.js",
Expand Down Expand Up @@ -48,8 +48,8 @@
},
"dependencies": {
"@commitlint/format": "^17.4.4",
"@commitlint/lint": "^17.7.0",
"@commitlint/load": "^17.7.2",
"@commitlint/lint": "^17.8.0",
"@commitlint/load": "^17.8.0",
"@commitlint/read": "^17.5.1",
"@commitlint/types": "^17.4.4",
"execa": "^5.0.0",
Expand Down
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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

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





# [17.7.0](https://github.com/conventional-changelog/commitlint/compare/v17.6.7...v17.7.0) (2023-08-09)

**Note:** Version bump only for package @commitlint/config-angular
Expand Down
4 changes: 2 additions & 2 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": "17.7.0",
"version": "17.8.0",
"description": "Shareable commitlint config enforcing the angular commit convention",
"files": [
"index.js"
Expand Down Expand Up @@ -30,7 +30,7 @@
"node": ">=v14"
},
"devDependencies": {
"@commitlint/lint": "^17.7.0",
"@commitlint/lint": "^17.8.0",
"@commitlint/utils": "^17.4.0"
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions @commitlint/config-conventional/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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

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





# [17.7.0](https://github.com/conventional-changelog/commitlint/compare/v17.6.7...v17.7.0) (2023-08-09)

**Note:** Version bump only for package @commitlint/config-conventional
Expand Down
4 changes: 2 additions & 2 deletions @commitlint/config-conventional/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/config-conventional",
"version": "17.7.0",
"version": "17.8.0",
"description": "Shareable commitlint config enforcing conventional commits",
"files": [
"index.js"
Expand Down Expand Up @@ -33,7 +33,7 @@
"node": ">=v14"
},
"devDependencies": {
"@commitlint/lint": "^17.7.0",
"@commitlint/lint": "^17.8.0",
"@commitlint/utils": "^17.4.0"
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions @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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

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





# [17.7.0](https://github.com/conventional-changelog/commitlint/compare/v17.6.7...v17.7.0) (2023-08-09)

**Note:** Version bump only for package @commitlint/config-patternplate
Expand Down
4 changes: 2 additions & 2 deletions @commitlint/config-patternplate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/config-patternplate",
"version": "17.7.0",
"version": "17.8.0",
"description": "Lint your commits, patternplate-style",
"files": [
"index.js"
Expand Down Expand Up @@ -30,7 +30,7 @@
"node": ">=v14"
},
"dependencies": {
"@commitlint/config-angular": "^17.7.0",
"@commitlint/config-angular": "^17.8.0",
"glob": "^8.0.3",
"lodash.merge": "^4.6.2"
},
Expand Down
8 changes: 8 additions & 0 deletions @commitlint/core/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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

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





## [17.7.2](https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2) (2023-09-28)

**Note:** Version bump only for package @commitlint/core
Expand Down
6 changes: 3 additions & 3 deletions @commitlint/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/core",
"version": "17.7.2",
"version": "17.8.0",
"description": "Lint your commit messages",
"main": "lib/core.js",
"types": "lib/core.d.ts",
Expand Down Expand Up @@ -36,8 +36,8 @@
"license": "MIT",
"dependencies": {
"@commitlint/format": "^17.4.4",
"@commitlint/lint": "^17.7.0",
"@commitlint/load": "^17.7.2",
"@commitlint/lint": "^17.8.0",
"@commitlint/load": "^17.8.0",
"@commitlint/read": "^17.5.1"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions @commitlint/cz-commitlint/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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

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





## [17.7.2](https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2) (2023-09-28)

**Note:** Version bump only for package @commitlint/cz-commitlint
Expand Down
4 changes: 2 additions & 2 deletions @commitlint/cz-commitlint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/cz-commitlint",
"version": "17.7.2",
"version": "17.8.0",
"description": "Commitizen adapter using the commitlint.config.js",
"main": "./lib/index.js",
"files": [
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"@commitlint/ensure": "^17.6.7",
"@commitlint/load": "^17.7.2",
"@commitlint/load": "^17.8.0",
"@commitlint/types": "^17.4.4",
"chalk": "^4.1.0",
"lodash.isplainobject": "^4.0.6",
Expand Down
8 changes: 8 additions & 0 deletions @commitlint/is-ignored/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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

**Note:** Version bump only for package @commitlint/is-ignored





# [17.7.0](https://github.com/conventional-changelog/commitlint/compare/v17.6.7...v17.7.0) (2023-08-09)

**Note:** Version bump only for package @commitlint/is-ignored
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/is-ignored/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/is-ignored",
"version": "17.7.0",
"version": "17.8.0",
"description": "Lint your commit messages",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
8 changes: 8 additions & 0 deletions @commitlint/lint/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.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)

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





# [17.7.0](https://github.com/conventional-changelog/commitlint/compare/v17.6.7...v17.7.0) (2023-08-09)

**Note:** Version bump only for package @commitlint/lint
Expand Down
4 changes: 2 additions & 2 deletions @commitlint/lint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/lint",
"version": "17.7.0",
"version": "17.8.0",
"description": "Lint a string against commitlint rules",
"main": "lib/lint.js",
"types": "lib/lint.d.ts",
Expand Down Expand Up @@ -39,7 +39,7 @@
"@commitlint/utils": "^17.4.0"
},
"dependencies": {
"@commitlint/is-ignored": "^17.7.0",
"@commitlint/is-ignored": "^17.8.0",
"@commitlint/parse": "^17.7.0",
"@commitlint/rules": "^17.7.0",
"@commitlint/types": "^17.4.4"
Expand Down
11 changes: 11 additions & 0 deletions @commitlint/load/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [17.8.0](https://github.com/conventional-changelog/commitlint/compare/v17.7.2...v17.8.0) (2023-10-14)


### Features

* lazy load cosmiconfig-typescript-loader ([#3694](https://github.com/conventional-changelog/commitlint/issues/3694)) ([b058c7c](https://github.com/conventional-changelog/commitlint/commit/b058c7cc49333e7898402fa55467ec097801ce25))





## [17.7.2](https://github.com/conventional-changelog/commitlint/compare/v17.7.1...v17.7.2) (2023-09-28)


Expand Down
2 changes: 1 addition & 1 deletion @commitlint/load/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commitlint/load",
"version": "17.7.2",
"version": "17.8.0",
"description": "Load shared commitlint configuration",
"main": "lib/load.js",
"types": "lib/load.d.ts",
Expand Down
12 changes: 10 additions & 2 deletions @commitlint/load/src/utils/load-config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {cosmiconfig} from 'cosmiconfig';
import {cosmiconfig, type Loader} from 'cosmiconfig';
import {TypeScriptLoader} from 'cosmiconfig-typescript-loader';
import path from 'path';

Expand All @@ -13,7 +13,15 @@ export async function loadConfig(
configPath?: string
): Promise<LoadConfigResult | null> {
const moduleName = 'commitlint';
const tsLoader = TypeScriptLoader();

let tsLoaderInstance: Loader | undefined;
const tsLoader: Loader = (...args) => {
if (!tsLoaderInstance) {
tsLoaderInstance = TypeScriptLoader();
}
return tsLoaderInstance(...args);
};

const explorer = cosmiconfig(moduleName, {
searchPlaces: [
// cosmiconfig overrides default searchPlaces if any new search place is added (For e.g. `*.ts` files),
Expand Down
Loading