@nx/cypress 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/executors.json +0 -7
- package/generators.json +0 -31
- package/package.json +7 -7
- package/src/generators/component-configuration/component-configuration.d.ts +0 -1
- package/src/generators/component-configuration/component-configuration.js +1 -2
- package/src/generators/configuration/configuration.d.ts +0 -1
- package/src/generators/configuration/configuration.js +1 -2
- package/src/generators/cypress-project/cypress-project.d.ts +0 -1
- package/src/generators/cypress-project/cypress-project.js +1 -2
- package/src/generators/init/init.d.ts +0 -1
- package/src/generators/init/init.js +1 -2
- package/src/executors/cypress/compat.d.ts +0 -2
- package/src/executors/cypress/compat.js +0 -5
package/executors.json
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"builders": {
|
|
3
|
-
"cypress": {
|
|
4
|
-
"implementation": "./src/executors/cypress/compat",
|
|
5
|
-
"schema": "./src/executors/cypress/schema.json",
|
|
6
|
-
"description": "Run Cypress E2E tests."
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
2
|
"executors": {
|
|
10
3
|
"cypress": {
|
|
11
4
|
"implementation": "./src/executors/cypress/cypress.impl",
|
package/generators.json
CHANGED
|
@@ -1,37 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Nx Cypress",
|
|
3
3
|
"version": "0.1",
|
|
4
|
-
"schematics": {
|
|
5
|
-
"init": {
|
|
6
|
-
"factory": "./src/generators/init/init#cypressInitSchematic",
|
|
7
|
-
"schema": "./src/generators/init/schema.json",
|
|
8
|
-
"description": "Initialize the `@nrwl/cypress` plugin.",
|
|
9
|
-
"aliases": ["ng-add"],
|
|
10
|
-
"hidden": true
|
|
11
|
-
},
|
|
12
|
-
"cypress-project": {
|
|
13
|
-
"factory": "./src/generators/cypress-project/cypress-project#cypressProjectSchematic",
|
|
14
|
-
"schema": "./src/generators/cypress-project/schema.json",
|
|
15
|
-
"description": "Add a Cypress E2E Project."
|
|
16
|
-
},
|
|
17
|
-
"configuration": {
|
|
18
|
-
"aliases": ["cypress-e2e-configuration", "e2e", "e2e-config"],
|
|
19
|
-
"factory": "./src/generators/configuration/configuration#compat",
|
|
20
|
-
"schema": "./src/generators/configuration/schema.json",
|
|
21
|
-
"description": "Add a Cypress E2E Configuration to an existing project."
|
|
22
|
-
},
|
|
23
|
-
"component-configuration": {
|
|
24
|
-
"aliases": ["cypress-component-configuration"],
|
|
25
|
-
"factory": "./src/generators/component-configuration/component-configuration#compat",
|
|
26
|
-
"schema": "./src/generators/component-configuration/schema.json",
|
|
27
|
-
"description": "Set up Cypress Component Test for a project"
|
|
28
|
-
},
|
|
29
|
-
"migrate-to-cypress-11": {
|
|
30
|
-
"factory": "./src/generators/migrate-to-cypress-11/migrate-to-cypress-11#migrateCypressProject",
|
|
31
|
-
"schema": "./src/generators/migrate-to-cypress-11/schema.json",
|
|
32
|
-
"description": "Migrate existing Cypress e2e projects to Cypress v11"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
4
|
"generators": {
|
|
36
5
|
"init": {
|
|
37
6
|
"factory": "./src/generators/init/init#cypressInitGenerator",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/cypress",
|
|
3
|
-
"version": "17.0.0-beta.
|
|
3
|
+
"version": "17.0.0-beta.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Cypress contains executors and generators allowing your workspace to use the powerful Cypress integration testing capabilities.",
|
|
6
6
|
"repository": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"url": "https://github.com/nrwl/nx/issues"
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://nx.dev",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
30
|
+
"generators": "./generators.json",
|
|
31
|
+
"executors": "./executors.json",
|
|
32
32
|
"ng-update": {
|
|
33
33
|
"requirements": {},
|
|
34
34
|
"migrations": "./migrations.json"
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"detect-port": "^1.5.1",
|
|
39
39
|
"semver": "7.5.3",
|
|
40
40
|
"tslib": "^2.3.0",
|
|
41
|
-
"@nx/devkit": "17.0.0-beta.
|
|
42
|
-
"@nx/js": "17.0.0-beta.
|
|
43
|
-
"@nx/linter": "17.0.0-beta.
|
|
44
|
-
"@nrwl/cypress": "17.0.0-beta.
|
|
41
|
+
"@nx/devkit": "17.0.0-beta.4",
|
|
42
|
+
"@nx/js": "17.0.0-beta.4",
|
|
43
|
+
"@nx/linter": "17.0.0-beta.4",
|
|
44
|
+
"@nrwl/cypress": "17.0.0-beta.4"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"cypress": ">= 3 < 14"
|
|
@@ -3,4 +3,3 @@ import { CypressComponentConfigurationSchema } from './schema';
|
|
|
3
3
|
export declare function componentConfigurationGenerator(tree: Tree, options: CypressComponentConfigurationSchema): Promise<() => void>;
|
|
4
4
|
export declare function updateTsConfigForComponentTesting(tree: Tree, projectConfig: ProjectConfiguration): void;
|
|
5
5
|
export default componentConfigurationGenerator;
|
|
6
|
-
export declare const compat: (generatorOptions: CypressComponentConfigurationSchema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.updateTsConfigForComponentTesting = exports.componentConfigurationGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const cypress_version_1 = require("../../utils/cypress-version");
|
|
6
6
|
const versions_1 = require("../../utils/versions");
|
|
@@ -139,4 +139,3 @@ function updateTsConfigForComponentTesting(tree, projectConfig) {
|
|
|
139
139
|
}
|
|
140
140
|
exports.updateTsConfigForComponentTesting = updateTsConfigForComponentTesting;
|
|
141
141
|
exports.default = componentConfigurationGenerator;
|
|
142
|
-
exports.compat = (0, devkit_1.convertNxGenerator)(componentConfigurationGenerator);
|
|
@@ -15,4 +15,3 @@ export interface CypressE2EConfigSchema {
|
|
|
15
15
|
}
|
|
16
16
|
export declare function configurationGenerator(tree: Tree, options: CypressE2EConfigSchema): Promise<GeneratorCallback>;
|
|
17
17
|
export default configurationGenerator;
|
|
18
|
-
export declare const compat: (generatorOptions: CypressE2EConfigSchema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.configurationGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const js_1 = require("@nx/js");
|
|
6
6
|
const linter_1 = require("@nx/linter");
|
|
@@ -146,4 +146,3 @@ function addTarget(tree, opts) {
|
|
|
146
146
|
(0, devkit_1.updateProjectConfiguration)(tree, opts.project, projectConfig);
|
|
147
147
|
}
|
|
148
148
|
exports.default = configurationGenerator;
|
|
149
|
-
exports.compat = (0, devkit_1.convertNxGenerator)(configurationGenerator);
|
|
@@ -14,4 +14,3 @@ export declare function cypressProjectGenerator(host: Tree, schema: Schema): Pro
|
|
|
14
14
|
**/
|
|
15
15
|
export declare function cypressProjectGeneratorInternal(host: Tree, schema: Schema): Promise<GeneratorCallback>;
|
|
16
16
|
export default cypressProjectGenerator;
|
|
17
|
-
export declare const cypressProjectSchematic: (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.
|
|
3
|
+
exports.cypressProjectGeneratorInternal = exports.cypressProjectGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
|
|
6
6
|
const semver_1 = require("@nx/devkit/src/utils/semver");
|
|
@@ -191,4 +191,3 @@ async function normalizeOptions(host, options) {
|
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
193
|
exports.default = cypressProjectGenerator;
|
|
194
|
-
exports.cypressProjectSchematic = (0, devkit_1.convertNxGenerator)(cypressProjectGenerator);
|
|
@@ -2,4 +2,3 @@ import { GeneratorCallback, Tree } from '@nx/devkit';
|
|
|
2
2
|
import { Schema } from './schema';
|
|
3
3
|
export declare function cypressInitGenerator(tree: Tree, options: Schema): Promise<GeneratorCallback>;
|
|
4
4
|
export default cypressInitGenerator;
|
|
5
|
-
export declare const cypressInitSchematic: (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.
|
|
3
|
+
exports.cypressInitGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const versions_1 = require("../../utils/versions");
|
|
6
6
|
const js_1 = require("@nx/js");
|
|
@@ -41,4 +41,3 @@ async function cypressInitGenerator(tree, options) {
|
|
|
41
41
|
}
|
|
42
42
|
exports.cypressInitGenerator = cypressInitGenerator;
|
|
43
43
|
exports.default = cypressInitGenerator;
|
|
44
|
-
exports.cypressInitSchematic = (0, devkit_1.convertNxGenerator)(cypressInitGenerator);
|