This directory contains scripts which support Europa development and deployment.
This script is run as part of the github action which produces the Europa release image.
This file collects meta information about the build itself and runs
the build_deploy.ts
script which ultimately runs npm run build
.
This script contains all the logic for building a deployment of Europa.
It produces a copy for each environment configured in the ../config.json
configuration file.
For each environment it runs npm run build
and creates a build artifact named
build.json
which contains the build date, git commit hash and git tag name.
When deployed as a service, a Europa release image uses the STATIC_ENVIRONMENT
environment variable to serve the correct build. When the service is launched,
this script generates the nginx config for the specified environment.
This lint fixer script rewrites code to conform with our code lint rules.
This lint script shows all warnings and errors according to our lint rules.
This lint script shows all warnings and errors according to our lint rules and fails if there are any.
The basic nginx config template for a deployed environment. Used by the
docker_entrypoint.sh
script.
This configuration, currently empty, is required because our ts-node
scripts
use CommonJS require and are therefore incompatible with the ECMAScript modules
our front end is configured to use.
See also: