diff --git a/commit-and-tag-version.js b/commit-and-tag-version.js index faa4ef21..b57e303d 100644 --- a/commit-and-tag-version.js +++ b/commit-and-tag-version.js @@ -1,6 +1,5 @@ /* eslint-disable @typescript-eslint/no-var-requires */ const { Command, Option } = require("commander"); -const { readFileSync, writeFileSync } = require("fs"); const commitAndTagVersion = require("commit-and-tag-version"); const dedent = require("dedent"); const c = require("ansi-colors"); @@ -97,6 +96,10 @@ if (opt.beta) { filename: "package.json", type: "json", }, + { + filename: "package-lock.json", + type: "json", + }, { filename: "manifest.json", type: "json", @@ -109,6 +112,7 @@ if (opt.beta) { bumpFiles: bumpFiles, dryRun: opt.dryRun, tagPrefix: "", + releaseAs: opt.releaseAs, }) .then(() => { console.log("Done");