@abinnovision/commitlint-config 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.cjs +72 -0
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +41 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.2.3](https://github.com/abinnovision/js-commons/compare/commitlint-config-v2.2.2...commitlint-config-v2.2.3) (2025-11-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* trigger synthetic patch release for all packages ([0a42ee3](https://github.com/abinnovision/js-commons/commit/0a42ee36601f88ff232a41a8682266543849b3c6))
|
|
9
|
+
|
|
3
10
|
## [2.2.2](https://github.com/abinnovision/js-commons/compare/commitlint-config-v2.2.1...commitlint-config-v2.2.2) (2025-11-08)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/index.ts
|
|
31
|
+
var src_exports = {};
|
|
32
|
+
__export(src_exports, {
|
|
33
|
+
default: () => src_default
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(src_exports);
|
|
36
|
+
var import_config_conventional = __toESM(require("@commitlint/config-conventional"), 1);
|
|
37
|
+
var config = {
|
|
38
|
+
...import_config_conventional.default,
|
|
39
|
+
rules: {
|
|
40
|
+
...import_config_conventional.default.rules,
|
|
41
|
+
/**
|
|
42
|
+
* Disable the rule to limit the body line length.
|
|
43
|
+
* This is because sometimes commit messages can contain structured data
|
|
44
|
+
* by some kind of tool (e.g. Dependabot), which can't be changed.
|
|
45
|
+
*/
|
|
46
|
+
"body-max-line-length": [0],
|
|
47
|
+
/**
|
|
48
|
+
* Add "deps" to the list of allowed commit types.
|
|
49
|
+
* This allows us to support the case where release-please should
|
|
50
|
+
* create releases for dependabot updates.
|
|
51
|
+
*/
|
|
52
|
+
"type-enum": [
|
|
53
|
+
2,
|
|
54
|
+
"always",
|
|
55
|
+
[
|
|
56
|
+
"build",
|
|
57
|
+
"chore",
|
|
58
|
+
"ci",
|
|
59
|
+
"docs",
|
|
60
|
+
"feat",
|
|
61
|
+
"fix",
|
|
62
|
+
"perf",
|
|
63
|
+
"refactor",
|
|
64
|
+
"revert",
|
|
65
|
+
"style",
|
|
66
|
+
"test",
|
|
67
|
+
"deps"
|
|
68
|
+
]
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
var src_default = config;
|
package/dist/index.d.cts
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// src/index.ts
|
|
2
|
+
import ConventionalConfig from "@commitlint/config-conventional";
|
|
3
|
+
var config = {
|
|
4
|
+
...ConventionalConfig,
|
|
5
|
+
rules: {
|
|
6
|
+
...ConventionalConfig.rules,
|
|
7
|
+
/**
|
|
8
|
+
* Disable the rule to limit the body line length.
|
|
9
|
+
* This is because sometimes commit messages can contain structured data
|
|
10
|
+
* by some kind of tool (e.g. Dependabot), which can't be changed.
|
|
11
|
+
*/
|
|
12
|
+
"body-max-line-length": [0],
|
|
13
|
+
/**
|
|
14
|
+
* Add "deps" to the list of allowed commit types.
|
|
15
|
+
* This allows us to support the case where release-please should
|
|
16
|
+
* create releases for dependabot updates.
|
|
17
|
+
*/
|
|
18
|
+
"type-enum": [
|
|
19
|
+
2,
|
|
20
|
+
"always",
|
|
21
|
+
[
|
|
22
|
+
"build",
|
|
23
|
+
"chore",
|
|
24
|
+
"ci",
|
|
25
|
+
"docs",
|
|
26
|
+
"feat",
|
|
27
|
+
"fix",
|
|
28
|
+
"perf",
|
|
29
|
+
"refactor",
|
|
30
|
+
"revert",
|
|
31
|
+
"style",
|
|
32
|
+
"test",
|
|
33
|
+
"deps"
|
|
34
|
+
]
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
var src_default = config;
|
|
39
|
+
export {
|
|
40
|
+
src_default as default
|
|
41
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abinnovision/commitlint-config",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"npm": true,
|
|
6
6
|
"ghpr": true,
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"@commitlint/config-conventional": "^20.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@abinnovision/eslint-config-base": "^3.0.
|
|
54
|
-
"@abinnovision/prettier-config": "^2.1.
|
|
53
|
+
"@abinnovision/eslint-config-base": "^3.0.1",
|
|
54
|
+
"@abinnovision/prettier-config": "^2.1.5",
|
|
55
55
|
"@commitlint/types": "^20.0.0",
|
|
56
56
|
"eslint": "^9.39.1",
|
|
57
57
|
"prettier": "^3.4.2",
|