diff --git a/build/prep-release.js b/build/prep-release.js index e9bfa6176..f8c3c4b59 100644 --- a/build/prep-release.js +++ b/build/prep-release.js @@ -125,21 +125,6 @@ const Repo = { fs.writeFileSync(filePath, newSection + changes + oldContent); } - { - const file = 'package-lock.json'; - console.log(`Updating ${file}...`); - const filePath = path.join(__dirname, '..', file); - const json = fs.readFileSync(filePath, 'utf8'); - const packageIndentation = json.match(/\n([\t\s]+)/)[1]; - const data = JSON.parse(json); - - data.version = data.packages[''].version = version; - - fs.writeFileSync( - filePath, - JSON.stringify(data, null, packageIndentation) + '\n' - ); - } { const file = 'AUTHORS.txt'; console.log(`Updating ${file}...`);