chore: don't list dep updates in auto-changelog

This commit is contained in:
Daniel Roe 2023-04-20 11:16:57 +01:00
parent 0518cdbff1
commit 8234bc18d7

View File

@ -9,7 +9,9 @@ async function main () {
const config = await loadChangelogConfig(process.cwd(), { const config = await loadChangelogConfig(process.cwd(), {
}) })
const commits = await getLatestCommits() const commits = await getLatestCommits().then(commits => commits.filter(
c => config.types[c.type] && !(c.type === 'chore' && c.scope === 'deps' && !c.isBreaking)
))
const bumpType = await determineBumpType() const bumpType = await determineBumpType()
const newVersion = inc(workspace.find('nuxt').data.version, bumpType || 'patch') const newVersion = inc(workspace.find('nuxt').data.version, bumpType || 'patch')