diff --git a/libs/remix-debug/package.json b/libs/remix-debug/package.json index 59e8265424..7cc3840298 100644 --- a/libs/remix-debug/package.json +++ b/libs/remix-debug/package.json @@ -40,7 +40,7 @@ "tape": "^4.6.0" }, "scripts": { - "test": "./../../node_modules/.bin/tape --require tsconfig-paths/register ./test/tests.js" + "test": "./../../node_modules/.bin/tape --require tsconfig-paths/register ./test/tests.ts" }, "publishConfig": { "access": "public" diff --git a/libs/remix-debug/tsconfig.json b/libs/remix-debug/tsconfig.json new file mode 100644 index 0000000000..71c41a5aba --- /dev/null +++ b/libs/remix-debug/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "types": ["node", "tape"], + "esModuleInterop": true + }, + "include": ["**/*.ts"] + } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index e937a8ad80..1aa5cd38a0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,7 @@ "paths": { "@remix-project/remix-analyzer": ["dist/libs/remix-analyzer/index.js"], "@remix-project/remix-astwalker": ["dist/libs/remix-astwalker/index.js"], - "@remix-project/remix-debug": ["dist/libs/remix-debug/index.js"], + "@remix-project/remix-debug": ["dist/libs/remix-debug/src/index.js"], "@remix-project/remix-lib": ["dist/libs/remix-lib/src/index.js"], "@remix-project/remix-simulator": ["dist/libs/remix-simulator/src/index.js"], "@remix-project/remix-solidity": ["dist/libs/remix-solidity/index.js"], diff --git a/workspace.json b/workspace.json index 77c2a4c088..2e063ecc5e 100644 --- a/workspace.json +++ b/workspace.json @@ -189,7 +189,7 @@ "options": { "linter": "eslint", "config": "libs/remix-debug/.eslintrc", - "files": ["libs/remix-debug/**/*.js"], + "tsConfig": ["libs/remix-debug/tsconfig.lib.json"], "exclude": ["**/node_modules/**", "libs/remix-debug/test/**/*"] } }, @@ -206,7 +206,7 @@ "outputPath": "dist/libs/remix-debug", "tsConfig": "libs/remix-debug/tsconfig.lib.json", "packageJson": "libs/remix-debug/package.json", - "main": "libs/remix-debug/index.js", + "main": "libs/remix-debug/src/index.ts", "assets": [ { "glob": "rdb",