@alanscodelog/semantic-release-config 4.2.0 → 5.0.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
@@ -1,7 +1,13 @@
1
1
  [![Release](https://github.com/alanscodelog/my-semantic-release-config/actions/workflows/release.yml/badge.svg)](https://github.com/alanscodelog/my-semantic-release-config/actions/workflows/release.yml)
2
2
  [![NPM Version (with latest tag)](https://img.shields.io/npm/v/%40alanscodelog%2Fsemantic-release-config/latest)](https://www.npmjs.com/package/@alanscodelog/semantic-release-config/v/latest)
3
3
 
4
- My preferred semantic release config, with support for 0.0.0 versioned releases and showing the full commit body in the release notes.
4
+ My preferred semantic release config:
5
+
6
+ # Features
7
+
8
+ - Support for 0.0.0 versioned releases.
9
+ - Shows the full commit body in the release notes.
10
+ - Uses `semantic-release/git` to commit the version change (makes packages in monorepos easier to handle).
5
11
 
6
12
  # Install
7
13
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alanscodelog/semantic-release-config",
3
3
  "description": "My preferred semantic release config.",
4
- "version": "4.2.0",
4
+ "version": "5.0.0",
5
5
  "type": "module",
6
6
  "main": "release.config.js",
7
7
  "scripts": {
@@ -12,11 +12,12 @@
12
12
  "@alanscodelog/commitlint-config": "^3.0.1",
13
13
  "@alanscodelog/semantic-release-config": "^4.1.1",
14
14
  "@semantic-release/changelog": "^6.0.3",
15
- "@semantic-release/commit-analyzer": "^12.0.0",
16
- "@semantic-release/github": "^10.0.5",
15
+ "@semantic-release/commit-analyzer": "^13.0.0",
16
+ "@semantic-release/github": "^11.0.0",
17
17
  "@semantic-release/npm": "^12.0.1",
18
- "@semantic-release/release-notes-generator": "^13.0.0",
19
- "semantic-release": "^23.1.1"
18
+ "@semantic-release/release-notes-generator": "^14.0.1",
19
+ "@semantic-release/git": "^10.0.1",
20
+ "semantic-release": "^24.1.2"
20
21
  },
21
22
  "devDependencies": {
22
23
  "@commitlint/cli": "^19.3.0",
package/release.config.js CHANGED
@@ -17,9 +17,10 @@ const types = [
17
17
  { type: "fix", section: ":bug: Fixes", release: "patch" },
18
18
  { type: "revert", section: ":arrow_backward: Reverts", release: "patch" },
19
19
 
20
- { type: "docs", section: ":book: Documentation", release: false }, // they'd get built and published anyways
21
- { type: "docs", scope: "readme", release: "patch" }, // so npm's readme is updated
22
-
20
+ // they'd get built and published anyways
21
+ { type: "docs", section: ":book: Documentation", release: false },
22
+ // so npm's readme is updated
23
+ { type: "docs", scope: "readme", release: "patch" },
23
24
  { type: "perf", section: ":rocket: Performance Improvements", release: "patch" },
24
25
 
25
26
  // HIDDEN
@@ -95,6 +96,10 @@ export default{
95
96
  } :{}),
96
97
  },
97
98
  } ],
99
+ ["@semantic-release/git", {
100
+ "assets": [ "package.json" ],
101
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
102
+ }],
98
103
  "@semantic-release/github",
99
104
  "@semantic-release/npm",
100
105
  ],