vega-frontend-monorepo/libs/environment
2023-10-10 10:45:09 +02:00
..
__mocks__ fix(trading,explorer,governance): consistent zustand usage (#3133) 2023-03-10 14:01:51 +00:00
src chore(trading): 4858 redesign market header (#4976) 2023-10-10 10:45:09 +02:00
.babelrc chore(trading): migrate nx to latest version (#4196) 2023-07-04 13:01:25 +02:00
.eslintrc.json chore(trading): migrate nx to latest version (#4196) 2023-07-04 13:01:25 +02:00
jest.config.ts chore(trading): migrate nx to latest version (#4196) 2023-07-04 13:01:25 +02:00
project.json chore(trading): remove target build from libs (#4725) 2023-09-08 13:43:54 -07: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 chore(trading): migrate nx to latest version (#4196) 2023-07-04 13:01:25 +02: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.