UNPKG

@nx/playwright

Version:

The Nx Plugin for Playwright contains executors and generators allowing your workspace to use the powerful Playwright integration testing capabilities.

17 lines (16 loc) 1.41 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PLAYWRIGHT_EXECUTOR_DEPRECATION_MESSAGE = void 0; exports.warnPlaywrightExecutorDeprecation = warnPlaywrightExecutorDeprecation; exports.warnPlaywrightExecutorGenerating = warnPlaywrightExecutorGenerating; const devkit_1 = require("@nx/devkit"); // TODO(v24): Remove the @nx/playwright:playwright executor. The inferred // plugin (@nx/playwright/plugin) and the convert-to-inferred generator stay // supported. exports.PLAYWRIGHT_EXECUTOR_DEPRECATION_MESSAGE = 'The `@nx/playwright:playwright` executor is deprecated and will be removed in Nx v24. Run `nx g @nx/playwright:convert-to-inferred` to migrate to the `@nx/playwright/plugin` inferred targets. See https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details.'; function warnPlaywrightExecutorDeprecation() { devkit_1.logger.warn(exports.PLAYWRIGHT_EXECUTOR_DEPRECATION_MESSAGE); } function warnPlaywrightExecutorGenerating() { devkit_1.logger.warn('Generating a target that uses the deprecated `@nx/playwright:playwright` executor. The executor will be removed in Nx v24. Run `nx g @nx/playwright:convert-to-inferred` next to migrate this target to the `@nx/playwright/plugin` inferred plugin and prevent future generators from emitting executor targets. See https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details.'); }