@devpow112/semantic-release-config 2.1.2 → 2.2.0

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
@@ -4,7 +4,7 @@
4
4
  [![Version][Version Badge]][Version Package]
5
5
  [![Release][Release Badge]][Release Workflow]
6
6
  [![Vulnerabilities][Vulnerabilities Badge]][Vulnerabilities Report]
7
- [![Node Version][Node Version Badge]](package.json#L35)
7
+ [![Node Version][Node Version Badge]](package.json#L51)
8
8
 
9
9
  Shareable semantic release configuration.
10
10
 
@@ -43,7 +43,7 @@ npm i
43
43
  Execute linters via `npm`.
44
44
 
45
45
  ```console
46
- # git, javascript and markdown
46
+ # git, javascript, markdown and package.json
47
47
  npm run lint
48
48
 
49
49
  # git only
@@ -54,6 +54,9 @@ npm run lint:js
54
54
 
55
55
  # markdown only
56
56
  npm run lint:md
57
+
58
+ # package.json only
59
+ npm run lint:pkg
57
60
  ```
58
61
 
59
62
  ### Formatting
@@ -61,7 +64,7 @@ npm run lint:md
61
64
  Execute formatters via `npm`.
62
65
 
63
66
  ```console
64
- # javascript and markdown
67
+ # javascript, markdown and package.json
65
68
  npm run format
66
69
 
67
70
  # javascript only
@@ -69,6 +72,9 @@ npm run format:js
69
72
 
70
73
  # markdown only
71
74
  npm run format:md
75
+
76
+ # package.json only
77
+ npm run format:pkg
72
78
  ```
73
79
 
74
80
  <!-- links -->
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.0",
4
4
  "description": "Shareable semantic release configuration",
5
5
  "keywords": [
6
6
  "semantic-release-config"
@@ -31,16 +31,16 @@
31
31
  "format: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.0",
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.51.0",
40
+ "markdownlint-cli": "^0.37.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.5",
43
+ "sort-package-json": "^2.6.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@semantic-release/git": "^10",
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',