conventional-changelog/standard-version

.versionrc is ignored with programmatic usage (code usage)

crutch12 opened this issue · 0 comments

Describe the bug
.versionrc is ignored with programmatic usage (code usage).

Current behavior
.versionrc is used only with cli usage

.config(getConfiguration())

Expected behavior
.versionrc should be used automatically with code usage too

const standardVersion = require('standard-version')
standardVersion({ /* ... */ })

Environment

  • standard-version version(s): v9.3.2
  • Node/npm version: Node 16/npm 8
  • OS: Windows 10