@nrwl/detox 14.7.6-beta.0 → 14.7.6-beta.6

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/CHANGELOG.md CHANGED
@@ -3,6 +3,6 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [14.7.6-beta.0](https://github.com/nrwl/nx/compare/14.7.5...14.7.6-beta.0) (2022-09-13)
6
+ ## [14.7.6-beta.6](https://github.com/nrwl/nx/compare/14.7.5...14.7.6-beta.6) (2022-09-17)
7
7
 
8
8
  **Note:** Version bump only for package @nrwl/detox
package/migrations.json CHANGED
@@ -156,6 +156,15 @@
156
156
  "alwaysAddToPackageJson": false
157
157
  }
158
158
  }
159
+ },
160
+ "14.7.4": {
161
+ "version": "14.7.4-beta.0",
162
+ "packages": {
163
+ "detox": {
164
+ "version": "19.12.1",
165
+ "alwaysAddToPackageJson": false
166
+ }
167
+ }
159
168
  }
160
169
  }
161
170
  }
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@nrwl/detox",
3
- "version": "14.7.6-beta.0",
4
- "description": "The Nx Plugin for Detox that contains executors and generators for allowing your workspace to use the powerful Detox integration testing capabilities.",
3
+ "version": "14.7.6-beta.6",
4
+ "private": false,
5
+ "description": "The Nx Plugin for Detox contains executors and generators for allowing your workspace to use the powerful Detox integration testing capabilities.",
5
6
  "keywords": [
6
7
  "Monorepo",
7
8
  "React",
@@ -24,15 +25,15 @@
24
25
  "main": "index.js",
25
26
  "types": "index.d.ts",
26
27
  "dependencies": {
27
- "@nrwl/devkit": "14.7.6-beta.0",
28
- "@nrwl/jest": "14.7.6-beta.0",
29
- "@nrwl/linter": "14.7.6-beta.0",
30
- "@nrwl/react": "14.7.6-beta.0",
31
- "@nrwl/workspace": "14.7.6-beta.0",
28
+ "@nrwl/devkit": "14.7.6-beta.6",
29
+ "@nrwl/jest": "14.7.6-beta.6",
30
+ "@nrwl/linter": "14.7.6-beta.6",
31
+ "@nrwl/react": "14.7.6-beta.6",
32
+ "@nrwl/workspace": "14.7.6-beta.6",
32
33
  "chalk": "^4.1.0"
33
34
  },
34
35
  "peerDependencies": {
35
- "detox": "^19.9.3"
36
+ "detox": "^19.12.1"
36
37
  },
37
38
  "builders": "./executors.json",
38
39
  "ng-update": {
@@ -40,6 +41,9 @@
40
41
  "migrations": "./migrations.json"
41
42
  },
42
43
  "schematics": "./generators.json",
44
+ "publishConfig": {
45
+ "access": "public"
46
+ },
43
47
  "typings": "./index.d.ts",
44
- "gitHead": "b6426fdb13c2dc5af4f1226de7413b295315c67c"
48
+ "gitHead": "08e7588d153cb8e8711a2998be7b665d2fa3940d"
45
49
  }
@@ -89,11 +89,11 @@
89
89
  "app": "android.debug"
90
90
  },
91
91
  <% if (framework === 'expo') { %>
92
- "android.sim.eas": {
92
+ "android.emu.eas": {
93
93
  "device": "simulator",
94
94
  "app": "android.eas"
95
95
  },
96
- "android.sim.local": {
96
+ "android.emu.local": {
97
97
  "device": "simulator",
98
98
  "app": "android.local"
99
99
  },
@@ -1,3 +1,4 @@
1
+ // setup from https://github.com/wix/Detox/blob/master/docs/Guide.Jest.md#e2eenvironmentjs
1
2
  const {
2
3
  DetoxCircusEnvironment,
3
4
  SpecReporter,
@@ -17,17 +17,17 @@ exports.addProject = addProject;
17
17
  function getTargets(options) {
18
18
  const targets = {};
19
19
  targets['build-ios'] = Object.assign({ executor: '@nrwl/detox:build' }, (options.framework === 'react-native'
20
- ? (0, get_targets_1.reactNativeBuildTarget)('ios')
21
- : (0, get_targets_1.expoBuildTarget)('ios')));
20
+ ? (0, get_targets_1.reactNativeBuildTarget)('ios.sim')
21
+ : (0, get_targets_1.expoBuildTarget)('ios.sim')));
22
22
  targets['test-ios'] = Object.assign({ executor: '@nrwl/detox:test' }, (options.framework === 'react-native'
23
- ? (0, get_targets_1.reactNativeTestTarget)('ios', options.name)
24
- : (0, get_targets_1.expoTestTarget)('ios', options.name)));
23
+ ? (0, get_targets_1.reactNativeTestTarget)('ios.sim', options.name)
24
+ : (0, get_targets_1.expoTestTarget)('ios.sim', options.name)));
25
25
  targets['build-android'] = Object.assign({ executor: '@nrwl/detox:build' }, (options.framework === 'react-native'
26
- ? (0, get_targets_1.reactNativeBuildTarget)('android')
27
- : (0, get_targets_1.expoBuildTarget)('android')));
26
+ ? (0, get_targets_1.reactNativeBuildTarget)('android.emu')
27
+ : (0, get_targets_1.expoBuildTarget)('android.emu')));
28
28
  targets['test-android'] = Object.assign({ executor: '@nrwl/detox:test' }, (options.framework === 'react-native'
29
- ? (0, get_targets_1.reactNativeTestTarget)('android', options.name)
30
- : (0, get_targets_1.expoTestTarget)('android', options.name)));
29
+ ? (0, get_targets_1.reactNativeTestTarget)('android.emu', options.name)
30
+ : (0, get_targets_1.expoTestTarget)('android.emu', options.name)));
31
31
  return targets;
32
32
  }
33
33
  //# sourceMappingURL=add-project.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-project.js","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/add-project.ts"],"names":[],"mappings":";;;AAAA,yCAIsB;AACtB,+CAKuB;AAGvB,SAAgB,UAAU,CAAC,IAAU,EAAE,OAAyB;IAC9D,IAAA,gCAAuB,EAAC,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE;QACjD,IAAI,EAAE,OAAO,CAAC,WAAW;QACzB,UAAU,EAAE,GAAG,OAAO,CAAC,WAAW,MAAM;QACxC,WAAW,EAAE,aAAa;QAC1B,OAAO,oBAAO,UAAU,CAAC,OAAO,CAAC,CAAE;QACnC,IAAI,EAAE,EAAE;QACR,oBAAoB,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;KACtE,CAAC,CAAC;AACL,CAAC;AATD,gCASC;AAED,SAAS,UAAU,CAAC,OAAyB;IAC3C,MAAM,OAAO,GAA2C,EAAE,CAAC;IAE3D,OAAO,CAAC,WAAW,CAAC,mBAClB,QAAQ,EAAE,mBAAmB,IAC1B,CAAC,OAAO,CAAC,SAAS,KAAK,cAAc;QACtC,CAAC,CAAC,IAAA,oCAAsB,EAAC,KAAK,CAAC;QAC/B,CAAC,CAAC,IAAA,6BAAe,EAAC,KAAK,CAAC,CAAC,CAC5B,CAAC;IAEF,OAAO,CAAC,UAAU,CAAC,mBACjB,QAAQ,EAAE,kBAAkB,IACzB,CAAC,OAAO,CAAC,SAAS,KAAK,cAAc;QACtC,CAAC,CAAC,IAAA,mCAAqB,EAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC;QAC5C,CAAC,CAAC,IAAA,4BAAc,EAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CACzC,CAAC;IAEF,OAAO,CAAC,eAAe,CAAC,mBACtB,QAAQ,EAAE,mBAAmB,IAC1B,CAAC,OAAO,CAAC,SAAS,KAAK,cAAc;QACtC,CAAC,CAAC,IAAA,oCAAsB,EAAC,SAAS,CAAC;QACnC,CAAC,CAAC,IAAA,6BAAe,EAAC,SAAS,CAAC,CAAC,CAChC,CAAC;IAEF,OAAO,CAAC,cAAc,CAAC,mBACrB,QAAQ,EAAE,kBAAkB,IACzB,CAAC,OAAO,CAAC,SAAS,KAAK,cAAc;QACtC,CAAC,CAAC,IAAA,mCAAqB,EAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC;QAChD,CAAC,CAAC,IAAA,4BAAc,EAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAC7C,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC"}
1
+ {"version":3,"file":"add-project.js","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/add-project.ts"],"names":[],"mappings":";;;AAAA,yCAIsB;AACtB,+CAKuB;AAGvB,SAAgB,UAAU,CAAC,IAAU,EAAE,OAAyB;IAC9D,IAAA,gCAAuB,EAAC,I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S,KAAK,cAAc;QACtC,CAAC,CAAC,IAAA,mCAAqB,EAAC,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC;QACpD,CAAC,CAAC,IAAA,4BAAc,EAAC,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CACjD,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare function reactNativeBuildTarget(platform: 'ios' | 'android'): {
1
+ export declare function reactNativeBuildTarget(platform: 'ios.sim' | 'android.emu'): {
2
2
  options: {
3
3
  detoxConfiguration: string;
4
4
  };
@@ -8,7 +8,7 @@ export declare function reactNativeBuildTarget(platform: 'ios' | 'android'): {
8
8
  };
9
9
  };
10
10
  };
11
- export declare function expoBuildTarget(platform: string): {
11
+ export declare function expoBuildTarget(platform: 'ios.sim' | 'android.emu'): {
12
12
  options: {
13
13
  detoxConfiguration: string;
14
14
  };
@@ -24,7 +24,7 @@ export declare function expoBuildTarget(platform: string): {
24
24
  };
25
25
  };
26
26
  };
27
- export declare function reactNativeTestTarget(platform: string, name: string): {
27
+ export declare function reactNativeTestTarget(platform: 'ios.sim' | 'android.emu', name: string): {
28
28
  options: {
29
29
  detoxConfiguration: string;
30
30
  buildTarget: string;
@@ -36,7 +36,7 @@ export declare function reactNativeTestTarget(platform: string, name: string): {
36
36
  };
37
37
  };
38
38
  };
39
- export declare function expoTestTarget(platform: string, name: string): {
39
+ export declare function expoTestTarget(platform: 'ios.sim' | 'android.emu', name: string): {
40
40
  options: {
41
41
  detoxConfiguration: string;
42
42
  buildTarget: string;
@@ -4,11 +4,11 @@ exports.expoTestTarget = exports.reactNativeTestTarget = exports.expoBuildTarget
4
4
  function reactNativeBuildTarget(platform) {
5
5
  return {
6
6
  options: {
7
- detoxConfiguration: `${platform}.sim.debug`,
7
+ detoxConfiguration: `${platform}.debug`,
8
8
  },
9
9
  configurations: {
10
10
  production: {
11
- detoxConfiguration: `${platform}.sim.release`,
11
+ detoxConfiguration: `${platform}.release`,
12
12
  },
13
13
  },
14
14
  };
@@ -17,17 +17,17 @@ exports.reactNativeBuildTarget = reactNativeBuildTarget;
17
17
  function expoBuildTarget(platform) {
18
18
  return {
19
19
  options: {
20
- detoxConfiguration: `${platform}.sim.debug`,
20
+ detoxConfiguration: `${platform}.debug`,
21
21
  },
22
22
  configurations: {
23
23
  local: {
24
- detoxConfiguration: `${platform}.sim.local`,
24
+ detoxConfiguration: `${platform}.local`,
25
25
  },
26
26
  bare: {
27
- detoxConfiguration: `${platform}.sim.debug`,
27
+ detoxConfiguration: `${platform}.debug`,
28
28
  },
29
29
  production: {
30
- detoxConfiguration: `${platform}.sim.release`,
30
+ detoxConfiguration: `${platform}.release`,
31
31
  },
32
32
  },
33
33
  };
@@ -36,12 +36,12 @@ exports.expoBuildTarget = expoBuildTarget;
36
36
  function reactNativeTestTarget(platform, name) {
37
37
  return {
38
38
  options: {
39
- detoxConfiguration: `${platform}.sim.debug`,
39
+ detoxConfiguration: `${platform}.debug`,
40
40
  buildTarget: `${name}:build-ios`,
41
41
  },
42
42
  configurations: {
43
43
  production: {
44
- detoxConfiguration: `${platform}.sim.release`,
44
+ detoxConfiguration: `${platform}.release`,
45
45
  buildTarget: `${name}:build-ios:production`,
46
46
  },
47
47
  },
@@ -51,20 +51,20 @@ exports.reactNativeTestTarget = reactNativeTestTarget;
51
51
  function expoTestTarget(platform, name) {
52
52
  return {
53
53
  options: {
54
- detoxConfiguration: `${platform}.sim.eas`,
54
+ detoxConfiguration: `${platform}.eas`,
55
55
  buildTarget: `${name}:build-ios`,
56
56
  },
57
57
  configurations: {
58
58
  local: {
59
- detoxConfiguration: `${platform}.sim.local`,
59
+ detoxConfiguration: `${platform}.local`,
60
60
  buildTarget: `${name}:build-ios:local`,
61
61
  },
62
62
  bare: {
63
- detoxConfiguration: `${platform}.sim.debug`,
63
+ detoxConfiguration: `${platform}.debug`,
64
64
  buildTarget: `${name}:build-ios:bare`,
65
65
  },
66
66
  production: {
67
- detoxConfiguration: `${platform}.sim.release`,
67
+ detoxConfiguration: `${platform}.release`,
68
68
  buildTarget: `${name}:build-ios:production`,
69
69
  },
70
70
  },
@@ -1 +1 @@
1
- {"version":3,"file":"get-targets.js","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/get-targets.ts"],"names":[],"mappings":";;;AAAA,SAAgB,sBAAsB,CAAC,QAA2B;IAChE,OAAO;QACL,OAAO,EAAE;YACP,kBAAkB,EAAE,GAAG,QAAQ,YAAY;SAC5C;QACD,cAAc,EAAE;YACd,UAAU,EAAE;gBACV,kBAAkB,EAAE,GAAG,QAAQ,cAAc;aAC9C;SACF;KACF,CAAC;AACJ,CAAC;AAXD,wDAWC;AAED,SAAgB,eAAe,CAAC,QAAgB;IAC9C,OAAO;QACL,OAAO,EAAE;YACP,kBAAkB,EAAE,GAAG,QAAQ,YAAY;SAC5C;QACD,cAAc,EAAE;YACd,KAAK,EAAE;gBACL,kBAAkB,EAAE,GAAG,QAAQ,YAAY;aAC5C;YACD,IAAI,EAAE;gBACJ,kBAAkB,EAAE,GAAG,QAAQ,YAAY;aAC5C;YACD,UAAU,EAAE;gBACV,kBAAkB,EAAE,GAAG,QAAQ,cAAc;aAC9C;SACF;KACF,CAAC;AACJ,CAAC;AAjBD,0CAiBC;AAED,SAAgB,qBAAqB,CAAC,QAAgB,EAAE,IAAY;IAClE,OAAO;QACL,OAAO,EAAE;YACP,kBAAkB,EAAE,GAAG,QAAQ,YAAY;YAC3C,WAAW,EAAE,GAAG,IAAI,YAAY;SACjC;QACD,cAAc,EAAE;YACd,UAAU,EAAE;gBACV,kBAAkB,EAAE,GAAG,QAAQ,cAAc;gBAC7C,WAAW,EAAE,GAAG,IAAI,uBAAuB;aAC5C;SACF;KACF,CAAC;AACJ,CAAC;AAbD,sDAaC;AAED,SAAgB,cAAc,CAAC,QAAgB,EAAE,IAAY;IAC3D,OAAO;QACL,OAAO,EAAE;YACP,kBAAkB,EAAE,GAAG,QAAQ,UAAU;YACzC,WAAW,EAAE,GAAG,IAAI,YAAY;SACjC;QACD,cAAc,EAAE;YACd,KAAK,EAAE;gBACL,kBAAkB,EAAE,GAAG,QAAQ,YAAY;gBAC3C,WAAW,EAAE,GAAG,IAAI,kBAAkB;aACvC;YACD,IAAI,EAAE;gBACJ,kBAAkB,EAAE,GAAG,QAAQ,YAAY;gBAC3C,WAAW,EAAE,GAAG,IAAI,iBAAiB;aACtC;YACD,UAAU,EAAE;gBACV,kBAAkB,EAAE,GAAG,QAAQ,cAAc;gBAC7C,WAAW,EAAE,GAAG,IAAI,uBAAuB;aAC5C;SACF;KACF,CAAC;AACJ,CAAC;AArBD,wCAqBC"}
1
+ {"version":3,"file":"get-targets.js","sourceRoot":"","sources":["../../../../../../../packages/detox/src/generators/application/lib/get-targets.ts"],"names":[],"mappings":";;;AAAA,SAAgB,sBAAsB,CAAC,QAAmC;IACxE,OAAO;QACL,OAAO,EAAE;YACP,kBAAkB,EAAE,GAAG,QAAQ,QAAQ;SACxC;QACD,cAAc,EAAE;YACd,UAAU,EAAE;gBACV,kBAAkB,EAAE,GAAG,QAAQ,UAAU;aAC1C;SACF;KACF,CAAC;AACJ,CAAC;AAXD,wDAWC;AAED,SAAgB,eAAe,CAAC,QAAmC;IACjE,OAAO;QACL,OAAO,EAAE;YACP,kBAAkB,EAAE,GAAG,QAAQ,QAAQ;SACxC;QACD,cAAc,EAAE;YACd,KAAK,EAAE;gBACL,kBAAkB,EAAE,GAAG,QAAQ,QAAQ;aACxC;YACD,IAAI,EAAE;gBACJ,kBAAkB,EAAE,GAAG,QAAQ,QAAQ;aACxC;YACD,UAAU,EAAE;gBACV,kBAAkB,EAAE,GAAG,QAAQ,UAAU;aAC1C;SACF;KACF,CAAC;AACJ,CAAC;AAjBD,0CAiBC;AAED,SAAgB,qBAAqB,CACnC,QAAmC,EACnC,IAAY;IAEZ,OAAO;QACL,OAAO,EAAE;YACP,kBAAkB,EAAE,GAAG,QAAQ,QAAQ;YACvC,WAAW,EAAE,GAAG,IAAI,YAAY;SACjC;QACD,cAAc,EAAE;YACd,UAAU,EAAE;gBACV,kBAAkB,EAAE,GAAG,QAAQ,UAAU;gBACzC,WAAW,EAAE,GAAG,IAAI,uBAAuB;aAC5C;SACF;KACF,CAAC;AACJ,CAAC;AAhBD,sDAgBC;AAED,SAAgB,cAAc,CAC5B,QAAmC,EACnC,IAAY;IAEZ,OAAO;QACL,OAAO,EAAE;YACP,kBAAkB,EAAE,GAAG,QAAQ,MAAM;YACrC,WAAW,EAAE,GAAG,IAAI,YAAY;SACjC;QACD,cAAc,EAAE;YACd,KAAK,EAAE;gBACL,kBAAkB,EAAE,GAAG,QAAQ,QAAQ;gBACvC,WAAW,EAAE,GAAG,IAAI,kBAAkB;aACvC;YACD,IAAI,EAAE;gBACJ,kBAAkB,EAAE,GAAG,QAAQ,QAAQ;gBACvC,WAAW,EAAE,GAAG,IAAI,iBAAiB;aACtC;YACD,UAAU,EAAE;gBACV,kBAAkB,EAAE,GAAG,QAAQ,UAAU;gBACzC,WAAW,EAAE,GAAG,IAAI,uBAAuB;aAC5C;SACF;KACF,CAAC;AACJ,CAAC;AAxBD,wCAwBC"}
@@ -1,3 +1,3 @@
1
1
  export declare const nxVersion: any;
2
- export declare const detoxVersion = "19.10.0";
2
+ export declare const detoxVersion = "19.12.1";
3
3
  export declare const testingLibraryJestDom = "5.16.5";
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.testingLibraryJestDom = exports.detoxVersion = exports.nxVersion = void 0;
4
4
  exports.nxVersion = require('../../package.json').version;
5
- exports.detoxVersion = '19.10.0';
5
+ exports.detoxVersion = '19.12.1';
6
6
  exports.testingLibraryJestDom = '5.16.5';
7
7
  //# sourceMappingURL=versions.js.map