c32dae6eb9
* feat: add node swicther * chore: remove hook form from node switcher * feat: generate apollo types and add tests * fix: format * fix: types * fix: remove redundant wrapper * fix: layout styles * fix: add controlled value to radio group * fix: flaky node hook test * feat: hook in node switcher to the explorer & token footer info * fix: cache key handling for env config * fix: env type in tests * fix: format again * fix: use netlify git env vars * fix: remove commented styles * fix: replace clsx with classnames * fix: dialog sizes * fix: fetch config by default * fix: format * fix: dialog close |
||
---|---|---|
.. | ||
src | ||
.babelrc | ||
.eslintrc.json | ||
jest.config.js | ||
package.json | ||
project.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.lib.json | ||
tsconfig.spec.json |
environment
This library was generated with Nx.
Prerequisites
The environment variables needed to be present for any app consuming this library.
NX_VEGA_ENV
is the name of the environment.
NX_VEGA_REST
is the REST endpoint for the environment.
NX_VEGA_URL
OR NX_VEGA_CONFIG_URL
- either the network configuration url or a url to a node to directly connect to
For examples, see Block Explorer's .env files here
Running unit tests
Run nx test environment
to execute the unit tests via Jest.