From a80262e784a49c0d5a9d8f8ee8bad92407776ac8 Mon Sep 17 00:00:00 2001 From: CAPtheorem <79423264+CAPtheorem@users.noreply.github.com> Date: Sun, 30 May 2021 12:52:47 -0700 Subject: [PATCH] use standard top level tsconfig and tslint system --- .../message-relayer-fast/tsconfig.build.json | 23 ++--------- .../omgx/message-relayer-fast/tsconfig.json | 24 ++---------- .../omgx/message-relayer-fast/tslint.json | 4 +- packages/omgx/wallet/.gitignore | 39 ------------------- 4 files changed, 10 insertions(+), 80 deletions(-) delete mode 100644 packages/omgx/wallet/.gitignore diff --git a/packages/omgx/message-relayer-fast/tsconfig.build.json b/packages/omgx/message-relayer-fast/tsconfig.build.json index b9a4f5f8cd75..ef8dfe2515a1 100644 --- a/packages/omgx/message-relayer-fast/tsconfig.build.json +++ b/packages/omgx/message-relayer-fast/tsconfig.build.json @@ -1,27 +1,12 @@ { + "extends": "../../../tsconfig.build.json", + "compilerOptions": { - "module": "commonjs", - "target": "es2017", - "sourceMap": true, - "esModuleInterop": true, - "composite": true, - "declaration": true, - "noImplicitAny": false, - "removeComments": true, - "noLib": false, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, "rootDir": "./src", - "outDir": "./dist", - "typeRoots": [ - "node_modules/@types" - ] + "outDir": "./dist" }, + "include": [ "src/**/*" - ], - "exclude": [ - "node_modules", - "dist" ] } diff --git a/packages/omgx/message-relayer-fast/tsconfig.json b/packages/omgx/message-relayer-fast/tsconfig.json index 24febed43e09..859dc1c9c478 100644 --- a/packages/omgx/message-relayer-fast/tsconfig.json +++ b/packages/omgx/message-relayer-fast/tsconfig.json @@ -1,23 +1,7 @@ { + "extends": "../../../tsconfig.json", + "compilerOptions": { - "outDir": "build", - "module": "commonjs", - "target": "es2017", - "resolveJsonModule": true, - "declaration": true, - "noImplicitAny": false, - "removeComments": true, - "noLib": false, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "sourceMap": true, - "lib": [ - "es7" - ], - "esModuleInterop": true, - "typeRoots": [ - "node_modules/@types" - ] - }, - "include": ["*.ts", "**/*.ts"] + "resolveJsonModule": true + } } \ No newline at end of file diff --git a/packages/omgx/message-relayer-fast/tslint.json b/packages/omgx/message-relayer-fast/tslint.json index 6587c444f045..f7e116b75aa6 100644 --- a/packages/omgx/message-relayer-fast/tslint.json +++ b/packages/omgx/message-relayer-fast/tslint.json @@ -1,3 +1,3 @@ { - "extends": "../../tslint.base.json" -} + "extends": "../../../tslint.base.json" +} \ No newline at end of file diff --git a/packages/omgx/wallet/.gitignore b/packages/omgx/wallet/.gitignore deleted file mode 100644 index d20b3ad3029a..000000000000 --- a/packages/omgx/wallet/.gitignore +++ /dev/null @@ -1,39 +0,0 @@ -# Dependencies -node_modules/ - -# Build -build/ -build-ovm/ -artifacts/ -artifacts-ovm/ -cache/ -cache-ovm/ -deployment/*.json -wallet/src/deployment -# IDE -/.idea -/.awcache -/.vscode -*.iml - -# misc -*.swp -.DS_Store -/packages/**/LICENSE.txt -*.test.tmp -/**/package-lock.json - -/**/.env -env.js - -/**/*.log - -*.bytecode - -# security -*.pem - -# Local Dockerfiles -*.mine.yml - -yarn.lock \ No newline at end of file