{
  "name": "@nyx/pipelines",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "apps/nyx/pipelines/src",
  "projectType": "application",
  "tags": ["scope:nyx", "type:app", "platform:node"],
  "targets": {
    "build": {
      "executor": "@nx/esbuild:esbuild",
      "outputs": ["{options.outputPath}"],
      "options": {
        "outputPath": "dist/apps/nyx/pipelines",
        "main": "apps/nyx/pipelines/src/index.ts",
        "tsConfig": "apps/nyx/pipelines/tsconfig.app.json",
        "assets": [],
        "generatePackageJson": true,
        "platform": "node",
        "bundle": true,
        "format": ["cjs"],
        "minify": false,
        "skipTypeCheck": false,
        "additionalEntryPoints": [
          "apps/nyx/pipelines/src/tle-updater.ts",
          "apps/nyx/pipelines/src/catalog-syncer.ts",
          "apps/nyx/pipelines/src/ephemeris-generator.ts",
          "apps/nyx/pipelines/src/event-calculator.ts"
        ],
        "esbuildOptions": {
          "sourcemap": true,
          "outExtension": {
            ".js": ".js"
          }
        }
      },
      "configurations": {
        "production": {
          "minify": true,
          "esbuildOptions": {
            "sourcemap": false
          }
        }
      }
    },
    "lint": {
      "executor": "@nx/eslint:lint",
      "options": {
        "lintFilePatterns": ["apps/nyx/pipelines/**/*.ts"]
      }
    },
    "test": {
      "executor": "@nx/vite:test",
      "options": {
        "config": "apps/nyx/pipelines/vitest.config.ts"
      }
    },
    "docker-build": {
      "executor": "nx:run-commands",
      "options": {
        "command": "docker build -t ghcr.io/greychimp/oshun/nyx-pipelines:latest -f infra/nyx/pipelines/Dockerfile ."
      }
    }
  }
}
