commitlint-plugin-function-rules 2.0.1-beta.2 → 2.0.1-beta.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +11 -11
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # commitlint plugin function rules <!-- omit in toc -->
1
+ # [**commitlint**][commitlint] plugin function rules <!-- omit in toc -->
2
2
 
3
3
  [**commitlint**][commitlint] plugin to use functions as rule value.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commitlint-plugin-function-rules",
3
- "version": "2.0.1-beta.2",
3
+ "version": "2.0.1-beta.3",
4
4
  "description": "commitlint plugin to define rules as functions.",
5
5
  "keywords": [
6
6
  "commitlint",
@@ -29,16 +29,20 @@
29
29
  "./dist/**/!(*.test).{js,d.ts,cjs}"
30
30
  ],
31
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
32
  "build": "npm run build:esm && npm run build:cjs",
38
- "build:esm": "tsc",
39
33
  "build:cjs": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs",
34
+ "build:esm": "tsc",
35
+ "format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
36
+ "format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
37
+ "lint": "npm run format:check && xo",
38
+ "lint:fix": "npm run format && xo --fix",
39
+ "prepare": "husky install .github/husky",
40
40
  "test": "c8 ava"
41
41
  },
42
+ "xo": {
43
+ "prettier": true,
44
+ "space": true
45
+ },
42
46
  "prettier": {
43
47
  "singleQuote": true,
44
48
  "trailingComma": "all"
@@ -187,10 +191,6 @@
187
191
  "text-summary"
188
192
  ]
189
193
  },
190
- "xo": {
191
- "prettier": true,
192
- "space": true
193
- },
194
194
  "devDependencies": {
195
195
  "@ava/typescript": "4.0.0",
196
196
  "@commitlint/cli": "17.6.5",