{
  "name": "nx",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "packages/nx",
  "projectType": "library",
  "implicitDependencies": ["graph-client"],
  "targets": {
    "build-native": {
      "outputs": ["{projectRoot}/src/native/*.node"],
      "executor": "@monodon/rust:napi",
      "options": {
        "dist": "packages/nx/src/native",
        "jsFile": "packages/nx/src/native/index.js",
        "release": true
      }
    },
    "artifacts": {
      "command": "pnpm napi artifacts -c build/packages/nx/package.json -d ./artifacts --dist build/packages/nx/native-packages"
    },
    "build-base": {
      "executor": "@nx/js:tsc",
      "options": {
        "main": "packages/nx/bin/nx.ts",
        "assets": [
          {
            "input": "packages/nx",
            "glob": ".npmignore",
            "output": "/"
          },
          {
            "input": "packages/nx",
            "glob": "**/files/**",
            "output": "/"
          },
          {
            "input": "packages/nx",
            "glob": "**/files/**/.gitkeep",
            "output": "/"
          },
          {
            "input": "packages/nx",
            "glob": "**/*.json",
            "ignore": [
              "**/tsconfig*.json",
              "**/project.json",
              "**/__fixtures__/**"
            ],
            "output": "/"
          },
          {
            "input": "packages/nx",
            "glob": "**/*.{js,css,html,svg}",
            "ignore": ["**/jest.config.js"],
            "output": "/"
          },
          {
            "input": "packages/nx",
            "glob": "**/*.d.ts",
            "output": "/"
          },
          {
            "input": "",
            "glob": "LICENSE",
            "output": "/"
          }
        ]
      }
    },
    "echo": {
      "command": "echo hi"
    },
    "build": {
      "executor": "nx:run-commands",
      "outputs": ["{workspaceRoot}/build/packages/nx"],
      "options": {
        "commands": [
          {
            "command": "node ./scripts/copy-local-native.js nx"
          },
          {
            "command": "node ./scripts/copy-graph-client.js"
          },
          {
            "command": "node ./scripts/chmod build/packages/nx/bin/nx.js"
          },
          {
            "command": "node ./scripts/copy-readme.js nx"
          },
          {
            "command": "node ./scripts/add-dependency-to-build.js nx @nrwl/tao"
          }
        ],
        "parallel": false
      }
    },
    "lint": {},
    "test": {},
    "test-native": {}
  }
}
