{"record":{"id":"9808c958baf0a66a","repo":"vercel/turborepo","slug":"33mlearn-more-https-turborepo-dev-docs-refere","errorCode":null,"errorMessage":"\u001b[33mLearn more: https://turborepo.dev/docs/reference/query#migrating-from-turbo-ignore\u001b[39m\n","messagePattern":"\u001b\\[33mLearn more: https://turborepo\\.dev/docs/reference/query#migrating-from-turbo-ignore\u001b\\[39m\n","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"packages/turbo-ignore/src/ignore.ts","lineNumber":56,"sourceCode":"  trackOptions(opts);\n\n  const inputs = {\n    workspace: workspaceArg,\n    ...opts\n  };\n\n  if (process.env.VERCEL === \"1\") {\n    warn(\n      `\\u001B[33m\"turbo-ignore\" is deprecated. Use Vercel's built-in project skipping instead.\\u001B[39m`\n    );\n    warn(\n      `\\u001B[33mLearn more: https://vercel.com/docs/monorepos#skipping-unaffected-projects\\u001B[39m\\n`\n    );\n  } else {\n    warn(\n      `\\u001B[33m\"turbo-ignore\" is deprecated. Use \"turbo query affected\" instead.\\u001B[39m`\n    );\n    warn(\n      `\\u001B[33mLearn more: https://turborepo.dev/docs/reference/query#migrating-from-turbo-ignore\\u001B[39m\\n`\n    );\n  }\n\n  info(\n    `Using Turborepo to determine if this project is affected by the commit...\\n`\n  );\n\n  // set default directory\n  if (opts.directory) {\n    const directory = path.resolve(opts.directory);\n    if (existsSync(directory)) {\n      inputs.directory = directory;\n    } else {\n      warn(\n        `Directory \"${opts.directory}\" does not exist, using current directory`\n      );\n      inputs.directory = process.cwd();","sourceCodeStart":38,"sourceCodeEnd":74,"githubUrl":"https://github.com/vercel/turborepo/blob/f9245100cf0d31d96628804ead485f6bf226e55a/packages/turbo-ignore/src/ignore.ts#L38-L74","documentation":"Companion line to the non-Vercel turbo-ignore deprecation warning: prints the migration guide URL for moving to `turbo query affected`. Informational only, emitted with hardcoded yellow ANSI escapes and a trailing newline.","triggerScenarios":"turbo-ignore running outside Vercel (no VERCEL=1), i.e. in plain CI pipelines.","commonSituations":"CI maintainers following the printed link to migrate their pipelines off turbo-ignore.","solutions":["Follow the guide and replace turbo-ignore with `turbo query affected`","Remove turbo-ignore steps once migrated"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":"# Non-Vercel CI: branch on the query output instead of the deprecated tool\nturbo query affected --exit-code --output=json > affected.json || [ $? -eq 1 ] || exit 2","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Bookmark the migration guide referenced in the warning","Automate a grep for 'turbo-ignore' across CI configs to catch regressions"],"tags":["turbo-ignore","deprecation","docs-link","migration"],"backgroundTag":"deprecated-command-usage","analyzedSha":"f9245100cf0d31d96628804ead485f6bf226e55a","analyzedAt":"2026-08-17T10:46:15.696Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}