diff --git a/.yarn/cache/@types-conventional-changelog-config-spec-npm-2.1.3-4846d9629e-8bdfbc7bc6.zip b/.yarn/cache/@types-conventional-changelog-config-spec-npm-2.1.3-4846d9629e-8bdfbc7bc6.zip deleted file mode 100644 index 350b59508..000000000 Binary files a/.yarn/cache/@types-conventional-changelog-config-spec-npm-2.1.3-4846d9629e-8bdfbc7bc6.zip and /dev/null differ diff --git a/.yarn/cache/@types-conventional-recommended-bump-npm-6.1.1-1c00ca9397-c220614d47.zip b/.yarn/cache/@types-conventional-recommended-bump-npm-6.1.1-1c00ca9397-c220614d47.zip deleted file mode 100644 index 5be09937b..000000000 Binary files a/.yarn/cache/@types-conventional-recommended-bump-npm-6.1.1-1c00ca9397-c220614d47.zip and /dev/null differ diff --git a/.yarn/cache/@types-conventional-recommended-bump-npm-9.0.2-a438a5ed0b-dd8205e3ae.zip b/.yarn/cache/@types-conventional-recommended-bump-npm-9.0.2-a438a5ed0b-dd8205e3ae.zip new file mode 100644 index 000000000..81d6e53ea Binary files /dev/null and b/.yarn/cache/@types-conventional-recommended-bump-npm-9.0.2-a438a5ed0b-dd8205e3ae.zip differ diff --git a/.yarn/cache/@types-standard-version-npm-7.1.2-9d14463ca4-39b2b3d542.zip b/.yarn/cache/@types-standard-version-npm-7.1.2-9d14463ca4-39b2b3d542.zip deleted file mode 100644 index d39d168b6..000000000 Binary files a/.yarn/cache/@types-standard-version-npm-7.1.2-9d14463ca4-39b2b3d542.zip and /dev/null differ diff --git a/.yarn/cache/concat-stream-npm-2.0.0-8bb2ad5aa0-d7f75d48f0.zip b/.yarn/cache/concat-stream-npm-2.0.0-8bb2ad5aa0-d7f75d48f0.zip deleted file mode 100644 index 4f602256b..000000000 Binary files a/.yarn/cache/concat-stream-npm-2.0.0-8bb2ad5aa0-d7f75d48f0.zip and /dev/null differ diff --git a/.yarn/cache/conventional-changelog-preset-loader-npm-3.0.0-cafa12f2b8-199c4730c5.zip b/.yarn/cache/conventional-changelog-preset-loader-npm-3.0.0-cafa12f2b8-199c4730c5.zip deleted file mode 100644 index 66a157fcd..000000000 Binary files a/.yarn/cache/conventional-changelog-preset-loader-npm-3.0.0-cafa12f2b8-199c4730c5.zip and /dev/null differ diff --git a/.yarn/cache/conventional-commits-filter-npm-3.0.0-814899c1e8-73337f42ac.zip b/.yarn/cache/conventional-commits-filter-npm-3.0.0-814899c1e8-73337f42ac.zip deleted file mode 100644 index c3babccb6..000000000 Binary files a/.yarn/cache/conventional-commits-filter-npm-3.0.0-814899c1e8-73337f42ac.zip and /dev/null differ diff --git a/.yarn/cache/conventional-commits-parser-npm-4.0.0-bc0a9be0fa-12d95b5ba8.zip b/.yarn/cache/conventional-commits-parser-npm-4.0.0-bc0a9be0fa-12d95b5ba8.zip deleted file mode 100644 index bc2310e2e..000000000 Binary files a/.yarn/cache/conventional-commits-parser-npm-4.0.0-bc0a9be0fa-12d95b5ba8.zip and /dev/null differ diff --git a/.yarn/cache/conventional-recommended-bump-npm-7.0.1-2ed39b8c92-e2d1f2f40f.zip b/.yarn/cache/conventional-recommended-bump-npm-7.0.1-2ed39b8c92-e2d1f2f40f.zip deleted file mode 100644 index bafcae595..000000000 Binary files a/.yarn/cache/conventional-recommended-bump-npm-7.0.1-2ed39b8c92-e2d1f2f40f.zip and /dev/null differ diff --git a/.yarn/cache/conventional-recommended-bump-npm-9.0.0-78f1625d3f-0842628777.zip b/.yarn/cache/conventional-recommended-bump-npm-9.0.0-78f1625d3f-0842628777.zip new file mode 100644 index 000000000..33ced0a74 Binary files /dev/null and b/.yarn/cache/conventional-recommended-bump-npm-9.0.0-78f1625d3f-0842628777.zip differ diff --git a/.yarn/cache/git-raw-commits-npm-3.0.0-7cba1ec0d5-198892f307.zip b/.yarn/cache/git-raw-commits-npm-3.0.0-7cba1ec0d5-198892f307.zip deleted file mode 100644 index 9ed6e20fe..000000000 Binary files a/.yarn/cache/git-raw-commits-npm-3.0.0-7cba1ec0d5-198892f307.zip and /dev/null differ diff --git a/.yarn/cache/git-semver-tags-npm-5.0.1-e2e36d6d4c-c181e1d9e7.zip b/.yarn/cache/git-semver-tags-npm-5.0.1-e2e36d6d4c-c181e1d9e7.zip deleted file mode 100644 index 3f79366a1..000000000 Binary files a/.yarn/cache/git-semver-tags-npm-5.0.1-e2e36d6d4c-c181e1d9e7.zip and /dev/null differ diff --git a/.yarn/cache/is-text-path-npm-1.0.1-92c78fe58d-fb5d78752c.zip b/.yarn/cache/is-text-path-npm-1.0.1-92c78fe58d-fb5d78752c.zip deleted file mode 100644 index 03514391a..000000000 Binary files a/.yarn/cache/is-text-path-npm-1.0.1-92c78fe58d-fb5d78752c.zip and /dev/null differ diff --git a/.yarn/cache/lodash.ismatch-npm-4.4.0-e538fd6c3d-a393917578.zip b/.yarn/cache/lodash.ismatch-npm-4.4.0-e538fd6c3d-a393917578.zip deleted file mode 100644 index 223a6692b..000000000 Binary files a/.yarn/cache/lodash.ismatch-npm-4.4.0-e538fd6c3d-a393917578.zip and /dev/null differ diff --git a/.yarn/cache/modify-values-npm-1.0.1-9b2377e166-8296610c60.zip b/.yarn/cache/modify-values-npm-1.0.1-9b2377e166-8296610c60.zip deleted file mode 100644 index 759e1f53d..000000000 Binary files a/.yarn/cache/modify-values-npm-1.0.1-9b2377e166-8296610c60.zip and /dev/null differ diff --git a/.yarn/cache/text-extensions-npm-1.9.0-87655d768f-56a9962c1b.zip b/.yarn/cache/text-extensions-npm-1.9.0-87655d768f-56a9962c1b.zip deleted file mode 100644 index 0c2ccda38..000000000 Binary files a/.yarn/cache/text-extensions-npm-1.9.0-87655d768f-56a9962c1b.zip and /dev/null differ diff --git a/.yarn/cache/typedarray-npm-0.0.6-37638b2241-33b39f3d0e.zip b/.yarn/cache/typedarray-npm-0.0.6-37638b2241-33b39f3d0e.zip deleted file mode 100644 index d03674ea2..000000000 Binary files a/.yarn/cache/typedarray-npm-0.0.6-37638b2241-33b39f3d0e.zip and /dev/null differ diff --git a/packages/semver/package.json b/packages/semver/package.json index d0b721cd3..95c8d9662 100644 --- a/packages/semver/package.json +++ b/packages/semver/package.json @@ -18,8 +18,10 @@ "dependencies": { "chalk": "4.1.2", "conventional-changelog": "^5.1.0", + "conventional-changelog-angular": "^7.0.0", "conventional-changelog-conventionalcommits": "^7.0.2", - "conventional-recommended-bump": "^7.0.0", + "conventional-commits-parser": "^5.0.0", + "conventional-recommended-bump": "^9.0.0", "detect-indent": "6.1.0", "git-semver-tags": "^7.0.1", "inquirer": "8.2.6", @@ -27,10 +29,9 @@ }, "devDependencies": { "@types/conventional-changelog": "^3.1.4 ", - "@types/conventional-recommended-bump": "6.1.1", + "@types/conventional-recommended-bump": "^9.0.2", "@types/inquirer": "8.2.9", "@types/semver": "7.5.4", - "@types/standard-version": "7.1.2", "@types/tmp": "0.2.5" } } diff --git a/packages/semver/src/executors/version/utils/try-bump.spec.ts b/packages/semver/src/executors/version/utils/try-bump.spec.ts index f68d5c271..724d6dbaa 100644 --- a/packages/semver/src/executors/version/utils/try-bump.spec.ts +++ b/packages/semver/src/executors/version/utils/try-bump.spec.ts @@ -2,7 +2,6 @@ import { logger } from '@nx/devkit'; import * as conventionalRecommendedBump from 'conventional-recommended-bump'; import * as gitSemverTags from 'git-semver-tags'; import { lastValueFrom, of, throwError } from 'rxjs'; -import { callbackify } from 'util'; import { getLastVersion } from './get-last-version'; import { getCommits, getFirstCommitRef } from './git'; import { tryBump } from './try-bump'; @@ -24,15 +23,11 @@ describe('tryBump', () => { const mockGetFirstCommitRef = getFirstCommitRef as jest.MockedFunction< typeof getFirstCommitRef >; - let mockGitSemverTags: jest.Mock; + const mockGitSemverTags: jest.Mock = gitSemverTags; let loggerSpy: jest.SpyInstance; beforeEach(() => { - mockGitSemverTags = jest.fn(); - (gitSemverTags as jest.Mock).mockImplementation( - callbackify(mockGitSemverTags), - ); mockGetLastVersion.mockReturnValue(of('2.1.0')); loggerSpy = jest.spyOn(logger, 'warn'); }); @@ -45,11 +40,9 @@ describe('tryBump', () => { mockGetCommits.mockReturnValue(of(['feat: A', 'feat: B'])); /* Mock bump to return "minor". */ mockConventionalRecommendedBump.mockImplementation( - callbackify( - jest.fn().mockResolvedValue({ - releaseType: 'minor', - }), - ) as () => void, + jest.fn().mockResolvedValue({ + releaseType: 'minor', + }), ); const newVersion = await lastValueFrom( @@ -75,14 +68,11 @@ describe('tryBump', () => { }); expect(mockConventionalRecommendedBump).toBeCalledTimes(1); - expect(mockConventionalRecommendedBump).toBeCalledWith( - { - path: '/libs/demo', - preset: 'angular', - tagPrefix: 'v', - }, - expect.any(Function), - ); + expect(mockConventionalRecommendedBump).toBeCalledWith({ + path: '/libs/demo', + preset: 'angular', + tagPrefix: 'v', + }); }); it('should compute the next version based on last version, changes, and dependencies', async () => { @@ -93,19 +83,17 @@ describe('tryBump', () => { /* Mock bump to return "minor". */ mockConventionalRecommendedBump.mockImplementation( - callbackify( - jest - .fn() - .mockResolvedValueOnce({ - releaseType: undefined, - }) - .mockResolvedValueOnce({ - releaseType: undefined, - }) - .mockResolvedValueOnce({ - releaseType: 'minor', - }), - ) as () => void, + jest + .fn() + .mockResolvedValueOnce({ + releaseType: undefined, + }) + .mockResolvedValueOnce({ + releaseType: undefined, + }) + .mockResolvedValueOnce({ + releaseType: 'minor', + }), ); const newVersion = await lastValueFrom( @@ -142,14 +130,11 @@ describe('tryBump', () => { }); expect(mockConventionalRecommendedBump).toBeCalledTimes(1); - expect(mockConventionalRecommendedBump).toBeCalledWith( - { - path: '/libs/demo', - preset: 'angular', - tagPrefix: 'v', - }, - expect.any(Function), - ); + expect(mockConventionalRecommendedBump).toBeCalledWith({ + path: '/libs/demo', + preset: 'angular', + tagPrefix: 'v', + }); }); it('should use given type to calculate next version', async () => { @@ -265,7 +250,6 @@ describe('tryBump', () => { tagPrefix: 'v', releaseType: 'minor', projectName: '', - skipCommitTypes: [], }), ); @@ -309,11 +293,9 @@ describe('tryBump', () => { mockGetCommits.mockReturnValue(of([])); mockGetFirstCommitRef.mockReturnValue(of('sha1')); mockConventionalRecommendedBump.mockImplementation( - callbackify( - jest.fn().mockResolvedValue({ - releaseType: undefined, - }), - ) as () => void, + jest.fn().mockResolvedValue({ + releaseType: undefined, + }), ); await lastValueFrom( @@ -341,11 +323,9 @@ describe('tryBump', () => { it('should return undefined if there are no changes in current path', async () => { mockGetCommits.mockReturnValue(of([])); mockConventionalRecommendedBump.mockImplementation( - callbackify( - jest.fn().mockResolvedValue({ - releaseType: 'patch', - }), - ) as () => void, + jest.fn().mockResolvedValue({ + releaseType: 'patch', + }), ); const newVersion = await lastValueFrom( @@ -370,11 +350,9 @@ describe('tryBump', () => { it('should try to do a bump even if there are no changes in current path when allowEmptyRelease is true', async () => { mockGetCommits.mockReturnValue(of([])); mockConventionalRecommendedBump.mockImplementation( - callbackify( - jest.fn().mockResolvedValue({ - releaseType: 'patch', - }), - ) as () => void, + jest.fn().mockResolvedValue({ + releaseType: 'patch', + }), ); const newVersion = await lastValueFrom( @@ -401,11 +379,9 @@ describe('tryBump', () => { it('should return undefined if all commits types match skipCommitTypes', async () => { mockGetCommits.mockReturnValue(of(['docs: A ', 'refactor: B '])); mockConventionalRecommendedBump.mockImplementation( - callbackify( - jest.fn().mockResolvedValue({ - releaseType: 'patch', - }), - ) as () => void, + jest.fn().mockResolvedValue({ + releaseType: 'patch', + }), ); const newVersion = await lastValueFrom( @@ -425,11 +401,9 @@ describe('tryBump', () => { it('should return correct version if NOT commits types match skipCommitTypes', async () => { mockGetCommits.mockReturnValue(of(['feat: A', 'docs: B'])); mockConventionalRecommendedBump.mockImplementation( - callbackify( - jest.fn().mockResolvedValue({ - releaseType: 'patch', - }), - ) as () => void, + jest.fn().mockResolvedValue({ + releaseType: 'patch', + }), ); const newVersion = await lastValueFrom( @@ -453,16 +427,14 @@ describe('tryBump', () => { .mockReturnValueOnce(of(['docs: A', 'refactor(scope): B'])); mockConventionalRecommendedBump.mockImplementation( - callbackify( - jest - .fn() - .mockResolvedValueOnce({ - releaseType: undefined, - }) - .mockResolvedValueOnce({ - releaseType: undefined, - }), - ) as () => void, + jest + .fn() + .mockResolvedValueOnce({ + releaseType: undefined, + }) + .mockResolvedValueOnce({ + releaseType: undefined, + }), ); const newVersion = await lastValueFrom( @@ -489,11 +461,9 @@ describe('tryBump', () => { ); /* Mock bump to return "minor". */ mockConventionalRecommendedBump.mockImplementation( - callbackify( - jest.fn().mockResolvedValue({ - releaseType: 'minor', - }), - ) as () => void, + jest.fn().mockResolvedValue({ + releaseType: 'minor', + }), ); const newVersion = await lastValueFrom( @@ -529,11 +499,9 @@ describe('tryBump', () => { ); /* Mock bump to return "minor". */ mockConventionalRecommendedBump.mockImplementation( - callbackify( - jest.fn().mockResolvedValue({ - releaseType: 'minor', - }), - ) as () => void, + jest.fn().mockResolvedValue({ + releaseType: 'minor', + }), ); const newVersion = await lastValueFrom( diff --git a/packages/semver/src/executors/version/utils/try-bump.ts b/packages/semver/src/executors/version/utils/try-bump.ts index 6b36d2ba8..98e7b26e5 100644 --- a/packages/semver/src/executors/version/utils/try-bump.ts +++ b/packages/semver/src/executors/version/utils/try-bump.ts @@ -238,15 +238,16 @@ export function _semverBump({ tagPrefix: string; }) { return defer(async () => { - const recommended = (await promisify(conventionalRecommendedBump)({ + const recommended = await conventionalRecommendedBump({ path: projectRoot, tagPrefix, ...(typeof preset === 'string' ? { preset: preset } : {}), ...(typeof preset === 'object' ? { config: preset } : {}), - })) as { releaseType: semver.ReleaseType }; + }); const { releaseType } = recommended; - return semver.inc(since, releaseType); + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + return semver.inc(since, releaseType!); }); } diff --git a/packages/semver/src/executors/version/utils/write-changelog.spec.ts b/packages/semver/src/executors/version/utils/write-changelog.spec.ts index d259a1caf..4fb833239 100644 --- a/packages/semver/src/executors/version/utils/write-changelog.spec.ts +++ b/packages/semver/src/executors/version/utils/write-changelog.spec.ts @@ -74,7 +74,7 @@ describe(writeChangelog, () => { it('should print a console.info with the changelog contents without the header', async () => { expect(console.info).toHaveBeenCalledWith( - expect.stringContaining(`## ${version}`), + expect.stringContaining(version), ); expect(console.info).toHaveBeenCalledWith( expect.not.stringContaining(config.changelogHeader), diff --git a/yarn.lock b/yarn.lock index 630dde044..a3cefe742 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2065,15 +2065,16 @@ __metadata: resolution: "@jscutlery/semver@workspace:packages/semver" dependencies: "@types/conventional-changelog": "^3.1.4 " - "@types/conventional-recommended-bump": 6.1.1 + "@types/conventional-recommended-bump": ^9.0.2 "@types/inquirer": 8.2.9 "@types/semver": 7.5.4 - "@types/standard-version": 7.1.2 "@types/tmp": 0.2.5 chalk: 4.1.2 conventional-changelog: ^5.1.0 + conventional-changelog-angular: ^7.0.0 conventional-changelog-conventionalcommits: ^7.0.2 - conventional-recommended-bump: ^7.0.0 + conventional-commits-parser: ^5.0.0 + conventional-recommended-bump: ^9.0.0 detect-indent: 6.1.0 git-semver-tags: ^7.0.1 inquirer: 8.2.6 @@ -2547,15 +2548,6 @@ __metadata: languageName: node linkType: hard -"@types/conventional-changelog-config-spec@npm:*": - version: 2.1.3 - resolution: "@types/conventional-changelog-config-spec@npm:2.1.3" - dependencies: - "@types/json-schema": "*" - checksum: 8bdfbc7bc69116a84946d04d4db990c3aea5fe5ebcbfc972ce88316a839e000550a652489d7450151484153c5bc938d22faca136b8fd11668311186bd0ff6cc3 - languageName: node - linkType: hard - "@types/conventional-changelog-core@npm:*": version: 4.2.4 resolution: "@types/conventional-changelog-core@npm:4.2.4" @@ -2612,14 +2604,14 @@ __metadata: languageName: node linkType: hard -"@types/conventional-recommended-bump@npm:6.1.1": - version: 6.1.1 - resolution: "@types/conventional-recommended-bump@npm:6.1.1" +"@types/conventional-recommended-bump@npm:^9.0.2": + version: 9.0.2 + resolution: "@types/conventional-recommended-bump@npm:9.0.2" dependencies: "@types/conventional-changelog-core": "*" "@types/conventional-changelog-writer": "*" "@types/conventional-commits-parser": "*" - checksum: c220614d472b77a8809e7a6736780bf6f09bd42804e5e9b383de60d456207a93e9d34b140bcebb45c922119a78f72f890ad43e3f2ffee92381e5ce92cd135d31 + checksum: dd8205e3aead5c375841bfff59132d27041d0445f19f6b6adc23f74a58fe57d1a513bac0f809695247bd3ca1c1f58e8997dae5ea9a578f9b4632681b32ffa8ec languageName: node linkType: hard @@ -2686,7 +2678,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:^7.0.9": version: 7.0.13 resolution: "@types/json-schema@npm:7.0.13" checksum: 345df21a678fa72fb389f35f33de77833d09d4a142bb2bcb27c18690efa4cf70fc2876e43843cefb3fbdb9fcb12cd3e970a90936df30f53bbee899865ff605ab @@ -2758,16 +2750,6 @@ __metadata: languageName: node linkType: hard -"@types/standard-version@npm:7.1.2": - version: 7.1.2 - resolution: "@types/standard-version@npm:7.1.2" - dependencies: - "@types/conventional-changelog-config-spec": "*" - "@types/node": "*" - checksum: 39b2b3d54222c514516f387c4de84f15474f2c66386f4cab4bc8422db523c408008427acde6c841703e51317b1d998c1a36ba32c8988ce39be6f2ebf94bd9654 - languageName: node - linkType: hard - "@types/through@npm:*": version: 0.0.31 resolution: "@types/through@npm:0.0.31" @@ -3804,18 +3786,6 @@ __metadata: languageName: node linkType: hard -"concat-stream@npm:^2.0.0": - version: 2.0.0 - resolution: "concat-stream@npm:2.0.0" - dependencies: - buffer-from: ^1.0.0 - inherits: ^2.0.3 - readable-stream: ^3.0.2 - typedarray: ^0.0.6 - checksum: d7f75d48f0ecd356c1545d87e22f57b488172811b1181d96021c7c4b14ab8855f5313280263dca44bb06e5222f274d047da3e290a38841ef87b59719bde967c7 - languageName: node - linkType: hard - "confusing-browser-globals@npm:^1.0.9": version: 1.0.11 resolution: "confusing-browser-globals@npm:1.0.11" @@ -3926,13 +3896,6 @@ __metadata: languageName: node linkType: hard -"conventional-changelog-preset-loader@npm:^3.0.0": - version: 3.0.0 - resolution: "conventional-changelog-preset-loader@npm:3.0.0" - checksum: 199c4730c5151f243d35c24585114900c2a7091eab5832cfeb49067a18a2b77d5c9a86b779e6e18b49278a1ff83c011c1d9bb6da95bd1f78d9e36d4d379216d5 - languageName: node - linkType: hard - "conventional-changelog-preset-loader@npm:^4.1.0": version: 4.1.0 resolution: "conventional-changelog-preset-loader@npm:4.1.0" @@ -3975,16 +3938,6 @@ __metadata: languageName: node linkType: hard -"conventional-commits-filter@npm:^3.0.0": - version: 3.0.0 - resolution: "conventional-commits-filter@npm:3.0.0" - dependencies: - lodash.ismatch: ^4.4.0 - modify-values: ^1.0.1 - checksum: 73337f42acff7189e1dfca8d13c9448ce085ac1c09976cb33617cc909949621befb1640b1c6c30a1be4953a1be0deea9e93fa0dc86725b8be8e249a64fbb4632 - languageName: node - linkType: hard - "conventional-commits-filter@npm:^4.0.0": version: 4.0.0 resolution: "conventional-commits-filter@npm:4.0.0" @@ -3992,20 +3945,6 @@ __metadata: languageName: node linkType: hard -"conventional-commits-parser@npm:^4.0.0": - version: 4.0.0 - resolution: "conventional-commits-parser@npm:4.0.0" - dependencies: - JSONStream: ^1.3.5 - is-text-path: ^1.0.1 - meow: ^8.1.2 - split2: ^3.2.2 - bin: - conventional-commits-parser: cli.js - checksum: 12d95b5ba8e0710a6d3cd2e01f01dd7818fdf0bb2b33f4b75444e2c9aee49598776b0706a528ed49e83aec5f1896c32cbc7f8e6589f61a15187293707448f928 - languageName: node - linkType: hard - "conventional-commits-parser@npm:^5.0.0": version: 5.0.0 resolution: "conventional-commits-parser@npm:5.0.0" @@ -4020,20 +3959,19 @@ __metadata: languageName: node linkType: hard -"conventional-recommended-bump@npm:^7.0.0": - version: 7.0.1 - resolution: "conventional-recommended-bump@npm:7.0.1" - dependencies: - concat-stream: ^2.0.0 - conventional-changelog-preset-loader: ^3.0.0 - conventional-commits-filter: ^3.0.0 - conventional-commits-parser: ^4.0.0 - git-raw-commits: ^3.0.0 - git-semver-tags: ^5.0.0 - meow: ^8.1.2 +"conventional-recommended-bump@npm:^9.0.0": + version: 9.0.0 + resolution: "conventional-recommended-bump@npm:9.0.0" + dependencies: + conventional-changelog-preset-loader: ^4.1.0 + conventional-commits-filter: ^4.0.0 + conventional-commits-parser: ^5.0.0 + git-raw-commits: ^4.0.0 + git-semver-tags: ^7.0.0 + meow: ^12.0.1 bin: - conventional-recommended-bump: cli.js - checksum: e2d1f2f40f93612a6da035d0c1a12d70208e0da509a17a9c9296a05e73a6eca5d81fe8c6a7b45e973181fa7c876c6edb9a114a2d7da4f6df00c47c7684ab62d2 + conventional-recommended-bump: cli.mjs + checksum: 0842628777609ef17f1b4f6bb11edbbc243bcc72ae5265e92eb24cac4206e5eadbea48f4a2b0732fbf9c3cea7d1369a08f93fd9ec9755fbf54e6dddb2b88e757 languageName: node linkType: hard @@ -4960,19 +4898,6 @@ __metadata: languageName: node linkType: hard -"git-raw-commits@npm:^3.0.0": - version: 3.0.0 - resolution: "git-raw-commits@npm:3.0.0" - dependencies: - dargs: ^7.0.0 - meow: ^8.1.2 - split2: ^3.2.2 - bin: - git-raw-commits: cli.js - checksum: 198892f307829d22fc8ec1c9b4a63876a1fde847763857bb74bd1b04c6f6bc0d7464340c25d0f34fd0fb395759363aa1f8ce324357027320d80523bf234676ab - languageName: node - linkType: hard - "git-raw-commits@npm:^4.0.0": version: 4.0.0 resolution: "git-raw-commits@npm:4.0.0" @@ -4986,18 +4911,6 @@ __metadata: languageName: node linkType: hard -"git-semver-tags@npm:^5.0.0": - version: 5.0.1 - resolution: "git-semver-tags@npm:5.0.1" - dependencies: - meow: ^8.1.2 - semver: ^7.0.0 - bin: - git-semver-tags: cli.js - checksum: c181e1d9e7649fd90e6c347f400f791db08b236265d79874dfa60f09ca893fa7a4fceebf3fd5f01443705e7eac5c73c5235eb96c6bc4a39eb37746a1d7c49ec4 - languageName: node - linkType: hard - "git-semver-tags@npm:^7.0.0, git-semver-tags@npm:^7.0.1": version: 7.0.1 resolution: "git-semver-tags@npm:7.0.1" @@ -5525,15 +5438,6 @@ __metadata: languageName: node linkType: hard -"is-text-path@npm:^1.0.1": - version: 1.0.1 - resolution: "is-text-path@npm:1.0.1" - dependencies: - text-extensions: ^1.0.0 - checksum: fb5d78752c22b3f73a7c9540768f765ffcfa38c9e421e2b9af869565307fa1ae5e3d3a2ba016a43549742856846566d327da406e94a5846ec838a288b1704fd2 - languageName: node - linkType: hard - "is-text-path@npm:^2.0.0": version: 2.0.0 resolution: "is-text-path@npm:2.0.0" @@ -6406,13 +6310,6 @@ __metadata: languageName: node linkType: hard -"lodash.ismatch@npm:^4.4.0": - version: 4.4.0 - resolution: "lodash.ismatch@npm:4.4.0" - checksum: a393917578842705c7fc1a30fb80613d1ac42d20b67eb26a2a6004d6d61ee90b419f9eb320508ddcd608e328d91eeaa2651411727eaa9a12534ed6ccb02fc705 - languageName: node - linkType: hard - "lodash.isplainobject@npm:^4.0.6": version: 4.0.6 resolution: "lodash.isplainobject@npm:4.0.6" @@ -6603,7 +6500,7 @@ __metadata: languageName: node linkType: hard -"meow@npm:^8.0.0, meow@npm:^8.1.2": +"meow@npm:^8.0.0": version: 8.1.2 resolution: "meow@npm:8.1.2" dependencies: @@ -6834,13 +6731,6 @@ __metadata: languageName: node linkType: hard -"modify-values@npm:^1.0.1": - version: 1.0.1 - resolution: "modify-values@npm:1.0.1" - checksum: 8296610c608bc97b03c2cf889c6cdf4517e32fa2d836440096374c2209f6b7b3e256c209493a0b32584b9cb32d528e99d0dd19dcd9a14d2d915a312d391cc7e9 - languageName: node - linkType: hard - "ms@npm:2.1.2": version: 2.1.2 resolution: "ms@npm:2.1.2" @@ -7585,7 +7475,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:3, readable-stream@npm:^3.0.0, readable-stream@npm:^3.0.2, readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0": +"readable-stream@npm:3, readable-stream@npm:^3.0.0, readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0": version: 3.6.2 resolution: "readable-stream@npm:3.6.2" dependencies: @@ -8017,7 +7907,7 @@ __metadata: languageName: node linkType: hard -"split2@npm:^3.0.0, split2@npm:^3.2.2": +"split2@npm:^3.0.0": version: 3.2.2 resolution: "split2@npm:3.2.2" dependencies: @@ -8239,13 +8129,6 @@ __metadata: languageName: node linkType: hard -"text-extensions@npm:^1.0.0": - version: 1.9.0 - resolution: "text-extensions@npm:1.9.0" - checksum: 56a9962c1b62d39b2bcb369b7558ca85c1b55e554b38dfd725edcc0a1babe5815782a60c17ff6b839093b163dfebb92b804208aaaea616ec7571c8059ae0cf44 - languageName: node - linkType: hard - "text-extensions@npm:^2.0.0": version: 2.4.0 resolution: "text-extensions@npm:2.4.0" @@ -8539,13 +8422,6 @@ __metadata: languageName: node linkType: hard -"typedarray@npm:^0.0.6": - version: 0.0.6 - resolution: "typedarray@npm:0.0.6" - checksum: 33b39f3d0e8463985eeaeeacc3cb2e28bc3dfaf2a5ed219628c0b629d5d7b810b0eb2165f9f607c34871d5daa92ba1dc69f49051cf7d578b4cbd26c340b9d1b1 - languageName: node - linkType: hard - "typescript@npm:5.2.2, typescript@npm:^5.2.2": version: 5.2.2 resolution: "typescript@npm:5.2.2"