Warning: alpha code!
Tasks:
- Other Connectors
- WalletLink
- WalletConnect V2
- Gnosis Safe
- Frame
- Other injected connectors?
- Address remaining TODOs in the code
- Tests
- Ensure dist/ files can be consumed in e.g. CRA
- Host example/ on CodeSandbox
- Work on DevEx
- Docs
- Upgrade to Node 16 once LTS
Details
Package | @alpha Version |
Size | Description |
---|---|---|---|
@web3-react/store |
|||
@web3-react/types |
|||
@web3-react/core |
|||
Connectors | |||
@web3-react/network |
|||
@web3-react/metamask |
|||
@web3-react/walletconnect |
yarn
yarn bootstrap
yarn start
In addition to compiling each package in watch mode, this will also spin up an example app on http://localhost:3000/.
yarn test --watch
yarn lerna add <DEPENDENCY> --scope <SUBPACKAGE>
- Delete the relevant
package.json
entry
Because of a lerna bug, it's not possible to prune yarn.lock
programmatically, so regenerate it manually:
yarn lerna exec 'rm -f yarn.lock' --scope SUBPACKAGE
yarn clean --scope SUBPACKAGE
yarn bootstrap
yarn lerna publish
Note that because packages/example
is set to private, sibling dependencies in packages/example/package.json
are not updated during publishing, and must be manually bumped.