@icebreakers/commitlint-config 1.0.0 → 1.0.2

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,4 +1,12 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
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);
3
+
4
+
5
+
6
+
7
+ var _types = require('@commitlint/types');
8
+
9
+ // ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
2
10
  function isPlainObject(value) {
3
11
  if (value === null || typeof value !== "object") {
4
12
  return false;
@@ -68,10 +76,11 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
68
76
 
69
77
  // src/index.ts
70
78
  function icebreaker(config) {
71
- return defu(config, {
72
- extends: ["@commitlint/config-conventional"]
73
- });
79
+ return defu(config, _configconventional2.default);
74
80
  }
75
81
 
76
82
 
77
- exports.icebreaker = icebreaker;
83
+
84
+
85
+
86
+ exports.RuleConfigCondition = _types.RuleConfigCondition; exports.RuleConfigSeverity = _types.RuleConfigSeverity; exports.TargetCaseType = _types.TargetCaseType; exports.icebreaker = icebreaker;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { UserConfig } from '@commitlint/types';
2
- export { UserConfig } from '@commitlint/types';
2
+ export { RuleConfigCondition, RuleConfigSeverity, TargetCaseType, UserConfig } from '@commitlint/types';
3
3
 
4
4
  declare function icebreaker(config?: UserConfig): UserConfig;
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { UserConfig } from '@commitlint/types';
2
- export { UserConfig } from '@commitlint/types';
2
+ export { RuleConfigCondition, RuleConfigSeverity, TargetCaseType, UserConfig } from '@commitlint/types';
3
3
 
4
4
  declare function icebreaker(config?: UserConfig): UserConfig;
5
5
 
package/dist/index.mjs CHANGED
@@ -1,3 +1,11 @@
1
+ // src/index.ts
2
+ import preset from "@commitlint/config-conventional";
3
+ import {
4
+ RuleConfigCondition,
5
+ RuleConfigSeverity,
6
+ TargetCaseType
7
+ } from "@commitlint/types";
8
+
1
9
  // ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
2
10
  function isPlainObject(value) {
3
11
  if (value === null || typeof value !== "object") {
@@ -68,10 +76,11 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
68
76
 
69
77
  // src/index.ts
70
78
  function icebreaker(config) {
71
- return defu(config, {
72
- extends: ["@commitlint/config-conventional"]
73
- });
79
+ return defu(config, preset);
74
80
  }
75
81
  export {
82
+ RuleConfigCondition,
83
+ RuleConfigSeverity,
84
+ TargetCaseType,
76
85
  icebreaker
77
86
  };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@icebreakers/commitlint-config",
3
3
  "type": "module",
4
- "version": "1.0.0",
5
- "description": "commitlint",
4
+ "version": "1.0.2",
5
+ "description": "icebreaker's commitlint config",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
8
8
  "repository": {
@@ -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",