Skip to content

feat: Add commit filtering for conventional commit detection#100

Open
josh-hemphill wants to merge 1 commit into
antfu-collective:mainfrom
josh-hemphill:commits-filter
Open

feat: Add commit filtering for conventional commit detection#100
josh-hemphill wants to merge 1 commit into
antfu-collective:mainfrom
josh-hemphill:commits-filter

Conversation

@josh-hemphill

@josh-hemphill josh-hemphill commented Nov 11, 2025

Copy link
Copy Markdown

Description

When working with monorepos, analyzing things on a package-by-package basis is helpful. This PR makes it possible to run in a sub-directory (or pass a path) and get a conventional commit version increment specific to that package.

I've gotten the pass-through already released in the tiny-conventional-commits-parser package version 0.1.0, appending -- ${path} to it's git log command. So I've added an option, with a little parsing, and a last-tag search based on the user's tagging template that should be much better than the tiny-conventional-commits-parser's own fallback which would just return commits since the last tag of any kind.

Linked Issues

closes #99

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commits filter (by subdir or cwd)

1 participant