commitlint-plugin-function-rules 2.0.1-beta.1 → 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/dist/index.d.ts +3 -1
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { plugin } from './plugin.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* Export single object, according to the CommonJS model. The CommonJS module is
|
|
4
4
|
* explicitly used here as that's the kind of module commitlint requires for
|
|
5
|
-
*
|
|
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.
|
|
6
8
|
*/
|
|
7
9
|
export = plugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commitlint-plugin-function-rules",
|
|
3
|
-
"version": "2.0.1-beta.
|
|
3
|
+
"version": "2.0.1-beta.2",
|
|
4
4
|
"description": "commitlint plugin to define rules as functions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"commitlint",
|
|
@@ -21,11 +21,10 @@
|
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"import": "./dist/
|
|
24
|
+
"import": "./dist/plugin.js",
|
|
25
25
|
"require": "./dist/index.cjs"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
"types": "./dist/index.d.ts",
|
|
29
28
|
"files": [
|
|
30
29
|
"./dist/**/!(*.test).{js,d.ts,cjs}"
|
|
31
30
|
],
|