{
  "name": "add-nx-to-monorepo",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "packages/add-nx-to-monorepo/src",
  "projectType": "library",
  "targets": {
    "lint": {},
    "test": {},
    "build-base": {
      "executor": "@nrwl/js:tsc",
      "options": {
        "outputPath": "build/packages/add-nx-to-monorepo",
        "tsConfig": "packages/add-nx-to-monorepo/tsconfig.lib.json",
        "packageJson": "packages/add-nx-to-monorepo/package.json",
        "main": "packages/add-nx-to-monorepo/src/index.ts",
        "updateBuildableProjectDepsInPackageJson": false,
        "assets": [
          "packages/add-nx-to-monorepo/*.md",
          {
            "input": "",
            "glob": "LICENSE",
            "output": "/"
          }
        ]
      }
    },
    "build": {
      "executor": "nx:run-commands",
      "outputs": ["{workspaceRoot}/build/packages/add-nx-to-monorepo"],
      "options": {
        "commands": [
          {
            "command": "node ./scripts/chmod build/packages/add-nx-to-monorepo/src/add-nx-to-monorepo.js"
          },
          {
            "command": "node ./scripts/copy-readme.js add-nx-to-monorepo"
          }
        ],
        "parallel": false
      }
    },
    "test-against-repo": {
      "executor": "nx:run-commands",
      "options": {
        "commands": [
          {
            "command": "nx build add-nx-to-monorepo",
            "forwardAllArgs": false
          },
          {
            "command": "export JS_SCRIPT=$PWD/dist/packages/add-nx-to-monorepo/src/add-nx-to-monorepo.js && cd {args.repo} && echo $PWD && node $JS_SCRIPT",
            "forwardAllArgs": false
          }
        ],
        "parallel": false
      }
    }
  }
}
