text: // Extra types that generate a patch releases
  const typesForPatch = ['docs', 'refactor', 'perf']
  
  module.exports = {
      branches: [
          'master',
          'main'
      ],
      plugins: [
          [
              '@semantic-release/commit-analyzer',
              {
                  releaseRules: [
                      ...typesForPatch.map((type) => ({
                          type,
                          release: 'patch'
                      }))
                  ],
                  parserOpts: {
                      noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING']
                  }
              }
          ],
          [
              '@semantic-release/release-notes-generator',
              {
                  parserOpts: {
                      noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING']
                  }
              }
          ],
          '@semantic-release/changelog',
          '@semantic-release/npm',
          [
              '@semantic-release/git',
              {
                  assets: [
                      'AUTHORS.md',
                      'CHANGELOG.md',
                      'package.json',
                      'webtorrent.min.js',
                      'webtorrent.chromeapp.js',
                      'sw.min.js',
                  ],
                  message: 'chore(release): ${nextRelease.version} \n\n${nextRelease.notes}'
              }
          ],
          '@semantic-release/github'
      ]
  }
  