diff --git a/biome.json b/biome.json index ebcbc51..dac6a61 100644 --- a/biome.json +++ b/biome.json @@ -12,7 +12,7 @@ "formatter": { "enabled": true, "indentStyle": "space", - "ignore": ["main.js"] + "ignore": ["main.js", "package.json"] }, "organizeImports": { "ignore": ["main.js"], diff --git a/version-bump.mjs b/version-bump.mjs index ee8fa9f..9891221 100644 --- a/version-bump.mjs +++ b/version-bump.mjs @@ -6,9 +6,9 @@ const targetVersion = process.env.npm_package_version; const manifest = JSON.parse(readFileSync("manifest.json", "utf8")); const { minAppVersion } = manifest; manifest.version = targetVersion; -writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t")); +writeFileSync("manifest.json", `${JSON.stringify(manifest, null, 2)}\n`); // update versions.json with target version and minAppVersion from manifest.json const versions = JSON.parse(readFileSync("versions.json", "utf8")); versions[targetVersion] = minAppVersion; -writeFileSync("versions.json", JSON.stringify(versions, null, "\t")); +writeFileSync("versions.json", `${JSON.stringify(versions, null, 2)}\n`);