@icebreakers/commitlint-config 1.0.2 → 1.0.4

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 CHANGED
@@ -1,5 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// src/index.ts
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, _configconventional2.default);
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, preset);
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.2",
4
+ "version": "1.0.4",
5
5
  "description": "icebreaker's commitlint config",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -29,8 +29,8 @@
29
29
  "dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@commitlint/config-conventional": "^19.8.1",
33
- "@commitlint/types": "^19.8.1",
32
+ "@commitlint/config-conventional": "^20.0.0",
33
+ "@commitlint/types": "^20.0.0",
34
34
  "conventional-changelog-conventionalcommits": "^9.1.0"
35
35
  },
36
36
  "scripts": {