@nx/detox 16.6.0-beta.3 → 16.6.0-beta.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/detox",
|
|
3
|
-
"version": "16.6.0-beta.
|
|
3
|
+
"version": "16.6.0-beta.4",
|
|
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": [
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"main": "./index",
|
|
26
26
|
"types": "index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@nrwl/detox": "16.6.0-beta.
|
|
29
|
-
"@nx/devkit": "16.6.0-beta.
|
|
30
|
-
"@nx/jest": "16.6.0-beta.
|
|
31
|
-
"@nx/js": "16.6.0-beta.
|
|
32
|
-
"@nx/linter": "16.6.0-beta.
|
|
33
|
-
"@nx/react": "16.6.0-beta.
|
|
28
|
+
"@nrwl/detox": "16.6.0-beta.4",
|
|
29
|
+
"@nx/devkit": "16.6.0-beta.4",
|
|
30
|
+
"@nx/jest": "16.6.0-beta.4",
|
|
31
|
+
"@nx/js": "16.6.0-beta.4",
|
|
32
|
+
"@nx/linter": "16.6.0-beta.4",
|
|
33
|
+
"@nx/react": "16.6.0-beta.4"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"detox": "^20.9.0"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "b1a9ae7ce76697019b26ec9a172005840cca8da6"
|
|
48
48
|
}
|
|
@@ -20,11 +20,6 @@
|
|
|
20
20
|
"binaryPath": "<%= offsetFromRoot %><%= appRoot %>/ios/build/Build/Products/Release-iphonesimulator/<%= appClassName %>.app"
|
|
21
21
|
},
|
|
22
22
|
<% if (framework === 'expo') { %>
|
|
23
|
-
"ios.eas": {
|
|
24
|
-
"type": "ios.app",
|
|
25
|
-
"build": "<%= exec %> nx run <%= appFileName %>:download --platform ios --distribution simulator --output=<%= offsetFromRoot %><%= appRoot %>/dist/",
|
|
26
|
-
"binaryPath": "<%= offsetFromRoot %><%= appRoot %>/dist/<%= appExpoName %>.app"
|
|
27
|
-
},
|
|
28
23
|
"ios.local": {
|
|
29
24
|
"type": "ios.app",
|
|
30
25
|
"build": "<%= exec %> nx run <%= appFileName %>:build --platform ios --profile preview --wait --local --no-interactive --output=<%= offsetFromRoot %><%= appRoot %>/dist/<%= appExpoName %>.tar.gz",
|
|
@@ -42,11 +37,6 @@
|
|
|
42
37
|
"binaryPath": "<%= offsetFromRoot %><%= appRoot %>/android/app/build/outputs/apk/release/app-release.apk"
|
|
43
38
|
},
|
|
44
39
|
<% if (framework === 'expo') { %>
|
|
45
|
-
"android.eas": {
|
|
46
|
-
"type": "android.apk",
|
|
47
|
-
"build": "<%= exec %> nx run <%= appFileName %>:download --platform android --distribution simulator --output=<%= offsetFromRoot %><%= appRoot %>/dist/",
|
|
48
|
-
"binaryPath": "<%= offsetFromRoot %><%= appRoot %>/dist/<%= appExpoName %>.apk"
|
|
49
|
-
},
|
|
50
40
|
"android.local": {
|
|
51
41
|
"type": "android.apk",
|
|
52
42
|
"build": "<%= exec %> nx run <%= appFileName %>:build --platform android --profile preview --wait --local --no-interactive --output=<%= offsetFromRoot %><%= appRoot %>/dist/<%= appExpoName %>.apk",
|
|
@@ -78,10 +68,6 @@
|
|
|
78
68
|
"app": "ios.debug"
|
|
79
69
|
},
|
|
80
70
|
<% if (framework === 'expo') { %>
|
|
81
|
-
"ios.sim.eas": {
|
|
82
|
-
"device": "simulator",
|
|
83
|
-
"app": "ios.eas"
|
|
84
|
-
},
|
|
85
71
|
"ios.sim.local": {
|
|
86
72
|
"device": "simulator",
|
|
87
73
|
"app": "ios.local"
|
|
@@ -96,10 +82,6 @@
|
|
|
96
82
|
"app": "android.debug"
|
|
97
83
|
},
|
|
98
84
|
<% if (framework === 'expo') { %>
|
|
99
|
-
"android.emu.eas": {
|
|
100
|
-
"device": "emulator",
|
|
101
|
-
"app": "android.eas"
|
|
102
|
-
},
|
|
103
85
|
"android.emu.local": {
|
|
104
86
|
"device": "emulator",
|
|
105
87
|
"app": "android.local"
|
|
@@ -13,9 +13,6 @@ export declare function expoBuildTarget(platform: 'ios.sim' | 'android.emu'): {
|
|
|
13
13
|
detoxConfiguration: string;
|
|
14
14
|
};
|
|
15
15
|
configurations: {
|
|
16
|
-
local: {
|
|
17
|
-
detoxConfiguration: string;
|
|
18
|
-
};
|
|
19
16
|
bare: {
|
|
20
17
|
detoxConfiguration: string;
|
|
21
18
|
};
|
|
@@ -42,10 +39,6 @@ export declare function expoTestTarget(platform: 'ios.sim' | 'android.emu', e2eN
|
|
|
42
39
|
buildTarget: string;
|
|
43
40
|
};
|
|
44
41
|
configurations: {
|
|
45
|
-
local: {
|
|
46
|
-
detoxConfiguration: string;
|
|
47
|
-
buildTarget: string;
|
|
48
|
-
};
|
|
49
42
|
bare: {
|
|
50
43
|
detoxConfiguration: string;
|
|
51
44
|
buildTarget: string;
|
|
@@ -17,12 +17,9 @@ exports.reactNativeBuildTarget = reactNativeBuildTarget;
|
|
|
17
17
|
function expoBuildTarget(platform) {
|
|
18
18
|
return {
|
|
19
19
|
options: {
|
|
20
|
-
detoxConfiguration: `${platform}.
|
|
20
|
+
detoxConfiguration: `${platform}.local`,
|
|
21
21
|
},
|
|
22
22
|
configurations: {
|
|
23
|
-
local: {
|
|
24
|
-
detoxConfiguration: `${platform}.local`,
|
|
25
|
-
},
|
|
26
23
|
bare: {
|
|
27
24
|
detoxConfiguration: `${platform}.debug`,
|
|
28
25
|
},
|
|
@@ -53,14 +50,10 @@ function expoTestTarget(platform, e2eName) {
|
|
|
53
50
|
const buildPlatform = platform === 'ios.sim' ? 'ios' : 'android';
|
|
54
51
|
return {
|
|
55
52
|
options: {
|
|
56
|
-
detoxConfiguration: `${platform}.
|
|
53
|
+
detoxConfiguration: `${platform}.local`,
|
|
57
54
|
buildTarget: `${e2eName}:build-${buildPlatform}`,
|
|
58
55
|
},
|
|
59
56
|
configurations: {
|
|
60
|
-
local: {
|
|
61
|
-
detoxConfiguration: `${platform}.local`,
|
|
62
|
-
buildTarget: `${e2eName}:build-${buildPlatform}:local`,
|
|
63
|
-
},
|
|
64
57
|
bare: {
|
|
65
58
|
detoxConfiguration: `${platform}.debug`,
|
|
66
59
|
buildTarget: `${e2eName}:build-${buildPlatform}:bare`,
|