From 0e54569fff489f48bbedd1df87abbe1d2f9f7c78 Mon Sep 17 00:00:00 2001 From: Carlos Santiago <5726971+csantiago132@users.noreply.github.com> Date: Thu, 3 Oct 2024 10:17:04 -0500 Subject: [PATCH] fix(config): switches to semantic plugins --- src/jest/jest.config.base.js | 2 +- src/semantic-release/index.js | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/jest/jest.config.base.js b/src/jest/jest.config.base.js index 64ff148..7b278b3 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|svg)$': '/__mocks__/fileMock.js', + '\\.(gif|ttf|eot|png|jpg|jpeg|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 b62e67d..4c613df 100644 --- a/src/semantic-release/index.js +++ b/src/semantic-release/index.js @@ -8,19 +8,17 @@ module.exports = { }, ], plugins: [ - '@semantic-release/changelog', '@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', - '@semantic-release/github', + '@semantic-release/changelog', [ '@semantic-release/git', { assets: ['CHANGELOG.md', 'package.json', 'package-lock.json'], - branch: 'release', - // eslint-disable-next-line no-template-curly-in-string -- required by `semantic-release`. message: 'chore(release): ${nextRelease.version} [skip ci]', }, ], + '@semantic-release/github', '@semantic-release/npm', ], };