@nx/workspace
Version:
14 lines (13 loc) • 627 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = removedTasksRunner;
const REMOVED_MESSAGE = '`@nx/workspace/tasks-runners/default` has been removed. ' +
'Run `nx repair` to drop the obsolete `tasksRunnerOptions` entry from your `nx.json`. Nx will then use its built-in default runner (`nx/tasks-runners/default`) automatically.';
/**
* @deprecated Removed in favor of Nx's built-in default runner. Invoking this
* runner throws — run `nx repair` to clean up the legacy reference in
* `nx.json`.
*/
function removedTasksRunner() {
throw new Error(REMOVED_MESSAGE);
}