A command that updates the version property in a package.json
file.
Type: object literal
Type: string
Type: string
鈩癸笍 聽 ExecaCommand options are also applicable.
const { NpmBumpPackageVersionCommand } = require("@abstracter/atomic-release/commands");
const command = new NpmBumpPackageVersionCommand({
version: "1.0.0",
preReleaseId: "beta",
workingDirectory: "/absolute/path", <-- package.json should be inside
});