1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Widen the number of test files that TS sees (#19403)

Currently, all test files are excluded from TypeScript's purview. That
means that if any test file fails to typecheck, we won't know about it.
In fact if we were to remove all test files from the `exclude` list,
then some files would indeed fail to be typechecked.

At the moment all we care about is the unit test file for
NetworkController. Due to how the `include`/`exclude` rules work in
`tsconfig.json`, we can't "un-exclude" that file after it's excluded, so
to fix this, we simply exclude fewer things.

While we're at it, we also:

- Add `esModuleInterop: true` to address warnings we sometimes see
  around imports
- Add `noEmit: true` so that we can run `tsc` to test typechecking on
  its own without producing any compiled files (so that ESLint doesn't
  accidentally pick them up)
- Clean up `tsconfig.json` slightly
This commit is contained in:
Elliot Winkler 2023-06-07 12:16:06 -06:00 committed by GitHub
parent 2647ae16d2
commit a4f3a5fdd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 475 additions and 300 deletions

View File

@ -774,7 +774,6 @@
"URL": true, "URL": true,
"clearInterval": true, "clearInterval": true,
"clearTimeout": true, "clearTimeout": true,
"console.error": true,
"console.info": true, "console.info": true,
"console.log": true, "console.log": true,
"setInterval": true, "setInterval": true,
@ -4450,34 +4449,6 @@
"react": true "react": true
} }
}, },
"react-transition-group": {
"globals": {
"clearTimeout": true,
"setTimeout": true
},
"packages": {
"prop-types": true,
"react": true,
"react-dom": true,
"react-transition-group>chain-function": true,
"react-transition-group>dom-helpers": true,
"react-transition-group>warning": true
}
},
"react-transition-group>dom-helpers": {
"globals": {
"document": true,
"setTimeout": true
},
"packages": {
"@babel/runtime": true
}
},
"react-transition-group>warning": {
"globals": {
"console": true
}
},
"readable-stream": { "readable-stream": {
"packages": { "packages": {
"browserify>browser-resolve": true, "browserify>browser-resolve": true,

View File

@ -774,7 +774,6 @@
"URL": true, "URL": true,
"clearInterval": true, "clearInterval": true,
"clearTimeout": true, "clearTimeout": true,
"console.error": true,
"console.info": true, "console.info": true,
"console.log": true, "console.log": true,
"setInterval": true, "setInterval": true,
@ -5113,34 +5112,6 @@
"react": true "react": true
} }
}, },
"react-transition-group": {
"globals": {
"clearTimeout": true,
"setTimeout": true
},
"packages": {
"prop-types": true,
"react": true,
"react-dom": true,
"react-transition-group>chain-function": true,
"react-transition-group>dom-helpers": true,
"react-transition-group>warning": true
}
},
"react-transition-group>dom-helpers": {
"globals": {
"document": true,
"setTimeout": true
},
"packages": {
"@babel/runtime": true
}
},
"react-transition-group>warning": {
"globals": {
"console": true
}
},
"readable-stream": { "readable-stream": {
"packages": { "packages": {
"browserify>browser-resolve": true, "browserify>browser-resolve": true,

View File

@ -774,7 +774,6 @@
"URL": true, "URL": true,
"clearInterval": true, "clearInterval": true,
"clearTimeout": true, "clearTimeout": true,
"console.error": true,
"console.info": true, "console.info": true,
"console.log": true, "console.log": true,
"setInterval": true, "setInterval": true,
@ -5113,34 +5112,6 @@
"react": true "react": true
} }
}, },
"react-transition-group": {
"globals": {
"clearTimeout": true,
"setTimeout": true
},
"packages": {
"prop-types": true,
"react": true,
"react-dom": true,
"react-transition-group>chain-function": true,
"react-transition-group>dom-helpers": true,
"react-transition-group>warning": true
}
},
"react-transition-group>dom-helpers": {
"globals": {
"document": true,
"setTimeout": true
},
"packages": {
"@babel/runtime": true
}
},
"react-transition-group>warning": {
"globals": {
"console": true
}
},
"readable-stream": { "readable-stream": {
"packages": { "packages": {
"browserify>browser-resolve": true, "browserify>browser-resolve": true,

View File

@ -774,7 +774,6 @@
"URL": true, "URL": true,
"clearInterval": true, "clearInterval": true,
"clearTimeout": true, "clearTimeout": true,
"console.error": true,
"console.info": true, "console.info": true,
"console.log": true, "console.log": true,
"setInterval": true, "setInterval": true,
@ -4450,34 +4449,6 @@
"react": true "react": true
} }
}, },
"react-transition-group": {
"globals": {
"clearTimeout": true,
"setTimeout": true
},
"packages": {
"prop-types": true,
"react": true,
"react-dom": true,
"react-transition-group>chain-function": true,
"react-transition-group>dom-helpers": true,
"react-transition-group>warning": true
}
},
"react-transition-group>dom-helpers": {
"globals": {
"document": true,
"setTimeout": true
},
"packages": {
"@babel/runtime": true
}
},
"react-transition-group>warning": {
"globals": {
"console": true
}
},
"readable-stream": { "readable-stream": {
"packages": { "packages": {
"browserify>browser-resolve": true, "browserify>browser-resolve": true,

View File

@ -142,7 +142,6 @@
"@ethereumjs/tx>@ethereumjs/rlp": true, "@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util": true, "@ethereumjs/tx>@ethereumjs/util": true,
"@ethereumjs/tx>ethereum-cryptography": true, "@ethereumjs/tx>ethereum-cryptography": true,
"@ethersproject/providers": true,
"browserify>buffer": true, "browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true "browserify>insert-module-globals>is-buffer": true
} }
@ -150,8 +149,6 @@
"@ethereumjs/tx>@chainsafe/ssz": { "@ethereumjs/tx>@chainsafe/ssz": {
"packages": { "packages": {
"@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": true, "@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": true,
"@ethereumjs/tx>@chainsafe/ssz>case": true,
"browserify": true,
"browserify>buffer": true "browserify>buffer": true
} }
}, },
@ -160,7 +157,8 @@
"WeakRef": true "WeakRef": true
}, },
"packages": { "packages": {
"browserify": true "@ethereumjs/tx>@chainsafe/ssz>@chainsafe/as-sha256": true,
"@metamask/key-tree>@noble/hashes": true
} }
}, },
"@ethereumjs/tx>@ethereumjs/rlp": { "@ethereumjs/tx>@ethereumjs/rlp": {
@ -175,50 +173,56 @@
"packages": { "packages": {
"@ethereumjs/tx>@chainsafe/ssz": true, "@ethereumjs/tx>@chainsafe/ssz": true,
"@ethereumjs/tx>@ethereumjs/rlp": true, "@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>ethereum-cryptography": true, "@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography": true,
"@ethereumjs/tx>@ethereumjs/util>micro-ftch": true,
"browserify>buffer": true, "browserify>buffer": true,
"browserify>events": true, "browserify>events": true,
"browserify>insert-module-globals>is-buffer": true "browserify>insert-module-globals>is-buffer": true
} }
}, },
"@ethereumjs/tx>@ethereumjs/util>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@ethereumjs/tx>ethereum-cryptography>@noble/curves": true,
"@metamask/key-tree>@noble/hashes": true
}
},
"@ethereumjs/tx>@ethereumjs/util>micro-ftch": {
"globals": {
"Headers": true,
"TextDecoder": true,
"URL": true,
"btoa": true,
"fetch": true
},
"packages": {
"browserify>browserify-zlib": true,
"browserify>buffer": true,
"browserify>https-browserify": true,
"browserify>process": true,
"browserify>stream-http": true,
"browserify>url": true,
"browserify>util": true
}
},
"@ethereumjs/tx>ethereum-cryptography": { "@ethereumjs/tx>ethereum-cryptography": {
"globals": { "globals": {
"TextDecoder": true, "TextDecoder": true,
"crypto": true "crypto": true
}, },
"packages": { "packages": {
"@ethereumjs/tx>ethereum-cryptography>@noble/hashes": true, "@metamask/key-tree>@noble/hashes": true
"@ethereumjs/tx>ethereum-cryptography>@noble/secp256k1": true,
"@ethereumjs/tx>ethereum-cryptography>@scure/bip32": true
} }
}, },
"@ethereumjs/tx>ethereum-cryptography>@noble/hashes": { "@ethereumjs/tx>ethereum-cryptography>@noble/curves": {
"globals": { "globals": {
"TextEncoder": true, "TextEncoder": true
"crypto": true
}
},
"@ethereumjs/tx>ethereum-cryptography>@noble/secp256k1": {
"globals": {
"crypto": true
}, },
"packages": { "packages": {
"browserify>browser-resolve": true "@metamask/key-tree>@noble/hashes": true
}
},
"@ethereumjs/tx>ethereum-cryptography>@scure/bip32": {
"packages": {
"@ethereumjs/tx>ethereum-cryptography>@scure/bip32>@noble/secp256k1": true,
"@metamask/key-tree>@noble/hashes": true,
"@metamask/key-tree>@scure/base": true
}
},
"@ethereumjs/tx>ethereum-cryptography>@scure/bip32>@noble/secp256k1": {
"globals": {
"crypto": true
},
"packages": {
"browserify>browser-resolve": true
} }
}, },
"@ethersproject/abi": { "@ethersproject/abi": {
@ -524,8 +528,8 @@
"@keystonehq/metamask-airgapped-keyring": { "@keystonehq/metamask-airgapped-keyring": {
"packages": { "packages": {
"@ethereumjs/tx": true, "@ethereumjs/tx": true,
"@keystonehq/bc-ur-registry-eth": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring": true, "@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/bc-ur-registry-eth": true,
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": true, "@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": true,
"browserify>buffer": true, "browserify>buffer": true,
"browserify>events": true, "browserify>events": true,
@ -537,60 +541,18 @@
"packages": { "packages": {
"@ethereumjs/tx": true, "@ethereumjs/tx": true,
"@ethereumjs/tx>@ethereumjs/util": true, "@ethereumjs/tx>@ethereumjs/util": true,
"@keystonehq/bc-ur-registry-eth": true,
"@keystonehq/bc-ur-registry-eth>hdkey": true, "@keystonehq/bc-ur-registry-eth>hdkey": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>@keystonehq/bc-ur-registry-eth": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>rlp": true, "@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>rlp": true,
"browserify>buffer": true, "browserify>buffer": true,
"uuid": true "uuid": true
} }
}, },
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>@keystonehq/bc-ur-registry-eth": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@keystonehq/bc-ur-registry-eth>hdkey": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry": true,
"browserify>buffer": true,
"uuid": true
}
},
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry": {
"globals": {
"define": true
},
"packages": {
"@ngraveio/bc-ur": true,
"@ngraveio/bc-ur>crc>buffer": true,
"browserify>buffer": true,
"ethereumjs-wallet>bs58check": true,
"wait-on>rxjs>tslib": true
}
},
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>rlp": { "@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>rlp": {
"globals": { "globals": {
"TextEncoder": true "TextEncoder": true
} }
}, },
"@keystonehq/metamask-airgapped-keyring>@keystonehq/bc-ur-registry-eth": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@keystonehq/bc-ur-registry-eth>hdkey": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry": true,
"browserify>buffer": true,
"uuid": true
}
},
"@keystonehq/metamask-airgapped-keyring>@keystonehq/bc-ur-registry-eth>@keystonehq/bc-ur-registry": {
"globals": {
"define": true
},
"packages": {
"@ngraveio/bc-ur": true,
"@ngraveio/bc-ur>crc>buffer": true,
"browserify>buffer": true,
"ethereumjs-wallet>bs58check": true,
"wait-on>rxjs>tslib": true
}
},
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": { "@keystonehq/metamask-airgapped-keyring>@metamask/obs-store": {
"packages": { "packages": {
"@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": true, "@keystonehq/metamask-airgapped-keyring>@metamask/obs-store>through2": true,
@ -1033,7 +995,6 @@
"URL": true, "URL": true,
"clearInterval": true, "clearInterval": true,
"clearTimeout": true, "clearTimeout": true,
"console.error": true,
"console.info": true, "console.info": true,
"console.log": true, "console.log": true,
"setInterval": true, "setInterval": true,
@ -1043,11 +1004,11 @@
"@ethersproject/contracts": true, "@ethersproject/contracts": true,
"@ethersproject/providers": true, "@ethersproject/providers": true,
"@metamask/assets-controllers>@metamask/abi-utils": true, "@metamask/assets-controllers>@metamask/abi-utils": true,
"@metamask/assets-controllers>@metamask/base-controller": true,
"@metamask/assets-controllers>@metamask/controller-utils": true,
"@metamask/assets-controllers>abort-controller": true, "@metamask/assets-controllers>abort-controller": true,
"@metamask/assets-controllers>multiformats": true, "@metamask/assets-controllers>multiformats": true,
"@metamask/base-controller": true,
"@metamask/contract-metadata": true, "@metamask/contract-metadata": true,
"@metamask/controller-utils": true,
"@metamask/metamask-eth-abis": true, "@metamask/metamask-eth-abis": true,
"@metamask/utils": true, "@metamask/utils": true,
"browserify>events": true, "browserify>events": true,
@ -1077,6 +1038,28 @@
"superstruct": true "superstruct": true
} }
}, },
"@metamask/assets-controllers>@metamask/base-controller": {
"packages": {
"immer": true
}
},
"@metamask/assets-controllers>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/assets-controllers>abort-controller": { "@metamask/assets-controllers>abort-controller": {
"globals": { "globals": {
"AbortController": true "AbortController": true
@ -1252,22 +1235,74 @@
}, },
"packages": { "packages": {
"@ethereumjs/tx>@ethereumjs/util": true, "@ethereumjs/tx>@ethereumjs/util": true,
"@ethereumjs/tx>ethereum-cryptography": true, "@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography": true,
"@metamask/eth-trezor-keyring>@metamask/eth-sig-util": true, "@metamask/eth-trezor-keyring>@metamask/eth-sig-util": true,
"@metamask/scure-bip39": true, "@metamask/scure-bip39": true,
"browserify>buffer": true "browserify>buffer": true
} }
}, },
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes": true,
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@noble/secp256k1": {
"globals": {
"crypto": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip32": {
"packages": {
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@noble/secp256k1": true,
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip39>@noble/hashes": true,
"@metamask/key-tree>@scure/base": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-hd-keyring>ethereum-cryptography>@scure/bip39>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-simple-keyring": { "@metamask/eth-keyring-controller>@metamask/eth-simple-keyring": {
"packages": { "packages": {
"@ethereumjs/tx>@ethereumjs/util": true, "@ethereumjs/tx>@ethereumjs/util": true,
"@ethereumjs/tx>ethereum-cryptography": true, "@metamask/eth-keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography": true,
"@metamask/eth-trezor-keyring>@metamask/eth-sig-util": true, "@metamask/eth-trezor-keyring>@metamask/eth-sig-util": true,
"browserify>buffer": true, "browserify>buffer": true,
"browserify>events": true, "browserify>events": true,
"ethereumjs-wallet>randombytes": true "ethereumjs-wallet>randombytes": true
} }
}, },
"@metamask/eth-keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@metamask/eth-keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography>@noble/hashes": true
}
},
"@metamask/eth-keyring-controller>@metamask/eth-simple-keyring>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@metamask/eth-keyring-controller>obs-store": { "@metamask/eth-keyring-controller>obs-store": {
"packages": { "packages": {
"@metamask/eth-token-tracker>safe-event-emitter": true, "@metamask/eth-token-tracker>safe-event-emitter": true,
@ -1303,25 +1338,17 @@
}, },
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": { "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util": {
"packages": { "packages": {
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethereum-cryptography": true,
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": true, "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": true,
"bn.js": true, "bn.js": true,
"browserify>assert": true, "browserify>assert": true,
"browserify>buffer": true, "browserify>buffer": true,
"ethereumjs-util>create-hash": true, "ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true, "ethereumjs-util>rlp": true,
"ethereumjs-wallet>safe-buffer": true, "ethereumjs-wallet>safe-buffer": true,
"ganache>secp256k1>elliptic": true "ganache>secp256k1>elliptic": true
} }
}, },
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethereum-cryptography": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>ethereum-cryptography>keccak": true,
"ethereumjs-util>ethereum-cryptography>secp256k1": true,
"ethereumjs-wallet>randombytes": true
}
},
"@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": { "@metamask/eth-ledger-bridge-keyring>eth-sig-util>ethereumjs-util>ethjs-util": {
"packages": { "packages": {
"browserify>buffer": true, "browserify>buffer": true,
@ -1478,7 +1505,7 @@
"@metamask/eth-trezor-keyring>@metamask/eth-sig-util": { "@metamask/eth-trezor-keyring>@metamask/eth-sig-util": {
"packages": { "packages": {
"@ethereumjs/tx>@ethereumjs/util": true, "@ethereumjs/tx>@ethereumjs/util": true,
"@ethereumjs/tx>ethereum-cryptography": true, "@metamask/eth-trezor-keyring>@metamask/eth-sig-util>ethereum-cryptography": true,
"@metamask/eth-trezor-keyring>@metamask/eth-sig-util>ethjs-util": true, "@metamask/eth-trezor-keyring>@metamask/eth-sig-util>ethjs-util": true,
"bn.js": true, "bn.js": true,
"browserify>buffer": true, "browserify>buffer": true,
@ -1486,6 +1513,21 @@
"eth-sig-util>tweetnacl-util": true "eth-sig-util>tweetnacl-util": true
} }
}, },
"@metamask/eth-trezor-keyring>@metamask/eth-sig-util>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"@metamask/eth-trezor-keyring>@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes": true
}
},
"@metamask/eth-trezor-keyring>@metamask/eth-sig-util>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"@metamask/eth-trezor-keyring>@metamask/eth-sig-util>ethjs-util": { "@metamask/eth-trezor-keyring>@metamask/eth-sig-util>ethjs-util": {
"packages": { "packages": {
"browserify>buffer": true, "browserify>buffer": true,
@ -1661,14 +1703,36 @@
"setInterval": true "setInterval": true
}, },
"packages": { "packages": {
"@metamask/base-controller": true, "@metamask/gas-fee-controller>@metamask/base-controller": true,
"@metamask/controller-utils": true, "@metamask/gas-fee-controller>@metamask/controller-utils": true,
"eth-query": true, "eth-query": true,
"ethereumjs-util": true, "ethereumjs-util": true,
"ethjs>ethjs-unit": true, "ethjs>ethjs-unit": true,
"uuid": true "uuid": true
} }
}, },
"@metamask/gas-fee-controller>@metamask/base-controller": {
"packages": {
"immer": true
}
},
"@metamask/gas-fee-controller>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/jazzicon": { "@metamask/jazzicon": {
"globals": { "globals": {
"document.createElement": true, "document.createElement": true,
@ -1767,8 +1831,8 @@
}, },
"@metamask/message-manager": { "@metamask/message-manager": {
"packages": { "packages": {
"@metamask/base-controller": true, "@metamask/message-manager>@metamask/base-controller": true,
"@metamask/controller-utils": true, "@metamask/message-manager>@metamask/controller-utils": true,
"@metamask/message-manager>jsonschema": true, "@metamask/message-manager>jsonschema": true,
"browserify>buffer": true, "browserify>buffer": true,
"browserify>events": true, "browserify>events": true,
@ -1777,6 +1841,28 @@
"uuid": true "uuid": true
} }
}, },
"@metamask/message-manager>@metamask/base-controller": {
"packages": {
"immer": true
}
},
"@metamask/message-manager>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/message-manager>jsonschema": { "@metamask/message-manager>jsonschema": {
"packages": { "packages": {
"browserify>url": true "browserify>url": true
@ -1810,6 +1896,7 @@
"@metamask/base-controller": true, "@metamask/base-controller": true,
"@metamask/controller-utils": true, "@metamask/controller-utils": true,
"@metamask/permission-controller>nanoid": true, "@metamask/permission-controller>nanoid": true,
"@metamask/utils": true,
"deep-freeze-strict": true, "deep-freeze-strict": true,
"eth-rpc-errors": true, "eth-rpc-errors": true,
"immer": true, "immer": true,
@ -1826,12 +1913,34 @@
"fetch": true "fetch": true
}, },
"packages": { "packages": {
"@metamask/base-controller": true, "@metamask/phishing-controller>@metamask/base-controller": true,
"@metamask/controller-utils": true, "@metamask/phishing-controller>@metamask/controller-utils": true,
"@metamask/phishing-warning>eth-phishing-detect": true, "@metamask/phishing-warning>eth-phishing-detect": true,
"punycode": true "punycode": true
} }
}, },
"@metamask/phishing-controller>@metamask/base-controller": {
"packages": {
"immer": true
}
},
"@metamask/phishing-controller>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/phishing-warning>eth-phishing-detect": { "@metamask/phishing-warning>eth-phishing-detect": {
"packages": { "packages": {
"eslint>optionator>fast-levenshtein": true "eslint>optionator>fast-levenshtein": true
@ -1868,8 +1977,14 @@
"TextEncoder": true "TextEncoder": true
}, },
"packages": { "packages": {
"@metamask/key-tree>@noble/hashes": true, "@metamask/key-tree>@scure/base": true,
"@metamask/key-tree>@scure/base": true "@metamask/scure-bip39>@noble/hashes": true
}
},
"@metamask/scure-bip39>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
} }
}, },
"@metamask/signature-controller": { "@metamask/signature-controller": {
@ -1877,15 +1992,37 @@
"console.info": true "console.info": true
}, },
"packages": { "packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/message-manager": true, "@metamask/message-manager": true,
"@metamask/signature-controller>@metamask/base-controller": true,
"@metamask/signature-controller>@metamask/controller-utils": true,
"browserify>buffer": true, "browserify>buffer": true,
"browserify>events": true, "browserify>events": true,
"eth-rpc-errors": true, "eth-rpc-errors": true,
"ethereumjs-util": true "ethereumjs-util": true
} }
}, },
"@metamask/signature-controller>@metamask/base-controller": {
"packages": {
"immer": true
}
},
"@metamask/signature-controller>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/smart-transactions-controller": { "@metamask/smart-transactions-controller": {
"globals": { "globals": {
"URLSearchParams": true, "URLSearchParams": true,
@ -1969,7 +2106,12 @@
}, },
"@metamask/subject-metadata-controller": { "@metamask/subject-metadata-controller": {
"packages": { "packages": {
"@metamask/base-controller": true "@metamask/subject-metadata-controller>@metamask/base-controller": true
}
},
"@metamask/subject-metadata-controller>@metamask/base-controller": {
"packages": {
"immer": true
} }
}, },
"@metamask/utils": { "@metamask/utils": {
@ -2021,15 +2163,6 @@
"browserify>buffer": true "browserify>buffer": true
} }
}, },
"@ngraveio/bc-ur>crc>buffer": {
"globals": {
"console": true
},
"packages": {
"base64-js": true,
"browserify>buffer>ieee754": true
}
},
"@ngraveio/bc-ur>jsbi": { "@ngraveio/bc-ur>jsbi": {
"globals": { "globals": {
"define": true "define": true
@ -2756,6 +2889,16 @@
"ethjs-query>babel-runtime>core-js": true "ethjs-query>babel-runtime>core-js": true
} }
}, },
"browserify>browserify-zlib": {
"packages": {
"browserify>assert": true,
"browserify>browserify-zlib>pako": true,
"browserify>buffer": true,
"browserify>process": true,
"browserify>stream-browserify": true,
"browserify>util": true
}
},
"browserify>buffer": { "browserify>buffer": {
"globals": { "globals": {
"console": true "console": true
@ -2922,6 +3065,12 @@
"browserify>has>function-bind": true "browserify>has>function-bind": true
} }
}, },
"browserify>https-browserify": {
"packages": {
"browserify>stream-http": true,
"browserify>url": true
}
},
"browserify>os-browserify": { "browserify>os-browserify": {
"globals": { "globals": {
"location": true, "location": true,
@ -2951,6 +3100,41 @@
"readable-stream": true "readable-stream": true
} }
}, },
"browserify>stream-http": {
"globals": {
"AbortController": true,
"Blob": true,
"MSStreamReader": true,
"ReadableStream": true,
"WritableStream": true,
"XDomainRequest": true,
"XMLHttpRequest": true,
"clearTimeout": true,
"fetch": true,
"location.protocol.search": true,
"setTimeout": true
},
"packages": {
"browserify>buffer": true,
"browserify>process": true,
"browserify>stream-http>builtin-status-codes": true,
"browserify>stream-http>readable-stream": true,
"browserify>url": true,
"pumpify>inherits": true,
"watchify>xtend": true
}
},
"browserify>stream-http>readable-stream": {
"packages": {
"browserify>browser-resolve": true,
"browserify>buffer": true,
"browserify>events": true,
"browserify>process": true,
"browserify>string_decoder": true,
"pumpify>inherits": true,
"readable-stream>util-deprecate": true
}
},
"browserify>string_decoder": { "browserify>string_decoder": {
"packages": { "packages": {
"ethereumjs-wallet>safe-buffer": true "ethereumjs-wallet>safe-buffer": true
@ -3172,16 +3356,59 @@
"setInterval": true "setInterval": true
}, },
"packages": { "packages": {
"@ethereumjs/tx": true,
"@ethereumjs/tx>@ethereumjs/util": true, "@ethereumjs/tx>@ethereumjs/util": true,
"browserify>buffer": true, "browserify>buffer": true,
"browserify>crypto-browserify": true, "browserify>crypto-browserify": true,
"browserify>events": true, "browserify>events": true,
"eth-lattice-keyring>@ethereumjs/tx": true,
"eth-lattice-keyring>bn.js": true, "eth-lattice-keyring>bn.js": true,
"eth-lattice-keyring>gridplus-sdk": true, "eth-lattice-keyring>gridplus-sdk": true,
"eth-lattice-keyring>rlp": true "eth-lattice-keyring>rlp": true
} }
}, },
"eth-lattice-keyring>@ethereumjs/tx": {
"packages": {
"@ethereumjs/common": true,
"@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@ethersproject/providers": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz": true,
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz": {
"packages": {
"browserify": true,
"browserify>buffer": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>case": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": {
"globals": {
"WeakRef": true
},
"packages": {
"browserify": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography>@noble/hashes": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"eth-lattice-keyring>bn.js": { "eth-lattice-keyring>bn.js": {
"globals": { "globals": {
"Buffer": true "Buffer": true
@ -3205,12 +3432,12 @@
"setTimeout": true "setTimeout": true
}, },
"packages": { "packages": {
"@ethereumjs/common": true,
"@ethereumjs/common>crc-32": true, "@ethereumjs/common>crc-32": true,
"@ethereumjs/tx": true,
"@ethersproject/abi": true, "@ethersproject/abi": true,
"bn.js": true, "bn.js": true,
"browserify>buffer": true, "browserify>buffer": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/common": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx": true,
"eth-lattice-keyring>gridplus-sdk>bech32": true, "eth-lattice-keyring>gridplus-sdk>bech32": true,
"eth-lattice-keyring>gridplus-sdk>bignumber.js": true, "eth-lattice-keyring>gridplus-sdk>bignumber.js": true,
"eth-lattice-keyring>gridplus-sdk>bitwise": true, "eth-lattice-keyring>gridplus-sdk>bitwise": true,
@ -3227,6 +3454,65 @@
"lodash": true "lodash": true
} }
}, },
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/common": {
"packages": {
"@ethereumjs/common>crc-32": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"browserify>buffer": true,
"browserify>events": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx": {
"packages": {
"@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@ethersproject/providers": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@chainsafe/ssz": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/common": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>ethereum-cryptography": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@chainsafe/ssz": {
"packages": {
"browserify": true,
"browserify>buffer": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>case": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": {
"globals": {
"WeakRef": true
},
"packages": {
"browserify": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/common": {
"packages": {
"@ethereumjs/common>crc-32": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"browserify>buffer": true,
"browserify>events": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>ethereum-cryptography>@noble/hashes": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"eth-lattice-keyring>gridplus-sdk>bignumber.js": { "eth-lattice-keyring>gridplus-sdk>bignumber.js": {
"globals": { "globals": {
"crypto": true, "crypto": true,
@ -3356,22 +3642,14 @@
"bn.js": true, "bn.js": true,
"browserify>assert": true, "browserify>assert": true,
"browserify>buffer": true, "browserify>buffer": true,
"eth-sig-util>ethereumjs-util>ethereum-cryptography": true,
"eth-sig-util>ethereumjs-util>ethjs-util": true, "eth-sig-util>ethereumjs-util>ethjs-util": true,
"ethereumjs-util>create-hash": true, "ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true, "ethereumjs-util>rlp": true,
"ethereumjs-wallet>safe-buffer": true, "ethereumjs-wallet>safe-buffer": true,
"ganache>secp256k1>elliptic": true "ganache>secp256k1>elliptic": true
} }
}, },
"eth-sig-util>ethereumjs-util>ethereum-cryptography": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>ethereum-cryptography>keccak": true,
"ethereumjs-util>ethereum-cryptography>secp256k1": true,
"ethereumjs-wallet>randombytes": true
}
},
"eth-sig-util>ethereumjs-util>ethjs-util": { "eth-sig-util>ethereumjs-util>ethjs-util": {
"packages": { "packages": {
"browserify>buffer": true, "browserify>buffer": true,
@ -3410,21 +3688,13 @@
"bn.js": true, "bn.js": true,
"browserify>assert": true, "browserify>assert": true,
"browserify>buffer": true, "browserify>buffer": true,
"ethereumjs-abi>ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-abi>ethereumjs-util>ethjs-util": true, "ethereumjs-abi>ethereumjs-util>ethjs-util": true,
"ethereumjs-util>create-hash": true, "ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true, "ethereumjs-util>rlp": true,
"ganache>secp256k1>elliptic": true "ganache>secp256k1>elliptic": true
} }
}, },
"ethereumjs-abi>ethereumjs-util>ethereum-cryptography": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>ethereum-cryptography>keccak": true,
"ethereumjs-util>ethereum-cryptography>secp256k1": true,
"ethereumjs-wallet>randombytes": true
}
},
"ethereumjs-abi>ethereumjs-util>ethjs-util": { "ethereumjs-abi>ethereumjs-util>ethjs-util": {
"packages": { "packages": {
"browserify>buffer": true, "browserify>buffer": true,
@ -3609,22 +3879,14 @@
"ethereumjs-wallet>safe-buffer": true "ethereumjs-wallet>safe-buffer": true
} }
}, },
"ethereumjs-wallet>ethereum-cryptography": {
"packages": {
"browserify>buffer": true,
"ethereumjs-util>ethereum-cryptography>keccak": true,
"ethereumjs-util>ethereum-cryptography>secp256k1": true,
"ethereumjs-wallet>randombytes": true
}
},
"ethereumjs-wallet>ethereumjs-util": { "ethereumjs-wallet>ethereumjs-util": {
"packages": { "packages": {
"bn.js": true, "bn.js": true,
"browserify>assert": true, "browserify>assert": true,
"browserify>buffer": true, "browserify>buffer": true,
"ethereumjs-util>create-hash": true, "ethereumjs-util>create-hash": true,
"ethereumjs-util>ethereum-cryptography": true,
"ethereumjs-util>rlp": true, "ethereumjs-util>rlp": true,
"ethereumjs-wallet>ethereum-cryptography": true,
"ethereumjs-wallet>ethereumjs-util>ethjs-util": true, "ethereumjs-wallet>ethereumjs-util>ethjs-util": true,
"ganache>secp256k1>elliptic": true "ganache>secp256k1>elliptic": true
} }
@ -4408,34 +4670,6 @@
"react": true "react": true
} }
}, },
"react-transition-group": {
"globals": {
"clearTimeout": true,
"setTimeout": true
},
"packages": {
"prop-types": true,
"react": true,
"react-dom": true,
"react-transition-group>chain-function": true,
"react-transition-group>dom-helpers": true,
"react-transition-group>warning": true
}
},
"react-transition-group>dom-helpers": {
"globals": {
"document": true,
"setTimeout": true
},
"packages": {
"@babel/runtime": true
}
},
"react-transition-group>warning": {
"globals": {
"console": true
}
},
"readable-stream": { "readable-stream": {
"packages": { "packages": {
"browserify>browser-resolve": true, "browserify>browser-resolve": true,

View File

@ -980,6 +980,7 @@
"packages": { "packages": {
"@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog>are-we-there-yet": true, "@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog>are-we-there-yet": true,
"@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog>gauge": true, "@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog>gauge": true,
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>console-control-strings": true,
"@storybook/react>@storybook/node-logger>npmlog>console-control-strings": true, "@storybook/react>@storybook/node-logger>npmlog>console-control-strings": true,
"nyc>yargs>set-blocking": true "nyc>yargs>set-blocking": true
} }
@ -1008,6 +1009,9 @@
"@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog>gauge>aproba": true, "@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog>gauge>aproba": true,
"@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog>gauge>string-width": true, "@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog>gauge>string-width": true,
"@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog>gauge>strip-ansi": true, "@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog>gauge>strip-ansi": true,
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>console-control-strings": true,
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>gauge>has-unicode": true,
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>gauge>wide-align": true,
"@storybook/react>@storybook/node-logger>npmlog>console-control-strings": true, "@storybook/react>@storybook/node-logger>npmlog>console-control-strings": true,
"@storybook/react>@storybook/node-logger>npmlog>gauge>has-unicode": true, "@storybook/react>@storybook/node-logger>npmlog>gauge>has-unicode": true,
"@storybook/react>@storybook/node-logger>npmlog>gauge>wide-align": true, "@storybook/react>@storybook/node-logger>npmlog>gauge>wide-align": true,
@ -1133,11 +1137,33 @@
"@metamask/jazzicon>color>color-convert>color-name": true "@metamask/jazzicon>color>color-convert>color-name": true
} }
}, },
"@sentry/cli>mkdirp": {
"builtin": {
"fs": true,
"path.dirname": true,
"path.resolve": true
}
},
"@storybook/addon-knobs>qs": { "@storybook/addon-knobs>qs": {
"packages": { "packages": {
"string.prototype.matchall>side-channel": true "string.prototype.matchall>side-channel": true
} }
}, },
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>gauge>has-unicode": {
"builtin": {
"os.type": true
},
"globals": {
"process.env.LANG": true,
"process.env.LC_ALL": true,
"process.env.LC_CTYPE": true
}
},
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>gauge>wide-align": {
"packages": {
"yargs>string-width": true
}
},
"@storybook/core>@storybook/core-server>x-default-browser>default-browser-id>untildify>os-homedir": { "@storybook/core>@storybook/core-server>x-default-browser>default-browser-id>untildify>os-homedir": {
"builtin": { "builtin": {
"os.homedir": true "os.homedir": true
@ -4886,9 +4912,20 @@
}, },
"packages": { "packages": {
"@storybook/core>@storybook/core-server>x-default-browser>default-browser-id>untildify>os-homedir": true, "@storybook/core>@storybook/core-server>x-default-browser>default-browser-id>untildify>os-homedir": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": true "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": true
} }
}, },
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": {
"builtin": {
"os.homedir": true
},
"globals": {
"process.env": true,
"process.getuid": true,
"process.platform": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": { "gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": {
"globals": { "globals": {
"process.env.SystemRoot": true, "process.env.SystemRoot": true,
@ -4910,9 +4947,34 @@
"setTimeout": true "setTimeout": true
}, },
"packages": { "packages": {
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob": true,
"nyc>glob": true "nyc>glob": true
} }
}, },
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob": {
"builtin": {
"assert": true,
"events.EventEmitter": true,
"fs": true,
"path.join": true,
"path.resolve": true,
"util": true
},
"globals": {
"console.error": true,
"process.cwd": true,
"process.nextTick": true,
"process.platform": true
},
"packages": {
"eslint>minimatch": true,
"gulp-watch>path-is-absolute": true,
"nyc>glob>fs.realpath": true,
"nyc>glob>inflight": true,
"pump>once": true,
"pumpify>inherits": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>semver": { "gulp-watch>chokidar>fsevents>node-pre-gyp>semver": {
"globals": { "globals": {
"console": true, "console": true,
@ -8246,14 +8308,7 @@
"path.dirname": true "path.dirname": true
}, },
"packages": { "packages": {
"stylelint>file-entry-cache>flat-cache>write>mkdirp": true "@sentry/cli>mkdirp": true
}
},
"stylelint>file-entry-cache>flat-cache>write>mkdirp": {
"builtin": {
"fs": true,
"path.dirname": true,
"path.resolve": true
} }
}, },
"stylelint>global-modules": { "stylelint>global-modules": {

View File

@ -3,11 +3,13 @@
"allowJs": true, "allowJs": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"baseUrl": ".", "baseUrl": ".",
"esModuleInterop": true,
"inlineSources": true, "inlineSources": true,
"isolatedModules": true, "isolatedModules": true,
"jsx": "react", "jsx": "react",
"lib": ["dom", "es2020"], "lib": ["dom", "es2020"],
"moduleResolution": "node", "moduleResolution": "node",
"noEmit": true,
"noEmitOnError": true, "noEmitOnError": true,
"outDir": "tsout", "outDir": "tsout",
"rootDir": ".", "rootDir": ".",
@ -15,22 +17,22 @@
"strict": true "strict": true
}, },
"exclude": [ "exclude": [
"**/*.test.js",
"**/*.test.ts",
"**/*.test.tsx",
"**/jest-coverage/**/*", "**/jest-coverage/**/*",
"**/__mocks__/**/*", "**/__mocks__/**/*",
"**/storybook-build/**/*", "**/storybook-build/**/*",
"**/*.stories.*", "**/*.stories.*",
".storybook/**/*", ".storybook/**/*",
"app/scripts/controllers/*.test.ts",
"app/scripts/lib/**/*.test.ts",
"builds/**/*", "builds/**/*",
"dist/**/*", "dist/**/*",
"node_modules/**", "node_modules/**",
"development/ts-migration-dashboard/build/**/*", "development/ts-migration-dashboard/build/**/*",
"development/ts-migration-dashboard/intermediate/**/*" "development/ts-migration-dashboard/intermediate/**/*",
"ui/**/*.test.js",
"ui/**/*.test.ts",
"ui/**/*.test.tsx"
], ],
"extends": "@tsconfig/node16/tsconfig.json", "extends": "@tsconfig/node16/tsconfig.json",
"paths": { "include": ["app", "development", "shared", "types", "ui"]
"*": ["./types/*"]
}
} }