@nx/detox 17.0.0-beta.1 → 17.0.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/generators.json CHANGED
@@ -2,21 +2,6 @@
2
2
  "name": "Nx Detox",
3
3
  "version": "0.1",
4
4
  "extends": ["@nx/workspace"],
5
- "schematics": {
6
- "init": {
7
- "factory": "./src/generators/init/init#detoxInitSchematic",
8
- "schema": "./src/generators/init/schema.json",
9
- "description": "Initialize the `@nrwl/detox` plugin.",
10
- "hidden": true
11
- },
12
- "application": {
13
- "factory": "./src/generators/application/application#detoxApplicationSchematic",
14
- "schema": "./src/generators/application/schema.json",
15
- "aliases": ["app"],
16
- "x-type": "application",
17
- "description": "Create a Detox application."
18
- }
19
- },
20
5
  "generators": {
21
6
  "init": {
22
7
  "factory": "./src/generators/init/init#detoxInitGenerator",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/detox",
3
- "version": "17.0.0-beta.1",
3
+ "version": "17.0.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,23 +25,23 @@
25
25
  "main": "./index.js",
26
26
  "types": "index.d.ts",
27
27
  "dependencies": {
28
- "@nx/devkit": "17.0.0-beta.1",
29
- "@nx/jest": "17.0.0-beta.1",
30
- "@nx/js": "17.0.0-beta.1",
31
- "@nx/linter": "17.0.0-beta.1",
32
- "@nx/react": "17.0.0-beta.1",
28
+ "@nx/devkit": "17.0.0-beta.4",
29
+ "@nx/jest": "17.0.0-beta.4",
30
+ "@nx/js": "17.0.0-beta.4",
31
+ "@nx/linter": "17.0.0-beta.4",
32
+ "@nx/react": "17.0.0-beta.4",
33
33
  "tslib": "^2.3.0",
34
- "@nrwl/detox": "17.0.0-beta.1"
34
+ "@nrwl/detox": "17.0.0-beta.4"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "detox": "^20.9.0"
38
38
  },
39
- "builders": "./executors.json",
39
+ "executors": "./executors.json",
40
40
  "ng-update": {
41
41
  "requirements": {},
42
42
  "migrations": "./migrations.json"
43
43
  },
44
- "schematics": "./generators.json",
44
+ "generators": "./generators.json",
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
@@ -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
- export declare const detoxApplicationSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.detoxApplicationSchematic = exports.detoxApplicationGeneratorInternal = exports.detoxApplicationGenerator = void 0;
3
+ exports.detoxApplicationGeneratorInternal = exports.detoxApplicationGenerator = void 0;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const init_1 = require("../init/init");
6
6
  const add_git_ignore_entry_1 = require("./lib/add-git-ignore-entry");
@@ -32,4 +32,3 @@ async function detoxApplicationGeneratorInternal(host, schema) {
32
32
  }
33
33
  exports.detoxApplicationGeneratorInternal = detoxApplicationGeneratorInternal;
34
34
  exports.default = detoxApplicationGenerator;
35
- exports.detoxApplicationSchematic = (0, devkit_1.convertNxGenerator)(detoxApplicationGenerator);
@@ -3,4 +3,3 @@ import { Schema } from './schema';
3
3
  export declare function detoxInitGenerator(host: Tree, schema: Schema): Promise<GeneratorCallback>;
4
4
  export declare function updateDependencies(host: Tree, schema: Schema): GeneratorCallback;
5
5
  export default detoxInitGenerator;
6
- export declare const detoxInitSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.detoxInitSchematic = exports.updateDependencies = exports.detoxInitGenerator = void 0;
3
+ exports.updateDependencies = exports.detoxInitGenerator = void 0;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const versions_1 = require("@nx/jest/src/utils/versions");
6
6
  const versions_2 = require("../../utils/versions");
@@ -33,4 +33,3 @@ function moveDependency(host) {
33
33
  return (0, devkit_1.removeDependenciesFromPackageJson)(host, ['@nx/detox'], []);
34
34
  }
35
35
  exports.default = detoxInitGenerator;
36
- exports.detoxInitSchematic = (0, devkit_1.convertNxGenerator)(detoxInitGenerator);
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const devkit_1 = require("@nx/devkit");
4
- const build_impl_1 = require("./build.impl");
5
- exports.default = (0, devkit_1.convertNxExecutor)(build_impl_1.default);
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const devkit_1 = require("@nx/devkit");
4
- const test_impl_1 = require("./test.impl");
5
- exports.default = (0, devkit_1.convertNxExecutor)(test_impl_1.default);