@nx/detox 23.0.0-beta.23 → 23.0.0-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{index.d.ts → dist/index.d.ts} +0 -1
- package/{plugin.d.ts → dist/plugin.d.ts} +0 -1
- package/{src → dist/src}/executors/build/build.impl.d.ts +0 -1
- package/{src → dist/src}/executors/test/test.impl.d.ts +0 -1
- package/{src → dist/src}/generators/application/application.d.ts +0 -1
- package/{src → dist/src}/generators/application/application.js +2 -0
- package/{src → dist/src}/generators/application/lib/add-git-ignore-entry.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/add-linting.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/add-linting.js +1 -1
- package/{src → dist/src}/generators/application/lib/add-project.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/create-files.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/ensure-dependencies.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/ensure-dependencies.js +1 -1
- package/{src → dist/src}/generators/application/lib/get-targets.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/normalize-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/convert-to-inferred.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/convert-to-inferred.js +2 -0
- package/{src → dist/src}/generators/convert-to-inferred/lib/post-target-transformer.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-build-options.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-inferred/lib/process-test-options.d.ts +0 -1
- package/{src → dist/src}/generators/init/init.d.ts +0 -1
- package/{src → dist/src}/generators/init/init.js +2 -1
- package/{src → dist/src}/generators/init/schema.json +1 -1
- package/{src → dist/src}/migrations/update-22-0-0/remove-config-plugins-detox-for-expo-54.d.ts +0 -1
- package/dist/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.d.ts +9 -0
- package/dist/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.js +134 -0
- package/{src → dist/src}/plugins/plugin.d.ts +0 -1
- package/{src → dist/src}/utils/deprecation.d.ts +0 -1
- package/{src → dist/src}/utils/expo-version-utils.d.ts +0 -1
- package/{src → dist/src}/utils/versions.d.ts +3 -1
- package/dist/src/utils/versions.js +16 -0
- package/executors.json +4 -4
- package/generators.json +6 -6
- package/migrations.json +15 -27
- package/package.json +48 -12
- package/index.d.ts.map +0 -1
- package/plugin.d.ts.map +0 -1
- package/src/executors/build/build.impl.d.ts.map +0 -1
- package/src/executors/test/test.impl.d.ts.map +0 -1
- package/src/generators/application/application.d.ts.map +0 -1
- package/src/generators/application/lib/add-git-ignore-entry.d.ts.map +0 -1
- package/src/generators/application/lib/add-linting.d.ts.map +0 -1
- package/src/generators/application/lib/add-project.d.ts.map +0 -1
- package/src/generators/application/lib/create-files.d.ts.map +0 -1
- package/src/generators/application/lib/ensure-dependencies.d.ts.map +0 -1
- package/src/generators/application/lib/get-targets.d.ts.map +0 -1
- package/src/generators/application/lib/normalize-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/convert-to-inferred.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/post-target-transformer.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-build-options.d.ts.map +0 -1
- package/src/generators/convert-to-inferred/lib/process-test-options.d.ts.map +0 -1
- package/src/generators/init/init.d.ts.map +0 -1
- package/src/migrations/update-22-0-0/remove-config-plugins-detox-for-expo-54.d.ts.map +0 -1
- package/src/plugins/plugin.d.ts.map +0 -1
- package/src/utils/deprecation.d.ts.map +0 -1
- package/src/utils/expo-version-utils.d.ts.map +0 -1
- package/src/utils/versions.d.ts.map +0 -1
- package/src/utils/versions.js +0 -7
- /package/{LICENSE → dist/LICENSE} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{plugin.js → dist/plugin.js} +0 -0
- /package/{src → dist/src}/executors/build/build.impl.js +0 -0
- /package/{src → dist/src}/executors/build/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/build/schema.json +0 -0
- /package/{src → dist/src}/executors/test/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/test/schema.json +0 -0
- /package/{src → dist/src}/executors/test/test.impl.js +0 -0
- /package/{src → dist/src}/generators/application/files/app/.babelrc.template +0 -0
- /package/{src → dist/src}/generators/application/files/app/.detoxrc.json.template +0 -0
- /package/{src → dist/src}/generators/application/files/app/src/app.spec.ts.template +0 -0
- /package/{src → dist/src}/generators/application/files/app/test-setup.ts.template +0 -0
- /package/{src → dist/src}/generators/application/files/non-ts-solution/jest.config.json.template +0 -0
- /package/{src → dist/src}/generators/application/files/non-ts-solution/tsconfig.e2e.json.template +0 -0
- /package/{src → dist/src}/generators/application/files/non-ts-solution/tsconfig.json.template +0 -0
- /package/{src → dist/src}/generators/application/files/ts-solution/jest.config.cts.template +0 -0
- /package/{src → dist/src}/generators/application/lib/add-git-ignore-entry.js +0 -0
- /package/{src → dist/src}/generators/application/lib/add-project.js +0 -0
- /package/{src → dist/src}/generators/application/lib/create-files.js +0 -0
- /package/{src → dist/src}/generators/application/lib/get-targets.js +0 -0
- /package/{src → dist/src}/generators/application/lib/normalize-options.js +0 -0
- /package/{src → dist/src}/generators/application/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/application/schema.json +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/post-target-transformer.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-build-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/lib/process-test-options.js +0 -0
- /package/{src → dist/src}/generators/convert-to-inferred/schema.json +0 -0
- /package/{src → dist/src}/generators/init/schema.d.ts +0 -0
- /package/{src → dist/src}/migrations/update-22-0-0/remove-config-plugins-detox-for-expo-54.js +0 -0
- /package/{src → dist/src}/plugins/plugin.js +0 -0
- /package/{src → dist/src}/utils/deprecation.js +0 -0
- /package/{src → dist/src}/utils/expo-version-utils.js +0 -0
|
@@ -5,4 +5,3 @@ export interface DetoxBuildOutput {
|
|
|
5
5
|
}
|
|
6
6
|
export default function detoxBuildExecutor(options: DetoxBuildOptions, context: ExecutorContext): AsyncGenerator<DetoxBuildOutput>;
|
|
7
7
|
export declare function runCliBuild(workspaceRoot: string, projectRoot: string, options: DetoxBuildOptions): Promise<unknown>;
|
|
8
|
-
//# sourceMappingURL=build.impl.d.ts.map
|
|
@@ -3,4 +3,3 @@ import { Schema } from './schema';
|
|
|
3
3
|
export declare function detoxApplicationGenerator(host: Tree, schema: Schema): Promise<import("@nx/devkit").GeneratorCallback>;
|
|
4
4
|
export declare function detoxApplicationGeneratorInternal(host: Tree, schema: Schema): Promise<import("@nx/devkit").GeneratorCallback>;
|
|
5
5
|
export default detoxApplicationGenerator;
|
|
6
|
-
//# sourceMappingURL=application.d.ts.map
|
|
@@ -14,6 +14,7 @@ const normalize_options_1 = require("./lib/normalize-options");
|
|
|
14
14
|
const ensure_dependencies_1 = require("./lib/ensure-dependencies");
|
|
15
15
|
const internal_1 = require("@nx/js/internal");
|
|
16
16
|
const expo_version_utils_1 = require("../../utils/expo-version-utils");
|
|
17
|
+
const versions_1 = require("../../utils/versions");
|
|
17
18
|
async function detoxApplicationGenerator(host, schema) {
|
|
18
19
|
return await detoxApplicationGeneratorInternal(host, {
|
|
19
20
|
addPlugin: false,
|
|
@@ -22,6 +23,7 @@ async function detoxApplicationGenerator(host, schema) {
|
|
|
22
23
|
});
|
|
23
24
|
}
|
|
24
25
|
async function detoxApplicationGeneratorInternal(host, schema) {
|
|
26
|
+
(0, versions_1.assertSupportedDetoxVersion)(host);
|
|
25
27
|
const addTsPlugin = (0, internal_1.shouldConfigureTsSolutionSetup)(host, schema.addPlugin);
|
|
26
28
|
const jsInitTask = await (0, js_1.initGenerator)(host, {
|
|
27
29
|
addTsPlugin,
|
|
@@ -34,7 +34,7 @@ async function addLinting(host, options) {
|
|
|
34
34
|
tasks.push(addExtendsTask);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
const installTask = (0, devkit_1.addDependenciesToPackageJson)(host, react_1.extraEslintDependencies.dependencies, react_1.extraEslintDependencies.devDependencies);
|
|
37
|
+
const installTask = (0, devkit_1.addDependenciesToPackageJson)(host, react_1.extraEslintDependencies.dependencies, react_1.extraEslintDependencies.devDependencies, undefined, true);
|
|
38
38
|
tasks.push(installTask);
|
|
39
39
|
return (0, devkit_1.runTasksInSerial)(...tasks);
|
|
40
40
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { type Tree } from '@nx/devkit';
|
|
2
2
|
import type { NormalizedSchema } from './normalize-options';
|
|
3
3
|
export declare function ensureDependencies(tree: Tree, options: NormalizedSchema): import("@nx/devkit").GeneratorCallback;
|
|
4
|
-
//# sourceMappingURL=ensure-dependencies.d.ts.map
|
|
@@ -14,5 +14,5 @@ function ensureDependencies(tree, options) {
|
|
|
14
14
|
if (options.framework === 'expo') {
|
|
15
15
|
devDependencies['@config-plugins/detox'] = versions_1.configPluginsDetoxVersion;
|
|
16
16
|
}
|
|
17
|
-
return (0, devkit_1.addDependenciesToPackageJson)(tree, {}, devDependencies);
|
|
17
|
+
return (0, devkit_1.addDependenciesToPackageJson)(tree, {}, devDependencies, undefined, true);
|
|
18
18
|
}
|
|
@@ -4,10 +4,12 @@ exports.convertToInferred = convertToInferred;
|
|
|
4
4
|
const internal_1 = require("@nx/devkit/internal");
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
6
|
const plugin_1 = require("../../plugins/plugin");
|
|
7
|
+
const versions_1 = require("../../utils/versions");
|
|
7
8
|
const process_build_options_1 = require("./lib/process-build-options");
|
|
8
9
|
const post_target_transformer_1 = require("./lib/post-target-transformer");
|
|
9
10
|
const process_test_options_1 = require("./lib/process-test-options");
|
|
10
11
|
async function convertToInferred(tree, options) {
|
|
12
|
+
(0, versions_1.assertSupportedDetoxVersion)(tree);
|
|
11
13
|
const projectGraph = await (0, devkit_1.createProjectGraphAsync)();
|
|
12
14
|
const migrationLogs = new internal_1.AggregatedLog();
|
|
13
15
|
const migratedProjects = await (0, internal_1.migrateProjectExecutorsToPlugin)(tree, projectGraph, '@nx/detox/plugin', plugin_1.createNodesV2, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { type TargetConfiguration, type Tree } from '@nx/devkit';
|
|
2
2
|
import type { AggregatedLog } from '@nx/devkit/internal';
|
|
3
3
|
export declare function processBuildOptions(_tree: Tree, options: any, projectName: string, _projectRoot: string, target: TargetConfiguration | undefined, _migrationLogs: AggregatedLog): void;
|
|
4
|
-
//# sourceMappingURL=process-build-options.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { type TargetConfiguration, type Tree } from '@nx/devkit';
|
|
2
2
|
import type { AggregatedLog } from '@nx/devkit/internal';
|
|
3
3
|
export declare function processTestOptions(_tree: Tree, options: any, projectName: string, _projectRoot: string, target: TargetConfiguration | undefined, migrationLogs: AggregatedLog): void;
|
|
4
|
-
//# sourceMappingURL=process-test-options.d.ts.map
|
|
@@ -4,4 +4,3 @@ export declare function detoxInitGenerator(host: Tree, schema: Schema): Promise<
|
|
|
4
4
|
export declare function detoxInitGeneratorInternal(host: Tree, schema: Schema): Promise<GeneratorCallback>;
|
|
5
5
|
export declare function updateDependencies(host: Tree, schema: Schema): GeneratorCallback;
|
|
6
6
|
export default detoxInitGenerator;
|
|
7
|
-
//# sourceMappingURL=init.d.ts.map
|
|
@@ -11,6 +11,7 @@ function detoxInitGenerator(host, schema) {
|
|
|
11
11
|
return detoxInitGeneratorInternal(host, { addPlugin: false, ...schema });
|
|
12
12
|
}
|
|
13
13
|
async function detoxInitGeneratorInternal(host, schema) {
|
|
14
|
+
(0, versions_1.assertSupportedDetoxVersion)(host);
|
|
14
15
|
const tasks = [];
|
|
15
16
|
const nxJson = (0, devkit_1.readNxJson)(host);
|
|
16
17
|
const addPluginDefault = process.env.NX_ADD_PLUGINS !== 'false' &&
|
|
@@ -46,7 +47,7 @@ function updateDependencies(host, schema) {
|
|
|
46
47
|
return (0, devkit_1.addDependenciesToPackageJson)(host, {}, {
|
|
47
48
|
'@nx/detox': versions_1.nxVersion,
|
|
48
49
|
detox: versions_1.detoxVersion,
|
|
49
|
-
}, undefined, schema.keepExistingVersions);
|
|
50
|
+
}, undefined, schema.keepExistingVersions ?? true);
|
|
50
51
|
}
|
|
51
52
|
function moveDependency(host) {
|
|
52
53
|
return (0, devkit_1.removeDependenciesFromPackageJson)(host, ['@nx/detox'], []);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Tree } from '@nx/devkit';
|
|
2
|
+
export default function migrateCreateNodesV2ToCreateNodes(tree: Tree): Promise<void>;
|
|
3
|
+
/**
|
|
4
|
+
* Rewrites named imports and re-exports of `createNodesV2` to `createNodes`
|
|
5
|
+
* when they come from one of the given module specifiers. Only the named
|
|
6
|
+
* bindings are touched — the module specifier, the `import`/`export` keyword,
|
|
7
|
+
* any `type` modifier, and any default import are left untouched.
|
|
8
|
+
*/
|
|
9
|
+
export declare function rewriteCreateNodesV2Imports(source: string, specifiers: ReadonlySet<string>): string;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = migrateCreateNodesV2ToCreateNodes;
|
|
4
|
+
exports.rewriteCreateNodesV2Imports = rewriteCreateNodesV2Imports;
|
|
5
|
+
const devkit_1 = require("@nx/devkit");
|
|
6
|
+
const TS_EXTENSIONS = ['.ts', '.tsx', '.cts', '.mts'];
|
|
7
|
+
const DEPRECATED_NAME = 'createNodesV2';
|
|
8
|
+
const CANONICAL_NAME = 'createNodes';
|
|
9
|
+
// Module specifiers from which `@nx/detox` publicly exposes `createNodesV2`.
|
|
10
|
+
// A named import or re-export of `createNodesV2` from one of these is rewritten
|
|
11
|
+
// to the canonical `createNodes` export.
|
|
12
|
+
const TARGET_SPECIFIERS = new Set(['@nx/detox/plugin']);
|
|
13
|
+
let ts;
|
|
14
|
+
async function migrateCreateNodesV2ToCreateNodes(tree) {
|
|
15
|
+
let touchedCount = 0;
|
|
16
|
+
(0, devkit_1.visitNotIgnoredFiles)(tree, '.', (filePath) => {
|
|
17
|
+
if (!TS_EXTENSIONS.some((ext) => filePath.endsWith(ext))) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const original = tree.read(filePath, 'utf-8');
|
|
21
|
+
if (!original || !original.includes(DEPRECATED_NAME)) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
const updated = rewriteCreateNodesV2Imports(original, TARGET_SPECIFIERS);
|
|
25
|
+
if (updated !== original) {
|
|
26
|
+
tree.write(filePath, updated);
|
|
27
|
+
touchedCount += 1;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
if (touchedCount > 0) {
|
|
31
|
+
devkit_1.logger.info(`Renamed \`${DEPRECATED_NAME}\` imports to \`${CANONICAL_NAME}\` in ${touchedCount} file(s).`);
|
|
32
|
+
}
|
|
33
|
+
await (0, devkit_1.formatFiles)(tree);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Rewrites named imports and re-exports of `createNodesV2` to `createNodes`
|
|
37
|
+
* when they come from one of the given module specifiers. Only the named
|
|
38
|
+
* bindings are touched — the module specifier, the `import`/`export` keyword,
|
|
39
|
+
* any `type` modifier, and any default import are left untouched.
|
|
40
|
+
*/
|
|
41
|
+
function rewriteCreateNodesV2Imports(source, specifiers) {
|
|
42
|
+
ts ??= (0, devkit_1.ensurePackage)('typescript', '*');
|
|
43
|
+
const sourceFile = ts.createSourceFile('tmp.ts', source, ts.ScriptTarget.Latest,
|
|
44
|
+
/* setParentNodes */ true, ts.ScriptKind.TSX);
|
|
45
|
+
const changes = [];
|
|
46
|
+
for (const stmt of sourceFile.statements) {
|
|
47
|
+
if (ts.isImportDeclaration(stmt)) {
|
|
48
|
+
collectImportRewrite(sourceFile, stmt, specifiers, changes);
|
|
49
|
+
}
|
|
50
|
+
else if (ts.isExportDeclaration(stmt)) {
|
|
51
|
+
collectExportRewrite(sourceFile, stmt, specifiers, changes);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return changes.length > 0 ? (0, devkit_1.applyChangesToString)(source, changes) : source;
|
|
55
|
+
}
|
|
56
|
+
function isTargetSpecifier(node, specifiers) {
|
|
57
|
+
return ts.isStringLiteral(node) && specifiers.has(node.text);
|
|
58
|
+
}
|
|
59
|
+
function collectImportRewrite(sourceFile, stmt, specifiers, changes) {
|
|
60
|
+
if (!isTargetSpecifier(stmt.moduleSpecifier, specifiers)) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
const namedBindings = stmt.importClause?.namedBindings;
|
|
64
|
+
// Only `import { ... }` carries renameable named bindings. `import x`,
|
|
65
|
+
// `import * as ns`, and side-effect imports reference the module wholesale
|
|
66
|
+
// and keep working through the `createNodesV2` runtime alias, so we leave
|
|
67
|
+
// them be. A mixed `import def, { createNodesV2 }` still has its named
|
|
68
|
+
// bindings rewritten below — the default binding is untouched.
|
|
69
|
+
if (!namedBindings || !ts.isNamedImports(namedBindings)) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
rewriteNamedBindings(sourceFile, namedBindings, changes);
|
|
73
|
+
}
|
|
74
|
+
function collectExportRewrite(sourceFile, stmt, specifiers, changes) {
|
|
75
|
+
if (!stmt.moduleSpecifier ||
|
|
76
|
+
!isTargetSpecifier(stmt.moduleSpecifier, specifiers)) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
// `export { ... } from '...'` can be rewritten; `export * from '...'` has no
|
|
80
|
+
// named bindings to rename.
|
|
81
|
+
if (!stmt.exportClause || !ts.isNamedExports(stmt.exportClause)) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
rewriteNamedBindings(sourceFile, stmt.exportClause, changes);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Re-renders the `{ ... }` of a named import/export, renaming any
|
|
88
|
+
* `createNodesV2` specifier to `createNodes`. If renaming would collide with a
|
|
89
|
+
* `createNodes` that is already present (e.g. `{ createNodes, createNodesV2 }`),
|
|
90
|
+
* the duplicate is dropped. Returns without recording a change when the binding
|
|
91
|
+
* list contains no `createNodesV2`.
|
|
92
|
+
*/
|
|
93
|
+
function rewriteNamedBindings(sourceFile, namedBindings, changes) {
|
|
94
|
+
const elements = namedBindings.elements;
|
|
95
|
+
const hasDeprecated = elements.some((el) => (el.propertyName ?? el.name).text === DEPRECATED_NAME);
|
|
96
|
+
if (!hasDeprecated) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
const seen = new Set();
|
|
100
|
+
const rendered = [];
|
|
101
|
+
for (const el of elements) {
|
|
102
|
+
const text = renderSpecifier(el);
|
|
103
|
+
if (!seen.has(text)) {
|
|
104
|
+
seen.add(text);
|
|
105
|
+
rendered.push(text);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
const start = namedBindings.getStart(sourceFile);
|
|
109
|
+
changes.push({
|
|
110
|
+
type: devkit_1.ChangeType.Delete,
|
|
111
|
+
start,
|
|
112
|
+
length: namedBindings.getEnd() - start,
|
|
113
|
+
}, {
|
|
114
|
+
type: devkit_1.ChangeType.Insert,
|
|
115
|
+
index: start,
|
|
116
|
+
text: `{ ${rendered.join(', ')} }`,
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
function renderSpecifier(el) {
|
|
120
|
+
const typePrefix = el.isTypeOnly ? 'type ' : '';
|
|
121
|
+
const rename = (name) => name === DEPRECATED_NAME ? CANONICAL_NAME : name;
|
|
122
|
+
// `{ name }` — no alias, so the local binding follows the rename.
|
|
123
|
+
if (!el.propertyName) {
|
|
124
|
+
return `${typePrefix}${rename(el.name.text)}`;
|
|
125
|
+
}
|
|
126
|
+
// `{ propertyName as name }` — only the imported (left) side is renamed; the
|
|
127
|
+
// local alias is preserved. A now-redundant alias such as
|
|
128
|
+
// `createNodesV2 as createNodes` collapses to `createNodes`.
|
|
129
|
+
const canonicalImported = rename(el.propertyName.text);
|
|
130
|
+
const localName = el.name.text;
|
|
131
|
+
return canonicalImported === localName
|
|
132
|
+
? `${typePrefix}${localName}`
|
|
133
|
+
: `${typePrefix}${canonicalImported} as ${localName}`;
|
|
134
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export declare const DETOX_EXECUTORS_DEPRECATION_MESSAGE = "`@nx/detox:build` and `@nx/detox:test` are deprecated and will be removed in Nx v24. Run `nx g @nx/detox:convert-to-inferred` to migrate to the `@nx/detox/plugin` inferred targets. See https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details.";
|
|
2
2
|
export declare function warnDetoxExecutorsDeprecation(): void;
|
|
3
3
|
export declare function warnDetoxExecutorsGenerating(): void;
|
|
4
|
-
//# sourceMappingURL=deprecation.d.ts.map
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { type Tree } from '@nx/devkit';
|
|
1
2
|
export declare const nxVersion: any;
|
|
3
|
+
export declare const minSupportedDetoxVersion = "20.0.0";
|
|
4
|
+
export declare function assertSupportedDetoxVersion(tree: Tree): void;
|
|
2
5
|
export declare const detoxVersion = "~20.43.0";
|
|
3
6
|
export declare const testingLibraryJestDom = "~6.9.1";
|
|
4
7
|
export declare const configPluginsDetoxVersion = "~11.0.0";
|
|
5
|
-
//# sourceMappingURL=versions.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.configPluginsDetoxVersion = exports.testingLibraryJestDom = exports.detoxVersion = exports.minSupportedDetoxVersion = exports.nxVersion = void 0;
|
|
4
|
+
exports.assertSupportedDetoxVersion = assertSupportedDetoxVersion;
|
|
5
|
+
const path_1 = require("path");
|
|
6
|
+
const internal_1 = require("@nx/devkit/internal");
|
|
7
|
+
exports.nxVersion = require((0, path_1.join)('@nx/detox', 'package.json')).version;
|
|
8
|
+
// Detox's only maintained major is 20.x; v19 has had no upstream patches since
|
|
9
|
+
// detox@20 (2022-11-10). The plugin is v20-only.
|
|
10
|
+
exports.minSupportedDetoxVersion = '20.0.0';
|
|
11
|
+
function assertSupportedDetoxVersion(tree) {
|
|
12
|
+
(0, internal_1.assertSupportedPackageVersion)(tree, 'detox', exports.minSupportedDetoxVersion);
|
|
13
|
+
}
|
|
14
|
+
exports.detoxVersion = '~20.43.0';
|
|
15
|
+
exports.testingLibraryJestDom = '~6.9.1';
|
|
16
|
+
exports.configPluginsDetoxVersion = '~11.0.0'; // only required for expo
|
package/executors.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"executors": {
|
|
3
3
|
"build": {
|
|
4
|
-
"implementation": "./src/executors/build/build.impl",
|
|
5
|
-
"schema": "./src/executors/build/schema.json",
|
|
4
|
+
"implementation": "./dist/src/executors/build/build.impl",
|
|
5
|
+
"schema": "./dist/src/executors/build/schema.json",
|
|
6
6
|
"description": "Run the command defined in build property of the specified configuration."
|
|
7
7
|
},
|
|
8
8
|
"test": {
|
|
9
|
-
"implementation": "./src/executors/test/test.impl",
|
|
10
|
-
"schema": "./src/executors/test/schema.json",
|
|
9
|
+
"implementation": "./dist/src/executors/test/test.impl",
|
|
10
|
+
"schema": "./dist/src/executors/test/schema.json",
|
|
11
11
|
"description": "Initiating your detox test suite."
|
|
12
12
|
}
|
|
13
13
|
}
|
package/generators.json
CHANGED
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
"extends": ["@nx/workspace"],
|
|
5
5
|
"generators": {
|
|
6
6
|
"init": {
|
|
7
|
-
"factory": "./src/generators/init/init#detoxInitGeneratorInternal",
|
|
8
|
-
"schema": "./src/generators/init/schema.json",
|
|
7
|
+
"factory": "./dist/src/generators/init/init#detoxInitGeneratorInternal",
|
|
8
|
+
"schema": "./dist/src/generators/init/schema.json",
|
|
9
9
|
"description": "Initialize the `@nx/detox` plugin.",
|
|
10
10
|
"hidden": true
|
|
11
11
|
},
|
|
12
12
|
"application": {
|
|
13
|
-
"factory": "./src/generators/application/application#detoxApplicationGeneratorInternal",
|
|
14
|
-
"schema": "./src/generators/application/schema.json",
|
|
13
|
+
"factory": "./dist/src/generators/application/application#detoxApplicationGeneratorInternal",
|
|
14
|
+
"schema": "./dist/src/generators/application/schema.json",
|
|
15
15
|
"aliases": ["app"],
|
|
16
16
|
"x-type": "application",
|
|
17
17
|
"description": "Create a Detox application."
|
|
18
18
|
},
|
|
19
19
|
"convert-to-inferred": {
|
|
20
|
-
"factory": "./src/generators/convert-to-inferred/convert-to-inferred",
|
|
21
|
-
"schema": "./src/generators/convert-to-inferred/schema.json",
|
|
20
|
+
"factory": "./dist/src/generators/convert-to-inferred/convert-to-inferred",
|
|
21
|
+
"schema": "./dist/src/generators/convert-to-inferred/schema.json",
|
|
22
22
|
"description": "Convert existing Detox project(s) using `@nx/detox:*` executors to use `@nx/detox/plugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target."
|
|
23
23
|
}
|
|
24
24
|
}
|
package/migrations.json
CHANGED
|
@@ -7,50 +7,38 @@
|
|
|
7
7
|
"version": "22.2.0-beta.2",
|
|
8
8
|
"cli": "nx",
|
|
9
9
|
"description": "Remove @config-plugins/detox for Expo 54+ projects (package discontinued)",
|
|
10
|
-
"factory": "./src/migrations/update-22-0-0/remove-config-plugins-detox-for-expo-54"
|
|
10
|
+
"factory": "./dist/src/migrations/update-22-0-0/remove-config-plugins-detox-for-expo-54"
|
|
11
|
+
},
|
|
12
|
+
"update-23-0-0-migrate-create-nodes-v2-import": {
|
|
13
|
+
"version": "23.0.0-beta.24",
|
|
14
|
+
"description": "Rename imports of `createNodesV2` from `@nx/detox/plugin` to the canonical `createNodes` export.",
|
|
15
|
+
"implementation": "./dist/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes",
|
|
16
|
+
"documentation": "./dist/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.md"
|
|
11
17
|
}
|
|
12
18
|
},
|
|
13
19
|
"packageJsonUpdates": {
|
|
14
|
-
"
|
|
15
|
-
"version": "
|
|
20
|
+
"22.0.0": {
|
|
21
|
+
"version": "22.0.0-beta.5",
|
|
16
22
|
"packages": {
|
|
17
23
|
"detox": {
|
|
18
|
-
"version": "~20.
|
|
24
|
+
"version": "~20.43.0",
|
|
19
25
|
"alwaysAddToPackageJson": false
|
|
20
26
|
},
|
|
21
27
|
"@testing-library/jest-dom": {
|
|
22
|
-
"version": "~6.
|
|
23
|
-
"alwaysAddToPackageJson": false
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"20.4.0": {
|
|
28
|
-
"version": "20.4.0-beta.2",
|
|
29
|
-
"packages": {
|
|
30
|
-
"detox": {
|
|
31
|
-
"version": "~20.31.0",
|
|
32
|
-
"alwaysAddToPackageJson": false
|
|
33
|
-
},
|
|
34
|
-
"@config-plugins/detox": {
|
|
35
|
-
"version": "~9.0.0",
|
|
28
|
+
"version": "~6.9.1",
|
|
36
29
|
"alwaysAddToPackageJson": false
|
|
37
30
|
}
|
|
38
31
|
}
|
|
39
32
|
},
|
|
40
|
-
"22.0.0": {
|
|
33
|
+
"22.0.0-config-plugins-detox": {
|
|
41
34
|
"version": "22.0.0-beta.5",
|
|
35
|
+
"requires": {
|
|
36
|
+
"expo": ">=53.0.0 <54.0.0"
|
|
37
|
+
},
|
|
42
38
|
"packages": {
|
|
43
|
-
"detox": {
|
|
44
|
-
"version": "~20.43.0",
|
|
45
|
-
"alwaysAddToPackageJson": false
|
|
46
|
-
},
|
|
47
39
|
"@config-plugins/detox": {
|
|
48
40
|
"version": "~11.0.0",
|
|
49
41
|
"alwaysAddToPackageJson": false
|
|
50
|
-
},
|
|
51
|
-
"@testing-library/jest-dom": {
|
|
52
|
-
"version": "~6.9.1",
|
|
53
|
-
"alwaysAddToPackageJson": false
|
|
54
42
|
}
|
|
55
43
|
}
|
|
56
44
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/detox",
|
|
3
|
-
"version": "23.0.0-beta.
|
|
3
|
+
"version": "23.0.0-beta.25",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Detox contains executors and generators for allowing your workspace to use the powerful Detox integration testing capabilities.",
|
|
6
6
|
"keywords": [
|
|
@@ -24,31 +24,67 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"author": "Victor Savkin",
|
|
27
|
-
"main": "./index.js",
|
|
27
|
+
"main": "./dist/index.js",
|
|
28
28
|
"type": "commonjs",
|
|
29
|
-
"types": "index.d.ts",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"!dist/tsconfig.tsbuildinfo",
|
|
33
|
+
"migrations.json",
|
|
34
|
+
"executors.json",
|
|
35
|
+
"generators.json"
|
|
36
|
+
],
|
|
30
37
|
"dependencies": {
|
|
31
|
-
"@nx/devkit": "23.0.0-beta.23",
|
|
32
|
-
"@nx/jest": "23.0.0-beta.23",
|
|
33
|
-
"@nx/js": "23.0.0-beta.23",
|
|
34
|
-
"@nx/eslint": "23.0.0-beta.23",
|
|
35
|
-
"@nx/react": "23.0.0-beta.23",
|
|
36
38
|
"semver": "^7.6.3",
|
|
37
|
-
"tslib": "^2.3.0"
|
|
39
|
+
"tslib": "^2.3.0",
|
|
40
|
+
"@nx/devkit": "23.0.0-beta.25",
|
|
41
|
+
"@nx/jest": "23.0.0-beta.25",
|
|
42
|
+
"@nx/js": "23.0.0-beta.25",
|
|
43
|
+
"@nx/eslint": "23.0.0-beta.25",
|
|
44
|
+
"@nx/react": "23.0.0-beta.25"
|
|
38
45
|
},
|
|
39
46
|
"devDependencies": {
|
|
40
|
-
"nx": "23.0.0-beta.
|
|
47
|
+
"nx": "23.0.0-beta.25"
|
|
41
48
|
},
|
|
42
49
|
"peerDependencies": {
|
|
43
|
-
"detox": "^20.
|
|
50
|
+
"detox": "^20.0.0"
|
|
51
|
+
},
|
|
52
|
+
"peerDependenciesMeta": {
|
|
53
|
+
"detox": {
|
|
54
|
+
"optional": true
|
|
55
|
+
}
|
|
44
56
|
},
|
|
45
57
|
"executors": "./executors.json",
|
|
46
58
|
"ng-update": {
|
|
47
59
|
"requirements": {},
|
|
48
|
-
"migrations": "./migrations.json"
|
|
60
|
+
"migrations": "./migrations.json",
|
|
61
|
+
"supportsOptionalUpdates": true
|
|
49
62
|
},
|
|
50
63
|
"generators": "./generators.json",
|
|
51
64
|
"publishConfig": {
|
|
52
65
|
"access": "public"
|
|
66
|
+
},
|
|
67
|
+
"typesVersions": {
|
|
68
|
+
"*": {
|
|
69
|
+
"plugin": [
|
|
70
|
+
"dist/plugin.d.ts"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"exports": {
|
|
75
|
+
".": {
|
|
76
|
+
"@nx/nx-source": "./index.ts",
|
|
77
|
+
"types": "./dist/index.d.ts",
|
|
78
|
+
"default": "./dist/index.js"
|
|
79
|
+
},
|
|
80
|
+
"./package.json": "./package.json",
|
|
81
|
+
"./migrations.json": "./migrations.json",
|
|
82
|
+
"./generators.json": "./generators.json",
|
|
83
|
+
"./executors.json": "./executors.json",
|
|
84
|
+
"./plugin": {
|
|
85
|
+
"@nx/nx-source": "./plugin.ts",
|
|
86
|
+
"types": "./dist/plugin.d.ts",
|
|
87
|
+
"default": "./dist/plugin.js"
|
|
88
|
+
}
|
|
53
89
|
}
|
|
54
90
|
}
|
package/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/detox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC"}
|
package/plugin.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../packages/detox/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/detox/src/executors/build/build.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAK7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAID,wBAA+B,kBAAkB,CAC/C,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,eAAe,GACvB,cAAc,CAAC,gBAAgB,CAAC,CAelC;AAED,wBAAgB,WAAW,CACzB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,iBAAiB,oBA4B3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"test.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/detox/src/executors/test/test.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAGhB,MAAM,YAAY,CAAC;AASpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;CAClB;AAID,wBAA+B,iBAAiB,CAC9C,OAAO,EAAE,gBAAgB,EACzB,OAAO,EAAE,eAAe,GACvB,cAAc,CAAC,eAAe,CAAC,CA4BjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../../../../packages/detox/src/generators/application/application.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,IAAI,EAAE,MAAM,YAAY,CAAC;AASjE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAUlC,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,mDAMzE;AAED,wBAAsB,iCAAiC,CACrD,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,mDA6Df;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-git-ignore-entry.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/add-git-ignore-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,IAAI,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,QAQtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-linting.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/add-linting.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAGjB,IAAI,EACL,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AASvD,wBAAsB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,8BAgDrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-project.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/add-project.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,IAAI,EAEL,MAAM,YAAY,CAAC;AAOpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,QA6C/D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-files.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/create-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,IAAI,EAEL,MAAM,YAAY,CAAC;AAIpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,QAyDhE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ensure-dependencies.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/ensure-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAMrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,0CAcvE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-targets.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/get-targets.ts"],"names":[],"mappings":"AAAA,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,SAAS,GAAG,aAAa;;;;;;;;;EAWzE;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,SAAS,GAAG,aAAa;;;;;;;;;;;;EAclE;AAED,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,SAAS,GAAG,aAAa,EACnC,OAAO,EAAE,MAAM;;;;;;;;;;;EAgBhB;AAED,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,SAAS,GAAG,aAAa,EACnC,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;EAoBhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"normalize-options.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/normalize-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,IAAI,EAAE,MAAM,YAAY,CAAC;AAE/E,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGnC,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC;IAC/D,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,gBAAgB,CAAC,CAyC3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"convert-to-inferred.d.ts","sourceRoot":"","sources":["../../../../../../packages/detox/src/generators/convert-to-inferred/convert-to-inferred.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,KAAK,IAAI,EAEV,MAAM,YAAY,CAAC;AAMpB,UAAU,MAAM;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAyFlE;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"post-target-transformer.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/convert-to-inferred/lib/post-target-transformer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAE/E,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,CACd,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,GAAG,EACZ,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,mBAAmB,GAAG,SAAS,EACvC,aAAa,EAAE,aAAa,KACzB,IAAI,IAGP,QAAQ,mBAAmB,EAC3B,MAAM,IAAI,EACV,gBAAgB;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EACrD,6BAA6B,mBAAmB,8BAkDnD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"process-build-options.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/convert-to-inferred/lib/process-build-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,mBAAmB,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,GAAG,EACZ,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,mBAAmB,GAAG,SAAS,EACvC,cAAc,EAAE,aAAa,GAC5B,IAAI,CAwBN"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"process-test-options.d.ts","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/convert-to-inferred/lib/process-test-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,mBAAmB,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,GAAG,EACZ,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,mBAAmB,GAAG,SAAS,EACvC,aAAa,EAAE,aAAa,GAC3B,IAAI,CAoEN"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../../../packages/detox/src/generators/init/init.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,iBAAiB,EAIjB,IAAI,EACL,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAE5D;AAED,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BA6C1E;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qBAW5D;AAMD,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remove-config-plugins-detox-for-expo-54.d.ts","sourceRoot":"","sources":["../../../../../../packages/detox/src/migrations/update-22-0-0/remove-config-plugins-detox-for-expo-54.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAA6C,MAAM,YAAY,CAAC;AAG7E;;;;;;;;GAQG;AACH,wBAA8B,MAAM,CAAC,IAAI,EAAE,IAAI,iBA4D9C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/detox/src/plugins/plugin.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,WAAW,EAKZ,MAAM,YAAY,CAAC;AAOpB,MAAM,WAAW,kBAAkB;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAID,eAAO,MAAM,WAAW,EAAE,WAAW,CAAC,kBAAkB,CAsCvD,CAAC;AAEF,eAAO,MAAM,aAAa,iCAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deprecation.d.ts","sourceRoot":"","sources":["../../../../../packages/detox/src/utils/deprecation.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,mCAAmC,wQACuN,CAAC;AAExQ,wBAAgB,6BAA6B,IAAI,IAAI,CAEpD;AAOD,wBAAgB,4BAA4B,IAAI,IAAI,CAInD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expo-version-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/detox/src/utils/expo-version-utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAGnD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAiBjE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAMpD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../../../packages/detox/src/utils/versions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,KAAwC,CAAC;AAE/D,eAAO,MAAM,YAAY,aAAa,CAAC;AACvC,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAC9C,eAAO,MAAM,yBAAyB,YAAY,CAAC"}
|
package/src/utils/versions.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.configPluginsDetoxVersion = exports.testingLibraryJestDom = exports.detoxVersion = exports.nxVersion = void 0;
|
|
4
|
-
exports.nxVersion = require('../../package.json').version;
|
|
5
|
-
exports.detoxVersion = '~20.43.0';
|
|
6
|
-
exports.testingLibraryJestDom = '~6.9.1';
|
|
7
|
-
exports.configPluginsDetoxVersion = '~11.0.0'; // only required for expo
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{src → dist/src}/generators/application/files/non-ts-solution/jest.config.json.template
RENAMED
|
File without changes
|
/package/{src → dist/src}/generators/application/files/non-ts-solution/tsconfig.e2e.json.template
RENAMED
|
File without changes
|
/package/{src → dist/src}/generators/application/files/non-ts-solution/tsconfig.json.template
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{src → dist/src}/migrations/update-22-0-0/remove-config-plugins-detox-for-expo-54.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|