diff --git a/zilliqa/js/account/BUILD b/zilliqa/js/account/BUILD index 0823f2529..5c6e30eef 100644 --- a/zilliqa/js/account/BUILD +++ b/zilliqa/js/account/BUILD @@ -100,11 +100,18 @@ ts_project( "//:node_modules/@types/node", "//:node_modules/@typescript-eslint/eslint-plugin", "//:node_modules/@typescript-eslint/parser", + "//:node_modules/@zilliqa-js/core", + "//:node_modules/@zilliqa-js/crypto", + "//:node_modules/@zilliqa-js/proto", + "//:node_modules/@zilliqa-js/util", "//:node_modules/ansi-styles", + "//:node_modules/bip39", "//:node_modules/bn.js", "//:node_modules/buffer-from", "//:node_modules/cross-fetch", "//:node_modules/expect", + "//:node_modules/hash.js", + "//:node_modules/hdkey", "//:node_modules/jest-diff", "//:node_modules/jest-fetch-mock", "//:node_modules/jest-get-type", diff --git a/zilliqa/js/account/tsconfig.test.json b/zilliqa/js/account/tsconfig.test.json index 525a7ba41..0094361cb 100644 --- a/zilliqa/js/account/tsconfig.test.json +++ b/zilliqa/js/account/tsconfig.test.json @@ -1,9 +1,4 @@ { "extends": "../../../tsconfig.test.json", - "include": ["src", "test", "../typings/**/*.d.ts"], - "references": [ - { "path": "../core" }, - { "path": "../crypto" }, - { "path": "../util" } - ] + "include": ["src", "test", "../typings/**/*.d.ts"] } diff --git a/zilliqa/js/blockchain/tsconfig.test.json b/zilliqa/js/blockchain/tsconfig.test.json index f64dea41b..0094361cb 100644 --- a/zilliqa/js/blockchain/tsconfig.test.json +++ b/zilliqa/js/blockchain/tsconfig.test.json @@ -1,9 +1,4 @@ { "extends": "../../../tsconfig.test.json", - "include": ["src", "test", "../typings/**/*.d.ts"], - "references": [ - { "path": "../account" }, - { "path": "../contract" }, - { "path": "../core" } - ] + "include": ["src", "test", "../typings/**/*.d.ts"] } diff --git a/zilliqa/js/contract/tsconfig.test.json b/zilliqa/js/contract/tsconfig.test.json index 48e6e5e29..0094361cb 100644 --- a/zilliqa/js/contract/tsconfig.test.json +++ b/zilliqa/js/contract/tsconfig.test.json @@ -1,9 +1,4 @@ { "extends": "../../../tsconfig.test.json", - "include": ["src", "test", "../typings/**/*.d.ts"], - "references": [ - { "path": "../account" }, - { "path": "../core" }, - { "path": "../util" } - ] + "include": ["src", "test", "../typings/**/*.d.ts"] } diff --git a/zilliqa/js/core/tsconfig.test.json b/zilliqa/js/core/tsconfig.test.json index 26510ed5e..0094361cb 100644 --- a/zilliqa/js/core/tsconfig.test.json +++ b/zilliqa/js/core/tsconfig.test.json @@ -1,5 +1,4 @@ { "extends": "../../../tsconfig.test.json", - "include": ["src", "test", "../typings/**/*.d.ts"], - "references": [] + "include": ["src", "test", "../typings/**/*.d.ts"] } diff --git a/zilliqa/js/crypto/BUILD b/zilliqa/js/crypto/BUILD index 4bd7554b9..a0d3e4583 100644 --- a/zilliqa/js/crypto/BUILD +++ b/zilliqa/js/crypto/BUILD @@ -73,7 +73,11 @@ npm_package( ts_project( name = "test_src", - srcs = glob( + srcs = [ + "//zilliqa/js:aes-js.d", + "//zilliqa/js:hmac-drbg.d", + "//zilliqa/js:pbkdf2.d", + ] + glob( [ "src/*.ts", "src/**/*.ts", @@ -98,25 +102,35 @@ ts_project( "//:node_modules/@testing-library/react", "//:node_modules/@types/bn.js", "//:node_modules/@types/camelcase", + "//:node_modules/@types/elliptic", "//:node_modules/@types/jest", "//:node_modules/@types/long", "//:node_modules/@types/node", + "//:node_modules/@types/uuid", "//:node_modules/@typescript-eslint/eslint-plugin", "//:node_modules/@typescript-eslint/parser", + "//:node_modules/@zilliqa-js/util", + "//:node_modules/aes-js", "//:node_modules/ansi-styles", "//:node_modules/bn.js", "//:node_modules/buffer-from", "//:node_modules/cross-fetch", + "//:node_modules/elliptic", "//:node_modules/expect", + "//:node_modules/hash.js", + "//:node_modules/hmac-drbg", "//:node_modules/jest-diff", "//:node_modules/jest-fetch-mock", "//:node_modules/jest-get-type", "//:node_modules/jest-matcher-utils", - "//:node_modules/long", "//:node_modules/node-fetch", + "//:node_modules/pbkdf2", "//:node_modules/pretty-format", + "//:node_modules/scrypt-js", + "//:node_modules/sodium-randbytes", "//:node_modules/source-map", "//:node_modules/tslib", + "//:node_modules/uuid", ], ) diff --git a/zilliqa/js/crypto/tsconfig.test.json b/zilliqa/js/crypto/tsconfig.test.json index 177d208f3..0094361cb 100644 --- a/zilliqa/js/crypto/tsconfig.test.json +++ b/zilliqa/js/crypto/tsconfig.test.json @@ -1,5 +1,4 @@ { "extends": "../../../tsconfig.test.json", - "include": ["src", "test", "../typings/**/*.d.ts"], - "references": [{ "path": "../util" }] + "include": ["src", "test", "../typings/**/*.d.ts"] } diff --git a/zilliqa/js/subscriptions/tsconfig.test.json b/zilliqa/js/subscriptions/tsconfig.test.json index 26510ed5e..0094361cb 100644 --- a/zilliqa/js/subscriptions/tsconfig.test.json +++ b/zilliqa/js/subscriptions/tsconfig.test.json @@ -1,5 +1,4 @@ { "extends": "../../../tsconfig.test.json", - "include": ["src", "test", "../typings/**/*.d.ts"], - "references": [] + "include": ["src", "test", "../typings/**/*.d.ts"] }