From 0485264330f25d71c3cde7a4ab8746b5cbe485b7 Mon Sep 17 00:00:00 2001 From: Carlos Santiago <5726971+csantiago132@users.noreply.github.com> Date: Thu, 3 Oct 2024 10:03:45 -0500 Subject: [PATCH] fix(config): switches to semantic/git package --- src/jest/jest.config.base.js | 2 +- src/semantic-release/index.js | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/jest/jest.config.base.js b/src/jest/jest.config.base.js index 7b278b3..64ff148 100644 --- a/src/jest/jest.config.base.js +++ b/src/jest/jest.config.base.js @@ -13,7 +13,7 @@ module.exports = { moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'], moduleNameMapper: { '\\.(css|less|scss|sass)$': 'identity-obj-proxy', - '\\.(gif|ttf|eot|png|jpg|jpeg|svg)$': '/__mocks__/fileMock.js', + '\\.(gif|ttf|eot|png|jpg|svg)$': '/__mocks__/fileMock.js', }, setupFilesAfterEnv: ['/jest.setup.js'], snapshotSerializers: ['@emotion/jest/serializer'], diff --git a/src/semantic-release/index.js b/src/semantic-release/index.js index e7e66ae..b62e67d 100644 --- a/src/semantic-release/index.js +++ b/src/semantic-release/index.js @@ -13,18 +13,12 @@ module.exports = { '@semantic-release/release-notes-generator', '@semantic-release/github', [ - 'semantic-release-github-pullrequest', + '@semantic-release/git', { assets: ['CHANGELOG.md', 'package.json', 'package-lock.json'], - baseBranch: 'main', branch: 'release', // eslint-disable-next-line no-template-curly-in-string -- required by `semantic-release`. message: 'chore(release): ${nextRelease.version} [skip ci]', - pullrequestBody: - // eslint-disable-next-line no-template-curly-in-string -- required by `semantic-release`. - 'This is an automated pull request for release version ${nextRelease.version}.', - // eslint-disable-next-line no-template-curly-in-string -- required by `semantic-release`. - pullrequestTitle: 'chore(release): ${nextRelease.version}', }, ], '@semantic-release/npm',