aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/convert_changelogs.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-02 15:40:02 +0800
committerFabio Berger <me@fabioberger.com>2018-04-02 15:40:02 +0800
commit76c5945017c945122c3e72bc7dcdf5dd048b4a22 (patch)
tree5f822f722f852158b4124b9dfd02cd31dcc2ad64 /packages/monorepo-scripts/src/convert_changelogs.ts
parent01c6fd92e8ebc93d333278a356a4a0fac26b58c2 (diff)
downloaddexon-sol-tools-76c5945017c945122c3e72bc7dcdf5dd048b4a22.tar
dexon-sol-tools-76c5945017c945122c3e72bc7dcdf5dd048b4a22.tar.gz
dexon-sol-tools-76c5945017c945122c3e72bc7dcdf5dd048b4a22.tar.bz2
dexon-sol-tools-76c5945017c945122c3e72bc7dcdf5dd048b4a22.tar.lz
dexon-sol-tools-76c5945017c945122c3e72bc7dcdf5dd048b4a22.tar.xz
dexon-sol-tools-76c5945017c945122c3e72bc7dcdf5dd048b4a22.tar.zst
dexon-sol-tools-76c5945017c945122c3e72bc7dcdf5dd048b4a22.zip
Default to 4sp
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);