vega-frontend-monorepo/libs/environment
2023-03-14 16:02:43 +01:00
..
__mocks__ fix(trading,explorer,governance): consistent zustand usage (#3133) 2023-03-10 14:01:51 +00:00
src chore(environment): fetch networks configuration from repo (#3145) 2023-03-14 16:02:43 +01:00
.babelrc feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
.eslintrc.json Fix/1083: Update type generator (#1219) 2022-09-06 10:03:10 +01:00
jest.config.ts feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00
package.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
project.json chore: add build-spec targets and execute on affected apps and libs on CI (#1745) 2022-10-25 09:41:16 +02:00
README.md fix: cleanup more env things (#1383) 2022-09-18 11:15:05 +00:00
tsconfig.json feat: toast component (1677) (#1998) 2022-11-15 15:26:13 +01:00
tsconfig.lib.json fix(trading,explorer,governance): consistent zustand usage (#3133) 2023-03-10 14:01:51 +00:00
tsconfig.spec.json fix(trading): order store connection to deal ticket (#3100) 2023-03-08 12:14:56 +00:00

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_URL OR NX_VEGA_CONFIG_URL - either the network configuration url or a url to a node to directly connect to

NX_VEGA_WALLET_URL the default vega wallet URL

For examples, see Block Explorer's .env files here

Running unit tests

Run nx test environment to execute the unit tests via Jest.