You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the dependency of packages is A depends on B depends on C, then a change in C triggers a release in A & B, which is good. The issue is if C isn't a package that gets released, eg it's a private package and we use --ignore-private-packages. I don't want to release it, but I still want changes in C to trigger a release in A & B. The list of packages that get released and the list of packages that could trigger a new release shouldn't necessarily be one-to-one. As of now, I'm forced to release C just so A & B are updated.
The text was updated successfully, but these errors were encountered:
saiichihashimoto
changed the title
ignore-private-packages ignores too much.
Unreleased packages should still trigger dependent releases
Apr 25, 2023
As an example, my monorepo has a @scope/tsconfig package and other internal packages that aren't intended to be released, but are used by other packages that are released. If I update any of the internal packages in a patch, minor, or major way, the external packages should definitely trigger a semantic release.
If the dependency of packages is A depends on B depends on C, then a change in C triggers a release in A & B, which is good. The issue is if C isn't a package that gets released, eg it's a private package and we use
--ignore-private-packages
. I don't want to release it, but I still want changes in C to trigger a release in A & B. The list of packages that get released and the list of packages that could trigger a new release shouldn't necessarily be one-to-one. As of now, I'm forced to release C just so A & B are updated.The text was updated successfully, but these errors were encountered: