@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.
Files changed (3) hide show
  1. package/README.md +14 -11
  2. package/package.json +18 -18
  3. 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
- [![Vulnerabilities][Vulnerabilities Badge]][Vulnerabilities Report]
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 markdown
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
- ### Formatting
61
+ ### Fixing
60
62
 
61
- Execute formatters via `npm`.
63
+ Execute automatic fixers via `npm`.
62
64
 
63
65
  ```console
64
- # javascript and markdown
65
- npm run format
66
+ # javascript, markdown and package.json
67
+ npm run fix
66
68
 
67
69
  # javascript only
68
- npm run format:js
70
+ npm run fix:js
69
71
 
70
72
  # markdown only
71
- npm run format:md
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.2",
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": "sort-package-json --check",
28
- "format": "run-s -s format:js format:md format:pkg",
29
- "format:js": "npm run -s lint:js -- --fix",
30
- "format:md": "npm run -s lint:md -- --fix",
31
- "format:pkg": "sort-package-json"
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.6.1",
35
- "@devpow112/commitlint-config": "^1.0.4",
36
- "@devpow112/eslint-config": "^1.1.5",
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": "^5.0.0",
39
- "eslint": "^8.39.0",
40
- "markdownlint-cli": "^0.33.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": "^21.0.1",
43
- "sort-package-json": "^2.4.1"
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": "^21"
48
+ "semantic-release": "^22"
49
49
  },
50
50
  "engines": {
51
51
  "node": ">=18"
package/src/config.js CHANGED
@@ -1,5 +1,8 @@
1
1
  module.exports = {
2
- branches: ['main'],
2
+ branches: [
3
+ 'main',
4
+ 'release/+([0-9])?(.{+([0-9]),x}).x'
5
+ ],
3
6
  plugins: [
4
7
  [
5
8
  '@semantic-release/commit-analyzer',