Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Move dep to devdep, fix EOL discrepancy in link-ts-references
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffsmale90 committed Jun 20, 2023
1 parent c1d9565 commit 7671bea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions scripts/link-ts-references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import { readFileSync, existsSync, writeFileSync } from "fs-extra";
import { resolve, join, relative, sep } from "path";
import { EOL } from "os";

// using `require` because everything in scripts uses typescript's default
// compiler settings, and these two modules require enabling `esModuleInterop`
Expand Down Expand Up @@ -138,7 +137,7 @@ function saveConfigs(configs: PackageInfo[]) {
configs.forEach(({ modified, path, tsConfig }) => {
if (modified) {
const tsConfigFile = join(path, "tsconfig.json");
const body = JSON5.stringify(tsConfig, null, 2) + EOL;
const body = JSON5.stringify(tsConfig, null, 2) + "\n";
writeFileSync(tsConfigFile, body);
}
});
Expand Down
4 changes: 2 additions & 2 deletions src/chains/ethereum/options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
"@ganache/options": "0.8.0",
"@ganache/utils": "0.8.0",
"bip39": "3.0.4",
"seedrandom": "3.0.5",
"tmp-promise": "3.0.2"
"seedrandom": "3.0.5"
},
"devDependencies": {
"tmp-promise": "3.0.2",
"@types/mocha": "9.0.0",
"@types/seedrandom": "3.0.1",
"cross-env": "7.0.3",
Expand Down

0 comments on commit 7671bea

Please sign in to comment.