@nx/cypress 22.3.0-canary.20251211-205daee → 22.3.0-canary.20251216-71bfc21

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/cypress",
3
- "version": "22.3.0-canary.20251211-205daee",
3
+ "version": "22.3.0-canary.20251216-71bfc21",
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": {
@@ -36,9 +36,9 @@
36
36
  "migrations": "./migrations.json"
37
37
  },
38
38
  "dependencies": {
39
- "@nx/devkit": "22.3.0-canary.20251211-205daee",
40
- "@nx/eslint": "22.3.0-canary.20251211-205daee",
41
- "@nx/js": "22.3.0-canary.20251211-205daee",
39
+ "@nx/devkit": "22.3.0-canary.20251216-71bfc21",
40
+ "@nx/eslint": "22.3.0-canary.20251216-71bfc21",
41
+ "@nx/js": "22.3.0-canary.20251216-71bfc21",
42
42
  "@phenomnomnominal/tsquery": "~5.0.1",
43
43
  "detect-port": "^1.5.1",
44
44
  "semver": "^7.6.3",
@@ -46,7 +46,7 @@
46
46
  "tslib": "^2.3.0"
47
47
  },
48
48
  "devDependencies": {
49
- "nx": "22.3.0-canary.20251211-205daee"
49
+ "nx": "22.3.0-canary.20251216-71bfc21"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "cypress": ">= 13 < 16"
@@ -1 +1 @@
1
- {"version":3,"file":"component-configuration.d.ts","sourceRoot":"","sources":["../../../../../../packages/cypress/src/generators/component-configuration/component-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EAGjB,oBAAoB,EAKpB,IAAI,EAIL,MAAM,YAAY,CAAC;AAQpB,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAI/D,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,mCAAmC,8BAM7C;AAED,wBAAsB,uCAAuC,CAC3D,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,mCAAmC,8BAwC7C;AAkHD,wBAAgB,iCAAiC,CAC/C,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,oBAAoB,QAsDpC;AAOD,eAAe,+BAA+B,CAAC"}
1
+ {"version":3,"file":"component-configuration.d.ts","sourceRoot":"","sources":["../../../../../../packages/cypress/src/generators/component-configuration/component-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EAGjB,oBAAoB,EAKpB,IAAI,EAIL,MAAM,YAAY,CAAC;AAQpB,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAI/D,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,mCAAmC,8BAM7C;AAED,wBAAsB,uCAAuC,CAC3D,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,mCAAmC,8BA0C7C;AAkHD,wBAAgB,iCAAiC,CAC/C,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,oBAAoB,QAsDpC;AAOD,eAAe,+BAA+B,CAAC"}
@@ -29,7 +29,9 @@ async function componentConfigurationGeneratorInternal(tree, options) {
29
29
  ? p === '@nx/cypress/plugin'
30
30
  : p.plugin === '@nx/cypress/plugin');
31
31
  const projectConfig = (0, devkit_1.readProjectConfiguration)(tree, opts.project);
32
- tasks.push(updateDeps(tree, opts));
32
+ if (!opts.skipPackageJson) {
33
+ tasks.push(updateDeps(tree, opts));
34
+ }
33
35
  addProjectFiles(tree, projectConfig, opts);
34
36
  if (!hasPlugin || opts.addExplicitTargets) {
35
37
  addTargetToProject(tree, projectConfig, opts);
@@ -5,6 +5,7 @@ export interface CypressComponentConfigurationSchema {
5
5
  bundler?: 'webpack' | 'vite';
6
6
  jsx?: boolean;
7
7
  addPlugin?: boolean;
8
+ skipPackageJson?: boolean;
8
9
 
9
10
  /**
10
11
  * @internal
@@ -36,6 +36,18 @@
36
36
  "description": "Whether or not this project uses JSX.",
37
37
  "type": "boolean",
38
38
  "default": true
39
+ },
40
+ "skipFormat": {
41
+ "description": "Skip formatting files.",
42
+ "type": "boolean",
43
+ "default": false,
44
+ "x-priority": "internal"
45
+ },
46
+ "skipPackageJson": {
47
+ "type": "boolean",
48
+ "default": false,
49
+ "description": "Do not add dependencies to `package.json`.",
50
+ "x-priority": "internal"
39
51
  }
40
52
  },
41
53
  "required": ["project"],