From 82030f2a5f63e18606ab6800af2bb3cd50b80505 Mon Sep 17 00:00:00 2001 From: Josh Stevens Date: Wed, 3 Apr 2019 18:48:11 +0100 Subject: [PATCH] fix: make VSCODE autoresolve to the root module --- packages/web3-bzz/package.json | 2 +- packages/web3-core-helpers/package.json | 2 +- packages/web3-core-method/package.json | 2 +- packages/web3-core/package.json | 2 +- packages/web3-eth-abi/package.json | 2 +- packages/web3-eth-accounts/package.json | 2 +- packages/web3-eth-contract/package.json | 2 +- packages/web3-eth-ens/package.json | 2 +- packages/web3-eth-iban/package.json | 2 +- packages/web3-eth-personal/package.json | 2 +- packages/web3-eth/package.json | 2 +- packages/web3-net/package.json | 2 +- packages/web3-providers/package.json | 2 +- packages/web3-shh/package.json | 2 +- packages/web3-utils/package.json | 2 +- packages/web3/package.json | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/web3-bzz/package.json b/packages/web3-bzz/package.json index f0bf7da48b6..138d8c186af 100644 --- a/packages/web3-bzz/package.json +++ b/packages/web3-bzz/package.json @@ -8,7 +8,7 @@ "main": "dist/web3-bzz.cjs.js", "module": "dist/web3-bzz.esm.js", "browser": "dist/web3-bzz.umd.js", - "types": "types", + "types": "types/index.d.ts", "scripts": { "build": "rollup -c", "dev": "rollup -c -w", diff --git a/packages/web3-core-helpers/package.json b/packages/web3-core-helpers/package.json index 59ed037002f..f370cec0c8a 100644 --- a/packages/web3-core-helpers/package.json +++ b/packages/web3-core-helpers/package.json @@ -8,7 +8,7 @@ "main": "dist/web3-core-helpers.cjs.js", "module": "dist/web3-core-helpers.esm.js", "browser": "dist/web3-core-helpers.umd.js", - "types": "types", + "types": "types/index.d.ts", "scripts": { "build": "rollup -c", "dev": "rollup -c -w", diff --git a/packages/web3-core-method/package.json b/packages/web3-core-method/package.json index fd9c10667d7..2faf6a1c2c7 100644 --- a/packages/web3-core-method/package.json +++ b/packages/web3-core-method/package.json @@ -15,7 +15,7 @@ "test:watch": "jest --watchAll", "dtslint": "dtslint types --onlyTestTsNext" }, - "types": "types", + "types": "types/index.d.ts", "dependencies": { "@babel/runtime": "^7.3.1", "eventemitter3": "3.1.0", diff --git a/packages/web3-core/package.json b/packages/web3-core/package.json index 638d7bb1f70..9097dd2f77e 100644 --- a/packages/web3-core/package.json +++ b/packages/web3-core/package.json @@ -8,7 +8,7 @@ "main": "dist/web3-core.cjs.js", "module": "dist/web3-core.esm.js", "browser": "dist/web3-core.umd.js", - "types": "types", + "types": "types/index.d.ts", "scripts": { "build": "rollup -c", "dev": "rollup -c -w", diff --git a/packages/web3-eth-abi/package.json b/packages/web3-eth-abi/package.json index 5a4319c99fd..6e7a9ab0abe 100644 --- a/packages/web3-eth-abi/package.json +++ b/packages/web3-eth-abi/package.json @@ -14,7 +14,7 @@ "test": "jest", "dtslint": "dtslint types --onlyTestTsNext" }, - "types": "types", + "types": "types/index.d.ts", "dependencies": { "@babel/runtime": "^7.3.1", "ethers": "4.0.26", diff --git a/packages/web3-eth-accounts/package.json b/packages/web3-eth-accounts/package.json index 9f999f49af4..192d2dd8cb7 100644 --- a/packages/web3-eth-accounts/package.json +++ b/packages/web3-eth-accounts/package.json @@ -8,7 +8,7 @@ "main": "dist/web3-eth-accounts.cjs.js", "module": "dist/web3-eth-accounts.esm.js", "browser": "dist/web3-eth-accounts.umd.js", - "types": "types", + "types": "types/index.d.ts", "scripts": { "build": "rollup -c", "dev": "rollup -c -w", diff --git a/packages/web3-eth-contract/package.json b/packages/web3-eth-contract/package.json index d1bfdd1cef7..57b38540bc0 100644 --- a/packages/web3-eth-contract/package.json +++ b/packages/web3-eth-contract/package.json @@ -8,7 +8,7 @@ "main": "dist/web3-eth-contract.cjs.js", "module": "dist/web3-eth-contract.esm.js", "browser": "dist/web3-eth-contract.umd.js", - "types": "types", + "types": "types/index.d.ts", "scripts": { "build": "rollup -c", "dev": "rollup -c -w", diff --git a/packages/web3-eth-ens/package.json b/packages/web3-eth-ens/package.json index 9a528778759..2ffc482116a 100644 --- a/packages/web3-eth-ens/package.json +++ b/packages/web3-eth-ens/package.json @@ -7,7 +7,7 @@ "main": "dist/web3-eth-ens.cjs.js", "module": "dist/web3-eth-ens.esm.js", "browser": "dist/web3-eth-ens.umd.js", - "types": "types", + "types": "types/index.d.ts", "scripts": { "build": "rollup -c", "dev": "rollup -c -w", diff --git a/packages/web3-eth-iban/package.json b/packages/web3-eth-iban/package.json index 1d077ca1858..9ca2b0744a4 100644 --- a/packages/web3-eth-iban/package.json +++ b/packages/web3-eth-iban/package.json @@ -14,7 +14,7 @@ "test": "jest", "dtslint": "dtslint types --onlyTestTsNext" }, - "types": "types", + "types": "types/index.d.ts", "dependencies": { "@babel/runtime": "^7.3.1", "bn.js": "4.11.8", diff --git a/packages/web3-eth-personal/package.json b/packages/web3-eth-personal/package.json index 35ab15880ed..03c8ec9b13d 100644 --- a/packages/web3-eth-personal/package.json +++ b/packages/web3-eth-personal/package.json @@ -14,7 +14,7 @@ "test": "jest", "dtslint": "dtslint types --onlyTestTsNext" }, - "types": "types", + "types": "types/index.d.ts", "dependencies": { "@babel/runtime": "^7.3.1", "web3-core": "1.0.0-beta.48", diff --git a/packages/web3-eth/package.json b/packages/web3-eth/package.json index 74f10e5e0b3..52f7fdebe87 100644 --- a/packages/web3-eth/package.json +++ b/packages/web3-eth/package.json @@ -14,7 +14,7 @@ "test": "jest", "dtslint": "dtslint types --onlyTestTsNext" }, - "types": "types", + "types": "types/index.d.ts", "dependencies": { "@babel/runtime": "^7.3.1", "eth-lib": "0.2.8", diff --git a/packages/web3-net/package.json b/packages/web3-net/package.json index ae1cac3d048..0850e828139 100644 --- a/packages/web3-net/package.json +++ b/packages/web3-net/package.json @@ -8,7 +8,7 @@ "main": "dist/web3-net.cjs.js", "module": "dist/web3-net.esm.js", "browser": "dist/web3-net.umd.js", - "types": "types", + "types": "types/index.d.ts", "scripts": { "build": "rollup -c", "dev": "rollup -c -w", diff --git a/packages/web3-providers/package.json b/packages/web3-providers/package.json index eea596c1f63..0b4af1e5e55 100644 --- a/packages/web3-providers/package.json +++ b/packages/web3-providers/package.json @@ -14,7 +14,7 @@ "test": "jest", "dtslint": "dtslint types --onlyTestTsNext" }, - "types": "types", + "types": "types/index.d.ts", "dependencies": { "@babel/runtime": "^7.3.1", "@types/node": "^10.12.18", diff --git a/packages/web3-shh/package.json b/packages/web3-shh/package.json index 23abde8f2dc..1ed704a4ee0 100644 --- a/packages/web3-shh/package.json +++ b/packages/web3-shh/package.json @@ -8,7 +8,7 @@ "main": "dist/web3-shh.cjs.js", "module": "dist/web3-shh.esm.js", "browser": "dist/web3-shh.umd.js", - "types": "types", + "types": "types/index.d.ts", "scripts": { "build": "rollup -c", "dev": "rollup -c -w", diff --git a/packages/web3-utils/package.json b/packages/web3-utils/package.json index e405693e0e2..7abbcd9819c 100644 --- a/packages/web3-utils/package.json +++ b/packages/web3-utils/package.json @@ -14,7 +14,7 @@ "test": "jest", "dtslint": "dtslint types --onlyTestTsNext" }, - "types": "types", + "types": "types/index.d.ts", "dependencies": { "@babel/runtime": "^7.3.1", "@types/bn.js": "^4.11.4", diff --git a/packages/web3/package.json b/packages/web3/package.json index c18073a7527..611b86a3f0c 100644 --- a/packages/web3/package.json +++ b/packages/web3/package.json @@ -55,7 +55,7 @@ "dtslint": "dtslint types --onlyTestTsNext", "postinstall": "node angular-patch.js" }, - "types": "types", + "types": "types/index.d.ts", "dependencies": { "@babel/runtime": "^7.3.1", "@types/node": "^10.12.18",