@icebreakers/commitlint-config 1.0.1 → 1.0.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/dist/index.cjs +4 -3
- package/dist/index.mjs +3 -2
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
2
|
-
var _configconventional = require('@commitlint/config-conventional'); var _configconventional2 = _interopRequireDefault(_configconventional);
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/index.ts
|
|
3
2
|
|
|
4
3
|
|
|
5
4
|
|
|
@@ -76,7 +75,9 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
76
75
|
|
|
77
76
|
// src/index.ts
|
|
78
77
|
function icebreaker(config) {
|
|
79
|
-
return defu(config,
|
|
78
|
+
return defu(config, {
|
|
79
|
+
extends: ["@commitlint/config-conventional"]
|
|
80
|
+
});
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
import preset from "@commitlint/config-conventional";
|
|
3
2
|
import {
|
|
4
3
|
RuleConfigCondition,
|
|
5
4
|
RuleConfigSeverity,
|
|
@@ -76,7 +75,9 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
76
75
|
|
|
77
76
|
// src/index.ts
|
|
78
77
|
function icebreaker(config) {
|
|
79
|
-
return defu(config,
|
|
78
|
+
return defu(config, {
|
|
79
|
+
extends: ["@commitlint/config-conventional"]
|
|
80
|
+
});
|
|
80
81
|
}
|
|
81
82
|
export {
|
|
82
83
|
RuleConfigCondition,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/commitlint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"description": "icebreaker's commitlint config",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@commitlint/config-conventional": "^19.8.1",
|
|
33
|
-
"@commitlint/types": "^19.8.1"
|
|
33
|
+
"@commitlint/types": "^19.8.1",
|
|
34
|
+
"conventional-changelog-conventionalcommits": "^9.1.0"
|
|
34
35
|
},
|
|
35
36
|
"scripts": {
|
|
36
37
|
"dev": "unbuild --stub",
|