aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/convert_changelogs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/monorepo-scripts/src/convert_changelogs.ts')
-rw-r--r--packages/monorepo-scripts/src/convert_changelogs.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/convert_changelogs.ts b/packages/monorepo-scripts/src/convert_changelogs.ts
index 71383ee7c..c75abfc44 100644
--- a/packages/monorepo-scripts/src/convert_changelogs.ts
+++ b/packages/monorepo-scripts/src/convert_changelogs.ts
@@ -77,7 +77,7 @@ const HEADER_PRAGMA = '##';
changelog.changes.push(changes);
}
}
- const changelogJSONPath = JSON.stringify(changelogs);
+ const changelogJSONPath = JSON.stringify(changelogs, null, 4);
const changelogJSONPathPath = `${lernaPackage.location}/CHANGELOG.json`;
fs.writeFileSync(changelogJSONPathPath, changelogJSONPath);
await utils.prettifyAsync(changelogJSONPath, constants.monorepoRootPath);