Skip to content

.versionrc is ignored with programmatic usage (code usage) #905

Open
@crutch12

Description

@crutch12

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions