UNPKG

@nx/detox

Version:

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

17 lines (16 loc) 937 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.configPluginsDetoxVersion = exports.testingLibraryJestDom = exports.detoxVersion = exports.minSupportedDetoxVersion = exports.nxVersion = void 0; exports.assertSupportedDetoxVersion = assertSupportedDetoxVersion; const path_1 = require("path"); const internal_1 = require("@nx/devkit/internal"); exports.nxVersion = require((0, path_1.join)('@nx/detox', 'package.json')).version; // Detox's only maintained major is 20.x; v19 has had no upstream patches since // detox@20 (2022-11-10). The plugin is v20-only. exports.minSupportedDetoxVersion = '20.0.0'; function assertSupportedDetoxVersion(tree) { (0, internal_1.assertSupportedPackageVersion)(tree, 'detox', exports.minSupportedDetoxVersion); } exports.detoxVersion = '~20.43.0'; exports.testingLibraryJestDom = '~6.9.1'; exports.configPluginsDetoxVersion = '~11.0.0'; // only required for expo