@nx/playwright 19.6.0-rc.0 → 19.6.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/playwright",
3
- "version": "19.6.0-rc.0",
3
+ "version": "19.6.1",
4
4
  "type": "commonjs",
5
5
  "homepage": "https://nx.dev",
6
6
  "private": false,
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@phenomnomnominal/tsquery": "~5.0.1",
38
- "@nx/devkit": "19.6.0-rc.0",
39
- "@nx/eslint": "19.6.0-rc.0",
40
- "@nx/webpack": "19.6.0-rc.0",
41
- "@nx/vite": "19.6.0-rc.0",
42
- "@nx/js": "19.6.0-rc.0",
38
+ "@nx/devkit": "19.6.1",
39
+ "@nx/eslint": "19.6.1",
40
+ "@nx/webpack": "19.6.1",
41
+ "@nx/vite": "19.6.1",
42
+ "@nx/js": "19.6.1",
43
43
  "tslib": "^2.3.0",
44
44
  "minimatch": "9.0.3"
45
45
  },
@@ -105,18 +105,7 @@
105
105
  },
106
106
  "reporter": {
107
107
  "type": "string",
108
- "enum": [
109
- "list",
110
- "line",
111
- "dot",
112
- "json",
113
- "junit",
114
- "null",
115
- "github",
116
- "html",
117
- "blob"
118
- ],
119
- "description": "Reporter to use, comma-separated, can be 'list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob'. To configure reporter options, use the playwright configuration."
108
+ "description": "Common Reporter values to use, comma-separated, 'list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob'. To configure reporter options, use the playwright configuration."
120
109
  },
121
110
  "retries": {
122
111
  "type": "number",
@@ -40,7 +40,7 @@ async function addE2eCiTargetDefaults(tree) {
40
40
  if (!nodes.length) {
41
41
  continue;
42
42
  }
43
- const ciWebServerCommand = nodes[0].getText();
43
+ const ciWebServerCommand = nodes[0].getText().replace(/['"]/g, '');
44
44
  let serveStaticProject;
45
45
  let serveStaticTarget;
46
46
  let serveStaticConfiguration;
@@ -65,7 +65,7 @@ async function addE2eCiTargetDefaults(tree) {
65
65
  serveStaticTarget = matches[1];
66
66
  serveStaticProject = matches[2];
67
67
  }
68
- const resolvedServeStaticTarget = graph.nodes[serveStaticProject].data.targets[serveStaticTarget];
68
+ const resolvedServeStaticTarget = graph.nodes[serveStaticProject]?.data?.targets?.[serveStaticTarget];
69
69
  if (!resolvedServeStaticTarget) {
70
70
  continue;
71
71
  }