Skip to main content

Deployments

We use nx executors to build and deploy our artifacts. When the application was generated, it will have configured a few files:

  1. tsconfig.migration.json is a TypeScript config file at the root of your application that will compile the migrations from TS to JS.
  2. In the application's project.json, there will be several executors that aid the deployment:
    • docker, to compile the docker image
    • deploy, to deploy the docker image to an environment using the provided helm chart
    • typeorm, to run the typeorm cli
    • typeorm-migration --name=<name> to generate a new migration file