commitlint icon indicating copy to clipboard operation
commitlint copied to clipboard

[config-lerna-scopes] do not remove npm scope

Open RS-Sautter opened this issue 3 years ago • 2 comments

https://github.com/conventional-changelog/commitlint/blob/b51f89d18f3931c73b219c901448c14313f155b6/%40commitlint/config-lerna-scopes/index.js#L53

why are we removing the npm scope of the packages here?

I have the following scenario:

  • @scopeA/package1
  • @scopeB/package1

I want to be able to differentiate the two in the scopes of the commit messages, so I need to be able to write: "feat(@scopeA/package1): something new".

RS-Sautter avatar Nov 08 '22 15:11 RS-Sautter

Looks like this was doen a long time ago?
Can't really help here. You have time and motivation to dig into this?

escapedcat avatar Nov 08 '22 16:11 escapedcat

@escapedcat maybe. We need to solve the referenced issue first I think, because scope-enum would not even be able to handle scoped package names atm.

RS-Sautter avatar Nov 08 '22 16:11 RS-Sautter