question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Please support global plugin configurations

See original GitHub issue

Tools Info

semantic-release: v17.4.4, semantic-release-monorepo: v7.0.5

Problem

Hi @pmowrer , thanks for this tools. It’s really great and helpful.

Since as of semantic-release v17.4.4, there’s a feature for global plugin configurations, so I’d like to request that this tools support global plugin configurations too.

As of now, if I have config like this:

module.exports = {
  extends: ['semantic-release-monorepo'],
  branches: ['main'],
  plugins: [
    [
      '@semantic-release/commit-analyzer',
      {
        preset: 'conventionalcommits',
        presetConfig: {
          types: [
            { type: 'feat', section: '✨ Features' },
          ],
        },
      },
    ],
    [
      '@semantic-release/release-notes-generator',
      {
        preset: 'conventionalcommits',
        presetConfig: {
          types: [
            { type: 'feat', section: '✨ Features' },
          ],
        },
      },
    ],
    [
      '@semantic-release/changelog',
      {
        changelogFile: 'changelog.md',
    ],
    '@semantic-release/npm',
    [
      '@semantic-release/git',
      { /** truncated */ },
    ],
    '@semantic-release/github',
  ],
};

it would pick the configurations as expected. But that would unefficient because there’s repeated code/config.

If I try to use valid global plugin configurations with this monorepo tools:

module.exports = {
  extends: ['semantic-release-monorepo'],
  branches: ['main'],
  plugins: [
    '@semantic-release/commit-analyzer',
    '@semantic-release/release-notes-generator',
    [
      '@semantic-release/changelog',
      {
        changelogFile: 'changelog.md',
    ],
    '@semantic-release/npm',
    [
      '@semantic-release/git',
      { /** truncated */ },
    ],
    '@semantic-release/github',
  ],
  preset: 'conventionalcommits',
  presetConfig: {
    types: [
      { type: 'feat', section: '✨ Features' },
    ],
  },
};

this tool didn’t picked up the plugins configurations that would fallback to the default config which is not what I expected.

Please support global plugin configurations too. Thank you.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
pmowrercommented, Oct 31, 2022

This project used to built using Travis CI but that platform no longer seems to be working. Need to get the build process migrated to github actions

1reaction
JoCa96commented, Feb 16, 2022

The PR was merged, but no new version was released. As this repo doesn’t seem to be active anymore, I published a version “7.0.6” myself with this feature/fix. Should anybody need it you can find it here: https://www.npmjs.com/package/@joca96/semantic-release-monorepo

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature request: support plugins on a combination of ... - GitHub
I have configured the JWT plugin applied to Global, but there is a parameter called "config.anonymous" that usually is being linked to a ......
Read more >
Feature Request - WordPress.org
Hello,. I really like your plugin. I have a feature request for it. I would like to be able to send non-linked content....
Read more >
How to submit a VMware Product feature request (1002123)
This article provides details on how to submit a new, provide feedback for an existing and tracking down a current status for any...
Read more >
Plugins on multiple machines - Feature Requests - Logseq
This way as I move from machine to machine all plugins are automatically available without having re-install and download. This is currently how ......
Read more >
Feature Requests - WP Fusion
Support multiple Login configurations. Would it be possible to add support for setting multiple sets of Stale Logins please? We have different groups...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found