aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 21:20:00 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 23:47:38 +0800
commitf854f3ee2bd74bbb61ed465099168b4d391f92c8 (patch)
treed0d126e9041198dfb8d27a48a251167bf4fd4e44 /packages/monorepo-scripts
parent1055ca6d4435c0a9b325586e4c7af3458eff273a (diff)
downloaddexon-0x-contracts-f854f3ee2bd74bbb61ed465099168b4d391f92c8.tar
dexon-0x-contracts-f854f3ee2bd74bbb61ed465099168b4d391f92c8.tar.gz
dexon-0x-contracts-f854f3ee2bd74bbb61ed465099168b4d391f92c8.tar.bz2
dexon-0x-contracts-f854f3ee2bd74bbb61ed465099168b4d391f92c8.tar.lz
dexon-0x-contracts-f854f3ee2bd74bbb61ed465099168b4d391f92c8.tar.xz
dexon-0x-contracts-f854f3ee2bd74bbb61ed465099168b4d391f92c8.tar.zst
dexon-0x-contracts-f854f3ee2bd74bbb61ed465099168b4d391f92c8.zip
Remove unused deployer docs configs
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r--packages/monorepo-scripts/src/publish.ts2
-rw-r--r--packages/monorepo-scripts/src/test_installation.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts
index 2011dc393..a5be40014 100644
--- a/packages/monorepo-scripts/src/publish.ts
+++ b/packages/monorepo-scripts/src/publish.ts
@@ -214,7 +214,7 @@ async function updateChangeLogsAsync(updatedPublicLernaPackages: LernaPackage[])
}
// Save updated CHANGELOG.json
- fs.writeFileSync(changelogJSONPath, JSON.stringify(changelogs, null, 4));
+ fs.writeFileSync(changelogJSONPath, JSON.stringify(changelogs, null, '\t'));
await utils.prettifyAsync(changelogJSONPath, constants.monorepoRootPath);
utils.log(`${packageName}: Updated CHANGELOG.json`);
// Generate updated CHANGELOG.md
diff --git a/packages/monorepo-scripts/src/test_installation.ts b/packages/monorepo-scripts/src/test_installation.ts
index 78e0f0929..e84221f9d 100644
--- a/packages/monorepo-scripts/src/test_installation.ts
+++ b/packages/monorepo-scripts/src/test_installation.ts
@@ -46,7 +46,7 @@ import { utils } from './utils';
include: ['index.ts'],
};
const tsconfigFilePath = path.join(testDirectory, 'tsconfig.json');
- fs.writeFileSync(tsconfigFilePath, JSON.stringify(tsConfig, null, 4));
+ fs.writeFileSync(tsconfigFilePath, JSON.stringify(tsConfig, null, '\t'));
utils.log(`Compiling ${packageName}`);
const tscBinaryPath = path.join(monorepoRootPath, './node_modules/typescript/bin/tsc');
await execAsync(tscBinaryPath, { cwd: testDirectory });