commit-and-tag-version 12.4.0 → 12.4.2
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/.github/workflows/ci.yaml +2 -2
- package/.github/workflows/release-please.yml +2 -2
- package/CHANGELOG.md +14 -0
- package/README.md +1 -0
- package/lib/updaters/index.js +3 -3
- package/package.json +7 -7
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
OS: ${{ matrix.os }}
|
|
25
25
|
NODE_VERSION: ${{ matrix.node }}
|
|
26
26
|
steps:
|
|
27
|
-
- uses: actions/checkout@
|
|
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@
|
|
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@
|
|
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@
|
|
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.2](https://github.com/absolute-version/commit-and-tag-version/compare/v12.4.1...v12.4.2) (2024-08-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **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))
|
|
11
|
+
|
|
12
|
+
## [12.4.1](https://github.com/absolute-version/commit-and-tag-version/compare/v12.4.0...v12.4.1) (2024-04-28)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* raise the 'openapi'-updater to a higher order of precedence above the 'yaml'-updater ([#143](https://github.com/absolute-version/commit-and-tag-version/issues/143)) ([37fe178](https://github.com/absolute-version/commit-and-tag-version/commit/37fe178fdba051c665414565fe4b0e61336aff18))
|
|
18
|
+
|
|
5
19
|
## [12.4.0](https://github.com/absolute-version/commit-and-tag-version/compare/v12.3.0...v12.4.0) (2024-04-19)
|
|
6
20
|
|
|
7
21
|
|
package/README.md
CHANGED
|
@@ -22,6 +22,7 @@ _Having problems? Want to contribute? Join us on the [node-tooling community Sla
|
|
|
22
22
|
- [Maven Support (Java/Kotlin)](#maven-support-javakotlin)
|
|
23
23
|
- [Gradle Support (Java/Kotlin)](#gradle-support-javakotlin)
|
|
24
24
|
- [.NET Support](#net-support)
|
|
25
|
+
- [YAML Support](#yaml-support)
|
|
25
26
|
- [OpenAPI Support](#openapi-support)
|
|
26
27
|
- [Installing `commit-and-tag-version`](#installing-commit-and-tag-version)
|
|
27
28
|
- [As a local `npm run` script](#as-a-local-npm-run-script)
|
package/lib/updaters/index.js
CHANGED
|
@@ -35,12 +35,12 @@ function getUpdaterByFilename(filename) {
|
|
|
35
35
|
if (filename.endsWith('.csproj')) {
|
|
36
36
|
return getUpdaterByType('csproj');
|
|
37
37
|
}
|
|
38
|
-
if (/\.ya?ml$/.test(filename)) {
|
|
39
|
-
return getUpdaterByType('yaml');
|
|
40
|
-
}
|
|
41
38
|
if (/openapi.yaml/.test(filename)) {
|
|
42
39
|
return getUpdaterByType('openapi');
|
|
43
40
|
}
|
|
41
|
+
if (/\.ya?ml$/.test(filename)) {
|
|
42
|
+
return getUpdaterByType('yaml');
|
|
43
|
+
}
|
|
44
44
|
throw Error(
|
|
45
45
|
`Unsupported file (${filename}) provided for bumping.\n Please specify the updater \`type\` or use a custom \`updater\`.`,
|
|
46
46
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commit-and-tag-version",
|
|
3
|
-
"version": "12.4.
|
|
3
|
+
"version": "12.4.2",
|
|
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": "
|
|
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": "^
|
|
53
|
-
"semver": "^7.
|
|
52
|
+
"jsdom": "^24.1.1",
|
|
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.
|
|
60
|
-
"eslint-config-prettier": "^9.
|
|
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.
|
|
67
|
+
"prettier": "3.3.2",
|
|
68
68
|
"shelljs": "^0.8.5",
|
|
69
69
|
"strip-ansi": "^6.0.0"
|
|
70
70
|
}
|