17f93c2b7e
* chore: add build-spec targets and execute on affected apps and libs on CI * chore: fix market-depth and react-helpers specs typings * chore: fix ui-toolkit specs typings * chore: fix trades specs typings * chore: fix orders specs typings * chore: fix deposits specs typings * chore: fix deal-ticket specs typings * feat: fix tsc on specs check * feat: fix tsc on specs check * feat: fix tsc on specs check * feat: fix tsc on specs check * feat: fix tsc on specs check - fix token app * feat: fix tsc on specs check - fix positions lib * feat: fix tsc on specs check - fix environment lib * chore: fix failling build-spec in positions lib Co-authored-by: maciek <maciek@vegaprotocol.io> |
||
---|---|---|
.. | ||
src | ||
.babelrc | ||
.eslintrc.json | ||
jest.config.ts | ||
package.json | ||
project.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.lib.json | ||
tsconfig.spec.json |
network-info
This library was generated with Nx.
Prerequisites
The environment variables needed to be present for any app consuming this library.
NX_VEGA_URL
OR NX_VEGA_CONFIG_URL
- either the network configuration url or a url to a node to directly connect to
NX_VEGA_NETWORKS
- JSON object with key-value pairs for environments and their deployed URLs
NX_GITHUB_FEEDBACK_URL
- the repository's feedback URL to point to
NX_ETHEREUM_PROVIDER_URL
- the Ethereum provider url
For examples, see Block Explorer's .env files here
Running unit tests
Run nx test network-info
to execute the unit tests via Jest.