commitlint-plugin-function-rules 2.0.0 → 2.0.1-beta.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/README.md CHANGED
@@ -1,11 +1,11 @@
1
- # commitlint plugin function rules
1
+ # commitlint plugin function rules <!-- omit in toc -->
2
2
 
3
- [commitlint][commitlint] plugin to use functions as rule value.
3
+ [**commitlint**][commitlint] plugin to use functions as rule value.
4
4
 
5
5
  - Create custom function, `sync` or `async`, as rule value.
6
6
  - Create rules that are based on the commit message.
7
7
  - Write rules with regular expressions.
8
- - Use the same rules that are [available](https://commitlint.js.org/#/reference-rules) in [commitlint][commitlint].
8
+ - Use the same rules that are [available in **commitlint**][commitlint].
9
9
 
10
10
  ---
11
11
 
@@ -17,13 +17,8 @@
17
17
  [![Code coverage](https://img.shields.io/codecov/c/github/vidavidorra/commitlint-plugin-function-rules?logo=codecov&style=flat-square)](https://codecov.io/gh/vidavidorra/commitlint-plugin-function-rules)
18
18
  [![License](https://img.shields.io/github/license/vidavidorra/commitlint-plugin-function-rules?style=flat-square)](LICENSE.md)
19
19
 
20
- <a name="toc"></a>
21
-
22
- ## Table of contents
23
-
24
20
  - [Install](#install)
25
21
  - [Usage](#usage)
26
- - [Documentation](#documentation)
27
22
  - [Contributing](#contributing)
28
23
  - [Security policy](#security-policy)
29
24
  - [License](#license)
@@ -31,14 +26,14 @@
31
26
  ## Install
32
27
 
33
28
  ```shell
34
- npm install --save-dev commitlint-plugin-function-rules @commitlint/cli
29
+ npm install --save-dev commitlint-plugin-function-rules @commitlint/cli @commitlint/config-conventional
35
30
  ```
36
31
 
37
32
  ## Usage
38
33
 
39
- Use this plugin in your project's commitlint configuration by specifying it as item in the `plugins` array. All rules have same name as the [commitlint][commitlint] rules, but with the `function-rules` prefix.
34
+ Use this plugin in your project's [**commitlint**][commitlint] configuration by specifying it as item in the `plugins` array. All rules have same name as rules that are [available in **commitlint**][rules], but with the `function-rules` prefix. The example `commitlint.config.js`, or `commitlint.config.cjs` if the package is an ES module, shows the usage of a function rule.
40
35
 
41
- > **_Note:_** The available rules are the same as in [commitlint][commitlint], so it is recommended to disable the [commitlint][commitlint] rule when specifying a function rule to avoid undefined behaviour.
36
+ > **Note** The available rules are the same as in [**commitlint**][commitlint], so it is recommended to disable the [**commitlint**][commitlint] rule when specifying a function rule to avoid undefined behaviour.
42
37
 
43
38
  ```js
44
39
  module.exports = {
@@ -50,31 +45,26 @@ module.exports = {
50
45
  2, // level: error
51
46
  'always',
52
47
  (parsed) => {
53
- if (parsed.type === 'chore' && parsed.header.length < 20) {
48
+ // Allow longer headers for commits with "deps" scope.
49
+ if (parsed.scope === 'deps' && parsed.header.length <= 200) {
54
50
  return [true];
55
51
  }
56
- return [false, 'chore header must not be longer than 120 characters'];
52
+ return [false, 'deps header must not be longer than 200 characters'];
57
53
  },
58
54
  ],
59
55
  },
60
56
  };
61
57
  ```
62
58
 
63
- ## Documentation
64
-
65
59
  ## Contributing
66
60
 
67
- Please [create an issue](https://github.com/vidavidorra/commitlint-plugin-function-rules/issues/new/choose) if you have a bug report, feature proposal or question that does not yet exist.
68
-
69
- Please give this project a star ⭐ if you like it and consider becoming a [sponsor](https://github.com/sponsors/jdbruijn) to support this project.
61
+ Please [create an issue](https://github.com/vidavidorra/commitlint-plugin-function-rules/issues/new/choose) if you have a bug report or feature proposal, or [create a discussion](https://github.com/vidavidorra/commitlint-plugin-function-rules/discussions) if you have a question. If you like this project, please consider giving it a star ⭐ and/or become a [sponsor](https://github.com/sponsors/jdbruijn) to support my work.
70
62
 
71
63
  Refer to the [contributing guide](https://github.com/vidavidorra/.github/blob/main/CONTRIBUTING.md) detailed information about other contributions, like pull requests.
72
64
 
73
65
  [![Conventional Commits: 1.0.0](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow?style=flat-square)](https://conventionalcommits.org)
66
+ [![XO code style](https://shields.io/badge/code_style-5ed9c7?logo=xo&labelColor=gray&style=flat-square)](https://github.com/xojs/xo)
74
67
  [![Code style](https://img.shields.io/badge/code_style-Prettier-ff69b4?logo=prettier&style=flat-square)](https://github.com/prettier/prettier)
75
- [![Linting](https://img.shields.io/badge/linting-ESLint-lightgrey?logo=eslint&style=flat-square)](https://eslint.org)
76
- [![Lint commit messages](https://img.shields.io/github/workflow/status/vidavidorra/commitlint-plugin-function-rules/Lint%20commit%20messages?logo=github&label=Lint%20commit%20messages&style=flat-square)](https://github.com/vidavidorra/commitlint-plugin-function-rules/actions)
77
- [![Build](https://img.shields.io/github/workflow/status/vidavidorra/commitlint-plugin-function-rules/Build?logo=github&label=Build&style=flat-square)](https://github.com/vidavidorra/commitlint-plugin-function-rules/actions)
78
68
 
79
69
  ## Security policy
80
70
 
@@ -86,7 +76,7 @@ This project is licensed under the [GPLv3 license](https://www.gnu.org/licenses/
86
76
 
87
77
  Copyright © 2020-2023 Jeroen de Bruijn
88
78
 
89
- <details><summary>License details.</summary>
79
+ <details><summary>License notice</summary>
90
80
  <p>
91
81
 
92
82
  This program is free software: you can redistribute it and/or modify
@@ -109,3 +99,4 @@ The full text of the license is available in the [LICENSE](LICENSE.md) file in t
109
99
  <!-- References -->
110
100
 
111
101
  [commitlint]: https://commitlint.js.org/
102
+ [rules]: https://commitlint.js.org/#/reference-rules
@@ -1,5 +1,4 @@
1
- import { Commit, Rule, RuleConfigCondition, RuleOutcome } from '@commitlint/types';
2
- declare type FunctionRule = (parsed: Commit, when: RuleConfigCondition) => RuleOutcome | Promise<RuleOutcome>;
1
+ import { type Commit, type Rule, type RuleConfigCondition, type RuleOutcome } from '@commitlint/types';
2
+ type FunctionRule = (parsed: Commit, when: RuleConfigCondition) => RuleOutcome | Promise<RuleOutcome>;
3
3
  declare const functionRule: Rule<FunctionRule>;
4
- export default functionRule;
5
- export { FunctionRule };
4
+ export { type FunctionRule, functionRule };
@@ -1,13 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const functionRule = (parsed, when = 'always', functionRule) => {
1
+ const functionRule = async (parsed, when = 'always', functionRule) => {
4
2
  if (functionRule === undefined) {
5
3
  return [true];
6
4
  }
7
5
  if (typeof functionRule !== 'function') {
8
- throw new Error('Not a valid function!');
6
+ throw new TypeError('Not a valid function!');
9
7
  }
10
8
  return functionRule(parsed, when);
11
9
  };
12
- exports.default = functionRule;
10
+ export { functionRule };
13
11
  //# sourceMappingURL=function-rule.js.map
package/dist/index.cjs ADDED
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ // src/function-rule.ts
4
+ var functionRule = async (parsed, when = "always", functionRule2) => {
5
+ if (functionRule2 === void 0) {
6
+ return [true];
7
+ }
8
+ if (typeof functionRule2 !== "function") {
9
+ throw new TypeError("Not a valid function!");
10
+ }
11
+ return functionRule2(parsed, when);
12
+ };
13
+
14
+ // src/rules.ts
15
+ var rules = {
16
+ "function-rules/body-case": functionRule,
17
+ "function-rules/body-empty": functionRule,
18
+ "function-rules/body-full-stop": functionRule,
19
+ "function-rules/body-leading-blank": functionRule,
20
+ "function-rules/body-max-length": functionRule,
21
+ "function-rules/body-max-line-length": functionRule,
22
+ "function-rules/body-min-length": functionRule,
23
+ "function-rules/footer-empty": functionRule,
24
+ "function-rules/footer-leading-blank": functionRule,
25
+ "function-rules/footer-max-length": functionRule,
26
+ "function-rules/footer-max-line-length": functionRule,
27
+ "function-rules/footer-min-length": functionRule,
28
+ "function-rules/header-case": functionRule,
29
+ "function-rules/header-full-stop": functionRule,
30
+ "function-rules/header-max-length": functionRule,
31
+ "function-rules/header-min-length": functionRule,
32
+ "function-rules/references-empty": functionRule,
33
+ "function-rules/scope-case": functionRule,
34
+ "function-rules/scope-empty": functionRule,
35
+ "function-rules/scope-enum": functionRule,
36
+ "function-rules/scope-max-length": functionRule,
37
+ "function-rules/scope-min-length": functionRule,
38
+ "function-rules/signed-off-by": functionRule,
39
+ "function-rules/subject-case": functionRule,
40
+ "function-rules/subject-empty": functionRule,
41
+ "function-rules/subject-exclamation-mark": functionRule,
42
+ "function-rules/subject-full-stop": functionRule,
43
+ "function-rules/subject-max-length": functionRule,
44
+ "function-rules/subject-min-length": functionRule,
45
+ "function-rules/trailer-exists": functionRule,
46
+ "function-rules/type-case": functionRule,
47
+ "function-rules/type-empty": functionRule,
48
+ "function-rules/type-enum": functionRule,
49
+ "function-rules/type-max-length": functionRule,
50
+ "function-rules/type-min-length": functionRule
51
+ };
52
+
53
+ // src/plugin.ts
54
+ var plugin = { rules };
55
+
56
+ // src/index.ts
57
+ module.exports = plugin;
package/dist/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- import { Plugin } from '@commitlint/types';
2
- declare const plugin: Plugin;
1
+ import { plugin } from './plugin.js';
3
2
  /**
4
3
  * Export single object, according to the CommonJS model. The CommonJS module is
5
4
  * explicitly used here as that's the kind of module commitlint requires for
6
- * plugins.
5
+ * shareable configurations. This project is an ES module for ease of
6
+ * development, and thus requires the error for an export assignment to be
7
+ * disabled.
7
8
  */
8
9
  export = plugin;
package/dist/index.js CHANGED
@@ -1,10 +1,2 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- const rules_1 = __importDefault(require("./rules"));
6
- const plugin = {
7
- rules: rules_1.default,
8
- };
9
- module.exports = plugin;
1
+ import { plugin } from './plugin.js';
10
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ import { type Plugin } from '@commitlint/types';
2
+ declare const plugin: Plugin;
3
+ export { plugin };
package/dist/plugin.js ADDED
@@ -0,0 +1,4 @@
1
+ import { rules } from './rules.js';
2
+ const plugin = { rules };
3
+ export { plugin };
4
+ //# sourceMappingURL=plugin.js.map
package/dist/rules.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { Plugin } from '@commitlint/types';
1
+ import { type Plugin } from '@commitlint/types';
2
2
  declare const rules: Plugin['rules'];
3
- export default rules;
3
+ export { rules };
package/dist/rules.js CHANGED
@@ -1,45 +1,40 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const function_rule_1 = __importDefault(require("./function-rule"));
1
+ import { functionRule } from './function-rule.js';
7
2
  const rules = {
8
- 'function-rules/body-case': function_rule_1.default,
9
- 'function-rules/body-empty': function_rule_1.default,
10
- 'function-rules/body-full-stop': function_rule_1.default,
11
- 'function-rules/body-leading-blank': function_rule_1.default,
12
- 'function-rules/body-max-length': function_rule_1.default,
13
- 'function-rules/body-max-line-length': function_rule_1.default,
14
- 'function-rules/body-min-length': function_rule_1.default,
15
- 'function-rules/footer-empty': function_rule_1.default,
16
- 'function-rules/footer-leading-blank': function_rule_1.default,
17
- 'function-rules/footer-max-length': function_rule_1.default,
18
- 'function-rules/footer-max-line-length': function_rule_1.default,
19
- 'function-rules/footer-min-length': function_rule_1.default,
20
- 'function-rules/header-case': function_rule_1.default,
21
- 'function-rules/header-full-stop': function_rule_1.default,
22
- 'function-rules/header-max-length': function_rule_1.default,
23
- 'function-rules/header-min-length': function_rule_1.default,
24
- 'function-rules/references-empty': function_rule_1.default,
25
- 'function-rules/scope-case': function_rule_1.default,
26
- 'function-rules/scope-empty': function_rule_1.default,
27
- 'function-rules/scope-enum': function_rule_1.default,
28
- 'function-rules/scope-max-length': function_rule_1.default,
29
- 'function-rules/scope-min-length': function_rule_1.default,
30
- 'function-rules/signed-off-by': function_rule_1.default,
31
- 'function-rules/subject-case': function_rule_1.default,
32
- 'function-rules/subject-empty': function_rule_1.default,
33
- 'function-rules/subject-exclamation-mark': function_rule_1.default,
34
- 'function-rules/subject-full-stop': function_rule_1.default,
35
- 'function-rules/subject-max-length': function_rule_1.default,
36
- 'function-rules/subject-min-length': function_rule_1.default,
37
- 'function-rules/trailer-exists': function_rule_1.default,
38
- 'function-rules/type-case': function_rule_1.default,
39
- 'function-rules/type-empty': function_rule_1.default,
40
- 'function-rules/type-enum': function_rule_1.default,
41
- 'function-rules/type-max-length': function_rule_1.default,
42
- 'function-rules/type-min-length': function_rule_1.default,
3
+ 'function-rules/body-case': functionRule,
4
+ 'function-rules/body-empty': functionRule,
5
+ 'function-rules/body-full-stop': functionRule,
6
+ 'function-rules/body-leading-blank': functionRule,
7
+ 'function-rules/body-max-length': functionRule,
8
+ 'function-rules/body-max-line-length': functionRule,
9
+ 'function-rules/body-min-length': functionRule,
10
+ 'function-rules/footer-empty': functionRule,
11
+ 'function-rules/footer-leading-blank': functionRule,
12
+ 'function-rules/footer-max-length': functionRule,
13
+ 'function-rules/footer-max-line-length': functionRule,
14
+ 'function-rules/footer-min-length': functionRule,
15
+ 'function-rules/header-case': functionRule,
16
+ 'function-rules/header-full-stop': functionRule,
17
+ 'function-rules/header-max-length': functionRule,
18
+ 'function-rules/header-min-length': functionRule,
19
+ 'function-rules/references-empty': functionRule,
20
+ 'function-rules/scope-case': functionRule,
21
+ 'function-rules/scope-empty': functionRule,
22
+ 'function-rules/scope-enum': functionRule,
23
+ 'function-rules/scope-max-length': functionRule,
24
+ 'function-rules/scope-min-length': functionRule,
25
+ 'function-rules/signed-off-by': functionRule,
26
+ 'function-rules/subject-case': functionRule,
27
+ 'function-rules/subject-empty': functionRule,
28
+ 'function-rules/subject-exclamation-mark': functionRule,
29
+ 'function-rules/subject-full-stop': functionRule,
30
+ 'function-rules/subject-max-length': functionRule,
31
+ 'function-rules/subject-min-length': functionRule,
32
+ 'function-rules/trailer-exists': functionRule,
33
+ 'function-rules/type-case': functionRule,
34
+ 'function-rules/type-empty': functionRule,
35
+ 'function-rules/type-enum': functionRule,
36
+ 'function-rules/type-max-length': functionRule,
37
+ 'function-rules/type-min-length': functionRule,
43
38
  };
44
- exports.default = rules;
39
+ export { rules };
45
40
  //# sourceMappingURL=rules.js.map
package/package.json CHANGED
@@ -1,108 +1,43 @@
1
1
  {
2
2
  "name": "commitlint-plugin-function-rules",
3
- "version": "2.0.0",
3
+ "version": "2.0.1-beta.2",
4
4
  "description": "commitlint plugin to define rules as functions.",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "files": [
8
- "dist/**/!(*.test).{js,d.ts}"
9
- ],
10
- "scripts": {
11
- "prepare": "husky install .github/husky",
12
- "lint": "run-p format:check lint-es",
13
- "lint:fix": "run-s format lint-es:fix",
14
- "lint-es": "eslint --ext .ts,.tsx,.js,.jsx,.json .",
15
- "lint-es:file": "eslint --ext .ts,.tsx,.js,.jsx,.json",
16
- "lint-es:fix": "eslint --ext .ts,.tsx,.js,.jsx,.json --fix .",
17
- "lint-es:file:fix": "eslint --ext .ts,.tsx,.js,.jsx,.json --fix",
18
- "format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
19
- "format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
20
- "build": "tsc",
21
- "test": "c8 ava"
22
- },
23
- "repository": {
24
- "type": "git",
25
- "url": "git+https://github.com/vidavidorra/commitlint-plugin-function-rules.git"
26
- },
27
5
  "keywords": [
28
6
  "commitlint",
29
7
  "commitlintplugin",
30
8
  "plugin",
31
9
  "rules"
32
10
  ],
33
- "author": "Jeroen de Bruijn",
34
- "license": "GPL-3.0-or-later",
11
+ "homepage": "https://github.com/vidavidorra/commitlint-plugin-function-rules#readme",
35
12
  "bugs": {
36
13
  "url": "https://github.com/vidavidorra/commitlint-plugin-function-rules/issues"
37
14
  },
38
- "homepage": "https://github.com/vidavidorra/commitlint-plugin-function-rules#readme",
39
- "engines": {
40
- "node": ">=16"
41
- },
42
- "peerDependencies": {
43
- "@commitlint/lint": ">=9.1.2 <18"
44
- },
45
- "devDependencies": {
46
- "@ava/typescript": "3.0.1",
47
- "@commitlint/cli": "17.4.4",
48
- "@commitlint/config-conventional": "17.4.4",
49
- "@commitlint/lint-10.x": "npm:@commitlint/lint@10.0.0",
50
- "@commitlint/lint-11.x": "npm:@commitlint/lint@11.0.0",
51
- "@commitlint/lint-12.x": "npm:@commitlint/lint@12.1.4",
52
- "@commitlint/lint-13.x": "npm:@commitlint/lint@13.2.0",
53
- "@commitlint/lint-14.x": "npm:@commitlint/lint@14.1.0",
54
- "@commitlint/lint-15.x": "npm:@commitlint/lint@15.0.0",
55
- "@commitlint/lint-16.x": "npm:@commitlint/lint@16.2.4",
56
- "@commitlint/lint-17.x": "npm:@commitlint/lint@17.4.4",
57
- "@commitlint/lint-9.x": "npm:@commitlint/lint@9.1.2",
58
- "@commitlint/load-10.x": "npm:@commitlint/load@10.0.0",
59
- "@commitlint/load-11.x": "npm:@commitlint/load@11.0.0",
60
- "@commitlint/load-12.x": "npm:@commitlint/load@12.1.4",
61
- "@commitlint/load-13.x": "npm:@commitlint/load@13.2.1",
62
- "@commitlint/load-14.x": "npm:@commitlint/load@14.1.0",
63
- "@commitlint/load-15.x": "npm:@commitlint/load@15.0.0",
64
- "@commitlint/load-16.x": "npm:@commitlint/load@16.3.0",
65
- "@commitlint/load-17.x": "npm:@commitlint/load@17.4.4",
66
- "@commitlint/load-9.x": "npm:@commitlint/load@9.1.2",
67
- "@commitlint/rules": "17.4.4",
68
- "@commitlint/types": "17.4.4",
69
- "@semantic-release/changelog": "6.0.3",
70
- "@semantic-release/exec": "6.0.3",
71
- "@semantic-release/git": "10.0.1",
72
- "@types/sinon": "10.0.13",
73
- "@typescript-eslint/eslint-plugin": "5.58.0",
74
- "@typescript-eslint/parser": "5.58.0",
75
- "ava": "5.0.1",
76
- "c8": "7.13.0",
77
- "eslint": "8.38.0",
78
- "eslint-config-prettier": "8.8.0",
79
- "eslint-plugin-json": "3.1.0",
80
- "eslint-plugin-prettier": "4.2.1",
81
- "husky": "8.0.3",
82
- "lint-staged": "13.2.1",
83
- "npm-run-all": "4.1.5",
84
- "prettier": "2.8.7",
85
- "semantic-release": "21.0.1",
86
- "sinon": "15.0.3",
87
- "typescript": "4.8.4"
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/vidavidorra/commitlint-plugin-function-rules.git"
88
18
  },
89
- "ava": {
90
- "typescript": {
91
- "rewritePaths": {
92
- "src/": "dist/"
93
- },
94
- "compile": "tsc"
19
+ "license": "GPL-3.0-or-later",
20
+ "author": "Jeroen de Bruijn",
21
+ "type": "module",
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/plugin.js",
25
+ "require": "./dist/index.cjs"
95
26
  }
96
27
  },
97
- "c8": {
98
- "reporter": [
99
- "cobertura",
100
- "lcovonly",
101
- "text"
102
- ],
103
- "include": [
104
- "dist/**/*.js"
105
- ]
28
+ "files": [
29
+ "./dist/**/!(*.test).{js,d.ts,cjs}"
30
+ ],
31
+ "scripts": {
32
+ "prepare": "husky install .github/husky",
33
+ "lint": "npm run format:check && xo",
34
+ "lint:fix": "npm run format && xo --fix",
35
+ "format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
36
+ "format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
37
+ "build": "npm run build:esm && npm run build:cjs",
38
+ "build:esm": "tsc",
39
+ "build:cjs": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs",
40
+ "test": "c8 ava"
106
41
  },
107
42
  "prettier": {
108
43
  "singleQuote": true,
@@ -228,5 +163,77 @@
228
163
  }
229
164
  ]
230
165
  }
166
+ },
167
+ "ava": {
168
+ "files": [
169
+ "!worktrees",
170
+ "src/**/*.test.ts"
171
+ ],
172
+ "typescript": {
173
+ "rewritePaths": {
174
+ "src/": "dist/"
175
+ },
176
+ "compile": "tsc"
177
+ }
178
+ },
179
+ "c8": {
180
+ "include": [
181
+ "dist/**/*.js"
182
+ ],
183
+ "reporter": [
184
+ "cobertura",
185
+ "html",
186
+ "lcovonly",
187
+ "text-summary"
188
+ ]
189
+ },
190
+ "xo": {
191
+ "prettier": true,
192
+ "space": true
193
+ },
194
+ "devDependencies": {
195
+ "@ava/typescript": "4.0.0",
196
+ "@commitlint/cli": "17.6.5",
197
+ "@commitlint/config-conventional": "17.6.5",
198
+ "@commitlint/lint-10.x": "npm:@commitlint/lint@10.0.0",
199
+ "@commitlint/lint-11.x": "npm:@commitlint/lint@11.0.0",
200
+ "@commitlint/lint-12.x": "npm:@commitlint/lint@12.1.4",
201
+ "@commitlint/lint-13.x": "npm:@commitlint/lint@13.2.0",
202
+ "@commitlint/lint-14.x": "npm:@commitlint/lint@14.1.0",
203
+ "@commitlint/lint-15.x": "npm:@commitlint/lint@15.0.0",
204
+ "@commitlint/lint-16.x": "npm:@commitlint/lint@16.2.4",
205
+ "@commitlint/lint-17.x": "npm:@commitlint/lint@17.6.5",
206
+ "@commitlint/lint-9.x": "npm:@commitlint/lint@9.1.2",
207
+ "@commitlint/load-10.x": "npm:@commitlint/load@10.0.0",
208
+ "@commitlint/load-11.x": "npm:@commitlint/load@11.0.0",
209
+ "@commitlint/load-12.x": "npm:@commitlint/load@12.1.4",
210
+ "@commitlint/load-13.x": "npm:@commitlint/load@13.2.1",
211
+ "@commitlint/load-14.x": "npm:@commitlint/load@14.1.0",
212
+ "@commitlint/load-15.x": "npm:@commitlint/load@15.0.0",
213
+ "@commitlint/load-16.x": "npm:@commitlint/load@16.3.0",
214
+ "@commitlint/load-17.x": "npm:@commitlint/load@17.5.0",
215
+ "@commitlint/load-9.x": "npm:@commitlint/load@9.1.2",
216
+ "@commitlint/rules": "17.6.5",
217
+ "@commitlint/types": "17.4.4",
218
+ "@semantic-release/changelog": "6.0.3",
219
+ "@semantic-release/exec": "6.0.3",
220
+ "@semantic-release/git": "10.0.1",
221
+ "@types/sinon": "10.0.15",
222
+ "ava": "5.2.0",
223
+ "c8": "8.0.0",
224
+ "esbuild": "0.18.6",
225
+ "husky": "8.0.3",
226
+ "lint-staged": "13.2.2",
227
+ "prettier": "2.8.8",
228
+ "semantic-release": "21.0.5",
229
+ "sinon": "15.1.2",
230
+ "typescript": "5.0.3",
231
+ "xo": "0.54.2"
232
+ },
233
+ "peerDependencies": {
234
+ "@commitlint/lint": ">=9.1.2 <18"
235
+ },
236
+ "engines": {
237
+ "node": ">=16"
231
238
  }
232
239
  }