@devpow112/semantic-release-config 2.1.2 → 2.2.1
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 +14 -11
- package/package.json +18 -18
- package/src/config.js +4 -1
package/README.md
CHANGED
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
[![License][License Badge]](LICENSE)
|
|
4
4
|
[![Version][Version Badge]][Version Package]
|
|
5
5
|
[![Release][Release Badge]][Release Workflow]
|
|
6
|
-
[![
|
|
7
|
-
[![Node Version][Node Version Badge]](package.json#L35)
|
|
6
|
+
[![Node Version][Node Version Badge]](package.json#L51)
|
|
8
7
|
|
|
9
8
|
Shareable semantic release configuration.
|
|
10
9
|
|
|
@@ -43,7 +42,7 @@ npm i
|
|
|
43
42
|
Execute linters via `npm`.
|
|
44
43
|
|
|
45
44
|
```console
|
|
46
|
-
# git, javascript and
|
|
45
|
+
# git, javascript, markdown and package.json
|
|
47
46
|
npm run lint
|
|
48
47
|
|
|
49
48
|
# git only
|
|
@@ -54,21 +53,27 @@ npm run lint:js
|
|
|
54
53
|
|
|
55
54
|
# markdown only
|
|
56
55
|
npm run lint:md
|
|
56
|
+
|
|
57
|
+
# package.json only
|
|
58
|
+
npm run lint:pkg
|
|
57
59
|
```
|
|
58
60
|
|
|
59
|
-
###
|
|
61
|
+
### Fixing
|
|
60
62
|
|
|
61
|
-
Execute
|
|
63
|
+
Execute automatic fixers via `npm`.
|
|
62
64
|
|
|
63
65
|
```console
|
|
64
|
-
# javascript and
|
|
65
|
-
npm run
|
|
66
|
+
# javascript, markdown and package.json
|
|
67
|
+
npm run fix
|
|
66
68
|
|
|
67
69
|
# javascript only
|
|
68
|
-
npm run
|
|
70
|
+
npm run fix:js
|
|
69
71
|
|
|
70
72
|
# markdown only
|
|
71
|
-
npm run
|
|
73
|
+
npm run fix:md
|
|
74
|
+
|
|
75
|
+
# package.json only
|
|
76
|
+
npm run fix:pkg
|
|
72
77
|
```
|
|
73
78
|
|
|
74
79
|
<!-- links -->
|
|
@@ -78,6 +83,4 @@ npm run format:md
|
|
|
78
83
|
[Node Version Badge]: https://img.shields.io/node/v/@devpow112/semantic-release-config
|
|
79
84
|
[Release Badge]: https://github.com/devpow112/semantic-release-config/actions/workflows/release.yml/badge.svg?branch=main
|
|
80
85
|
[Release Workflow]: https://github.com/devpow112/semantic-release-config/actions/workflows/release.yml?query=branch%3Amain
|
|
81
|
-
[Vulnerabilities Badge]: https://img.shields.io/snyk/vulnerabilities/github/devpow112/semantic-release-config?label=Vulnerabilities
|
|
82
|
-
[Vulnerabilities Report]: https://snyk.io/test/github/devpow112/semantic-release-config
|
|
83
86
|
[Semantic Release configuration]: https://semantic-release.gitbook.io/semantic-release/usage/shareable-configurations
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devpow112/semantic-release-config",
|
|
3
|
-
"version": "2.1
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "Shareable semantic release configuration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"semantic-release-config"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "https://github.com/devpow112/semantic-release-config.git"
|
|
14
|
+
"url": "git+https://github.com/devpow112/semantic-release-config.git"
|
|
15
15
|
},
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"author": "Devon Powell <devon.f.powell@gmail.com>",
|
|
@@ -21,31 +21,31 @@
|
|
|
21
21
|
],
|
|
22
22
|
"scripts": {
|
|
23
23
|
"lint": "run-s -s lint:git lint:js lint:md lint:pkg",
|
|
24
|
-
"lint:js": "eslint .",
|
|
25
|
-
"lint:md": "markdownlint .",
|
|
24
|
+
"lint:js": "eslint . --ignore-path .gitignore",
|
|
25
|
+
"lint:md": "markdownlint . --ignore-path .gitignore",
|
|
26
26
|
"lint:git": "commitlint --from origin/main --to HEAD",
|
|
27
|
-
"lint:pkg": "
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
27
|
+
"lint:pkg": "npm run -s fix:pkg -- --check",
|
|
28
|
+
"fix": "run-s -s fix:js fix:md fix:pkg",
|
|
29
|
+
"fix:js": "npm run -s lint:js -- --fix",
|
|
30
|
+
"fix:md": "npm run -s lint:md -- --fix",
|
|
31
|
+
"fix:pkg": "sort-package-json"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@commitlint/cli": "^17.
|
|
35
|
-
"@devpow112/commitlint-config": "^
|
|
36
|
-
"@devpow112/eslint-config": "^
|
|
34
|
+
"@commitlint/cli": "^17.8.1",
|
|
35
|
+
"@devpow112/commitlint-config": "^2.0.0",
|
|
36
|
+
"@devpow112/eslint-config": "^2.0.1",
|
|
37
37
|
"@semantic-release/git": "^10.0.1",
|
|
38
|
-
"conventional-changelog-conventionalcommits": "^
|
|
39
|
-
"eslint": "^8.
|
|
40
|
-
"markdownlint-cli": "^0.
|
|
38
|
+
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
39
|
+
"eslint": "^8.56.0",
|
|
40
|
+
"markdownlint-cli": "^0.38.0",
|
|
41
41
|
"npm-run-all": "^4.1.5",
|
|
42
|
-
"semantic-release": "^
|
|
43
|
-
"sort-package-json": "^2.
|
|
42
|
+
"semantic-release": "^22.0.12",
|
|
43
|
+
"sort-package-json": "^2.6.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@semantic-release/git": "^10",
|
|
47
47
|
"conventional-changelog-conventionalcommits": "^5",
|
|
48
|
-
"semantic-release": "^
|
|
48
|
+
"semantic-release": "^22"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=18"
|