Skip to content

Commit

Permalink
fix(config): switches to semantic plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 committed Oct 3, 2024
1 parent 0485264 commit 0e54569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/jest/jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)$': '<rootDir>/__mocks__/fileMock.js',
'\\.(gif|ttf|eot|png|jpg|jpeg|svg)$': '<rootDir>/__mocks__/fileMock.js',
},
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
snapshotSerializers: ['@emotion/jest/serializer'],
Expand Down
6 changes: 2 additions & 4 deletions src/semantic-release/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]',

Check failure on line 18 in src/semantic-release/index.js

View workflow job for this annotation

GitHub Actions / code-quality

Unexpected template string expression
},
],
'@semantic-release/github',
'@semantic-release/npm',
],
};

0 comments on commit 0e54569

Please sign in to comment.