commit-and-tag-version 12.4.1 → 12.4.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.
@@ -24,7 +24,7 @@ jobs:
24
24
  OS: ${{ matrix.os }}
25
25
  NODE_VERSION: ${{ matrix.node }}
26
26
  steps:
27
- - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
27
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
28
28
  - run: git fetch --prune --unshallow
29
29
  - run: git config --global user.name 'Actions'
30
30
  - run: git config --global user.email 'dummy@example.org'
@@ -35,6 +35,6 @@ jobs:
35
35
  - run: npm install --engine-strict
36
36
  - run: npm test
37
37
  - name: Codecov
38
- uses: codecov/codecov-action@v3
38
+ uses: codecov/codecov-action@v4
39
39
  with:
40
40
  env_vars: OS, NODE_VERSION
@@ -8,14 +8,14 @@ jobs:
8
8
  release-please:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
- - uses: GoogleCloudPlatform/release-please-action@v3
11
+ - uses: GoogleCloudPlatform/release-please-action@v4
12
12
  id: release
13
13
  with:
14
14
  token: ${{ secrets.GITHUB_TOKEN }}
15
15
  release-type: node
16
16
  package-name: commit-and-tag-version
17
17
  # The logic below handles the npm publication:
18
- - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
18
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
19
19
  # these if statements ensure that a publication only occurs when
20
20
  # a new release is created:
21
21
  if: ${{ steps.release.outputs.release_created }}
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [12.4.3](https://github.com/absolute-version/commit-and-tag-version/compare/v12.4.2...v12.4.3) (2024-09-09)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Correct issue where downstream dependency would throw `options.debug is not a function` ([4280bcf](https://github.com/absolute-version/commit-and-tag-version/commit/4280bcf102b78d1995b24ec9238219db81730ebd))
11
+
12
+ ## [12.4.2](https://github.com/absolute-version/commit-and-tag-version/compare/v12.4.1...v12.4.2) (2024-08-25)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **deps:** update dependency conventional-changelog to v4 ([#176](https://github.com/absolute-version/commit-and-tag-version/issues/176)) ([8d15fc7](https://github.com/absolute-version/commit-and-tag-version/commit/8d15fc788edc2fd5d901ccbbbacb3452eabc3091))
18
+
5
19
  ## [12.4.1](https://github.com/absolute-version/commit-and-tag-version/compare/v12.4.0...v12.4.1) (2024-04-28)
6
20
 
7
21
 
@@ -189,13 +189,18 @@ function bumpVersion(releaseAs, currentVersion, args) {
189
189
  }
190
190
  conventionalRecommendedBump(
191
191
  {
192
- debug:
193
- args.verbose &&
194
- console.info.bind(console, 'conventional-recommended-bump'),
195
192
  preset: presetOptions,
196
193
  path: args.path,
197
194
  tagPrefix: args.tagPrefix,
198
195
  lernaPackage: args.lernaPackage,
196
+ ...(args.verbose
197
+ ? {
198
+ debug: console.info.bind(
199
+ console,
200
+ 'conventional-recommended-bump',
201
+ ),
202
+ }
203
+ : {}),
199
204
  },
200
205
  args.parserOpts,
201
206
  function (err, release) {
@@ -58,11 +58,17 @@ function outputChangelog(args, newVersion) {
58
58
  const context = { version: newVersion };
59
59
  const changelogStream = conventionalChangelog(
60
60
  {
61
- debug:
62
- args.verbose && console.info.bind(console, 'conventional-changelog'),
63
61
  preset: presetLoader(args),
64
62
  tagPrefix: args.tagPrefix,
65
63
  releaseCount: args.releaseCount,
64
+ ...(args.verbose
65
+ ? {
66
+ debug: console.info.bind(
67
+ console,
68
+ 'conventional-recommended-bump',
69
+ ),
70
+ }
71
+ : {}),
66
72
  },
67
73
  context,
68
74
  { merges: null, path: args.path, showSignature: false },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commit-and-tag-version",
3
- "version": "12.4.1",
3
+ "version": "12.4.3",
4
4
  "description": "replacement for `npm version` with automatic CHANGELOG generation",
5
5
  "bin": "bin/cli.js",
6
6
  "scripts": {
@@ -39,7 +39,7 @@
39
39
  "homepage": "https://github.com/absolute-version/commit-and-tag-version#readme",
40
40
  "dependencies": {
41
41
  "chalk": "^2.4.2",
42
- "conventional-changelog": "3.1.25",
42
+ "conventional-changelog": "4.0.0",
43
43
  "conventional-changelog-config-spec": "2.1.0",
44
44
  "conventional-changelog-conventionalcommits": "6.1.0",
45
45
  "conventional-recommended-bump": "7.0.1",
@@ -49,22 +49,22 @@
49
49
  "figures": "^3.1.0",
50
50
  "find-up": "^5.0.0",
51
51
  "git-semver-tags": "^5.0.0",
52
- "jsdom": "^23.2.0",
53
- "semver": "^7.5.4",
52
+ "jsdom": "^25.0.0",
53
+ "semver": "^7.6.3",
54
54
  "w3c-xmlserializer": "^5.0.0",
55
55
  "yaml": "^2.4.1",
56
56
  "yargs": "^17.7.2"
57
57
  },
58
58
  "devDependencies": {
59
- "eslint": "^8.52.0",
60
- "eslint-config-prettier": "^9.0.0",
59
+ "eslint": "^8.56.0",
60
+ "eslint-config-prettier": "^9.1.0",
61
61
  "eslint-plugin-import": "^2.29.0",
62
62
  "eslint-plugin-jest": "^27.6.0",
63
63
  "eslint-plugin-n": "^15.2.0",
64
64
  "eslint-plugin-promise": "^6.1.1",
65
65
  "jest": "^29.7.0",
66
66
  "jest-serial-runner": "^1.2.1",
67
- "prettier": "3.0.3",
67
+ "prettier": "3.3.2",
68
68
  "shelljs": "^0.8.5",
69
69
  "strip-ansi": "^6.0.0"
70
70
  }