vega-frontend-monorepo/libs/environment
botond 80dee1e03d
fix: use netlify git env vars (#727)
* fix: use netlify git env vars

* fix: make git info vars optional in env

* fix: remove git info parsing, and use netlify only

* fix: handle missing git repo url

* fix: format
2022-07-08 11:19:05 +01:00
..
src fix: use netlify git env vars (#727) 2022-07-08 11:19:05 +01:00
.babelrc feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
.eslintrc.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
jest.config.js feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
package.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
project.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
README.md feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
tsconfig.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
tsconfig.lib.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
tsconfig.spec.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07: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_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.