@nrwl/detox 13.10.0-beta.4 → 13.10.0-beta.7
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/generators.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"init": {
|
|
7
7
|
"factory": "./src/generators/init/init#detoxInitSchematic",
|
|
8
8
|
"schema": "./src/generators/init/schema.json",
|
|
9
|
-
"description": "Initialize the
|
|
9
|
+
"description": "Initialize the `@nrwl/detox` plugin.",
|
|
10
10
|
"hidden": true
|
|
11
11
|
},
|
|
12
12
|
"application": {
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"schema": "./src/generators/application/schema.json",
|
|
15
15
|
"aliases": ["app"],
|
|
16
16
|
"x-type": "application",
|
|
17
|
-
"description": "Create a
|
|
17
|
+
"description": "Create a Detox application."
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"generators": {
|
|
21
21
|
"init": {
|
|
22
22
|
"factory": "./src/generators/init/init#detoxInitGenerator",
|
|
23
23
|
"schema": "./src/generators/init/schema.json",
|
|
24
|
-
"description": "Initialize the
|
|
24
|
+
"description": "Initialize the `@nrwl/detox` plugin.",
|
|
25
25
|
"hidden": true
|
|
26
26
|
},
|
|
27
27
|
"application": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"schema": "./src/generators/application/schema.json",
|
|
30
30
|
"aliases": ["app"],
|
|
31
31
|
"x-type": "application",
|
|
32
|
-
"description": "Create a
|
|
32
|
+
"description": "Create a Detox application."
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/detox",
|
|
3
|
-
"version": "13.10.0-beta.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "13.10.0-beta.7",
|
|
4
|
+
"description": "The Nx Plugin for Detox that contains executors and generators for allowing your workspace to use the powerful Detox integration testing capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Monorepo",
|
|
7
7
|
"React",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"types": "index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nrwl/devkit": "13.10.0-beta.
|
|
28
|
-
"@nrwl/jest": "13.10.0-beta.
|
|
29
|
-
"@nrwl/linter": "13.10.0-beta.
|
|
30
|
-
"@nrwl/react": "13.10.0-beta.
|
|
31
|
-
"@nrwl/workspace": "13.10.0-beta.
|
|
27
|
+
"@nrwl/devkit": "13.10.0-beta.7",
|
|
28
|
+
"@nrwl/jest": "13.10.0-beta.7",
|
|
29
|
+
"@nrwl/linter": "13.10.0-beta.7",
|
|
30
|
+
"@nrwl/react": "13.10.0-beta.7",
|
|
31
|
+
"@nrwl/workspace": "13.10.0-beta.7",
|
|
32
32
|
"chalk": "^4.1.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Run detox build",
|
|
3
|
-
"description": "Run detox build options",
|
|
3
|
+
"description": "Run detox build options.",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"cli": "nx",
|
|
6
6
|
"properties": {
|
|
7
7
|
"detoxConfiguration": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"description": "Select a device configuration from your defined configurations, if not supplied, and there's only one configuration, detox will default to it",
|
|
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
10
|
"alias": "C"
|
|
11
11
|
},
|
|
12
12
|
"configPath": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "Specify Detox config file path. If not supplied, detox searches for
|
|
14
|
+
"description": "Specify Detox config file path. If not supplied, detox searches for `.detoxrc[.js]` or `detox` section in `package.json`.",
|
|
15
15
|
"alias": "cp"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Run detox test",
|
|
3
|
-
"description": "Run detox test options",
|
|
3
|
+
"description": "Run detox test options.",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"cli": "nx",
|
|
6
|
+
"presets": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Run tests",
|
|
9
|
+
"keys": ["detoxConfiguration", "loglevel", "reuse"]
|
|
10
|
+
}
|
|
11
|
+
],
|
|
6
12
|
"properties": {
|
|
7
13
|
"detoxConfiguration": {
|
|
8
14
|
"type": "string",
|
|
9
|
-
"description": "Select a device configuration from your defined configurations, if not supplied, and there's only one configuration, detox will default to it",
|
|
15
|
+
"description": "Select a device configuration from your defined configurations, if not supplied, and there's only one configuration, detox will default to it.",
|
|
10
16
|
"alias": "C",
|
|
11
17
|
"examples": [
|
|
12
18
|
"ios.sim.debug",
|
|
@@ -17,16 +23,16 @@
|
|
|
17
23
|
},
|
|
18
24
|
"buildTarget": {
|
|
19
25
|
"type": "string",
|
|
20
|
-
"description": "Target which builds the application"
|
|
26
|
+
"description": "Target which builds the application."
|
|
21
27
|
},
|
|
22
28
|
"configPath": {
|
|
23
29
|
"type": "string",
|
|
24
|
-
"description": "Specify Detox config file path. If not supplied, detox searches for
|
|
30
|
+
"description": "Specify Detox config file path. If not supplied, detox searches for `.detoxrc[.js]` or `detox` section in package.json.",
|
|
25
31
|
"alias": "cp"
|
|
26
32
|
},
|
|
27
33
|
"runnerConfig": {
|
|
28
34
|
"type": "string",
|
|
29
|
-
"description": "Test runner config file, defaults to
|
|
35
|
+
"description": "Test runner config file, defaults to `e2e/mocha.opts` for mocha and `e2e/config.json` for Jest.",
|
|
30
36
|
"alias": "o"
|
|
31
37
|
},
|
|
32
38
|
"deviceName": {
|
|
@@ -37,7 +43,7 @@
|
|
|
37
43
|
"loglevel": {
|
|
38
44
|
"type": "string",
|
|
39
45
|
"enum": ["fatal", "error", "warn", "info", "verbose", "trace"],
|
|
40
|
-
"description": "Log level: fatal
|
|
46
|
+
"description": "Log level: `fatal`, `error`, `warn`, `info`, `verbose`, `trace`.",
|
|
41
47
|
"alias": "l"
|
|
42
48
|
},
|
|
43
49
|
"debugSynchronization": {
|
|
@@ -53,17 +59,17 @@
|
|
|
53
59
|
"recordLogs": {
|
|
54
60
|
"type": "string",
|
|
55
61
|
"enum": ["failing", "all", "none"],
|
|
56
|
-
"description": "Save logs during each test to artifacts directory. Pass
|
|
62
|
+
"description": "Save logs during each test to artifacts directory. Pass `failing` to save logs of failing tests only."
|
|
57
63
|
},
|
|
58
64
|
"takeScreenshots": {
|
|
59
65
|
"type": "string",
|
|
60
66
|
"enum": ["manual", "failing", "all", "none"],
|
|
61
|
-
"description": "Save screenshots before and after each test to artifacts directory. Pass
|
|
67
|
+
"description": "Save screenshots before and after each test to artifacts directory. Pass `failing` to save screenshots of failing tests only. "
|
|
62
68
|
},
|
|
63
69
|
"recordVideos": {
|
|
64
70
|
"type": "string",
|
|
65
71
|
"enum": ["failing", "all", "none"],
|
|
66
|
-
"description": "Save screen recordings of each test to artifacts directory. Pass
|
|
72
|
+
"description": "Save screen recordings of each test to artifacts directory. Pass `failing` to save recordings of failing tests only."
|
|
67
73
|
},
|
|
68
74
|
"recordPerformance": {
|
|
69
75
|
"type": "string",
|
|
@@ -73,16 +79,16 @@
|
|
|
73
79
|
"recordTimeline": {
|
|
74
80
|
"type": "string",
|
|
75
81
|
"enum": ["all", "none"],
|
|
76
|
-
"description": "[Jest Only] Record tests and events timeline, for visual display on the chrome://tracing tool."
|
|
82
|
+
"description": "[Jest Only] Record tests and events timeline, for visual display on the `chrome://tracing` tool."
|
|
77
83
|
},
|
|
78
84
|
"captureViewHierarchy": {
|
|
79
85
|
"type": "string",
|
|
80
86
|
"enum": ["enabled", "disabled"],
|
|
81
|
-
"description": "[iOS Only] Capture
|
|
87
|
+
"description": "[iOS Only] Capture `*.uihierarchy` snapshots on view action errors and `device.captureViewHierarchy()` calls."
|
|
82
88
|
},
|
|
83
89
|
"retries": {
|
|
84
90
|
"type": "number",
|
|
85
|
-
"description": "[Jest Circus Only] Re-spawn the test runner for individual failing suite files until they pass, or
|
|
91
|
+
"description": "[Jest Circus Only] Re-spawn the test runner for individual failing suite files until they pass, or `<N>` times at least."
|
|
86
92
|
},
|
|
87
93
|
"reuse": {
|
|
88
94
|
"type": "boolean",
|
|
@@ -106,7 +112,7 @@
|
|
|
106
112
|
},
|
|
107
113
|
"gpu": {
|
|
108
114
|
"type": "boolean",
|
|
109
|
-
"description": "[Android Only] Launch Emulator with the specific
|
|
115
|
+
"description": "[Android Only] Launch Emulator with the specific `-gpu [gpu mode]` parameter."
|
|
110
116
|
},
|
|
111
117
|
"deviceLaunchArgs": {
|
|
112
118
|
"type": "string",
|
|
@@ -122,15 +128,15 @@
|
|
|
122
128
|
},
|
|
123
129
|
"useCustomLogger": {
|
|
124
130
|
"type": "boolean",
|
|
125
|
-
"description": "Use Detox' custom console-logging implementation, for logging Detox (non-device) logs. Disabling will fallback to
|
|
131
|
+
"description": "Use Detox' custom console-logging implementation, for logging Detox (non-device) logs. Disabling will fallback to Node.js / test-runner's implementation (e.g. Jest / Mocha)."
|
|
126
132
|
},
|
|
127
133
|
"forceAdbInstall": {
|
|
128
134
|
"type": "boolean",
|
|
129
|
-
"description": "Due to problems with the adb install command on Android, Detox resorts to a different scheme for install APK's. Setting true will disable that and force usage of adb install
|
|
135
|
+
"description": "Due to problems with the adb install command on Android, Detox resorts to a different scheme for install APK's. Setting true will disable that and force usage of `adb install`, instead."
|
|
130
136
|
},
|
|
131
137
|
"inspectBrk": {
|
|
132
138
|
"type": "boolean",
|
|
133
|
-
"description": "Uses node's
|
|
139
|
+
"description": "Uses node's `--inspect-brk` flag to let users debug the jest/mocha test runner"
|
|
134
140
|
}
|
|
135
141
|
},
|
|
136
142
|
"required": ["detoxConfiguration"]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"title": "Create Detox Configuration for the workspace",
|
|
4
|
+
"description": "Create Detox Configuration for the workspace.",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"project": {
|
|
@@ -13,16 +14,16 @@
|
|
|
13
14
|
},
|
|
14
15
|
"name": {
|
|
15
16
|
"type": "string",
|
|
16
|
-
"description": "Name of the E2E Project",
|
|
17
|
+
"description": "Name of the E2E Project.",
|
|
17
18
|
"$default": {
|
|
18
19
|
"$source": "argv",
|
|
19
20
|
"index": 0
|
|
20
21
|
},
|
|
21
|
-
"x-prompt": "What name would you like to use for the
|
|
22
|
+
"x-prompt": "What name would you like to use for the E2E project?"
|
|
22
23
|
},
|
|
23
24
|
"directory": {
|
|
24
25
|
"type": "string",
|
|
25
|
-
"description": "A directory where the project is placed"
|
|
26
|
+
"description": "A directory where the project is placed."
|
|
26
27
|
},
|
|
27
28
|
"linter": {
|
|
28
29
|
"description": "The tool to use for running lint checks.",
|
|
@@ -31,18 +32,18 @@
|
|
|
31
32
|
"default": "eslint"
|
|
32
33
|
},
|
|
33
34
|
"js": {
|
|
34
|
-
"description": "Generate JavaScript files rather than TypeScript files",
|
|
35
|
+
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
35
36
|
"type": "boolean",
|
|
36
37
|
"default": false
|
|
37
38
|
},
|
|
38
39
|
"skipFormat": {
|
|
39
|
-
"description": "Skip formatting files",
|
|
40
|
+
"description": "Skip formatting files.",
|
|
40
41
|
"type": "boolean",
|
|
41
42
|
"default": false
|
|
42
43
|
},
|
|
43
44
|
"setParserOptionsProject": {
|
|
44
45
|
"type": "boolean",
|
|
45
|
-
"description": "Whether or not to configure the ESLint
|
|
46
|
+
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
46
47
|
"default": false
|
|
47
48
|
}
|
|
48
49
|
},
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"title": "Add Detox Schematics",
|
|
4
|
+
"description": "Add Detox Schematics.",
|
|
4
5
|
"type": "object",
|
|
5
6
|
"properties": {
|
|
6
7
|
"skipFormat": {
|
|
7
|
-
"description": "Skip formatting files",
|
|
8
|
+
"description": "Skip formatting files.",
|
|
8
9
|
"type": "boolean",
|
|
9
10
|
"default": false
|
|
10
11
|
}
|
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.10.0-beta.
|
|
4
|
+
exports.nxVersion = '13.10.0-beta.7';
|
|
5
5
|
exports.detoxVersion = '19.5.7';
|
|
6
6
|
exports.testingLibraryJestDom = '5.16.2';
|
|
7
7
|
//# sourceMappingURL=versions.js.map
|