diff --git a/libs/remix-analyzer/tsconfig.json b/libs/remix-analyzer/tsconfig.json index bc21cf2e41..07886d4f6c 100644 --- a/libs/remix-analyzer/tsconfig.json +++ b/libs/remix-analyzer/tsconfig.json @@ -1,25 +1,22 @@ { + "extends": "../../tsconfig.json", "include": ["src", "index.ts"], "compilerOptions": { "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "lib": ["dom", "es2018"], /* Specify library files to be included in the compilation. */ + "types": ["node"], "declaration": true, /* Generates corresponding '.d.ts' file. */ "sourceMap": true, /* Generates corresponding '.map' file. */ "outDir": "./dist", /* Redirect output structure to the directory. */ /* Strict Type-Checking Options */ "strict": true, /* Enable all strict type-checking options. */ "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */ - /* Module Resolution Options */ - "baseUrl": "./src", /* Base directory to resolve non-absolute module names. */ - "paths": { "remix-analyzer": ["./"] }, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ "typeRoots": [ "./@types", "./node_modules/@types" ], "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ - /* Experimental Options */ - "experimentalDecorators": false, /* Enables experimental support for ES7 decorators. */ } } diff --git a/libs/remix-analyzer/tsconfig.lib.json b/libs/remix-analyzer/tsconfig.lib.json new file mode 100644 index 0000000000..f08f6935f9 --- /dev/null +++ b/libs/remix-analyzer/tsconfig.lib.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "module": "commonjs", + "outDir": "../../dist/out-tsc", + "declaration": true, + "rootDir": "./", + "types": ["node"] + } +} \ No newline at end of file diff --git a/libs/remix-astwalker/tsconfig.json b/libs/remix-astwalker/tsconfig.json index 3070bc384a..7c86df784b 100644 --- a/libs/remix-astwalker/tsconfig.json +++ b/libs/remix-astwalker/tsconfig.json @@ -1,4 +1,5 @@ { + "extends": "../../tsconfig.json", "include": ["src"], "exclude": ["node_modules", "src/@types" ], "compilerOptions": { @@ -8,15 +9,10 @@ "lib": ["dom", "es2018"], /* Specify library files to be included in the compilation. */ "declaration": true, /* Generates corresponding '.d.ts' file. */ "sourceMap": true, /* Generates corresponding '.map' file. */ - "outDir": "./dist", /* Redirect output structure to the directory. */ /* Strict Type-Checking Options */ "strict": true, /* Enable all strict type-checking options. */ "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */ - - /* Module Resolution Options */ - "baseUrl": "./src", /* Base directory to resolve non-absolute module names. */ - "paths": { "remix-tests": ["./"] }, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ "typeRoots": ["./@types", "node_modules/@types"], /* List of folders to include type definitions from. */ "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ "types": [ diff --git a/libs/remix-astwalker/tsconfig.lib.json b/libs/remix-astwalker/tsconfig.lib.json new file mode 100644 index 0000000000..8a8e244640 --- /dev/null +++ b/libs/remix-astwalker/tsconfig.lib.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "module": "commonjs", + "outDir": "../../dist/out-tsc", + "declaration": true, + "rootDir": "./src", + "types": ["node"] + } +} \ No newline at end of file diff --git a/libs/remix-solidity/tsconfig.json b/libs/remix-solidity/tsconfig.json index d731108d0c..5968a43b4c 100644 --- a/libs/remix-solidity/tsconfig.json +++ b/libs/remix-solidity/tsconfig.json @@ -1,25 +1,20 @@ { + "extends": "../../tsconfig.json", "include": ["src", "index.ts"], "compilerOptions": { "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "lib": ["dom", "es2018"], /* Specify library files to be included in the compilation. */ + "types": ["node"], "declaration": true, /* Generates corresponding '.d.ts' file. */ "sourceMap": true, /* Generates corresponding '.map' file. */ - "outDir": "./dist", /* Redirect output structure to the directory. */ /* Strict Type-Checking Options */ "strict": true, /* Enable all strict type-checking options. */ - "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */ - /* Module Resolution Options */ - "baseUrl": "./src", /* Base directory to resolve non-absolute module names. */ - "paths": { "remix-solidity": ["./"] }, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ + "noImplicitAny": false, "typeRoots": [ "./@types", "./node_modules/@types" - ], - "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ - /* Experimental Options */ - "experimentalDecorators": false, /* Enables experimental support for ES7 decorators. */ + ] } } \ No newline at end of file diff --git a/libs/remix-solidity/tsconfig.lib.json b/libs/remix-solidity/tsconfig.lib.json new file mode 100644 index 0000000000..f08f6935f9 --- /dev/null +++ b/libs/remix-solidity/tsconfig.lib.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "module": "commonjs", + "outDir": "../../dist/out-tsc", + "declaration": true, + "rootDir": "./", + "types": ["node"] + } +} \ No newline at end of file diff --git a/libs/remix-tests/tsconfig.json b/libs/remix-tests/tsconfig.json index 7a57fc3cef..6a0207fab2 100644 --- a/libs/remix-tests/tsconfig.json +++ b/libs/remix-tests/tsconfig.json @@ -1,24 +1,19 @@ { + "extends": "../../tsconfig.json", "include": ["src"], "compilerOptions": { "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "lib": ["dom", "es2018"], /* Specify library files to be included in the compilation. */ + "types": ["node"], "declaration": true, /* Generates corresponding '.d.ts' file. */ "sourceMap": true, /* Generates corresponding '.map' file. */ - "outDir": "./dist", /* Redirect output structure to the directory. */ /* Strict Type-Checking Options */ "strict": true, /* Enable all strict type-checking options. */ - "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */ - /* Module Resolution Options */ - "baseUrl": "./src", /* Base directory to resolve non-absolute module names. */ - "paths": { "remix-tests": ["./"] }, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ + "noImplicitAny": false, "typeRoots": [ "./@types", "./node_modules/@types" - ], - "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ - /* Experimental Options */ - "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ + ] } } diff --git a/libs/remix-tests/tsconfig.lib.json b/libs/remix-tests/tsconfig.lib.json new file mode 100644 index 0000000000..8a8e244640 --- /dev/null +++ b/libs/remix-tests/tsconfig.lib.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "module": "commonjs", + "outDir": "../../dist/out-tsc", + "declaration": true, + "rootDir": "./src", + "types": ["node"] + } +} \ No newline at end of file diff --git a/libs/remix-url-resolver/tsconfig.json b/libs/remix-url-resolver/tsconfig.json index f33c2bad6b..f515d42b6c 100644 --- a/libs/remix-url-resolver/tsconfig.json +++ b/libs/remix-url-resolver/tsconfig.json @@ -1,21 +1,17 @@ { + "extends": "../../tsconfig.json", "compileOnSave": false, "include": ["./src"], "compilerOptions": { - "baseUrl": "./src", - "outDir": "./dist", "sourceMap": true, "declaration": true, "module": "commonjs", "strict": true, "noImplicitAny": false, "strictPropertyInitialization": false, - "experimentalDecorators": true, "target": "es5", "typeRoots": ["node_modules/@types"], "lib": ["dom", "es2018"], - "paths": { - "remix-url-resolver": ["./"] - } + "types": ["node"], } } diff --git a/libs/remix-url-resolver/tsconfig.lib.json b/libs/remix-url-resolver/tsconfig.lib.json new file mode 100644 index 0000000000..8a8e244640 --- /dev/null +++ b/libs/remix-url-resolver/tsconfig.lib.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "module": "commonjs", + "outDir": "../../dist/out-tsc", + "declaration": true, + "rootDir": "./src", + "types": ["node"] + } +} \ No newline at end of file