@nrwl/detox 13.9.4 → 13.10.0-beta.3
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/migrations.json +9 -8
- package/package.json +7 -7
- package/project.json +5 -1
- package/src/executors/build/build.impl.js +3 -3
- package/src/executors/build/build.impl.js.map +1 -1
- package/src/executors/test/schema.json +15 -2
- package/src/executors/test/test.impl.js +4 -4
- package/src/executors/test/test.impl.js.map +1 -1
- package/src/generators/application/application.js +1 -1
- package/src/generators/application/lib/add-linting.js +1 -1
- package/src/generators/init/init.js +1 -1
- package/src/migrations/update-13-5-0/add-build-target-test-13-5-0.js +1 -1
- package/src/migrations/update-13-8-2/remove-types-detox-13-8-2.js +1 -1
- package/src/utils/versions.d.ts +1 -1
- package/src/utils/versions.js +2 -2
package/migrations.json
CHANGED
|
@@ -38,10 +38,6 @@
|
|
|
38
38
|
"detox": {
|
|
39
39
|
"version": "18.22.2",
|
|
40
40
|
"alwaysAddToPackageJson": false
|
|
41
|
-
},
|
|
42
|
-
"@types/detox": {
|
|
43
|
-
"version": "17.14.3",
|
|
44
|
-
"alwaysAddToPackageJson": false
|
|
45
41
|
}
|
|
46
42
|
}
|
|
47
43
|
},
|
|
@@ -65,10 +61,6 @@
|
|
|
65
61
|
"version": "19.4.1",
|
|
66
62
|
"alwaysAddToPackageJson": false
|
|
67
63
|
},
|
|
68
|
-
"@types/detox": {
|
|
69
|
-
"version": "18.1.0",
|
|
70
|
-
"alwaysAddToPackageJson": false
|
|
71
|
-
},
|
|
72
64
|
"@testing-library/jest-dom": {
|
|
73
65
|
"version": "5.16.1",
|
|
74
66
|
"alwaysAddToPackageJson": false
|
|
@@ -96,6 +88,15 @@
|
|
|
96
88
|
"alwaysAddToPackageJson": false
|
|
97
89
|
}
|
|
98
90
|
}
|
|
91
|
+
},
|
|
92
|
+
"13.9.3": {
|
|
93
|
+
"version": "13.9.3-beta.0",
|
|
94
|
+
"packages": {
|
|
95
|
+
"detox": {
|
|
96
|
+
"version": "19.5.7",
|
|
97
|
+
"alwaysAddToPackageJson": false
|
|
98
|
+
}
|
|
99
|
+
}
|
|
99
100
|
}
|
|
100
101
|
}
|
|
101
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/detox",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.10.0-beta.3",
|
|
4
4
|
"description": "Detox Plugin for Nx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Monorepo",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"types": "index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nrwl/devkit": "13.
|
|
28
|
-
"@nrwl/jest": "13.
|
|
29
|
-
"@nrwl/linter": "13.
|
|
30
|
-
"@nrwl/react": "13.
|
|
31
|
-
"@nrwl/workspace": "13.
|
|
27
|
+
"@nrwl/devkit": "13.10.0-beta.3",
|
|
28
|
+
"@nrwl/jest": "13.10.0-beta.3",
|
|
29
|
+
"@nrwl/linter": "13.10.0-beta.3",
|
|
30
|
+
"@nrwl/react": "13.10.0-beta.3",
|
|
31
|
+
"@nrwl/workspace": "13.10.0-beta.3",
|
|
32
32
|
"chalk": "^4.1.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"detox": "^19.5.
|
|
35
|
+
"detox": "^19.5.7"
|
|
36
36
|
},
|
|
37
37
|
"builders": "./executors.json",
|
|
38
38
|
"ng-update": {
|
package/project.json
CHANGED
|
@@ -6,11 +6,11 @@ const path_1 = require("path");
|
|
|
6
6
|
const child_process_1 = require("child_process");
|
|
7
7
|
let childProcess;
|
|
8
8
|
function detoxBuildExecutor(options, context) {
|
|
9
|
-
return
|
|
9
|
+
return tslib_1.__asyncGenerator(this, arguments, function* detoxBuildExecutor_1() {
|
|
10
10
|
const projectRoot = context.workspace.projects[context.projectName].root;
|
|
11
11
|
try {
|
|
12
|
-
yield
|
|
13
|
-
yield yield
|
|
12
|
+
yield tslib_1.__await(runCliBuild(context.root, projectRoot, options));
|
|
13
|
+
yield yield tslib_1.__await({ success: true });
|
|
14
14
|
}
|
|
15
15
|
finally {
|
|
16
16
|
if (childProcess) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.impl.js","sourceRoot":"","sources":["../../../../../../packages/detox/src/executors/build/build.impl.ts"],"names":[],"mappings":";;;;AACA,+BAA4B;AAC5B,iDAAmD;AAQnD,IAAI,YAA0B,CAAC;AAE/B,SAA+B,kBAAkB,CAC/C,OAA0B,EAC1B,OAAwB;;QAExB,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC;QAEzE,IAAI;YACF,
|
|
1
|
+
{"version":3,"file":"build.impl.js","sourceRoot":"","sources":["../../../../../../packages/detox/src/executors/build/build.impl.ts"],"names":[],"mappings":";;;;AACA,+BAA4B;AAC5B,iDAAmD;AAQnD,IAAI,YAA0B,CAAC;AAE/B,SAA+B,kBAAkB,CAC/C,OAA0B,EAC1B,OAAwB;;QAExB,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC;QAEzE,IAAI;YACF,sBAAM,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA,CAAC;YAEtD,4BAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAA,CAAC;SACzB;gBAAS;YACR,IAAI,YAAY,EAAE;gBAChB,YAAY,CAAC,IAAI,EAAE,CAAC;aACrB;SACF;IACH,CAAC;CAAA;AAfD,qCAeC;AAED,SAAgB,WAAW,CACzB,aAAqB,EACrB,WAAmB,EACnB,OAA0B;IAE1B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAA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K,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;QACtC,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC"}
|
|
@@ -7,7 +7,13 @@
|
|
|
7
7
|
"detoxConfiguration": {
|
|
8
8
|
"type": "string",
|
|
9
9
|
"description": "Select a device configuration from your defined configurations, if not supplied, and there's only one configuration, detox will default to it",
|
|
10
|
-
"alias": "C"
|
|
10
|
+
"alias": "C",
|
|
11
|
+
"examples": [
|
|
12
|
+
"ios.sim.debug",
|
|
13
|
+
"ios.sim.release",
|
|
14
|
+
"android.emu.debug",
|
|
15
|
+
"android.emu.release"
|
|
16
|
+
]
|
|
11
17
|
},
|
|
12
18
|
"buildTarget": {
|
|
13
19
|
"type": "string",
|
|
@@ -30,11 +36,12 @@
|
|
|
30
36
|
},
|
|
31
37
|
"loglevel": {
|
|
32
38
|
"type": "string",
|
|
39
|
+
"enum": ["fatal", "error", "warn", "info", "verbose", "trace"],
|
|
33
40
|
"description": "Log level: fatal, error, warn, info, verbose, trace",
|
|
34
41
|
"alias": "l"
|
|
35
42
|
},
|
|
36
43
|
"debugSynchronization": {
|
|
37
|
-
"type": "
|
|
44
|
+
"type": "boolean",
|
|
38
45
|
"description": "Customize how long an action/expectation can take to complete before Detox starts querying the app why it is busy. By default, the app status will be printed if the action takes more than 10s to complete.",
|
|
39
46
|
"alias": "d"
|
|
40
47
|
},
|
|
@@ -45,26 +52,32 @@
|
|
|
45
52
|
},
|
|
46
53
|
"recordLogs": {
|
|
47
54
|
"type": "string",
|
|
55
|
+
"enum": ["failing", "all", "none"],
|
|
48
56
|
"description": "Save logs during each test to artifacts directory. Pass \"failing\" to save logs of failing tests only."
|
|
49
57
|
},
|
|
50
58
|
"takeScreenshots": {
|
|
51
59
|
"type": "string",
|
|
60
|
+
"enum": ["manual", "failing", "all", "none"],
|
|
52
61
|
"description": "Save screenshots before and after each test to artifacts directory. Pass \"failing\" to save screenshots of failing tests only. "
|
|
53
62
|
},
|
|
54
63
|
"recordVideos": {
|
|
55
64
|
"type": "string",
|
|
65
|
+
"enum": ["failing", "all", "none"],
|
|
56
66
|
"description": "Save screen recordings of each test to artifacts directory. Pass \"failing\" to save recordings of failing tests only."
|
|
57
67
|
},
|
|
58
68
|
"recordPerformance": {
|
|
59
69
|
"type": "string",
|
|
70
|
+
"enum": ["all", "none"],
|
|
60
71
|
"description": "[iOS Only] Save Detox Instruments performance recordings of each test to artifacts directory."
|
|
61
72
|
},
|
|
62
73
|
"recordTimeline": {
|
|
63
74
|
"type": "string",
|
|
75
|
+
"enum": ["all", "none"],
|
|
64
76
|
"description": "[Jest Only] Record tests and events timeline, for visual display on the chrome://tracing tool."
|
|
65
77
|
},
|
|
66
78
|
"captureViewHierarchy": {
|
|
67
79
|
"type": "string",
|
|
80
|
+
"enum": ["enabled", "disabled"],
|
|
68
81
|
"description": "[iOS Only] Capture *.uihierarchy snapshots on view action errors and device.captureViewHierarchy() calls."
|
|
69
82
|
},
|
|
70
83
|
"retries": {
|
|
@@ -8,16 +8,16 @@ const child_process_1 = require("child_process");
|
|
|
8
8
|
const build_impl_1 = require("../build/build.impl");
|
|
9
9
|
let childProcess;
|
|
10
10
|
function detoxTestExecutor(options, context) {
|
|
11
|
-
return
|
|
11
|
+
return tslib_1.__asyncGenerator(this, arguments, function* detoxTestExecutor_1() {
|
|
12
12
|
const projectRoot = context.workspace.projects[context.projectName].root;
|
|
13
13
|
try {
|
|
14
14
|
if (options.buildTarget) {
|
|
15
15
|
const buildTarget = (0, devkit_1.parseTargetString)(options.buildTarget);
|
|
16
16
|
const buildOptions = (0, devkit_1.readTargetOptions)(buildTarget, context);
|
|
17
|
-
yield
|
|
17
|
+
yield tslib_1.__await((0, build_impl_1.runCliBuild)(context.root, projectRoot, Object.assign(Object.assign({}, buildOptions), { detoxConfiguration: options.detoxConfiguration })));
|
|
18
18
|
}
|
|
19
|
-
yield
|
|
20
|
-
yield yield
|
|
19
|
+
yield tslib_1.__await(runCliTest(context.root, projectRoot, options));
|
|
20
|
+
yield yield tslib_1.__await({ success: true });
|
|
21
21
|
}
|
|
22
22
|
finally {
|
|
23
23
|
if (childProcess) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.impl.js","sourceRoot":"","sources":["../../../../../../packages/detox/src/executors/test/test.impl.ts"],"names":[],"mappings":";;;AAAA,yCAIsB;AACtB,yCAAqC;AACrC,+BAA4B;AAC5B,iDAAmD;AAGnD,oDAAkD;AAQlD,IAAI,YAA0B,CAAC;AAE/B,SAA+B,iBAAiB,CAC9C,OAAyB,EACzB,OAAwB;;QAExB,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC;QAEzE,IAAI;YACF,IAAI,OAAO,CAAC,WAAW,EAAE;gBACvB,MAAM,WAAW,GAAG,IAAA,0BAAiB,EAAC,OAAO,CAAC,WAAW,CAAC,CAAC;gBAC3D,MAAM,YAAY,GAAG,IAAA,0BAAiB,EACpC,WAAW,EACX,OAAO,CACR,CAAC;gBAEF,
|
|
1
|
+
{"version":3,"file":"test.impl.js","sourceRoot":"","sources":["../../../../../../packages/detox/src/executors/test/test.impl.ts"],"names":[],"mappings":";;;AAAA,yCAIsB;AACtB,yCAAqC;AACrC,+BAA4B;AAC5B,iDAAmD;AAGnD,oDAAkD;AAQlD,IAAI,YAA0B,CAAC;AAE/B,SAA+B,iBAAiB,CAC9C,OAAyB,EACzB,OAAwB;;QAExB,MAAM,WAAW,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC;QAEzE,IAAI;YACF,IAAI,OAAO,CAAC,WAAW,EAAE;gBACvB,MAAM,WAAW,GAAG,IAAA,0BAAiB,EAAC,OAAO,CAAC,WAAW,CAAC,CAAC;gBAC3D,MAAM,YAAY,GAAG,IAAA,0BAAiB,EACpC,WA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,MAAM,CAAC,IAAI,CAAC,CAAC;aACd;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,SAAS,GAAG,CAAC,aAAa,CAAC,CAAC;AAElC,SAAS,sBAAsB,CAAC,OAAyB;IACvD,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;QAC5C,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;QACjC,IAAI,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;YACzB,OAAO,GAAG,CAAC;SACZ;aAAM,IAAI,CAAC,KAAK,oBAAoB,EAAE;YACrC,GAAG,CAAC,IAAI,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;SAC5C;aAAM,IAAI,CAAC,KAAK,kBAAkB,EAAE;YACnC,GAAG,CAAC,IAAI,CAAC,yBAAyB,aAAa,GAAG,CAAC,CAAC,CAAC,yEAAyE;SAC/H;aAAM,IAAI,CAAC,KAAK,eAAe,EAAE;YAChC,GAAG,CAAC,IAAI,CAAC,uBAAuB,aAAa,GAAG,CAAC,CAAC,CAAC,yEAAyE;SAC7H;aAAM;YACL,MAAM,YAAY,GAAG,IAAA,cAAK,EAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,kCAAkC;YAC1E,GAAG,CAAC,IAAI,CAAC,KAAK,YAAY,EAAE,EAAE,aAAa,CAAC,CAAC;SAC9C;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC"}
|
|
@@ -11,7 +11,7 @@ const add_project_1 = require("./lib/add-project");
|
|
|
11
11
|
const create_files_1 = require("./lib/create-files");
|
|
12
12
|
const normalize_options_1 = require("./lib/normalize-options");
|
|
13
13
|
function detoxApplicationGenerator(host, schema) {
|
|
14
|
-
return
|
|
14
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
15
15
|
const options = (0, normalize_options_1.normalizeOptions)(host, schema);
|
|
16
16
|
const initTask = yield (0, init_1.default)(host, {
|
|
17
17
|
skipFormat: true,
|
|
@@ -7,7 +7,7 @@ const linter_1 = require("@nrwl/linter");
|
|
|
7
7
|
const devkit_1 = require("@nrwl/devkit");
|
|
8
8
|
const react_1 = require("@nrwl/react");
|
|
9
9
|
function addLinting(host, options) {
|
|
10
|
-
return
|
|
10
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
11
11
|
if (options.linter === linter_1.Linter.None) {
|
|
12
12
|
return () => { };
|
|
13
13
|
}
|
|
@@ -7,7 +7,7 @@ const versions_1 = require("@nrwl/jest/src/utils/versions");
|
|
|
7
7
|
const run_tasks_in_serial_1 = require("@nrwl/workspace/src/utilities/run-tasks-in-serial");
|
|
8
8
|
const versions_2 = require("../../utils/versions");
|
|
9
9
|
function detoxInitGenerator(host, schema) {
|
|
10
|
-
return
|
|
10
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
11
11
|
const tasks = [moveDependency(host), updateDependencies(host)];
|
|
12
12
|
if (!schema.skipFormat) {
|
|
13
13
|
yield (0, devkit_1.formatFiles)(host);
|
|
@@ -7,7 +7,7 @@ const devkit_1 = require("@nrwl/devkit");
|
|
|
7
7
|
*/
|
|
8
8
|
function update(tree) {
|
|
9
9
|
var _a, _b, _c, _d;
|
|
10
|
-
return
|
|
10
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
11
11
|
const projects = (0, devkit_1.getProjects)(tree);
|
|
12
12
|
for (const [name, config] of projects.entries()) {
|
|
13
13
|
if (((_b = (_a = config.targets) === null || _a === void 0 ? void 0 : _a['test-ios']) === null || _b === void 0 ? void 0 : _b.executor) === '@nrwl/detox:test') {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const devkit_1 = require("@nrwl/devkit");
|
|
5
5
|
function update(tree) {
|
|
6
|
-
return
|
|
6
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
7
7
|
const packageJson = (0, devkit_1.readJson)(tree, 'package.json');
|
|
8
8
|
if (!packageJson.devDependencies['@types/detox']) {
|
|
9
9
|
return;
|
package/src/utils/versions.d.ts
CHANGED
package/src/utils/versions.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.testingLibraryJestDom = exports.detoxVersion = exports.nxVersion = void 0;
|
|
4
|
-
exports.nxVersion = '13.
|
|
5
|
-
exports.detoxVersion = '19.5.
|
|
4
|
+
exports.nxVersion = '13.10.0-beta.3';
|
|
5
|
+
exports.detoxVersion = '19.5.7';
|
|
6
6
|
exports.testingLibraryJestDom = '5.16.2';
|
|
7
7
|
//# sourceMappingURL=versions.js.map
|