diff --git a/gulpfile.js b/gulpfile.js index 3279ee4..4348cab 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -205,16 +205,11 @@ function bumpVersion(cb) { console.log(`Updating version number to '${targetVersion}'`); packageJson.version = targetVersion; - fs.writeJSONSync("package.json", packageJson, { spaces: 2 }); - - if (packageLockJson) { - packageLockJson.version = targetVersion; - fs.writeJSONSync("package-lock.json", packageLockJson, { spaces: 2 }); - } + fs.writeJSONSync("package.json", packageJson, { spaces: 4 }); manifest.file.version = targetVersion; manifest.file.download = getDownloadURL(targetVersion); - fs.writeJSONSync(path.join(sourceDirectory, manifest.name), manifest.file, { spaces: 2 }); + fs.writeJSONSync(path.join(sourceDirectory, manifest.name), manifest.file, { spaces: 4 }); return cb(); } catch (err) {